pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files Update netpgpverify and li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7472a1c0d1ad
branches:  trunk
changeset: 348521:7472a1c0d1ad
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Jun 15 16:45:10 2016 +0000

description:
Update netpgpverify and libnetpgpverify to 20160616

+ bring over joerg's printflike change from the netpgpverify
version in src/crypto

+ add a test for cleartext signatures with version information
to complement the one with no version information

diffstat:

 security/netpgpverify/files/Makefile.bsd |   4 +++-
 security/netpgpverify/files/Makefile.in  |   4 +++-
 security/netpgpverify/files/libverify.c  |   1 +
 security/netpgpverify/files/verify.h     |   4 ++--
 security/netpgpverify/files/version.asc  |  15 +++++++++++++++
 5 files changed, 24 insertions(+), 4 deletions(-)

diffs (80 lines):

diff -r fdd5e5ef8642 -r 7472a1c0d1ad security/netpgpverify/files/Makefile.bsd
--- a/security/netpgpverify/files/Makefile.bsd  Wed Jun 15 14:54:16 2016 +0000
+++ b/security/netpgpverify/files/Makefile.bsd  Wed Jun 15 16:45:10 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bsd,v 1.9 2016/06/14 18:00:59 agc Exp $
+# $NetBSD: Makefile.bsd,v 1.10 2016/06/15 16:45:10 agc Exp $
 
 PROG=netpgpverify
 
@@ -43,5 +43,7 @@
        rm -f 1keytest.gpg
        @echo "testing signing with a subkey"
        ./chk.sh -k joyent-pubring.gpg digest-20121220.tgz
+       @echo "testing signatures with version"
+       ./${PROG} -k pubring.gpg version.asc
        @echo "testing signatures with no version"
        ./${PROG} -k pubring.gpg noversion.asc
diff -r fdd5e5ef8642 -r 7472a1c0d1ad security/netpgpverify/files/Makefile.in
--- a/security/netpgpverify/files/Makefile.in   Wed Jun 15 14:54:16 2016 +0000
+++ b/security/netpgpverify/files/Makefile.in   Wed Jun 15 16:45:10 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.5 2016/06/14 18:00:59 agc Exp $
+# $NetBSD: Makefile.in,v 1.6 2016/06/15 16:45:10 agc Exp $
 
 PROG=netpgpverify
 
@@ -43,6 +43,8 @@
        rm -f 1keytest.gpg
        @echo "testing signing with a subkey"
        ./chk.sh -k joyent-pubring.gpg digest-20121220.tgz
+       @echo "testing signatures with version"
+       ./${PROG} -k pubring.gpg version.asc
        @echo "testing signatures with no version"
        ./${PROG} -k pubring.gpg noversion.asc
 
diff -r fdd5e5ef8642 -r 7472a1c0d1ad security/netpgpverify/files/libverify.c
--- a/security/netpgpverify/files/libverify.c   Wed Jun 15 14:54:16 2016 +0000
+++ b/security/netpgpverify/files/libverify.c   Wed Jun 15 16:45:10 2016 +0000
@@ -211,6 +211,7 @@
 }
 
 /* varargs-based printf to string */
+__printflike(2, 3)
 static bool
 obuf_printf(obuf_t *obuf, const char *fmt, ...)
 {
diff -r fdd5e5ef8642 -r 7472a1c0d1ad security/netpgpverify/files/verify.h
--- a/security/netpgpverify/files/verify.h      Wed Jun 15 14:54:16 2016 +0000
+++ b/security/netpgpverify/files/verify.h      Wed Jun 15 16:45:10 2016 +0000
@@ -23,9 +23,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #ifndef NETPGP_VERIFY_H_
-#define NETPGP_VERIFY_H_       20160615
+#define NETPGP_VERIFY_H_       20160616
 
-#define NETPGPVERIFY_VERSION   "netpgpverify portable 20160615"
+#define NETPGPVERIFY_VERSION   "netpgpverify portable 20160616"
 
 #include <sys/types.h>
 
diff -r fdd5e5ef8642 -r 7472a1c0d1ad security/netpgpverify/files/version.asc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/netpgpverify/files/version.asc   Wed Jun 15 16:45:10 2016 +0000
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+bar
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAEBAgAGBQJXYOg1AAoJEBto3PzAWWgjN7wIALbMScFoVnkE47+Hj1aLclRL
+9Mb9bKWkPi9iq1SybDEeiK6G9hLXSm2ZbygHNoAwFVlMIxkV2lRKqLfquatW9GH/
+9W2LkKa3wYpHH84Uj2/3Atu7564+IvcvDVkuxp4oHiz4X3i4CvIOf6qPuPHC5fAb
+xmjRLJRh71pJ8zBdtLQV3hnzjuUk5qZvKt109/WARQL5lL5jGIe504TnzHEBSgNa
+Ez1vxN2RngVh4QhDApx05EYfmZnBChXalCCh+noo6gpjUN/xhfq/KkLWrLaRWIL6
+IHBS3MgqDP6ToaJ7R2w1hytCoKlbXGyJGsUn29QBoQBwWGGM3Z5pbFBPcmBx/mg=
+=KXon
+-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index