CVS commit: othersrc/external/bsd/multigest
Module Name:othersrc Committed By: agc Date: Tue Oct 28 05:51:43 UTC 2014 Modified Files: othersrc/external/bsd/multigest/bin: Makefile othersrc/external/bsd/multigest/lib: Makefile Log Message: FreeBSD mods. *sigh* adapt to the fact that digest(1) may not be available To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 othersrc/external/bsd/multigest/bin/Makefile cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/multigest/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/multigest/bin
Module Name:othersrc Committed By: agc Date: Tue Oct 28 05:52:13 UTC 2014 Added Files: othersrc/external/bsd/multigest/bin: digest Log Message: add script to do work of digest(1) using multigest To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/multigest/bin/digest Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/vmdk/dist
Module Name:othersrc Committed By: agc Date: Tue Nov 4 03:05:08 UTC 2014 Modified Files: othersrc/external/bsd/vmdk/dist: libvmdk.3 Log Message: formatting fix To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/vmdk/dist/libvmdk.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/usr.bin/netpgpverify
Module Name:src Committed By: agc Date: Sun Nov 23 01:56:35 UTC 2014 Modified Files: src/tests/usr.bin/netpgpverify: t_netpgpverify.sh Log Message: Since the netpgpverify rewrite to have no external pre-requisites, the output format for signatures has changed cosmetically (mainly whitespace changes). Re-format all the test cases so that the tests now pass again with the new output format: Tests root: /usr/tests/usr.bin/netpgpverify t_netpgpverify (1/1): 2 test cases netpgpverify_dsa: [0.261980s] Passed. netpgpverify_rsa: [0.237469s] Passed. [0.509571s] Summary for 1 test programs: 2 passed test cases. 0 failed test cases. 0 expected failed test cases. 0 skipped test cases. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/netpgpverify/t_netpgpverify.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpverify
Module Name:src Committed By: agc Date: Sat Nov 29 20:18:44 UTC 2014 Modified Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify: tiger.c verify.h Removed Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify: verify.c Log Message: Update netpgpverify to version 20141129 + get rid of old libnetpgp-based source from /usr/src/crypto/external tree, it's not been used in a while + enhancement to tiger.c (from apb, IIRC) to use the union rather than dubious and probably unportable casts. + bump version number To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/tiger.c \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.h cvs rdiff -u -r1.15 -r0 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp
Module Name:src Committed By: agc Date: Fri Dec 5 04:42:36 UTC 2014 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify: Makefile src/crypto/external/bsd/netpgp/dist/src/netpgpverify: Makefile.bsd libnetpgpverify.3 libverify.c main.c misc.c misc.h rsa.c verify.h src/crypto/external/bsd/netpgp/lib/verify: Makefile Added Files: src/crypto/external/bsd/netpgp/lib/verify: config.h Log Message: Bring over the 20141204 portable version of netpgpverify from pkgsrc + Remove unused logmessage helper function + Add pgpv_get_cursor_element for easier manipulation of results returned. + libnetpgpverify(3) man page improvements + Standardise on WARNS=5 settings (6 is too intrusive and distracting) + Also install the library and header file for netpgpverify. This allows scripting languages to use the same verification methods via a shared library, rather than being forced to exec the netpgpverify(1) command line utility. + libnetpgpverify is now a standalone library, and requires no pre-requsisite libraries to function To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/Makefile.bsd \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/libnetpgpverify.3 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/misc.c \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/rsa.c cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/main.c cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/misc.h \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.h cvs rdiff -u -r1.6 -r1.7 src/crypto/external/bsd/netpgp/lib/verify/Makefile cvs rdiff -u -r0 -r1.1 src/crypto/external/bsd/netpgp/lib/verify/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp
Module Name:src Committed By: agc Date: Fri Dec 5 04:52:02 UTC 2014 Modified Files: src/crypto/external/bsd/netpgp: Makefile src/crypto/external/bsd/netpgp/bin/hkpc: Makefile src/crypto/external/bsd/netpgp/bin/hkpd: Makefile src/crypto/external/bsd/netpgp/bin/netpgp: Makefile src/crypto/external/bsd/netpgp/bin/netpgpkeys: Makefile src/crypto/external/bsd/netpgp/lib: Makefile Added Files: src/crypto/external/bsd/netpgp/lib/netpgp: Makefile config.h shlib_version Log Message: set up the netpgp lib directory hierarchy a bit more logically + move libnetpgp to the same level as libnetpgpverify + fix up all paths to the new directory structure To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/netpgp/Makefile cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/netpgp/bin/hkpc/Makefile cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/netpgp/bin/hkpd/Makefile cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/netpgp/bin/netpgp/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/bin/netpgpkeys/Makefile cvs rdiff -u -r1.16 -r1.17 src/crypto/external/bsd/netpgp/lib/Makefile cvs rdiff -u -r0 -r1.2 src/crypto/external/bsd/netpgp/lib/netpgp/Makefile \ src/crypto/external/bsd/netpgp/lib/netpgp/config.h \ src/crypto/external/bsd/netpgp/lib/netpgp/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpkeys
Module Name:src Committed By: agc Date: Wed Dec 17 16:50:52 UTC 2014 Modified Files: src/crypto/external/bsd/netpgp/dist/src/netpgpkeys: netpgpkeys.c Log Message: Fix bug report from Jared - actually print the key when exporting To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 \ src/crypto/external/bsd/netpgp/dist/src/netpgpkeys/netpgpkeys.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpverify
Module Name:src Committed By: agc Date: Fri Jan 30 18:58:59 UTC 2015 Modified Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify: Makefile.bsd chk.sh libverify.c main.c misc.c misc.h netpgpverify.1 verify.h Log Message: catch up with pkgsrc, update netpgpverify to 20150115: + add '-c dump' command to do a packet dump of the input To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/Makefile.bsd \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/misc.c cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/chk.sh cvs rdiff -u -r1.5 -r1.6 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/main.c cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/misc.h \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.h cvs rdiff -u -r1.8 -r1.9 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/netpgpverify.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpverify
Module Name:src Committed By: agc Date: Thu Feb 5 01:26:54 UTC 2015 Modified Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify: Makefile.bsd bzlib.c bzlib_private.h chk.sh libnetpgpverify.3 libverify.c verify.h zlib.c Added Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify: 1keypubring.gpg 1keysecring.gpg 1keytest.gpg.uu digest-20121220.tgz joyent-pubring.gpg mkdist testit.sh Log Message: Sync the src version of netpgpverify with the version in pkgsrc > > revision 1.10 > date: 2015-02-04 16:58:02 -0800; author: agc; state: Exp; lines: +1 -0; > commitid: 0v3HoBPFTnhDSK8y; > appease compiler warning police - initialise a variable in case it's otherwise > "used uninitialised". ride previous version bump. > > revision 1.9 > date: 2015-02-04 16:21:57 -0800; author: agc; state: Exp; lines: +48 -21; > commitid: ElUADrlljB46GK8y; > Update netpgpverify (and libnetpgpverify) to version 20150205 > > + recognise signatures made by subkeys as well as by primary keys > > + print out the relevant key which signed the file, even if it's > a subkey and not the primary key itself. > > + keep the same API as before > > with many thanks to Jonathan Perkin > > revision 1.8 > date: 2015-02-03 13:34:57 -0800; author: agc; state: Exp; lines: +1 -3; > commitid: 6qTclEbv7hmZMB8y; > Update netpgpverify, and libnetpgpverify, to 20150204 > > + dump the huge output in testing script to /dev/null so that we can > see what's happening with the other tests in testit.sh > > + fix from jperkin@, don't try to be clever when selecting the only > key id in a keyring > > + add a test for single key (non-ssh) pubring > > revision 1.7 > date: 2015-02-03 13:13:17 -0800; author: agc; state: Exp; lines: +3 -0; > commitid: ztXbqAi9ocXGFB8y; > Update netpgpverify, and libnetpgpverify, to 20150203 > > + portability fixes to make netpgpverify build on freebsd 10.1 with WARNS=5 > > + fixed an oversight in the testit.sh script To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/1keypubring.gpg \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/1keysecring.gpg \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/1keytest.gpg.uu \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/digest-20121220.tgz \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/joyent-pubring.gpg \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/mkdist \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/testit.sh cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/Makefile.bsd cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/bzlib.c \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/bzlib_private.h \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/chk.sh \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/libnetpgpverify.3 cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.h cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/zlib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/makefs
Module Name:src Committed By: agc Date: Sun Mar 29 05:52:59 UTC 2015 Modified Files: src/usr.sbin/makefs/ffs: buf.c buf.h ffs_alloc.c ffs_balloc.c src/usr.sbin/makefs/msdos: msdosfs_denode.c msdosfs_vfsops.c msdosfs_vnops.c Log Message: Make the userland signature and uses of bread() match the kernel ones, after the removal of the cred argument. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/makefs/ffs/buf.c cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/makefs/ffs/buf.h cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/makefs/ffs/ffs_alloc.c cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/makefs/ffs/ffs_balloc.c cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makefs/msdos/msdosfs_denode.c cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/makefs/msdos/msdosfs_vfsops.c cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/makefs/msdos/msdosfs_vnops.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/sysmon
Module Name:src Committed By: agc Date: Fri Apr 24 00:04:47 UTC 2015 Modified Files: src/sys/dev/sysmon: sysmon_taskq.c Log Message: It's a function returning void; don't return an error code. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/sysmon/sysmon_taskq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib
Module Name:src Committed By: agc Date: Sun Mar 4 19:52:02 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/lib: compress.c Log Message: Use %s for the format string, as pointed out by joerg in the diff for __printflike attributions (on tech-userlevel, March 1st 2012). To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 \ src/crypto/external/bsd/netpgp/dist/src/lib/compress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/crypto/external/bsd/ssss/dist
Module Name:othersrc Committed By: agc Date: Thu Mar 8 02:44:06 UTC 2012 Modified Files: othersrc/crypto/external/bsd//dist/include: .h othersrc/crypto/external/bsd//dist/src/lib: lib.3 secsplit.c Log Message: Update the code: + add the ability to encode split shares as 16bit or 24-bit values, which greatly simplifies input and output, and allows constant-sized output for given inputs. This also gives us the ability to use larger primes, although space is wasted with these, and it's not immediately obvious what advantage would accrue. But it's there, just in case. + we advertise being able to do 255 (_MAX_SHARES) shares - so complete the inverse table for GF(16) arithmetic modulo P for 256 values + use _MAX_SHARES (255) internally, rather than the previous internal (and much smaller) limits + simplify the I/O in this library - it was a remnant from 1993 + remove private structs and definitions from the header file - they're not part of the public interface, and shouldn't be exposed + add _split_vec() and _combine_vec() which give input and oputput to split and combine via struct iovec + update the manual page To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ othersrc/crypto/external/bsd//dist/include/.h cvs rdiff -u -r1.2 -r1.3 \ othersrc/crypto/external/bsd//dist/src/lib/lib.3 cvs rdiff -u -r1.6 -r1.7 \ othersrc/crypto/external/bsd//dist/src/lib/secsplit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/crypto/external/bsd/ssss/dist/src/libssss
Module Name:othersrc Committed By: agc Date: Fri Mar 9 06:37:23 UTC 2012 Modified Files: othersrc/crypto/external/bsd//dist/src/lib: secsplit.c Log Message: + don't allocate space if we're passed an in-memory array as either a source or a destination of split/combine + fix up the split_vec/combine_vec combinatino so that they both work a bit better now - still some work needed here, though + free the internal s4 structure as part of the combine/combine_vec operation, rather than doing it in _end(). We know at that stage that we have allocated it, and the principle of freeing memory in the same place in the calling stack as it was allocated still applies + rip out parts of the initial comment which aren't really accurate any more - i'm not sure there's that much of the original code left To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 \ othersrc/crypto/external/bsd//dist/src/lib/secsplit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/crypto/external/bsd/ssss/dist/src/libssss
Module Name:othersrc Committed By: agc Date: Sat Mar 10 21:15:27 UTC 2012 Modified Files: othersrc/crypto/external/bsd//dist/src/lib: secsplit.c Log Message: restore correct operation for odd-sized files To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ othersrc/crypto/external/bsd//dist/src/lib/secsplit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/crypto/external/bsd/ssss/ssss
Module Name:othersrc Committed By: agc Date: Sat Mar 10 21:18:04 UTC 2012 Modified Files: othersrc/crypto/external/bsd//: Makefile Log Message: don't link with libthreshold any more run simple tests in place without requiring lib installation To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/crypto/external/bsd///Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: agc Date: Mon Apr 2 22:06:47 UTC 2012 Modified Files: src/lib/libc/sys: sigtimedwait.2 Log Message: fix a couple of typos To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libc/sys/sigtimedwait.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpthread
Module Name:src Committed By: agc Date: Wed Apr 4 06:29:17 UTC 2012 Modified Files: src/lib/libpthread: pthread_cancelstub.c Log Message: Add a pthread cancel stub for sigwait, following Onno van der Linden's analysis in PR 45131. Kindly tested by Hisashi T Fujinaka (using csup as the test case) with a successful outcome. OK martin@ To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libpthread/pthread_cancelstub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libcurses
Module Name:src Committed By: agc Date: Tue May 1 17:32:58 UTC 2012 Modified Files: src/lib/libcurses: curses_standout.3 Log Message: document the correct argument to wstandout(3) and wstandend(3) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libcurses/curses_standout.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libcurses
Module Name:src Committed By: agc Date: Wed May 2 04:23:09 UTC 2012 Modified Files: src/lib/libcurses: curses_standout.3 Log Message: re-work the previous to make it format correctly To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libcurses/curses_standout.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
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: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/libbn
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
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
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
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
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
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
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
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
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
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
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: othersrc/external/bsd/progress
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
CVS commit: src/share/man/man9
Module Name:src Committed By: agc Date: Thu Jun 7 01:01:12 UTC 2012 Modified Files: src/share/man/man9: vnodeops.9 Log Message: Fix a typo To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/share/man/man9/vnodeops.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/sysvbfs
Module Name:src Committed By: agc Date: Mon Jun 11 21:11:41 UTC 2012 Modified Files: src/sys/fs/sysvbfs: bfs.c sysvbfs_vnops.c Log Message: cosmetic change: fix two casts to be of the appropriate type To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/fs/sysvbfs/bfs.c cvs rdiff -u -r1.45 -r1.46 src/sys/fs/sysvbfs/sysvbfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/sysvbfs
Module Name:src Committed By: agc Date: Thu Jun 14 01:08:22 UTC 2012 Modified Files: src/sys/fs/sysvbfs: sysvbfs_vfsops.c Log Message: calculate inode capacities using the correct values To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/fs/sysvbfs/sysvbfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/xzmem
Module Name:othersrc Committed By: agc Date: Tue Jul 31 05:09:25 UTC 2012 Update of /cvsroot/othersrc/external/bsd/xzmem In directory ivanova.netbsd.org:/tmp/cvs-serv28762 Log Message: The current lzma(3) interface is very different to that provided by zlib(3). To aid in code migration, xzmem(3) is a high-level interface, based upon zlib(3) compress() and uncompress() functions, which provides memory-to-memory compression and decompression using LZMA (aka xz(1)). The xzmem library provides xz_compress(3) and xz_compress2(3) functions, to compress using default compression levels, and selected compression level. xz_decompress(3) will decompress the data that was previously compressed using xz_compress(). xz_compressBound(3) will return the worst-case size (at a guess) for the size of compression buffer needed to hold the compressed data. The entire library is released under a 2-clause BSD license. Status: Vendor Tag: CROOKS Release Tags: xzmem-base N othersrc/external/bsd/xzmem/Makefile N othersrc/external/bsd/xzmem/bin/Makefile N othersrc/external/bsd/xzmem/dist/libxzmem.3 N othersrc/external/bsd/xzmem/dist/main.c N othersrc/external/bsd/xzmem/dist/xzmem.c N othersrc/external/bsd/xzmem/dist/xzmem.h N othersrc/external/bsd/xzmem/lib/Makefile N othersrc/external/bsd/xzmem/lib/shlib_version No conflicts created by this import
CVS commit: othersrc/external/bsd/bsdlibtool
Module Name:othersrc Committed By: agc Date: Sun Aug 12 01:01:47 UTC 2012 Update of /cvsroot/othersrc/external/bsd/bsdlibtool In directory ivanova.netbsd.org:/tmp/cvs-serv14258 Log Message: initial import of a bsd-licensed libtool work-alike, intended to interwork with GNU libtool (i.e. same command line arguments, and produces libtool archives which can be manipulated by both libtools). needs porting to other operating systems except NetBSD/amd64, but works well enough to be able to build pkgsrc/misc/libutf, and have the packages which use that as a pre-req to link and pass tests just fine. this is true both manually, and using the pkgsrc plist framework. Example: % cat Makefile PREFIX=/usr/pkg LIBTOOL=bsdlibtool CFLAGS=-g -O0 all: libhello.la wibble.o: wibble.c ${LIBTOOL} --tag=CC --mode=compile --verbose cc ${CFLAGS} -c wibble.c wobble.o: wobble.c ${LIBTOOL} --tag=CC --mode=compile --verbose cc ${CFLAGS} -c wobble.c libhello.la: wibble.o wobble.o ${LIBTOOL} --mode=link --verbose cc ${CFLAGS} -o libhello.la wibble.lo wobble.lo -rpath ${PREFIX}/lib -lm -version-info 3:0 install: all mkdir -p ${PREFIX}/lib ${LIBTOOL} --mode=install --verbose install -c -m 0755 -o agc -g agc libhello.la ${PREFIX}/lib clean: rm -rf *.o *.lo .libs instdir % make bsdlibtool --tag=CC --mode=compile --verbose cc -g -O0 -c wibble.c libtool: compile: cc -g -O0 -c wibble.c -fPIC -DPIC -o .libs/wibble.o libtool: compile: cc -g -O0 -c wibble.c -o wibble.o bsdlibtool --tag=CC --mode=compile --verbose cc -g -O0 -c wobble.c libtool: compile: cc -g -O0 -c wobble.c -fPIC -DPIC -o .libs/wobble.o libtool: compile: cc -g -O0 -c wobble.c -o wobble.o bsdlibtool --mode=link --verbose cc -g -O0 -o libhello.la wibble.lo wobble.lo -rpath /usr/pkg/lib -lm -version-info 3:0 libtool: link: cc -shared .libs/wibble.o .libs/wobble.o -lm -Wl,-soname -Wl,libhello.so.3 -o .libs/libhello.so.3.0.0 libtool: link: (cd .libs && rm -f libhello.so.3 && ln -s libhello.so.3.0.0 libhello.so.3) libtool: link: (cd .libs && rm -f libhello.so && ln -s libhello.so.3.0.0 libhello.so) libtool: link: ar cru .libs/libhello.a wibble.o wobble.o libtool: link: ranlib .libs/libhello.a libtool: link: (cd .libs && rm -f libhello.la && ln -s ../libhello.la libhello.la) % make install mkdir -p /usr/pkg/lib bsdlibtool --mode=install --verbose install -c -m 0755 -o agc -g agc libhello.la /usr/pkg/lib libtool: install: install -c -m 0755 -o agc -g agc .libs/libhello.so.3.0.0 /usr/pkg/lib libtool: install: (cd /usr/pkg/lib && ln -s -f libhello.so.3.0.0 libhello.so.3) libtool: install: (cd /usr/pkg/lib && ln -s -f libhello.so.3.0.0 libhello.so) libtool: install: install -c -m 0755 -o agc -g agc .libs/libhello.lai /usr/pkg/lib/libhello.la libtool: install: install -c -m 0755 -o agc -g agc .libs/libhello.a /usr/pkg/lib/libhello.a libtool: install: chmod 644 /usr/pkg/lib/libhello.a libtool: install: ranlib /usr/pkg/lib/libhello.a % Status: Vendor Tag: CROOKS Release Tags: bsdlibtool-base N othersrc/external/bsd/bsdlibtool/Makefile N othersrc/external/bsd/bsdlibtool/TODO N othersrc/external/bsd/bsdlibtool/bin/Makefile N othersrc/external/bsd/bsdlibtool/bin/tests/Makefile N othersrc/external/bsd/bsdlibtool/bin/tests/foo.c N othersrc/external/bsd/bsdlibtool/bin/tests/hello.c N othersrc/external/bsd/bsdlibtool/dist/bsdlibtool.1 N othersrc/external/bsd/bsdlibtool/dist/bsdlibtool.sh No conflicts created by this import
CVS commit: othersrc/external/bsd/mat/dist
Module Name:othersrc Committed By: agc Date: Sun Aug 12 01:42:24 UTC 2012 Modified Files: othersrc/external/bsd/mat/dist: mat.c Log Message: if the mmap(2) fails, read the file with multiple read(2)s if it succeeds, use the memory array instead. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/mat/dist/mat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/bsd-pkg-config
Module Name:othersrc Committed By: agc Date: Tue Aug 14 06:45:31 UTC 2012 Update of /cvsroot/othersrc/external/bsd/bsd-pkg-config In directory ivanova.netbsd.org:/tmp/cvs-serv14456 Log Message: Dust off my old bsd-pkg-config script and commit it to othersrc. Seems to do most of the things that other pkg-config scripts do, albeit in 150 grungy lines of shell, so I must be missing something. Some quick examples: % bsd-pkg-config --libs-only-l libtiff-4 -ltiff % bsd-pkg-config --libs-only-L libtiff-4 -L/usr/pkg/lib % bsd-pkg-config --libs libtiff-4 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltiff % bsd-pkg-config --libs 'apr-1 >= 1.4.5' -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread % bsd-pkg-config --modversion 'apr-1 >= 1.4.5' 1.4.5 % bsd-pkg-config --variable=prefix apr-1 /usr/pkg % bsd-pkg-config --exists 'apr-1 >= 1.4.4' && echo found found % and the regression tests: % make t cd bin && make t ./tst cflags good libs good libs-only-L good libs-only-l good libs-only-other good modversion good static pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread bsd-pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread variable good version comparisons pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread bsd-pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread % i.e. whitespace differences only Status: Vendor Tag: CROOKS Release Tags: bsd-pkg-config-base N othersrc/external/bsd/bsd-pkg-config/Makefile N othersrc/external/bsd/bsd-pkg-config/bin/Makefile N othersrc/external/bsd/bsd-pkg-config/bin/tst N othersrc/external/bsd/bsd-pkg-config/dist/bsd-pkg-config.sh N othersrc/external/bsd/bsd-pkg-config/dist/bsd-pkg-config.1 No conflicts created by this import
CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src/libbn
Module Name:src Committed By: agc Date: Fri Sep 21 03:03:53 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libbn [agc-netpgp-standalone]: bignum.c Log Message: Fix an inverted test To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libbn/bignum.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/bin/netpgpkeys
Module Name:src Committed By: agc Date: Sat Oct 20 04:38:45 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpkeys [agc-netpgp-standalone]: Makefile Log Message: Add the digest directory to make this compile correctly. To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/bin/netpgpkeys/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
Module Name:src Committed By: agc Date: Sat Oct 20 04:42:42 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/lib/cipher [agc-netpgp-standalone]: Makefile Added Files: src/crypto/external/bsd/netpgp/dist/src/libcipher [agc-netpgp-standalone]: idea.c idea.h Log Message: Now that idea is out of jail, add it as a cipher - requested by christos. For all intents and purposes, AES will be used these days, but idea may be used in legacy things, so mainly for completeness. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/dist/src/libcipher/idea.c \ src/crypto/external/bsd/netpgp/dist/src/libcipher/idea.h cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/lib/cipher/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/dist/src/libdigest
Module Name:src Committed By: agc Date: Sat Oct 20 04:54:40 UTC 2012 Added Files: src/crypto/external/bsd/netpgp/dist/src/libdigest [agc-netpgp-standalone]: Makefile digest.c digest.h tiger.3 tiger.c tiger.h Log Message: Split out the digest functionality into its own subdirectory. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/dist/src/libdigest/Makefile \ src/crypto/external/bsd/netpgp/dist/src/libdigest/digest.c \ src/crypto/external/bsd/netpgp/dist/src/libdigest/digest.h \ src/crypto/external/bsd/netpgp/dist/src/libdigest/tiger.3 \ src/crypto/external/bsd/netpgp/dist/src/libdigest/tiger.c \ src/crypto/external/bsd/netpgp/dist/src/libdigest/tiger.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
Module Name:src Committed By: agc Date: Sat Oct 20 04:59:54 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgp [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 src/crypto/external/bsd/netpgp/dist/include [agc-netpgp-standalone]: netpgp.h src/crypto/external/bsd/netpgp/dist/src/lib [agc-netpgp-standalone]: validate.c src/crypto/external/bsd/netpgp/dist/src/librsa [agc-netpgp-standalone]: rsa.c rsa.h src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: Makefile libnetpgpverify.3 verify.h src/crypto/external/bsd/netpgp/dist/src/netpgpverify [agc-netpgp-standalone]: netpgpverify.1 src/crypto/external/bsd/netpgp/lib [agc-netpgp-standalone]: Makefile src/crypto/external/bsd/netpgp/lib/bn [agc-netpgp-standalone]: Makefile shlib_version src/crypto/external/bsd/netpgp/lib/cipher [agc-netpgp-standalone]: shlib_version src/crypto/external/bsd/netpgp/lib/mj [agc-netpgp-standalone]: shlib_version src/crypto/external/bsd/netpgp/lib/netpgp [agc-netpgp-standalone]: shlib_version src/crypto/external/bsd/netpgp/lib/paa [agc-netpgp-standalone]: shlib_version src/crypto/external/bsd/netpgp/lib/rsa [agc-netpgp-standalone]: shlib_version src/crypto/external/bsd/netpgp/lib/verify [agc-netpgp-standalone]: Makefile shlib_version Added Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: array.h b64.c b64.h dump.c libverify.c pgpsum.c pgpsum.h src/crypto/external/bsd/netpgp/dist/src/netpgpverify [agc-netpgp-standalone]: main.c Removed Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify [agc-netpgp-standalone]: verify.c Log Message: Replace the netpgpverify command and libnetpgpverify in the agc-netpgp-standalone branch with a completely rewritten "from the RFC up" version designed to be small, standalone, and easy to maintain. % ldd bin/netpgpverify/netpgpverify bin/netpgpverify/netpgpverify: -lz.1 => /usr/lib/libz.so.1 -lgcc_s.1 => /usr/lib/libgcc_s.so.1 -lc.12 => /usr/lib/libc.so.12 -lbz2.1 => /usr/lib/libbz2.so.1 -lnetpgpverify.4 => /usr/lib/libnetpgpverify.so.4 % ldd lib/verify/libnetpgpverify.so lib/verify/libnetpgpverify.so: -lc.12 => /usr/lib/libc.so.12 % ls -al lib/verify/libnetpgpverify* bin/netpgpverify/netpgpverify -rwxr-xr-x 1 agc agc 10502 Oct 18 20:59 bin/netpgpverify/netpgpverify -rw-r--r-- 1 agc agc 159720 Oct 18 20:59 lib/verify/libnetpgpverify.a -rw-r--r-- 1 agc agc4822 Oct 18 20:59 lib/verify/libnetpgpverify.html3 lrwxr-xr-x 1 agc agc 22 Oct 18 20:59 lib/verify/libnetpgpverify.so -> libnetpgpverify.so.4.0 lrwxr-xr-x 1 agc agc 22 Oct 18 20:59 lib/verify/libnetpgpverify.so.4 -> libnetpgpverify.so.4.0 -rwxr-xr-x 1 agc agc 123069 Oct 18 20:59 lib/verify/libnetpgpverify.so.4.0 -rw-r--r-- 1 agc agc 169696 Oct 18 20:59 lib/verify/libnetpgpverify_p.a -rw-r--r-- 1 agc agc 149968 Oct 18 20:59 lib/verify/libnetpgpverify_pic.a % ("Small" here includes the full BIGNUM/mpi functionality required to verify signatures). Instead of using extensive callbacks for input data, which have proved to be fragile and difficult to maintain, as well as precluding uses elsewhere, this uses straight mmaping of input files where possible, and falls back to reading if unavailable. RFC 4880 makes provision for two types of data to be signed, binary data and text, and text is subject to modification of data before the signature is made, and is usually opaque. The new netpgpverify(1) can handle this, our old version could not. DSA signatures are not yet supported -- watch this space -- but full RSA ones, including those of text documents like the signed NetBSD release hashes (see PR bin/46930) are recognised and are included in the regression tests. % env LD_LIBRARY_PATH=../../lib/verify ./netpgpverify < NetBSD-6.0_hashes.asc Good signature for [stdin] made Mon Oct 15 09:28:54 2012 signature 4096/RSA (Encrypt or Sign) 064973ac4c4a706e 2009-06-23 fingerprint: ddee 2bdb 9c98 a0d1 d4fb dbf7 0649 73ac 4c4a 706e uid NetBSD Security Officer encryption 4096/RSA (Encrypt or Sign) 9ff2c24fdf2ce620 2009-06-23 [Expiry 2019-06-21] fingerprint: 1915 0801 fbd8 f45d 89f2 0205 9ff2 c24f df2c e620 % Redirection from stdin is also
CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src
Module Name:src Committed By: agc Date: Sat Oct 20 05:55:43 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c verify.h src/crypto/external/bsd/netpgp/dist/src/netpgpverify [agc-netpgp-standalone]: main.c Log Message: implement a new pgpv_get_verified() exported function, which returns the data and its size to the caller. implement pgpv_verify_print() in terms of pgpv_get_verified() To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/libverify/verify.h cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/main.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/libverify
Module Name:src Committed By: agc Date: Sat Oct 20 06:01:57 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libnetpgpverify.3 Log Message: document pgpv_get_verified(), which returns data and size of verified data. To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libnetpgpverify.3 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
Module Name:src Committed By: agc Date: Sat Oct 20 10:16:31 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c Log Message: add preliminary support for DSA signatures to libnetpgpverify(3) and netpgpverify(1) To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.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/libverify
Module Name:src Committed By: agc Date: Sat Oct 20 12:18:31 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c Log Message: Get rid of a debugging inclusion which is no longer needed. To generate a diff of this commit: cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.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/bin/netpgpverify
Module Name:src Committed By: agc Date: Sat Oct 20 12:22:00 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: Makefile Log Message: install into the correct place To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/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/dist/src/libverify
Module Name:src Committed By: agc Date: Sat Oct 20 15:58:46 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: verify.h Log Message: fix up name of struct, missed on an earlier pass To generate a diff of this commit: cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ 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/dist/src/libverify
Module Name:src Committed By: agc Date: Mon Oct 22 08:35:14 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c Log Message: fix DSA signature verification so it DTRT To generate a diff of this commit: cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.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
Module Name:src Committed By: agc Date: Tue Oct 23 15:00:57 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: Makefile src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libnetpgpverify.3 libverify.c verify.h Added Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: dsa-pubring.gpg expected36 expected37 expected38 expected39 expected40 expected41 expected42 expected43 Log Message: Fix a tyop in the getopt string so that it specifies that -k takes an argument - makes the specification of public keyrings work again. Make pgpv_verify return a cookie if the signature matches, rather than just a plain pseudo-boolean value. The cookie can be used subsequently to retrieve the verified data Use the cookie as input to pgp_get_verified() Add tests for DSA key verification To generate a diff of this commit: cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/dsa-pubring.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected36 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected37 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected38 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected39 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected40 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected41 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected42 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected43 cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libnetpgpverify.3 cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \ 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/dist/src/netpgpverify
Module Name:src Committed By: agc Date: Tue Oct 23 15:03:37 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/netpgpverify [agc-netpgp-standalone]: main.c Log Message: Fix a tyop in the getopt string so that it specifies that -k takes an argument - makes the specification of public keyrings work again. Make pgpv_verify return a cookie if the signature matches, rather than just a plain pseudo-boolean value. The cookie can be used subsequently to retrieve the verified data Use the cookie as input to pgp_get_verified() Add tests for DSA key verification To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/main.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/bin/netpgpverify
Module Name:src Committed By: agc Date: Wed Oct 24 02:18:57 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: Makefile expected36 expected37 expected38 expected39 expected40 expected41 expected42 expected43 Added Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: expected16 expected17 expected18 expected19 expected20 expected21 expected22 expected23 expected24 expected25 expected26 expected27 expected28 expected29 expected30 expected31 expected32 expected33 expected34 expected35 expected44 expected45 in1.asc in2.asc in2.gpg Log Message: get rid of RCS Ids in test files - both input and expected output To generate a diff of this commit: cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected16 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected17 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected18 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected19 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected20 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected21 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected22 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected23 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected24 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected25 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected26 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected27 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected28 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected29 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected30 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected31 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected32 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected33 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected34 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected35 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected44 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected45 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/in1.asc \ src/crypto/external/bsd/netpgp/bin/netpgpverify/in2.asc \ src/crypto/external/bsd/netpgp/bin/netpgpverify/in2.gpg cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected36 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected37 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected38 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected39 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected40 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected41 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected42 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected43 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
Module Name:src Committed By: agc Date: Wed Oct 24 02:27:25 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c pgpsum.c verify.h Log Message: various improvements in netpgpverify: + store the revocation code in the signature + attempt to be bug compatible with gpg - if a signature on a text document does not match the first time, try again, this time trimming trailing white space (' ' and '\t' characters) from the text document. this makes the verification work the same as gpg. this behavior is not activated for binary documents. i have absolutely no idea why this is done in the first place; christoph badura thinks it may be to do with original pgp compatibility. this and the stripping of the trailing \r\n on text document digest calculation make no sense to me. + only compare the leading Q bits (i.e. the length of the DSA Q value) when verifying a DSA signature, per RFC 4880. helps with sha256 digests and smaller keys. + calculate the displayed size of DSA keys a bit differently, no functional difference. To generate a diff of this commit: cvs rdiff -u -r1.1.2.6 -r1.1.2.7 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libverify/pgpsum.c cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \ 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/netpgpverify
Module Name:src Committed By: agc Date: Wed Oct 24 03:09:33 UTC 2012 Added Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: NetBSD-6.0_RC1_hashes.gpg NetBSD-6.0_RC1_hashes_ascii.gpg NetBSD-6.0_RC2_hashes.asc NetBSD-6.0_hashes.asc a.gpg b.gpg gpgsigned-a.gpg in1.gpg jj.asc Log Message: add all of the test input files To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/NetBSD-6.0_RC1_hashes.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/NetBSD-6.0_RC1_hashes_ascii.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/NetBSD-6.0_RC2_hashes.asc \ src/crypto/external/bsd/netpgp/bin/netpgpverify/NetBSD-6.0_hashes.asc \ src/crypto/external/bsd/netpgp/bin/netpgpverify/a.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/b.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/gpgsigned-a.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/in1.gpg \ src/crypto/external/bsd/netpgp/bin/netpgpverify/jj.asc 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/netpgpverify
Module Name:src Committed By: agc Date: Wed Oct 24 03:11:17 UTC 2012 Added Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: det.sig Log Message: add the detached signature as well To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/det.sig 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/netpgpverify
Module Name:src Committed By: agc Date: Wed Oct 24 03:13:12 UTC 2012 Added Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: det Log Message: add the detached file to be the input for the detached signature verification To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/det 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
Module Name:src Committed By: agc Date: Thu Oct 25 04:03:16 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libnetpgpverify.3 libverify.c verify.h src/crypto/external/bsd/netpgp/dist/src/netpgpverify [agc-netpgp-standalone]: main.c Log Message: change the signature (ha!) of the pgpv_read_pubring() function to allow a key to be specified as a string in memory, as well as in a file. as always, the pubring must precede the signature. To generate a diff of this commit: cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libnetpgpverify.3 cvs rdiff -u -r1.1.2.7 -r1.1.2.8 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.6 -r1.1.2.7 \ src/crypto/external/bsd/netpgp/dist/src/libverify/verify.h cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ src/crypto/external/bsd/netpgp/dist/src/netpgpverify/main.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/libverify
Module Name:src Committed By: agc Date: Sat Oct 27 02:27:50 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c verify.h Log Message: minor changes to libnetpgpverify(3) + allow more signature types in subkey signatures when parsing signatures in the pubring trust entries, which allows more existing, valid pubring.gpg files (constructed by gpg) to be recognised. with thanks to jakallsch for the data. + provide a nonnull_getenv() function and use it in the one place getenv(3) was previously used, following a nudge from dsl. To generate a diff of this commit: cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.7 -r1.1.2.8 \ 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/dist/src
Module Name:src Committed By: agc Date: Mon Oct 29 15:46:50 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libbn [agc-netpgp-standalone]: bignum.c misc.c src/crypto/external/bsd/netpgp/dist/src/libdigest [agc-netpgp-standalone]: digest.c tiger.c src/crypto/external/bsd/netpgp/dist/src/librsa [agc-netpgp-standalone]: rsa.c src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: b64.c Log Message: Do some argument checking in public functions (exported by library interface) To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/libbn/bignum.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libbn/misc.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libdigest/digest.c \ src/crypto/external/bsd/netpgp/dist/src/libdigest/tiger.c cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/librsa/rsa.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libverify/b64.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
Module Name:src Committed By: agc Date: Tue Oct 30 02:10:43 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify [agc-netpgp-standalone]: Makefile expected16 expected17 expected18 expected21 expected22 expected24 expected32 expected34 src/crypto/external/bsd/netpgp/dist/src/libbn [agc-netpgp-standalone]: bignum.c src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c verify.h src/crypto/external/bsd/netpgp/lib/verify [agc-netpgp-standalone]: Makefile Removed Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: verify.c Log Message: changes to libnetpgpverify: + isolate the RSA verification code (the DSA verification code was isolated previously), and include it in our sources, rather than including the source for librsa, (and thus bringing in all the code for signing and encryption/decryption) - no crypto is involved in signature verification, just the digest calculation, and the BIGNUM expmod. + check some more arguments + order the user ids as expected in public keys (i.e. if there's a primary user id signature sub-packet, honor it), and fix up the regression test results accordingly. To generate a diff of this commit: cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected16 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected17 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected18 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected21 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected22 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected24 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected32 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/expected34 cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ src/crypto/external/bsd/netpgp/dist/src/libbn/bignum.c cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.1 -r0 \ src/crypto/external/bsd/netpgp/dist/src/libverify/verify.c cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \ src/crypto/external/bsd/netpgp/dist/src/libverify/verify.h cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/lib/verify/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/dist/src/libverify
Module Name:src Committed By: agc Date: Thu Nov 1 01:35:35 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c verify.h Log Message: display revoked userids, and particularly, compromised and revoked userids To generate a diff of this commit: cvs rdiff -u -r1.1.2.10 -r1.1.2.11 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \ 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/tests/netpgpverify
Module Name:src Committed By: agc Date: Thu Nov 1 01:41:25 UTC 2012 Added Files: src/crypto/external/bsd/netpgp/tests/netpgpverify [agc-netpgp-standalone]: Makefile t_netpgpverify.sh Log Message: add some atf/kyua tests for netpgpverify % make test ... cd tests/netpgpverify && make && atf-run #create netpgpverify/Atffile # build netpgpverify/t_netpgpverify echo '#! /usr/bin/atf-sh' >t_netpgpverify.tmp cat t_netpgpverify.sh >>t_netpgpverify.tmp chmod +x t_netpgpverify.tmp mv t_netpgpverify.tmp t_netpgpverify atf2kyua: I: Removing stale Kyuafiles from /tmp/.XX.027471aa atf2kyua: I: Converting /usr/src/crypto/external/bsd/agc-netpgp-standalone/tests/netpgpverify/Atffile -> /tmp/.XX.027471aa/Kyuafile t_netpgpverify:netpgpverify_rsa -> passed [0.138s] t_netpgpverify:netpgpverify_dsa -> passed [0.119s] 2/2 passed (0 failed) Committed action 10 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 \ src/crypto/external/bsd/netpgp/tests/netpgpverify/Makefile \ src/crypto/external/bsd/netpgp/tests/netpgpverify/t_netpgpverify.sh 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
Module Name:src Committed By: agc Date: Fri Nov 2 00:35:51 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libbn [agc-netpgp-standalone]: misc.c misc.h src/crypto/external/bsd/netpgp/dist/src/libverify [agc-netpgp-standalone]: libverify.c pgpsum.c src/crypto/external/bsd/netpgp/lib/verify [agc-netpgp-standalone]: Makefile Removed Files: src/crypto/external/bsd/netpgp/dist/src/libbn [agc-netpgp-standalone]: digest.h Log Message: more changes to netpgpverify on agc-netpgp-standalone branch: + remove the copy of digest.h from libbn sources, use the one in libdigest, and fix up lib/verify/Makefile to accommodate + get rid of header files we don't need, and pick up header files from the correct directory + remove the hexdump utility routine from the libbn misc support routines, it's not needed + add a comment describing the pubring primary key parser structure To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r0 \ src/crypto/external/bsd/netpgp/dist/src/libbn/digest.h cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/libbn/misc.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \ src/crypto/external/bsd/netpgp/dist/src/libbn/misc.h cvs rdiff -u -r1.1.2.11 -r1.1.2.12 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \ src/crypto/external/bsd/netpgp/dist/src/libverify/pgpsum.c cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \ src/crypto/external/bsd/netpgp/lib/verify/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: agc Date: Tue Nov 20 05:27:25 UTC 2012 Modified Files: src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64 md.sparc64 shl.mi src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64 md.sparc64 mi shl.mi Log Message: Fix set lists after the merge of netpgpverify(1) and libnetpgpverify(3) from the agc-netpgp-standalone branch. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/distrib/sets/lists/base/ad.mips64eb cvs rdiff -u -r1.101 -r1.102 src/distrib/sets/lists/base/ad.mips64el cvs rdiff -u -r1.178 -r1.179 src/distrib/sets/lists/base/md.amd64 cvs rdiff -u -r1.167 -r1.168 src/distrib/sets/lists/base/md.sparc64 cvs rdiff -u -r1.639 -r1.640 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.91 -r1.92 src/distrib/sets/lists/comp/ad.mips64eb cvs rdiff -u -r1.93 -r1.94 src/distrib/sets/lists/comp/ad.mips64el cvs rdiff -u -r1.182 -r1.183 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.159 -r1.160 src/distrib/sets/lists/comp/md.sparc64 cvs rdiff -u -r1.1789 -r1.1790 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.238 -r1.239 src/distrib/sets/lists/comp/shl.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/usr.bin
Module Name:src Committed By: agc Date: Tue Nov 20 08:02:06 UTC 2012 Modified Files: src/tests/usr.bin: Makefile Log Message: descend into netpgpverify test directory too To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/tests/usr.bin/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: agc Date: Tue Nov 20 08:00:34 UTC 2012 Modified Files: src/distrib/sets/lists/tests: mi Log Message: add test files for netpgpverify To generate a diff of this commit: cvs rdiff -u -r1.506 -r1.507 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/base
Module Name:src Committed By: agc Date: Tue Nov 20 05:29:13 UTC 2012 Modified Files: src/distrib/sets/lists/base: mi Log Message: add the directory for the netpgp header files To generate a diff of this commit: cvs rdiff -u -r1.1013 -r1.1014 src/distrib/sets/lists/base/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp
Module Name:src Committed By: agc Date: Tue Nov 20 05:26:26 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp: Makefile Added Files: src/crypto/external/bsd/netpgp/bin: Makefile src/crypto/external/bsd/netpgp/bin/netpgpverify: Makefile src/crypto/external/bsd/netpgp/dist/src/libbn: Makefile bignum.c bn.h libnetpgpbn.3 misc.c misc.h rand.c rand.h stubs.c stubs.h src/crypto/external/bsd/netpgp/dist/src/libdigest: Makefile digest.c digest.h tiger.3 tiger.c tiger.h src/crypto/external/bsd/netpgp/dist/src/librsa: Makefile libnetpgprsa.3 rsa.c rsa.h rsastubs.c rsastubs.h src/crypto/external/bsd/netpgp/dist/src/libverify: Makefile array.h b64.c b64.h dump.c libnetpgpverify.3 libverify.c pgpsum.c pgpsum.h verify.h src/crypto/external/bsd/netpgp/dist/src/netpgpverify: main.c src/crypto/external/bsd/netpgp/lib/verify: Makefile shlib_version Log Message: Merge netpgpverify(1) and libnetpgpverify(3) from the agc-netpgp-standalone branch. Rewrite the netpgpverify(1) functionality from RFC4880 up. This is a completely new implementation, and uses its own bignum library derived from libtommath. Apart from libz and libbz2, it just uses its own library and is self-contained - this makes it easier to embed, and to use from scripting languages. netpgpverify(1) now verifies all the signed files i've thrown at it, and the added bonus of using no functionality from libcrypto - all of its bignum functionality comes from its own libnetpgpverify.so. netpgpverify(1) now verifies not only signatures on binary files, but also signatures on text documents. This fixes PR/46930. Please don't start me on the hoops I had to jump through to calculate the digests on text files; trust me, you will regret it. % supersize `which netpgpverify` textdata bss dec hex filename 4452 860 7253841508 /usr/bin/netpgpverify 795421408 0 80950 13c36 /usr/lib/libz.so.1 43994 984 488 45466b19a /usr/lib/libgcc_s.so.1 1318116 49644 69272 1437032 15ed68 /usr/lib/libc.so.12 572534184 0 61437effd /usr/lib/libbz2.so.1 1087261712 0 110438 1af66 /usr/lib/libnetpgpverify.so.4 161208358792 69832 1740707 0x1a8fa3 total % % make t env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify b.gpg > output16 diff expected16 output16 rm -f output16 env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify a.gpg > output17 diff expected17 output17 rm -f output17 env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify gpgsigned-a.gpg > output18 diff expected18 output18 rm -f output18 env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify NetBSD-6.0_RC2_hashes.asc > output19 diff expected19 output19 rm -f output19 ... env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -k dsa-pubring.gpg in2.asc > output45 diff expected45 output45 rm -f output45 env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -k problem-pubring.gpg NetBSD-6.0_hashes.asc > output46 diff expected46 output46 rm -f output46 cd tests/netpgpverify && make && atf-run atf2kyua: I: Removing stale Kyuafiles from /tmp/.XX.004966aa atf2kyua: I: Converting /usr/src/crypto/external/bsd/netpgp-standalone/tests/netpgpverify/Atffile -> /tmp/.XX.004966aa/Kyuafile t_netpgpverify:netpgpverify_rsa -> passed [0.221s] t_netpgpverify:netpgpverify_dsa -> passed [0.117s] 2/2 passed (0 failed) Committed action 19 % To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/netpgp/Makefile cvs rdiff -u -r0 -r1.4 src/crypto/external/bsd/netpgp/bin/Makefile cvs rdiff -u -r0 -r1.2 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r0 -r1.2 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/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 cvs rdiff -u -r0 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/libdigest/Makefile \ src/crypto/external/bsd/netpgp/dist/src/libdigest/digest.c \ src/crypto/external/bsd/netpgp/dist/src/libdigest/digest.h \ src/crypto/external/bsd/netpgp/dist/src/libdigest/tiger.3 \ src/crypto/exte
CVS commit: src/tests/usr.bin/netpgpverify
Module Name:src Committed By: agc Date: Tue Nov 20 07:55:55 UTC 2012 Added Files: src/tests/usr.bin/netpgpverify: Atffile Makefile t_netpgpverify.sh Log Message: Add tests for netpgpverify. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/netpgpverify/Atffile \ src/tests/usr.bin/netpgpverify/Makefile \ src/tests/usr.bin/netpgpverify/t_netpgpverify.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: agc Date: Tue Nov 20 16:18:50 UTC 2012 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/tests: mi Log Message: add missing destdir files for netpgpverify addition To generate a diff of this commit: cvs rdiff -u -r1.1790 -r1.1791 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.507 -r1.508 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/mdocml/dist
Module Name:src Committed By: agc Date: Tue Nov 20 16:24:30 UTC 2012 Modified Files: src/external/bsd/mdocml/dist: lib.in Log Message: add definition for libnetpgpverify To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/mdocml/dist/lib.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib
Module Name:src Committed By: agc Date: Tue Nov 20 16:33:06 UTC 2012 Modified Files: src/lib: Makefile Log Message: descend into libnetpgpverify so that the compat entries are picked up To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196 src/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/libbn
Module Name:src Committed By: agc Date: Tue Nov 20 17:57:41 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libbn: bignum.c bn.h Log Message: don't assume every platform is 64-bit - just use standard integer arithmetic To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/dist/src/libbn/bignum.c \ src/crypto/external/bsd/netpgp/dist/src/libbn/bn.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/libverify
Module Name:src Committed By: agc Date: Tue Nov 20 18:45:37 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify: libverify.c Log Message: fix problem on 32-bit problems - with thanks to Alan Barrett and Jonathan Kollasch To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/libbn
Module Name:src Committed By: agc Date: Thu Nov 22 00:37:56 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libbn: bignum.c Log Message: Fix some lint - from Havard Eidnes To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/netpgp/dist/src/libbn/bignum.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/libverify
Module Name:src Committed By: agc Date: Thu Nov 22 00:38:45 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libverify: pgpsum.c Log Message: Fix some lint To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/dist/src/libverify/pgpsum.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp
Module Name:src Committed By: agc Date: Thu Nov 22 04:05:57 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify: Makefile src/crypto/external/bsd/netpgp/lib/verify: Makefile Log Message: link libz and libbz2 into the netpgpverify library, rather than into the executable, via LIBDPLIBS. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/netpgp/lib/verify/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp
Module Name:src Committed By: agc Date: Thu Nov 22 21:20:45 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/bin/netpgpverify: Makefile src/crypto/external/bsd/netpgp/lib/verify: Makefile Log Message: revert previous change for LIBDPLIBS until I have a chance to work out the order for building pre-req libs To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/netpgp/lib/verify/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/mat
Module Name:othersrc Committed By: agc Date: Sun Nov 25 20:20:36 UTC 2012 Modified Files: othersrc/external/bsd/mat/dist: mat.c mat.h othersrc/external/bsd/mat/libmat: shlib_version Log Message: Use mmap(2) to write files, where possible. Fallback to write(2) when not possible. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/mat/dist/mat.c \ othersrc/external/bsd/mat/dist/mat.h cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/mat/libmat/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/mat/dist
Module Name:othersrc Committed By: agc Date: Mon Nov 26 05:49:06 UTC 2012 Modified Files: othersrc/external/bsd/mat/dist: frontends.c mat.c Log Message: act on feedback from fuzz tests: check arguments to exported functions on entry to those functions To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/mat/dist/frontends.c cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/mat/dist/mat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/mat/dist
Module Name:othersrc Committed By: agc Date: Mon Nov 26 16:00:54 UTC 2012 Modified Files: othersrc/external/bsd/mat/dist: frontends.c mat.c mat.h Log Message: + unmap the mmap'ed memory in the all cases. + be consistent with the type of integer when printing + add an error count field to the main structure + check error count in the frontends ride previous shlib major bump with thanks to marc balmer for keeping me honest To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/mat/dist/frontends.c \ othersrc/external/bsd/mat/dist/mat.h cvs rdiff -u -r1.7 -r1.8 othersrc/external/bsd/mat/dist/mat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/getopt2/dist
Module Name:othersrc Committed By: agc Date: Wed Nov 28 06:51:24 UTC 2012 Modified Files: othersrc/external/bsd/getopt2/dist: getopt2.c Log Message: more feedback from fuzz testing round: check arguments passed to us, return error codes if they're not good. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/getopt2/dist/getopt2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/usr.bin/netpgpverify
Module Name:src Committed By: agc Date: Sun Dec 2 20:27:10 UTC 2012 Removed Files: src/tests/usr.bin/netpgpverify: Atffile Log Message: Remove the Atffile, which should not have been added in the first place. With thanks to Herbert J. Skuhra and Paul Goyette To generate a diff of this commit: cvs rdiff -u -r1.1 -r0 src/tests/usr.bin/netpgpverify/Atffile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/netpgp/dist/src/libbn
Module Name:src Committed By: agc Date: Mon Dec 3 18:02:22 UTC 2012 Modified Files: src/crypto/external/bsd/netpgp/dist/src/libbn: bn.h Log Message: Make the mp_digit type an "unsigned long" so that it works for ILP32 and LP64. Fixes problems showing up on regression tests on i386 (which work fine on amd64) i.e. turn: t_netpgpverify (1/1): 2 test cases netpgpverify_dsa: [0.309746s] Failed: atf-check failed; see the output of the test for details netpgpverify_rsa: [0.183148s] Passed. [0.495102s] Failed test cases: t_netpgpverify:netpgpverify_dsa Summary for 1 test programs: 1 passed test cases. 1 failed test cases. 0 expected failed test cases. 0 skipped test cases. into: t_netpgpverify (1/1): 2 test cases netpgpverify_dsa: [0.236076s] Passed. netpgpverify_rsa: [0.154680s] Passed. [0.393034s] Summary for 1 test programs: 2 passed test cases. 0 failed test cases. 0 expected failed test cases. 0 skipped test cases. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/netpgp/dist/src/libbn/bn.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/rs/dist
Module Name:othersrc Committed By: agc Date: Tue Dec 4 07:24:19 UTC 2012 Modified Files: othersrc/external/bsd/rs/dist: rs.c Log Message: feedback from fuzz testing - check arguments to functions on input. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/rs/dist/rs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/threshold/dist/src/libthreshold
Module Name:othersrc Committed By: agc Date: Tue Dec 4 07:39:19 UTC 2012 Modified Files: othersrc/external/bsd/threshold/dist/src/libthreshold: ida.c raid.c threshold.c Log Message: feedback from fuzz testing - check arguments on entry to functions To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ othersrc/external/bsd/threshold/dist/src/libthreshold/ida.c \ othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c \ othersrc/external/bsd/threshold/dist/src/libthreshold/threshold.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/vmdk/dist
Module Name:othersrc Committed By: agc Date: Tue Dec 4 07:45:36 UTC 2012 Modified Files: othersrc/external/bsd/vmdk/dist: libvmdk.c Log Message: feedback from fuzz testing - check function arguments on input To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/vmdk/dist/libvmdk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/netdiff
Module Name:othersrc Committed By: agc Date: Thu Jan 10 08:17:11 UTC 2013 Update of /cvsroot/othersrc/external/bsd/netdiff In directory ivanova.netbsd.org:/tmp/cvs-serv19258 Log Message: Import netdiff library and program, version 20130107, into othersrc. This is the old BSD diff(1) program, rewritten and re-organised into a library and a small program to call the functions in the library. There are no static variables, and so many comparisons can be performed simultaneously. Functionally, the netdiff(1) program is the same as diff(1). Standard diff output is produced by default. Context and unified diff output can be specified using the -c and -u command line switches, and the amount of context can be specified in the usual way. SCM programs usually use ed scripts (RCS and CVS) or binary diffs, and these are produced using this program. In addition, a simplified form of VCDIFF output (RFC 3284) can be produced -- and a separate binary patch program is used to reconstruct versions through this method. As this is organised into a library interface, libnetdiff(3) is also targetted at scripting languages. Comparison output can be sent to a file, or held in a buffer, and the buffer read using the API. If neither of these options is specified, then the comparsion output will be sent to stdout. qdiff(1) is a small program which uses the buffer interface to retrieve the comparison information. It is provided as an illustration of how to use the API, and is not installed by default. Simple tests are in the two Makefiles in the netdiff and qdiff sub-directories of bin in the reachover infrastructure. Status: Vendor Tag: NETDIFF Release Tags: netdiff-20130107-base N othersrc/external/bsd/netdiff/Makefile N othersrc/external/bsd/netdiff/bin/Makefile N othersrc/external/bsd/netdiff/bin/netdiff/001.expected N othersrc/external/bsd/netdiff/bin/netdiff/002.expected N othersrc/external/bsd/netdiff/bin/netdiff/003.expected N othersrc/external/bsd/netdiff/bin/netdiff/004.expected N othersrc/external/bsd/netdiff/bin/netdiff/005.expected N othersrc/external/bsd/netdiff/bin/netdiff/006.expected N othersrc/external/bsd/netdiff/bin/netdiff/007.expected N othersrc/external/bsd/netdiff/bin/netdiff/Makefile N othersrc/external/bsd/netdiff/bin/netdiff/f1 N othersrc/external/bsd/netdiff/bin/netdiff/f2 N othersrc/external/bsd/netdiff/bin/qdiff/001.expected N othersrc/external/bsd/netdiff/bin/qdiff/002.expected N othersrc/external/bsd/netdiff/bin/qdiff/003.expected N othersrc/external/bsd/netdiff/bin/qdiff/004.expected N othersrc/external/bsd/netdiff/bin/qdiff/005.expected N othersrc/external/bsd/netdiff/bin/qdiff/006.expected N othersrc/external/bsd/netdiff/bin/qdiff/Makefile N othersrc/external/bsd/netdiff/dist/Makefile N othersrc/external/bsd/netdiff/dist/TODO N othersrc/external/bsd/netdiff/dist/diff.c N othersrc/external/bsd/netdiff/dist/diff_subr.c N othersrc/external/bsd/netdiff/dist/diffdir.c N othersrc/external/bsd/netdiff/dist/diffreg.c N othersrc/external/bsd/netdiff/dist/internal.h N othersrc/external/bsd/netdiff/dist/libnetdiff.3 N othersrc/external/bsd/netdiff/dist/netdiff.1 N othersrc/external/bsd/netdiff/dist/netdiff.h N othersrc/external/bsd/netdiff/dist/pathnames.h N othersrc/external/bsd/netdiff/dist/qdiff.c N othersrc/external/bsd/netdiff/lib/Makefile N othersrc/external/bsd/netdiff/lib/shlib_version No conflicts created by this import
CVS commit: othersrc/external/bsd/netdiff
Module Name:othersrc Committed By: agc Date: Fri Jan 11 05:10:19 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/bin/netdiff: 002.expected 003.expected 004.expected 006.expected othersrc/external/bsd/netdiff/bin/qdiff: 002.expected 003.expected 004.expected 006.expected othersrc/external/bsd/netdiff/dist: diff_subr.c Log Message: Feedback from fuzz tests - check input arguments to exported functions Modify the expected output files for mtimes on the tests after the import To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ othersrc/external/bsd/netdiff/bin/netdiff/002.expected \ othersrc/external/bsd/netdiff/bin/netdiff/003.expected \ othersrc/external/bsd/netdiff/bin/netdiff/004.expected \ othersrc/external/bsd/netdiff/bin/netdiff/006.expected cvs rdiff -u -r1.1.1.1 -r1.2 \ othersrc/external/bsd/netdiff/bin/qdiff/002.expected \ othersrc/external/bsd/netdiff/bin/qdiff/003.expected \ othersrc/external/bsd/netdiff/bin/qdiff/004.expected \ othersrc/external/bsd/netdiff/bin/qdiff/006.expected cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/netdiff/dist/diff_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/netdiff
Module Name:othersrc Committed By: agc Date: Fri Jan 11 05:19:46 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/bin/netdiff: 004.expected othersrc/external/bsd/netdiff/bin/qdiff: 004.expected othersrc/external/bsd/netdiff/dist: diff.c diff_subr.c diffdir.c diffreg.c Log Message: avoid accessing fields in the struct from main() and other callers - set defaults at the start of the 3 main functions - diff_file(), diff_dir() and difference(). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ othersrc/external/bsd/netdiff/bin/netdiff/004.expected cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/netdiff/bin/qdiff/004.expected cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/netdiff/dist/diff.c \ othersrc/external/bsd/netdiff/dist/diffdir.c \ othersrc/external/bsd/netdiff/dist/diffreg.c cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/netdiff/dist/diff_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/binpatch
Module Name:othersrc Committed By: agc Date: Fri Jan 11 06:27:01 UTC 2013 Update of /cvsroot/othersrc/external/bsd/binpatch In directory ivanova.netbsd.org:/tmp/cvs-serv26282 Log Message: Import a binary patch library, libbinpatch(3), and program, binpatch(1), into the othersrc repository. This can be used to encode a binary patch file from an original file, and a new file. To do this, 3 separate "instructions" are used, similar to those outlined in RFC 3284 - + add - addition of new data + copy - copying of data from original file + run - a run of characters, similar to memset(3) The binary patches generated here are a much simplified form of those described in the RFC, but have 64bit offsets and 32bit sizes in the instructions. The generated binary patch files are also much smaller than the original files, and even standard diffs, and are only just larger then the equivalent vcdiff binary patch file. % diff f1 f2 | wc 58 3381969 % diff -u f1 f2 | wc 85 4082530 % binpatch -e f1 f2 | wc 44 2691801 % vcdiff encode -dictionary f1 -target f2 | wc 40 2571663 (The last is the Google vcdiff program found in pkgsrc/devel/open-vcdiff) The binpatch(1) program can be used to generate binary patch files, and to reconstruct the target files, in the following way % binpatch -e -o patch f1 f2 % binpatch -f f1 -o recon patch % diff f2 recon % rm -f recon % binpatch -v -f f1 -o recon patch Add 1337 bytes Copy 187 bytes from 0 Copy 386 bytes from 198 Add 50 bytes Copy 173 bytes from 592 Add 55 bytes Copy 373 bytes from 816 Add 74 bytes Copy 34 bytes from 1189 Add 182 bytes Copy 23 bytes from 1262 diff f2 recon % diff f2 recon % rm -f recon binpatch(1) uses libbinpatch(3) and libnetdiff(3) to encode binary patch files, and libbinpatch(3) to decode binary patch files. Status: Vendor Tag: CROOKS Release Tags: binpatch-base N othersrc/external/bsd/binpatch/Makefile N othersrc/external/bsd/binpatch/bin/007.expected N othersrc/external/bsd/binpatch/bin/Makefile N othersrc/external/bsd/binpatch/bin/f1 N othersrc/external/bsd/binpatch/bin/f2 N othersrc/external/bsd/binpatch/dist/Makefile N othersrc/external/bsd/binpatch/dist/binpatch.c N othersrc/external/bsd/binpatch/dist/binpatch.h N othersrc/external/bsd/binpatch/dist/main.c N othersrc/external/bsd/binpatch/dist/libbinpatch.3 N othersrc/external/bsd/binpatch/dist/binpatch.1 N othersrc/external/bsd/binpatch/lib/Makefile N othersrc/external/bsd/binpatch/lib/shlib_version No conflicts created by this import
CVS commit: othersrc/external/bsd/netdiff
Module Name:othersrc Committed By: agc Date: Sat Jan 12 01:31:21 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/bin: Makefile othersrc/external/bsd/netdiff/bin/netdiff: 004.expected othersrc/external/bsd/netdiff/bin/qdiff: 004.expected othersrc/external/bsd/netdiff/dist: diff.c diff_subr.c diffreg.c libnetdiff.3 netdiff.h qdiff.c Added Files: othersrc/external/bsd/netdiff/bin/memdiff: 001.expected 002.expected 003.expected 005.expected 006.expected 007.expected Makefile f1 f2 othersrc/external/bsd/netdiff/dist: mem.c Log Message: Abstract the I/O routines within netdiff to work with either areas of memory (mmap'ed or allocated), or with stdio; use the appropriate implementation automatically. This doesn't change comparisons which use normal file I/O through stdio in any way - all of the existing tests continue to pass; however, in addition, it enables the use of the same comparison functionality on areas of memory. Using the abstracted I/O, add a diff_mem() function to compare two areas of memory. Within the comparison, unless labels are provided for each area of memory, any netdiff output will be labelled "lhs" and "rhs". The mtime for comparison output is taken to be the time at which the comparison was started, and is the same for both areas of memory. Together with the function which retrieves comparison output in memory, this allows us to do diff comparisons without hitting any file system at all. Directory comparisons continue to function in exactly the same way. Add an example program called memdiff (again, not installed), which uses mmap to read its input files, diff_mem() to compare the memory, and diff_get_diffs() to retrieve the differences, all completely in memory. Add tests for this program, including filters so that we don't check the mtimes on the areas of memory compared. Regular files can still be compared using diff_file(), or the higher-level difference(), although these will not be as quick as the mmap()/diff_mem()/diff_get_diffs() combination. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/netdiff/bin/Makefile cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/netdiff/bin/memdiff/001.expected \ othersrc/external/bsd/netdiff/bin/memdiff/002.expected \ othersrc/external/bsd/netdiff/bin/memdiff/003.expected \ othersrc/external/bsd/netdiff/bin/memdiff/005.expected \ othersrc/external/bsd/netdiff/bin/memdiff/006.expected \ othersrc/external/bsd/netdiff/bin/memdiff/007.expected \ othersrc/external/bsd/netdiff/bin/memdiff/Makefile \ othersrc/external/bsd/netdiff/bin/memdiff/f1 \ othersrc/external/bsd/netdiff/bin/memdiff/f2 cvs rdiff -u -r1.3 -r1.4 \ othersrc/external/bsd/netdiff/bin/netdiff/004.expected cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/netdiff/bin/qdiff/004.expected cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/netdiff/dist/diff.c \ othersrc/external/bsd/netdiff/dist/diffreg.c \ othersrc/external/bsd/netdiff/dist/libnetdiff.3 cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/netdiff/dist/diff_subr.c cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/netdiff/dist/mem.c cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/netdiff/dist/netdiff.h \ othersrc/external/bsd/netdiff/dist/qdiff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/netdiff
Module Name:othersrc Committed By: agc Date: Sun Jan 13 22:17:22 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/bin: Makefile othersrc/external/bsd/netdiff/bin/netdiff: Makefile othersrc/external/bsd/netdiff/bin/qdiff: Makefile othersrc/external/bsd/netdiff/dist: diff.c diff_subr.c diffreg.c libnetdiff.3 netdiff.h othersrc/external/bsd/netdiff/lib: Makefile Added Files: othersrc/external/bsd/netdiff/bin/wdiff: Makefile f1 f2 othersrc/external/bsd/netdiff/dist: netwdiff.1 netwdiff.c Log Message: Add wdiff functionality, which performs a word-by-word comparison between two areas of memory, or between two files. This is accomplished using two new functions, wdiff_mem() or wdiff_file(), and results can either be retrieved by displaying them to stdout, to an output file, or by using diff_get_diffs() to retrieve the results in-memory. Internally, the two files/areas of memory are split into separate areas of memory with a word on each line, and the two areas of memory are compared using diff_mem(). Comparisons can also be made in a case-insensitive manner. In the comparison output, added text is displayed in {+ ... +} delimiters, and deleted text is shown with [- ... -] delimiters. Changes are displayed as a deletion and an addition. + Deleted text can be inhibited from display by using the -1 argument to netwdiff(1). + Added text can be inhibited from display by using the -2 argument to netwdiff(1). + Common text can be inhibited from display by using the -3 argument to netwdiff(1). (Don't blame me, these flags are the ones used by GNU wdiff.) With thanks to Thomas Klausner for the nudge to create this. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/netdiff/bin/Makefile cvs rdiff -u -r1.1.1.1 -r1.2 \ othersrc/external/bsd/netdiff/bin/netdiff/Makefile cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/netdiff/bin/qdiff/Makefile cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/netdiff/bin/wdiff/Makefile \ othersrc/external/bsd/netdiff/bin/wdiff/f1 \ othersrc/external/bsd/netdiff/bin/wdiff/f2 cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/netdiff/dist/diff.c \ othersrc/external/bsd/netdiff/dist/diffreg.c \ othersrc/external/bsd/netdiff/dist/libnetdiff.3 cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/netdiff/dist/diff_subr.c cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/netdiff/dist/netdiff.h cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/netdiff/dist/netwdiff.1 \ othersrc/external/bsd/netdiff/dist/netwdiff.c cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/netdiff/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/netdiff/dist
Module Name:othersrc Committed By: agc Date: Mon Jan 14 01:54:23 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/dist: diffreg.c netwdiff.1 Log Message: Get rid of the pseudo 8-bit "ASCII 4 EVAH!" character translation tables to perform case-insensitive comparisons. For now, we just use the ctype.h tolower(3) macro to obtain lower case. Definitely an area for future development. No functional changes, all test s run to completion and pass, so there are no regressions. Sync the wdiff(1) man page with reality in the RETURN VALUES section. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/netdiff/dist/diffreg.c cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/netdiff/dist/netwdiff.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/netdiff/dist
Module Name:othersrc Committed By: agc Date: Mon Jan 14 05:20:40 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/dist: diffreg.c Log Message: minor cosmetics - also ignore case if we're using our (abstracted) fread() eqivalent function, not just in the single character case. This wouldn't have produced wrong results, but would have made it much more inefficient, since the initial "do files differ?" question would have given a false positive. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/netdiff/dist/diffreg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/netdiff
Module Name:othersrc Committed By: agc Date: Tue Jan 15 01:46:04 UTC 2013 Modified Files: othersrc/external/bsd/netdiff/bin: Makefile othersrc/external/bsd/netdiff/dist: diff_subr.c diffreg.c netdiff.h netwdiff.1 netwdiff.c Log Message: Add support to netwdiff to specify the insert and delete region character sequences from the command line via the -w, -x, -y and -z args. The default is, as before, "[- ... -]" for deleted regions, and "{+ ... +}" for inserted text. With this in place, the arguments can be used to highlight word diffs portably across shells: csh/tcsh: % set ansi_red = "`printf '\e[31m'`" % set ansi_end = "`printf '\e[0m'`" % set ansi_green = "`printf '\e[32m'`" sh/ksh/bash/zsh: $ ansi_red="$(printf '\e[31m')" $ ansi_end="$(printf '\e[0m')" $ ansi_green="$(printf '\e[32m')" and then in all shells: netwdiff -w $ansi_red -x $ansi_end -y $ansi_green -z $ansi_end f1 f2 -- this will highlight deleted words in red, and added words in green, on standard ANSI terminals. This gets around bash's twee $'' idiom for tputs sequences. Thanks to Christos Zoulas for setting me straight on this, and thanks also to Alan Barrett for the nudge to implement the region arguments. Thanks to all of the people who pointed me to comm(1)'s arguments as being the model for wdiff's inhibit. My apologies, I should have thought of that. I'm still trying to work out the model for the choice of -w/-x/-y/-z; all suggestions gratefully received. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/netdiff/bin/Makefile cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/netdiff/dist/diff_subr.c cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/netdiff/dist/diffreg.c cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/netdiff/dist/netdiff.h cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/netdiff/dist/netwdiff.1 cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/netdiff/dist/netwdiff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.