CVS commit: src/doc

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 07:28:48 UTC 2012

Modified Files:
src/doc: BRANCHES

Log Message:
Document the new agc-netpgp-standalone branch under
src/crypto/external/bsd/netpgp, used to develop a version of netpgp
with its own BIGNUM/MPI, cipher and signature libraries.  This will
allow netpgp to be used without bootstrapping openssl first, in turn
allowing netpgp to be used in places it would otherwise not be able to
be used.


To generate a diff of this commit:
cvs rdiff -u -r1.322 -r1.323 src/doc/BRANCHES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/dev/lib/libscsitest

2012-05-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  6 16:33:02 UTC 2012

Modified Files:
src/sys/rump/dev/lib/libscsitest: scsitest.c

Log Message:
If we are not delivering a host iso file (USE_TOSI_ISO is undefined), use
-1 as file descriptor initially. The -2 value confused a few other checks
later and led to inconsistent "media present" reports.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libscsitest/scsitest.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/scsipi

2012-05-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  6 16:42:20 UTC 2012

Modified Files:
src/sys/dev/scsipi: cd.c

Log Message:
In cdopen: make the test for media presence always silent. In all cases
requiring a message, we will most likely get that from the spinup attempt
anyway.
This avoids the spurious "Check Condition on CDB, Not Ready, Medium Not
Present, Tray Closed" messages at boot/shutdown time.


To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 src/sys/dev/scsipi/cd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/dev/lib/libscsitest

2012-05-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  6 16:58:31 UTC 2012

Modified Files:
src/sys/rump/dev/lib/libscsitest: scsitest.c

Log Message:
Revert previous and add a comment - I misunderstood what this code is
emulating.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/dev/lib/libscsitest/scsitest.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/scsipi

2012-05-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  6 17:23:10 UTC 2012

Modified Files:
src/sys/dev/scsipi: cd.c

Log Message:
When ejecting a medium, invalidate the in core disklabel - it is not
meaningfull anymore. This makes the following cdclose() use silent
mode and finally fixes PR kern/43785.


To generate a diff of this commit:
cvs rdiff -u -r1.308 -r1.309 src/sys/dev/scsipi/cd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/dev/scsipi

2012-05-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  6 17:27:22 UTC 2012

Modified Files:
src/tests/dev/scsipi: t_cd.c

Log Message:
Comment out the expected failure, as it does not trigger anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/dev/scsipi/t_cd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/libbn

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 17:34:56 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/dist/src/libbn [agc-netpgp-standalone]:
Makefile bignum.c bn.h digest.c digest.h libnetpgpbn.3 misc.c
misc.h rand.c rand.h stubs.c stubs.h

Log Message:
Add an API-alike equivalent library for openssl BIGNUM functionality.
This is accomplished using the libtommath MPI implementation
internally, without exporting any functions.  All of the BIGNUM
functionality to provide working netpgp signatures, verification,
encryption and encryption is provided.

Functions and macros included:

BN_is_negative(x)
BN_is_zero(a)
BN_is_odd(a)
BN_is_even(a)

BIGNUM *BN_new(void);
BIGNUM *BN_dup(const BIGNUM */*a*/);
int BN_copy(BIGNUM */*b*/, const BIGNUM */*a*/);

void BN_init(BIGNUM */*a*/);
void BN_free(BIGNUM */*a*/);
void BN_clear(BIGNUM */*a*/);
void BN_clear_free(BIGNUM */*a*/);

int BN_cmp(BIGNUM */*a*/, BIGNUM */*b*/);

BIGNUM *BN_bin2bn(const uint8_t */*buf*/, int /*size*/, BIGNUM */*bn*/);
int BN_bn2bin(const BIGNUM */*a*/, unsigned char */*b*/);
char *BN_bn2hex(const BIGNUM */*a*/);
char *BN_bn2dec(const BIGNUM */*a*/);
int BN_hex2bn(BIGNUM **/*a*/, const char */*str*/);
int BN_dec2bn(BIGNUM **/*a*/, const char */*str*/);
int BN_print_fp(FILE */*fp*/, const BIGNUM */*a*/);

int BN_add(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/);
int BN_sub(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/);
int BN_mul(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, 
BN_CTX */*ctx*/);
int BN_div(BIGNUM */*q*/, BIGNUM */*r*/, const BIGNUM */*a*/, const 
BIGNUM */*b*/, BN_CTX */*ctx*/);
void BN_swap(BIGNUM */*a*/, BIGNUM */*b*/);
int BN_lshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
int BN_lshift1(BIGNUM */*r*/, BIGNUM */*a*/);
int BN_rshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
int BN_rshift1(BIGNUM */*r*/, BIGNUM */*a*/);
int BN_set_word(BIGNUM */*a*/, BN_ULONG /*w*/);
void BN_set_negative(BIGNUM */*a*/, int /*n*/);

int BN_num_bytes(const BIGNUM */*a*/);
int BN_num_bits(const BIGNUM */*a*/);

int BN_mod_exp(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*p*/, BIGNUM 
*/*m*/, BN_CTX */*ctx*/);
BIGNUM *BN_mod_inverse(BIGNUM */*ret*/, BIGNUM */*a*/, const BIGNUM 
*/*n*/, BN_CTX */*ctx*/);
int BN_mod_mul(BIGNUM */*ret*/, BIGNUM */*a*/, BIGNUM */*b*/, const 
BIGNUM */*m*/, BN_CTX */*ctx*/);
int BN_mod_sub(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*b*/, const 
BIGNUM */*m*/, BN_CTX */*ctx*/);

BN_CTX *BN_CTX_new(void);
BIGNUM *BN_CTX_get(BN_CTX */*ctx*/);
void BN_CTX_start(BN_CTX */*ctx*/);
void BN_CTX_end(BN_CTX */*ctx*/);
void BN_CTX_init(BN_CTX */*c*/);
void BN_CTX_free(BN_CTX */*c*/);

int BN_rand(BIGNUM */*rnd*/, int /*bits*/, int /*top*/, int /*bottom*/);
int BN_rand_range(BIGNUM */*rnd*/, BIGNUM */*range*/);

int BN_is_prime(const BIGNUM */*a*/, int /*checks*/, void 
(*callback)(int, int, void *), BN_CTX */*ctx*/, void */*cb_arg*/);

const BIGNUM *BN_value_one(void);
int BN_is_bit_set(const BIGNUM */*a*/, int /*n*/);


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/dist/src/libbn/Makefile \
src/crypto/external/bsd/netpgp/dist/src/libbn/bignum.c \
src/crypto/external/bsd/netpgp/dist/src/libbn/bn.h \
src/crypto/external/bsd/netpgp/dist/src/libbn/digest.c \
src/crypto/external/bsd/netpgp/dist/src/libbn/digest.h \
src/crypto/external/bsd/netpgp/dist/src/libbn/libnetpgpbn.3 \
src/crypto/external/bsd/netpgp/dist/src/libbn/misc.c \
src/crypto/external/bsd/netpgp/dist/src/libbn/misc.h \
src/crypto/external/bsd/netpgp/dist/src/libbn/rand.c \
src/crypto/external/bsd/netpgp/dist/src/libbn/rand.h \
src/crypto/external/bsd/netpgp/dist/src/libbn/stubs.c \
src/crypto/external/bsd/netpgp/dist/src/libbn/stubs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/libcipher

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 17:40:08 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/dist/src/libcipher 
[agc-netpgp-standalone]:
Makefile aes.h camellia.c camellia.h cast.c cast.h
libnetpgpcipher.3 modes.c modes.h rijndael-alg-fst.c
rijndael-alg-fst.h rijndael-api-fst.c rijndael-api-fst.h rijndael.c
rijndael.h rijndael_local.h

Log Message:
Add an API-alike equivalent for openssl cipher functionality.

The ciphers implemented are CAST5 and AES. Camellia code is present,
but has not been fully implemented yet.

The rijndael code is from the NetBSD kernel sources, the CAST source
is based on the libtomcrypt implementation (although the internal
methods of storing intermediate values has been modified to mimic
the openssl code, just in case someone is relying on internal state
for this - probably overkill, but whatever).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/dist/src/libcipher/Makefile \
src/crypto/external/bsd/netpgp/dist/src/libcipher/aes.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/camellia.c \
src/crypto/external/bsd/netpgp/dist/src/libcipher/camellia.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/cast.c \
src/crypto/external/bsd/netpgp/dist/src/libcipher/cast.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/libnetpgpcipher.3 \
src/crypto/external/bsd/netpgp/dist/src/libcipher/modes.c \
src/crypto/external/bsd/netpgp/dist/src/libcipher/modes.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael-alg-fst.c \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael-alg-fst.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael-api-fst.c \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael-api-fst.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael.c \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael.h \
src/crypto/external/bsd/netpgp/dist/src/libcipher/rijndael_local.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/libnetpgp

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 17:43:10 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/dist/src/libnetpgp 
[agc-netpgp-standalone]:
Makefile.am Makefile.in bufgap.c bufgap.h compress.c config.h.in
create.c create.h crypto.c crypto.h defs.h digest.c digest.h
errors.h keyring.c keyring.h libnetpgp.3 memory.h misc.c
mkinstalldirs netpgp-high.c netpgp.c netpgpdefs.h netpgpdigest.h
netpgpsdk.h openssl_crypto.c packet-parse.c packet-parse.h
packet-print.c packet-show.c packet-show.h packet.h reader.c
readerwriter.h signature.c signature.h ssh2pgp.c ssh2pgp.h
symmetric.c types.h validate.c validate.h version.h writer.c
writer.h

Log Message:
Move the existing netpgp library sources to the libnetpgp sub-directory.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/Makefile.am \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/Makefile.in \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/bufgap.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/bufgap.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/compress.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/config.h.in \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/create.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/create.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/crypto.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/crypto.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/defs.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/digest.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/digest.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/errors.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/keyring.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/keyring.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/libnetpgp.3 \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/memory.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/misc.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/mkinstalldirs \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/netpgp-high.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/netpgp.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/netpgpdefs.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/netpgpdigest.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/netpgpsdk.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/openssl_crypto.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/packet-parse.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/packet-parse.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/packet-print.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/packet-show.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/packet-show.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/packet.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/reader.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/readerwriter.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/signature.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/signature.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/ssh2pgp.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/ssh2pgp.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/symmetric.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/types.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/validate.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/validate.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/version.h \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/writer.c \
src/crypto/external/bsd/netpgp/dist/src/libnetpgp/writer.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/librsa

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 17:46:45 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/dist/src/librsa [agc-netpgp-standalone]:
Makefile libnetpgprsa.3 rsa.c rsa.h rsastubs.c rsastubs.h

Log Message:
Add the RSA and DSA signature code to the agc-netpgp-standalone branch.

Despite the library name, this library implements both RSA and DSA 
functionality.

XXX There is still some work to do on DSA signatures and verification. XXX


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/dist/src/librsa/Makefile \
src/crypto/external/bsd/netpgp/dist/src/librsa/libnetpgprsa.3 \
src/crypto/external/bsd/netpgp/dist/src/librsa/rsa.c \
src/crypto/external/bsd/netpgp/dist/src/librsa/rsa.h \
src/crypto/external/bsd/netpgp/dist/src/librsa/rsastubs.c \
src/crypto/external/bsd/netpgp/dist/src/librsa/rsastubs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/libverify

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 17:49:30 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/dist/src/libverify 
[agc-netpgp-standalone]:
Makefile libnetpgpverify.3 verify.c verify.h

Log Message:
Add a library solely consisting of signature verification functions.

This is because verfiication is a much more common occurrence than signing,
and requires only public keys to accomplish. Keeping this in its own library
allows the small library to be linked into applications without also linking
every kind of other function.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/dist/src/libverify/Makefile \
src/crypto/external/bsd/netpgp/dist/src/libverify/libnetpgpverify.3 \
src/crypto/external/bsd/netpgp/dist/src/libverify/verify.c \
src/crypto/external/bsd/netpgp/dist/src/libverify/verify.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/bin

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 17:57:11 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/bin/hkpc [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/bin/hkpd [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/bin/netpgp [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/bin/netpgpkeys [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/bin/pgp2ssh [agc-netpgp-standalone]:
Makefile

Log Message:
reachover build infrastructure for standalone version of netpgp


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/bin/hkpc/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/bin/hkpd/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/bin/netpgp/Makefile
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/bin/netpgpkeys/Makefile
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile
cvs rdiff -u -r0 -r1.1.2.1 \
src/crypto/external/bsd/netpgp/bin/pgp2ssh/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/lib

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 18:07:02 UTC 2012

Modified Files:
src/crypto/external/bsd/netpgp/lib [agc-netpgp-standalone]: Makefile
Added Files:
src/crypto/external/bsd/netpgp/lib/bn [agc-netpgp-standalone]: Makefile
shlib_version
src/crypto/external/bsd/netpgp/lib/cipher [agc-netpgp-standalone]:
Makefile shlib_version
src/crypto/external/bsd/netpgp/lib/mj [agc-netpgp-standalone]: Makefile
shlib_version
src/crypto/external/bsd/netpgp/lib/netpgp [agc-netpgp-standalone]:
Makefile shlib_version
src/crypto/external/bsd/netpgp/lib/paa [agc-netpgp-standalone]:
Makefile shlib_version
src/crypto/external/bsd/netpgp/lib/rsa [agc-netpgp-standalone]:
Makefile shlib_version
src/crypto/external/bsd/netpgp/lib/verify [agc-netpgp-standalone]:
Makefile shlib_version

Log Message:
Add reachover build infrastructure for lib components of netpgp
standalone


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.6.1 src/crypto/external/bsd/netpgp/lib/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/bn/Makefile \
src/crypto/external/bsd/netpgp/lib/bn/shlib_version
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/cipher/Makefile \
src/crypto/external/bsd/netpgp/lib/cipher/shlib_version
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/mj/Makefile \
src/crypto/external/bsd/netpgp/lib/mj/shlib_version
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/netpgp/Makefile \
src/crypto/external/bsd/netpgp/lib/netpgp/shlib_version
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/paa/Makefile \
src/crypto/external/bsd/netpgp/lib/paa/shlib_version
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/rsa/Makefile \
src/crypto/external/bsd/netpgp/lib/rsa/shlib_version
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/verify/Makefile \
src/crypto/external/bsd/netpgp/lib/verify/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/lib

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 18:08:12 UTC 2012

Removed Files:
src/crypto/external/bsd/netpgp/lib [agc-netpgp-standalone]:
shlib_version

Log Message:
clean up a file which has now moved location


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/crypto/external/bsd/netpgp/lib/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 18:14:17 UTC 2012

Modified Files:
src/crypto/external/bsd/netpgp [agc-netpgp-standalone]: Makefile
Removed Files:
src/crypto/external/bsd/netpgp/hkpc [agc-netpgp-standalone]: Makefile
src/crypto/external/bsd/netpgp/hkpd [agc-netpgp-standalone]: Makefile
src/crypto/external/bsd/netpgp/libmj [agc-netpgp-standalone]: Makefile
shlib_version
src/crypto/external/bsd/netpgp/libpaa [agc-netpgp-standalone]: Makefile
shlib_version
src/crypto/external/bsd/netpgp/libpaa/client [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/libpaa/server [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/netpgp [agc-netpgp-standalone]: Makefile
src/crypto/external/bsd/netpgp/netpgpkeys [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/netpgpverify [agc-netpgp-standalone]:
Makefile
src/crypto/external/bsd/netpgp/pgp2ssh [agc-netpgp-standalone]:
Makefile

Log Message:
get rid of the old reachover infrastructure (which was horribly non-standard
anyway).

Replace with the new reachover build infrastructure for standalone netpgp


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.10.1 src/crypto/external/bsd/netpgp/Makefile
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/hkpc/Makefile
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/hkpd/Makefile
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/libmj/Makefile
cvs rdiff -u -r1.2 -r0 src/crypto/external/bsd/netpgp/libmj/shlib_version
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/libpaa/Makefile \
src/crypto/external/bsd/netpgp/libpaa/shlib_version
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/libpaa/client/Makefile
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/libpaa/server/Makefile
cvs rdiff -u -r1.3 -r0 src/crypto/external/bsd/netpgp/netpgp/Makefile
cvs rdiff -u -r1.3 -r0 src/crypto/external/bsd/netpgp/netpgpkeys/Makefile
cvs rdiff -u -r1.5 -r0 src/crypto/external/bsd/netpgp/netpgpverify/Makefile
cvs rdiff -u -r1.1 -r0 src/crypto/external/bsd/netpgp/pgp2ssh/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/bin

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 18:15:26 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/bin [agc-netpgp-standalone]: Makefile

Log Message:
Reachover Makefile for the bin directory for standalone netpgp


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3.6.2 src/crypto/external/bsd/netpgp/bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/lib

2012-05-06 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun May  6 18:18:40 UTC 2012

Added Files:
src/crypto/external/bsd/netpgp/lib/netpgp [agc-netpgp-standalone]:
config.h
Removed Files:
src/crypto/external/bsd/netpgp/lib [agc-netpgp-standalone]: config.h

Log Message:
Move the autoconf-generated config.h file to its destination in the reachover
infrastructure.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r0 src/crypto/external/bsd/netpgp/lib/config.h
cvs rdiff -u -r0 -r1.1.2.1 src/crypto/external/bsd/netpgp/lib/netpgp/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k

2012-05-06 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun May  6 19:46:18 UTC 2012

Modified Files:
src/sys/arch/x68k/dev: fd.c
src/sys/arch/x68k/x68k: machdep.c

Log Message:
Make x68k's floppy driver actually work with proper bounce buffer xfer ops
on machines with extended high memories:

- dev/fd.c:
 - add missing bus_dmamap_sync(9) POSTREAD/POSTWRITE ops

- x68k/machdep.c:
 - update avail_end variable (which is used to check DMA'able memory range
   in intio.c) properly per probed extended memory regions

The problem was found during debugging XM6i's FDC emulation by
Y.Sugahara, isaki@, and me.

Should be pulled up to netbsd-6.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/x68k/dev/fd.c
cvs rdiff -u -r1.181 -r1.182 src/sys/arch/x68k/x68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/grep

2012-05-06 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May  6 21:56:08 UTC 2012

Modified Files:
src/usr.bin/grep: util.c

Log Message:
Make the matchall case a full short cut.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/grep/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/grep

2012-05-06 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May  6 22:27:01 UTC 2012

Modified Files:
src/usr.bin/grep: grep.c grep.h util.c

Log Message:
Remove matchall handling for now, it doesn't work correctly and as such,
it is a premature optimisation.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/grep/grep.c
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/grep/grep.h
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/grep/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/grep

2012-05-06 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May  6 22:32:05 UTC 2012

Modified Files:
src/usr.bin/grep: util.c

Log Message:
Consistently short cut the pattern loop on mismatches.
Don't assign 1 conditionally, if unconditional works as well.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/grep/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/bzip2

2012-05-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 00:21:47 UTC 2012

Update of /cvsroot/src/external/bsd/bzip2
In directory ivanova.netbsd.org:/tmp/cvs-serv26893

Log Message:
Re-import bzip2-1.0.5 in more appropriate location.

Status:

Vendor Tag: JSEWARD
Release Tags:   bzip2-1-0-5

N src/external/bsd/bzip2/CHANGES
N src/external/bsd/bzip2/LICENSE
N src/external/bsd/bzip2/Makefile
N src/external/bsd/bzip2/Makefile-libbz2_so
N src/external/bsd/bzip2/README
N src/external/bsd/bzip2/README.COMPILATION.PROBLEMS
N src/external/bsd/bzip2/README.XML.STUFF
N src/external/bsd/bzip2/bz-common.xsl
N src/external/bsd/bzip2/bz-fo.xsl
N src/external/bsd/bzip2/bz-html.xsl
N src/external/bsd/bzip2/bzdiff
N src/external/bsd/bzip2/bzgrep
N src/external/bsd/bzip2/bzip.css
N src/external/bsd/bzip2/bzmore
N src/external/bsd/bzip2/dlltest.dsp
N src/external/bsd/bzip2/entities.xml
N src/external/bsd/bzip2/format.pl
N src/external/bsd/bzip2/libbz2.def
N src/external/bsd/bzip2/libbz2.dsp
N src/external/bsd/bzip2/makefile.msc
N src/external/bsd/bzip2/manual.html
N src/external/bsd/bzip2/manual.pdf
N src/external/bsd/bzip2/words0
N src/external/bsd/bzip2/manual.ps
N src/external/bsd/bzip2/manual.xml
N src/external/bsd/bzip2/sample1.bz2
N src/external/bsd/bzip2/sample1.ref
N src/external/bsd/bzip2/sample2.bz2
N src/external/bsd/bzip2/sample2.ref
N src/external/bsd/bzip2/sample3.bz2
N src/external/bsd/bzip2/sample3.ref
N src/external/bsd/bzip2/words1
N src/external/bsd/bzip2/words2
N src/external/bsd/bzip2/words3
N src/external/bsd/bzip2/xmlproc.sh
N src/external/bsd/bzip2/blocksort.c
N src/external/bsd/bzip2/bzip2.c
N src/external/bsd/bzip2/bzip2recover.c
N src/external/bsd/bzip2/bzlib.c
N src/external/bsd/bzip2/bzlib.h
N src/external/bsd/bzip2/bzlib_private.h
N src/external/bsd/bzip2/compress.c
N src/external/bsd/bzip2/crctable.c
N src/external/bsd/bzip2/decompress.c
N src/external/bsd/bzip2/dlltest.c
N src/external/bsd/bzip2/huffman.c
N src/external/bsd/bzip2/mk251.c
N src/external/bsd/bzip2/randtable.c
N src/external/bsd/bzip2/spewG.c
N src/external/bsd/bzip2/unzcrash.c
N src/external/bsd/bzip2/bzdiff.1
N src/external/bsd/bzip2/bzgrep.1
N src/external/bsd/bzip2/bzip2.1
N src/external/bsd/bzip2/bzmore.1

No conflicts created by this import



CVS commit: src/external/bsd/bzip2

2012-05-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 00:30:06 UTC 2012

Modified Files:
src/external/bsd/bzip2: bzip2.1 bzip2.c bzip2recover.c bzlib.c
bzlib_private.h decompress.c
Added Files:
src/external/bsd/bzip2: bzip2netbsd
Removed Files:
src/external/bsd/bzip2: manual.pdf manual.ps

Log Message:
Merge changes from dist/bzip2:
man page converted to mdoc
compiler warning fixes
integer overflow fix
remove files that aren't used on NetBSD

Add adapted bzip2netbsd script.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/bzip2/bzip2.1 \
src/external/bsd/bzip2/bzip2.c src/external/bsd/bzip2/bzip2recover.c \
src/external/bsd/bzip2/bzlib.c src/external/bsd/bzip2/bzlib_private.h \
src/external/bsd/bzip2/decompress.c
cvs rdiff -u -r0 -r1.1 src/external/bsd/bzip2/bzip2netbsd
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/bzip2/manual.pdf \
src/external/bsd/bzip2/manual.ps

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2012-05-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 00:35:35 UTC 2012

Modified Files:
src/doc: 3RDPARTY
src/lib/libbz2: Makefile
src/tests/usr.bin/bzip2: Makefile
src/usr.bin/bzip2: Makefile
src/usr.bin/bzip2recover: Makefile
Removed Files:
src/dist/bzip2: CHANGES LICENSE Makefile Makefile-libbz2_so README
README.COMPILATION.PROBLEMS README.XML.STUFF blocksort.c
bz-common.xsl bz-fo.xsl bz-html.xsl bzdiff bzdiff.1 bzgrep bzgrep.1
bzip.css bzip2.1 bzip2.c bzip2netbsd bzip2recover.c bzlib.c bzlib.h
bzlib_private.h bzmore bzmore.1 compress.c crctable.c decompress.c
dlltest.c dlltest.dsp entities.xml format.pl huffman.c libbz2.def
libbz2.dsp makefile.msc manual.html manual.xml mk251.c randtable.c
sample1.bz2 sample1.ref sample2.bz2 sample2.ref sample3.bz2
sample3.ref spewG.c unzcrash.c words0 words1 words2 words3
xmlproc.sh

Log Message:
Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r0 src/dist/bzip2/CHANGES src/dist/bzip2/LICENSE \
src/dist/bzip2/Makefile src/dist/bzip2/Makefile-libbz2_so \
src/dist/bzip2/README src/dist/bzip2/README.COMPILATION.PROBLEMS \
src/dist/bzip2/blocksort.c src/dist/bzip2/bzlib.h \
src/dist/bzip2/compress.c src/dist/bzip2/crctable.c \
src/dist/bzip2/dlltest.c src/dist/bzip2/huffman.c \
src/dist/bzip2/randtable.c src/dist/bzip2/words3
cvs rdiff -u -r1.1.1.1 -r0 src/dist/bzip2/README.XML.STUFF \
src/dist/bzip2/bz-common.xsl src/dist/bzip2/bz-fo.xsl \
src/dist/bzip2/bz-html.xsl src/dist/bzip2/bzip.css src/dist/bzip2/bzmore \
src/dist/bzip2/dlltest.dsp src/dist/bzip2/entities.xml \
src/dist/bzip2/format.pl src/dist/bzip2/libbz2.def \
src/dist/bzip2/libbz2.dsp src/dist/bzip2/manual.xml \
src/dist/bzip2/sample1.bz2 src/dist/bzip2/sample1.ref \
src/dist/bzip2/sample2.bz2 src/dist/bzip2/sample2.ref \
src/dist/bzip2/sample3.bz2 src/dist/bzip2/sample3.ref \
src/dist/bzip2/words1 src/dist/bzip2/xmlproc.sh
cvs rdiff -u -r1.1.1.2 -r0 src/dist/bzip2/bzdiff src/dist/bzip2/bzdiff.1 \
src/dist/bzip2/bzgrep src/dist/bzip2/bzgrep.1 src/dist/bzip2/bzmore.1 \
src/dist/bzip2/makefile.msc src/dist/bzip2/manual.html \
src/dist/bzip2/mk251.c src/dist/bzip2/spewG.c src/dist/bzip2/unzcrash.c \
src/dist/bzip2/words0 src/dist/bzip2/words2
cvs rdiff -u -r1.9 -r0 src/dist/bzip2/bzip2.1 src/dist/bzip2/bzip2.c \
src/dist/bzip2/bzip2recover.c
cvs rdiff -u -r1.3 -r0 src/dist/bzip2/bzip2netbsd
cvs rdiff -u -r1.4 -r0 src/dist/bzip2/bzlib.c
cvs rdiff -u -r1.2 -r0 src/dist/bzip2/bzlib_private.h \
src/dist/bzip2/decompress.c
cvs rdiff -u -r1.935 -r1.936 src/doc/3RDPARTY
cvs rdiff -u -r1.15 -r1.16 src/lib/libbz2/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/bzip2/Makefile
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/bzip2/Makefile
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/bzip2recover/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/bzip2

2012-05-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 00:41:52 UTC 2012

Update of /cvsroot/src/external/bsd/bzip2
In directory ivanova.netbsd.org:/tmp/cvs-serv3443

Log Message:
Import bzip2-1.0.6:

1.0.6 (6 Sept 10)
~

* Security fix for CVE-2010-0405.  This was reported by Mikolaj
  Izdebski.

* Make the documentation build on Ubuntu 10.04

Status:

Vendor Tag: JSEWARD
Release Tags:   bzip2-1-0-6

U src/external/bsd/bzip2/CHANGES
U src/external/bsd/bzip2/LICENSE
U src/external/bsd/bzip2/Makefile
U src/external/bsd/bzip2/Makefile-libbz2_so
U src/external/bsd/bzip2/README
U src/external/bsd/bzip2/README.COMPILATION.PROBLEMS
U src/external/bsd/bzip2/README.XML.STUFF
U src/external/bsd/bzip2/bz-common.xsl
U src/external/bsd/bzip2/bz-fo.xsl
U src/external/bsd/bzip2/bz-html.xsl
U src/external/bsd/bzip2/bzdiff
U src/external/bsd/bzip2/bzgrep
U src/external/bsd/bzip2/bzip.css
U src/external/bsd/bzip2/bzmore
U src/external/bsd/bzip2/dlltest.dsp
U src/external/bsd/bzip2/entities.xml
U src/external/bsd/bzip2/format.pl
U src/external/bsd/bzip2/libbz2.def
U src/external/bsd/bzip2/libbz2.dsp
U src/external/bsd/bzip2/makefile.msc
U src/external/bsd/bzip2/manual.html
C src/external/bsd/bzip2/manual.pdf
U src/external/bsd/bzip2/words0
C src/external/bsd/bzip2/manual.ps
U src/external/bsd/bzip2/manual.xml
U src/external/bsd/bzip2/sample1.bz2
U src/external/bsd/bzip2/sample1.ref
U src/external/bsd/bzip2/sample2.bz2
U src/external/bsd/bzip2/sample2.ref
U src/external/bsd/bzip2/sample3.bz2
U src/external/bsd/bzip2/sample3.ref
U src/external/bsd/bzip2/words1
U src/external/bsd/bzip2/words2
U src/external/bsd/bzip2/words3
U src/external/bsd/bzip2/xmlproc.sh
U src/external/bsd/bzip2/blocksort.c
C src/external/bsd/bzip2/bzip2.c
C src/external/bsd/bzip2/bzip2recover.c
C src/external/bsd/bzip2/bzlib.c
U src/external/bsd/bzip2/bzlib.h
C src/external/bsd/bzip2/bzlib_private.h
U src/external/bsd/bzip2/compress.c
U src/external/bsd/bzip2/crctable.c
C src/external/bsd/bzip2/decompress.c
U src/external/bsd/bzip2/dlltest.c
U src/external/bsd/bzip2/huffman.c
U src/external/bsd/bzip2/mk251.c
U src/external/bsd/bzip2/randtable.c
U src/external/bsd/bzip2/spewG.c
U src/external/bsd/bzip2/unzcrash.c
U src/external/bsd/bzip2/bzdiff.1
U src/external/bsd/bzip2/bzgrep.1
C src/external/bsd/bzip2/bzip2.1
U src/external/bsd/bzip2/bzmore.1

8 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jJSEWARD:yesterday -jJSEWARD src/external/bsd/bzip2



CVS commit: src/external/bsd/bzip2

2012-05-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 00:45:48 UTC 2012

Modified Files:
src/external/bsd/bzip2: bzip2.1 bzip2.c bzip2recover.c bzlib.c
bzlib_private.h decompress.c

Log Message:
merge 1.0.6


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/bzip2/bzip2.1 \
src/external/bsd/bzip2/bzip2.c src/external/bsd/bzip2/bzip2recover.c \
src/external/bsd/bzip2/bzlib.c src/external/bsd/bzip2/bzlib_private.h \
src/external/bsd/bzip2/decompress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/i386

2012-05-06 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 02:12:35 UTC 2012

Modified Files:
src/sys/arch/i386/i386: db_memrw.c

Log Message:
I am not quite sure that __data_start (set through location counter) is
a char... declare it as int, like amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/i386/i386/db_memrw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/i386

2012-05-06 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 02:15:34 UTC 2012

Modified Files:
src/sys/arch/i386/i386: db_memrw.c

Log Message:
Remove XXXSMP comment and explain why no TLB shootdown is required here.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/i386/i386/db_memrw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/i386

2012-05-06 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 02:32:09 UTC 2012

Modified Files:
src/sys/arch/i386/i386: db_memrw.c

Log Message:
Use pmap_pte_*bits macros to set/clear bits in a PTE. Remove pmap_pte_flush
calls as these operations are synchronously flushed under Xen; they should
not be cached.

XXX the code can be shared between i386 and amd64, but I will merge
them once I figure out why db_write_text() can cause page faults for
certain CPUs in long mode (code looks correct, but single stepping or
adding debug printf's makes the bug magically disappear... sigh)

Bug reported by David Laight on port-amd64@ when attempting to set
breakpoints through ddb(4).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/i386/i386/db_memrw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/crypto/external/bsd/openssl/dist/crypto/buffer

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 02:57:22 UTC 2012

Modified Files:
src/crypto/external/bsd/openssl/dist/crypto/buffer [netbsd-6]: buffer.c

Log Message:
Pull up following revision(s) (requested by drochner in ticket #203):
crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c: revision 1.3
fix for previous fix: correct error code (upstream rev.22474)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2.4.1 -r1.1.1.2.4.2 \
src/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:01:14 UTC 2012

Modified Files:
src/sys/fs/msdosfs [netbsd-6]: msdosfs_vnops.c
src/sys/fs/ntfs [netbsd-6]: ntfs_vnops.c
src/sys/fs/sysvbfs [netbsd-6]: sysvbfs_vnops.c
src/sys/fs/udf [netbsd-6]: udf_subr.c udf_vnops.c
src/sys/fs/v7fs [netbsd-6]: v7fs_vnops.c
src/sys/kern [netbsd-6]: vfs_subr.c vfs_wapbl.c
src/sys/miscfs/genfs [netbsd-6]: genfs_io.c
src/sys/miscfs/specfs [netbsd-6]: spec_vnops.c
src/sys/ufs/chfs [netbsd-6]: chfs_vnops.c
src/sys/ufs/ext2fs [netbsd-6]: ext2fs_readwrite.c ext2fs_vnops.c
src/sys/ufs/ffs [netbsd-6]: ffs_vfsops.c ffs_vnops.c
src/sys/ufs/ufs [netbsd-6]: ufs_readwrite.c
src/sys/uvm [netbsd-6]: uvm_pager.h

Log Message:
Pull up following revision(s) (requested by chs in ticket #204):
sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44
sys/ufs/ffs/ffs_vfsops.c: revision 1.277
sys/fs/v7fs/v7fs_vnops.c: revision 1.11
sys/ufs/chfs/chfs_vnops.c: revision 1.7
sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61
sys/miscfs/genfs/genfs_io.c: revision 1.54
sys/kern/vfs_wapbl.c: revision 1.52
sys/uvm/uvm_pager.h: revision 1.43
sys/ufs/ffs/ffs_vnops.c: revision 1.121
sys/kern/vfs_subr.c: revision 1.434
sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83
sys/fs/ntfs/ntfs_vnops.c: revision 1.51
sys/fs/udf/udf_subr.c: revision 1.119
sys/miscfs/specfs/spec_vnops.c: revision 1.135
sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103
sys/fs/udf/udf_vnops.c: revision 1.71
sys/ufs/ufs/ufs_readwrite.c: revision 1.104
change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.
mark all wapbl I/O as BPRIO_TIMECRITICAL.
this is the second part of addressing PR 46325.


To generate a diff of this commit:
cvs rdiff -u -r1.79.4.1 -r1.79.4.2 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.49 -r1.49.10.1 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -u -r1.40 -r1.40.2.1 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -u -r1.118 -r1.118.6.1 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.69 -r1.69.6.1 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.432 -r1.432.2.1 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.51 -r1.51.2.1 src/sys/kern/vfs_wapbl.c
cvs rdiff -u -r1.53 -r1.53.8.1 src/sys/miscfs/genfs/genfs_io.c
cvs rdiff -u -r1.134 -r1.134.8.1 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.2 -r1.2.4.1 src/sys/ufs/chfs/chfs_vnops.c
cvs rdiff -u -r1.58 -r1.58.6.1 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -u -r1.101 -r1.101.6.1 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -u -r1.275 -r1.275.2.1 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.120 -r1.120.8.1 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -u -r1.101 -r1.101.2.1 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -u -r1.42 -r1.42.8.1 src/sys/uvm/uvm_pager.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/dev

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:03:18 UTC 2012

Modified Files:
src/sys/dev [netbsd-6]: audio.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #205):
sys/dev/audio.c: revision 1.260
don't hold the thread lock while calling allocm() or freem().  fixes PR#46121


To generate a diff of this commit:
cvs rdiff -u -r1.257.2.2 -r1.257.2.3 src/sys/dev/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/arch/sparc/sparc

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:06:16 UTC 2012

Modified Files:
src/sys/arch/sparc/sparc [netbsd-6]: intr.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #206):
sys/arch/sparc/sparc/intr.c: revision 1.116
don't bother whining about bogusintr on zs.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.115.10.1 src/sys/arch/sparc/sparc/intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/tools

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:08:35 UTC 2012

Modified Files:
src/tools/binutils [netbsd-6]: Makefile
src/tools/file [netbsd-6]: Makefile
src/tools/gmp [netbsd-6]: Makefile
src/tools/mpc [netbsd-6]: Makefile
src/tools/mpfr [netbsd-6]: Makefile

Log Message:
Pull up following revision(s) (requested by mrg in ticket #207):
tools/gmp/Makefile: revision 1.2
tools/mpfr/Makefile: revision 1.2
tools/file/Makefile: revision 1.7
tools/binutils/Makefile: revision 1.22
tools/mpc/Makefile: revision 1.2
force ac_cv_path_mkdir to be set to nbinstall -d.  this will avoid
gmp/configure from trying to use its install-sh for mkdir -p, and
should fix sourcesets created tarball builds.
force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.4.1 src/tools/binutils/Makefile
cvs rdiff -u -r1.6 -r1.6.8.1 src/tools/file/Makefile
cvs rdiff -u -r1.1 -r1.1.4.1 src/tools/gmp/Makefile
cvs rdiff -u -r1.1 -r1.1.4.1 src/tools/mpc/Makefile
cvs rdiff -u -r1.1 -r1.1.4.1 src/tools/mpfr/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/dev/pci

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:10:28 UTC 2012

Modified Files:
src/sys/dev/pci [netbsd-6]: if_bnxvar.h

Log Message:
Pull up following revision(s) (requested by gdt in ticket #208):
sys/dev/pci/if_bnxvar.h: revision 1.3
Use RX_PAGES for rx_bd_chain_{,r}seq.
Before, TX_PAGES was used, but no harm was done because TX_PAGES ==
RX_PAGES == 2.  Found by Frank Kastenholz of BBN.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/dev/pci/if_bnxvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/lib/libpthread

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:12:33 UTC 2012

Modified Files:
src/lib/libpthread [netbsd-6]: pthread.c

Log Message:
Pull up following revision(s) (requested by enami in ticket #209):
lib/libpthread/pthread.c: revision 1.134
Store allocated lwpctl state in the thread actually forked,
which is the only thread lives in the child process.
The problem originally reported here:
  https://bugs.ruby-lang.org/issues/6341


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.125.4.1 src/lib/libpthread/pthread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sbin/gpt

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:15:12 UTC 2012

Modified Files:
src/sbin/gpt [netbsd-6]: gpt.8

Log Message:
Pull up following revision(s) (requested by jakllsch in ticket #210):
sbin/gpt/gpt.8: revision 1.10
sbin/gpt/gpt.8: revision 1.11
fix a path
Bump date to date of previous change.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.2.1 src/sbin/gpt/gpt.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:16:45 UTC 2012

Modified Files:
src/etc/rc.d [netbsd-6]: staticroute
src/share/man/man5 [netbsd-6]: route.conf.5

Log Message:
Pull up following revision(s) (requested by gendalia in ticket #211):
share/man/man5/route.conf.5: revision 1.4
etc/rc.d/staticroute: revision 1.6
Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.
Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.
Wrap the staticroute while in parens, per  & , and
quote all the arguments for the evals.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.8.1 src/etc/rc.d/staticroute
cvs rdiff -u -r1.3 -r1.3.20.1 src/share/man/man5/route.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/doc

2012-05-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 03:17:51 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Tickets 203-211.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.78 -r1.1.2.79 src/doc/CHANGES-6.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: othersrc/external/bsd/progress

2012-05-06 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Mon May  7 03:37:00 UTC 2012

Update of /cvsroot/othersrc/external/bsd/progress
In directory ivanova.netbsd.org:/tmp/cvs-serv218

Log Message:
Break out the routines (from tnftp) to calculate and draw a progress bar.
The code was originally written by Luke Mewburn - all mangling and bugs
courtesy of agc.

A quick (hypothetical) example of how to use this progress bar:

   progress_t  prog;
   uint64_ttotal;
   uint64_tdone;

   total = 15768554;
   progress_init(&prog, "test update bar", total);
   for (done = 0 ; done < total ; done += (total / 20) + ((random() % 
20) * 1024)) {
   progress_draw(&prog, done);
   sleep(1);
   }
   progress_complete(&prog, done);


Status:

Vendor Tag: LUKEM
Release Tags:   progress-base

N othersrc/external/bsd/progress/Makefile
N othersrc/external/bsd/progress/dist/progress.c
N othersrc/external/bsd/progress/dist/Makefile
N othersrc/external/bsd/progress/dist/main.c
N othersrc/external/bsd/progress/dist/libprogress.3
N othersrc/external/bsd/progress/dist/progress.h
N othersrc/external/bsd/progress/lib/shlib_version
N othersrc/external/bsd/progress/lib/Makefile
N othersrc/external/bsd/progress/bin/Makefile

No conflicts created by this import