Prepare for a new netpgp-20091210 portable release.

Apart from infrastructure changes, there are the following functional ones:

+ Update to version 20091210

+ provide a new netpgp_match_list_keys(3) function to perform a
regular-expression based search of all the keys in the keyring.  If no
pattern is specified to match, then all keys are returned.

+ provide a new netpgp_set_homedir(3) function, and use it to set the
home directory from the library, rather than individually in all the
programs which use the library

+ provide a new netpgp_incvar(3) function which will add a constant
increment (which may be negative) to the value of an internal
variable.  This is primarily used for the verbosity level within the
library, and is again a movement of the function into the library from
the individual programs which use the library

+ move to the specification of an ssh key file by internal variable,
rather than the directory holding an ssh key file

+ autoconf infrastructure changes

+ take a hammer to the _GNU_SOURCE definitions problems

+ don't rely on strnlen(3) being present everywhere
master
agc 2009-12-15 00:29:56 +01:00
parent 0047b58e55
commit 26e3ca5054
2 changed files with 10 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#! /usr/pkg/bin/perl -wT
#! /usr/pkg/bin/perl -w
# netpgp bindings for perl
use lib "/usr/src/crypto/external/bsd/netpgp-bindings/dist/bindings/perl";
use lib "/usr/src/crypto/external/bsd/netpgp/dist/bindings/perl";
use netpgpperl;

9
mkdist
View File

@ -1,6 +1,13 @@
#! /bin/sh
t=$(date +%Y%m%d)
case "$#" in
0)
t=$(date +%Y%m%d)
;;
*)
t=$1
;;
esac
ac=ac.$$
awk -F, -v t=$t '/AC_INIT/ { printf("%s,[%s],%s\n", $1, t, $3); next} { print }' dist/configure.ac > $ac && mv $ac dist/configure.ac
(cd dist && autoconf && autoheader)