CVS commit: src/crypto/external/bsd/netpgp/lib/verify

2020-05-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May  3 21:46:37 UTC 2020

Modified Files:
src/crypto/external/bsd/netpgp/lib/verify: Makefile
Added Files:
src/crypto/external/bsd/netpgp/lib/verify: verify.map

Log Message:
Add a linker map to hide all the symbols the this library accidentally
exported. In particular the following symbols:

DSA_SIG_free
DSA_SIG_new
DSA_do_sign
DSA_do_verify
DSA_free
DSA_new
DSA_size
RSA_check_key
RSA_free
RSA_generate_key
RSA_new
RSA_private_decrypt
RSA_private_encrypt
RSA_public_decrypt
RSA_public_encrypt

conflict with libcrypto and break pkg_add which links against both
libraries.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/crypto/external/bsd/netpgp/lib/verify/Makefile
cvs rdiff -u -r0 -r1.1 src/crypto/external/bsd/netpgp/lib/verify/verify.map

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/verify/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.12 src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.13
--- src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.12	Sun Oct 13 03:28:05 2019
+++ src/crypto/external/bsd/netpgp/lib/verify/Makefile	Sun May  3 17:46:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/10/13 07:28:05 mrg Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/03 21:46:37 christos Exp $
 
 LIB=netpgpverify
 SRCS+=b64.c
@@ -30,4 +30,6 @@ INCSDIR=/usr/include/netpgp
 COPTS+=			${${ACTIVE_CC} == "gcc":? -Wno-implicit-fallthrough :}
 COPTS.libverify.c+=	${GCC_NO_FORMAT_TRUNCATION}
 
+LDFLAGS+=-Wl,--version-script=${.CURDIR}/verify.map
+
 .include 

Added files:

Index: src/crypto/external/bsd/netpgp/lib/verify/verify.map
diff -u /dev/null src/crypto/external/bsd/netpgp/lib/verify/verify.map:1.1
--- /dev/null	Sun May  3 17:46:37 2020
+++ src/crypto/external/bsd/netpgp/lib/verify/verify.map	Sun May  3 17:46:37 2020
@@ -0,0 +1,17 @@
+NETPGPVERIFY_5_0 {
+global:
+	pgpv_new;
+	pgpv_new_cursor;
+	pgpv_read_pubring;
+	pgpv_read_ssh_pubkeys;
+	pgpv_verify;
+	pgpv_get_verified;
+	pgpv_dump;
+	pgpv_get_entry;
+	pgpv_get_cursor_num;
+	pgpv_get_cursor_str;
+	pgpv_get_cursor_element;
+	pgpv_close;
+	pgpv_cursor_close;
+local: *;
+};



CVS commit: src/crypto/external/bsd/netpgp/lib/verify

2017-04-17 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Mon Apr 17 23:38:51 UTC 2017

Modified Files:
src/crypto/external/bsd/netpgp/lib/verify: shlib_version

Log Message:
libnetpgpverify major bump to 5


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
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.

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/verify/shlib_version
diff -u src/crypto/external/bsd/netpgp/lib/verify/shlib_version:1.2 src/crypto/external/bsd/netpgp/lib/verify/shlib_version:1.3
--- src/crypto/external/bsd/netpgp/lib/verify/shlib_version:1.2	Tue Nov 20 05:26:26 2012
+++ src/crypto/external/bsd/netpgp/lib/verify/shlib_version	Mon Apr 17 23:38:51 2017
@@ -1,2 +1,2 @@
-major=4
+major=5
 minor=0



CVS commit: src/crypto/external/bsd/netpgp/lib/verify

2013-09-11 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Sep 11 09:57:09 UTC 2013

Modified Files:
src/crypto/external/bsd/netpgp/lib/verify: Makefile

Log Message:
Add dependency on libz and libbz2.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/verify/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.5 src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.6
--- src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.5	Thu Dec 27 14:16:16 2012
+++ src/crypto/external/bsd/netpgp/lib/verify/Makefile	Wed Sep 11 09:57:09 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/12/27 14:16:16 martin Exp $
+# $NetBSD: Makefile,v 1.6 2013/09/11 09:57:09 joerg Exp $
 
 LIB=netpgpverify
 SRCS=libverify.c b64.c pgpsum.c
@@ -16,6 +16,9 @@ EXTDIST=${.CURDIR}/../../dist
 INCS=verify.h
 INCSDIR=/usr/include/netpgp
 
+LIBDPLIBS+=	z		${NETBSDSRCDIR}/lib/libz
+LIBDPLIBS+=	bz2		${NETBSDSRCDIR}/lib/libbz2
+
 .include bsd.lib.mk
 
 .if ${HAVE_GCC:U} == 45  ${MACHINE_CPU} == ia64



CVS commit: src/crypto/external/bsd/netpgp/lib/verify

2012-12-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 27 14:16:16 UTC 2012

Modified Files:
src/crypto/external/bsd/netpgp/lib/verify: Makefile

Log Message:
Compile bignum.c with -O1 only on ia64 to avoid a gcc bug


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/verify/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.4 src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.5
--- src/crypto/external/bsd/netpgp/lib/verify/Makefile:1.4	Thu Nov 22 21:20:44 2012
+++ src/crypto/external/bsd/netpgp/lib/verify/Makefile	Thu Dec 27 14:16:16 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2012/11/22 21:20:44 agc Exp $
+# $NetBSD: Makefile,v 1.5 2012/12/27 14:16:16 martin Exp $
 
 LIB=netpgpverify
 SRCS=libverify.c b64.c pgpsum.c
@@ -17,3 +17,8 @@ INCS=verify.h
 INCSDIR=/usr/include/netpgp
 
 .include bsd.lib.mk
+
+.if ${HAVE_GCC:U} == 45  ${MACHINE_CPU} == ia64
+COPTS.bignum.c+=	${${ACTIVE_CC} == gcc :? -O1 :}
+.endif
+



CVS commit: src/crypto/external/bsd/netpgp/lib

2012-07-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jul 11 19:01:02 UTC 2012

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
no need for MKCRYPTO_IDEA


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.14 src/crypto/external/bsd/netpgp/lib/Makefile:1.15
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.14	Tue Jul 10 15:38:17 2012
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Wed Jul 11 15:01:02 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/07/10 19:38:17 christos Exp $
+# $NetBSD: Makefile,v 1.15 2012/07/11 19:01:02 christos Exp $
 
 .include bsd.own.mk
 
@@ -22,9 +22,6 @@ INCSDIR=/usr/include
 
 OPENSSL=${NETBSDSRCDIR}/crypto/external/bsd/openssl
 LIBDPLIBS+=	mj	${.CURDIR}/../libmj
-.if (${MKCRYPTO_IDEA} != no)
-LIBDPLIBS+=	crypto_idea	${OPENSSL}/lib/libcrypto_idea
-.endif  # MKCRYPTO_IDEA != no
 LIBDPLIBS+=	crypto		${OPENSSL}/lib/libcrypto
 LIBDPLIBS+=	z		${NETBSDSRCDIR}/lib/libz
 LIBDPLIBS+=	bz2		${NETBSDSRCDIR}/lib/libbz2



CVS commit: src/crypto/external/bsd/netpgp/lib

2010-11-28 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Mon Nov 29 06:22:20 UTC 2010

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
fastctype.[ch] source files are gone - use native ctype.h


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.11 src/crypto/external/bsd/netpgp/lib/Makefile:1.12
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.11	Sat Aug  7 04:18:54 2010
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Mon Nov 29 06:22:20 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2010/08/07 04:18:54 agc Exp $
+# $NetBSD: Makefile,v 1.12 2010/11/29 06:22:20 agc Exp $
 
 .include bsd.own.mk
 
@@ -9,7 +9,7 @@
 SRCS+= keyring.c misc.c netpgp.c openssl_crypto.c packet-parse.c
 SRCS+= packet-print.c packet-show.c reader.c signature.c
 SRCS+= symmetric.c validate.c writer.c
-SRCS+= ssh2pgp.c fastctype.c bufgap.c
+SRCS+= ssh2pgp.c bufgap.c
 CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include
 MAN= libnetpgp.3
 WARNS=5



CVS commit: src/crypto/external/bsd/netpgp/lib

2010-11-04 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Thu Nov  4 07:02:25 UTC 2010

Modified Files:
src/crypto/external/bsd/netpgp/lib: config.h

Log Message:
update version string to 20101103


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

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/config.h
diff -u src/crypto/external/bsd/netpgp/lib/config.h:1.7 src/crypto/external/bsd/netpgp/lib/config.h:1.8
--- src/crypto/external/bsd/netpgp/lib/config.h:1.7	Sat Aug  7 04:18:54 2010
+++ src/crypto/external/bsd/netpgp/lib/config.h	Thu Nov  4 07:02:25 2010
@@ -43,6 +43,9 @@
 /* Define to 1 if you have the openssl/bn.h header file. */
 #define HAVE_OPENSSL_BN_H 1
 
+/* Define to 1 if you have the openssl/camellia.h header file. */
+#define HAVE_OPENSSL_CAMELLIA_H 1
+
 /* Define to 1 if you have the openssl/cast.h header file. */
 #define HAVE_OPENSSL_CAST_H 1
 
@@ -125,19 +128,19 @@
 #define PACKAGE_NAME netpgp
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING netpgp 20100708
+#define PACKAGE_STRING netpgp 20101103
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME netpgp
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION 20100708
+#define PACKAGE_VERSION 20101103
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
 /* Version number of package */
-#define VERSION 20100708
+#define VERSION 20101103
 
 /* Define for Solaris 2.5.1 so the uint32_t typedef from sys/synch.h,
pthread.h, or semaphore.h is not used. If the typedef were allowed, the



CVS commit: src/crypto/external/bsd/netpgp/lib

2010-07-26 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Mon Jul 26 06:40:39 UTC 2010

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
Hook minimalist JSON implementation into the BSD build


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.9 src/crypto/external/bsd/netpgp/lib/Makefile:1.10
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.9	Tue May 25 01:06:41 2010
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Mon Jul 26 06:40:38 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/05/25 01:06:41 agc Exp $
+# $NetBSD: Makefile,v 1.10 2010/07/26 06:40:38 agc Exp $
 
 .include bsd.own.mk
 
@@ -10,6 +10,7 @@
 SRCS+= packet-print.c packet-show.c reader.c signature.c
 SRCS+= symmetric.c validate.c writer.c
 SRCS+= ssh2pgp.c fastctype.c bufgap.c
+SRCS+= mj.c
 CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include
 MAN= libnetpgp.3
 WARNS=5



CVS commit: src/crypto/external/bsd/netpgp/lib

2010-07-08 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Fri Jul  9 05:37:30 UTC 2010

Modified Files:
src/crypto/external/bsd/netpgp/lib: config.h

Log Message:
update version in generated config.h file to 20100707


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

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/config.h
diff -u src/crypto/external/bsd/netpgp/lib/config.h:1.5 src/crypto/external/bsd/netpgp/lib/config.h:1.6
--- src/crypto/external/bsd/netpgp/lib/config.h:1.5	Sat May  8 02:45:46 2010
+++ src/crypto/external/bsd/netpgp/lib/config.h	Fri Jul  9 05:37:30 2010
@@ -125,19 +125,19 @@
 #define PACKAGE_NAME netpgp
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING netpgp 20100507
+#define PACKAGE_STRING netpgp 20100707
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME netpgp
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION 20100507
+#define PACKAGE_VERSION 20100707
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
 /* Version number of package */
-#define VERSION 20100507
+#define VERSION 20100707
 
 /* Define for Solaris 2.5.1 so the uint32_t typedef from sys/synch.h,
pthread.h, or semaphore.h is not used. If the typedef were allowed, the



CVS commit: src/crypto/external/bsd/netpgp/lib

2010-05-24 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Tue May 25 01:06:41 UTC 2010

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
WARNS=5 now


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.8 src/crypto/external/bsd/netpgp/lib/Makefile:1.9
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.8	Sat Dec  5 07:17:29 2009
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Tue May 25 01:06:41 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/12/05 07:17:29 agc Exp $
+# $NetBSD: Makefile,v 1.9 2010/05/25 01:06:41 agc Exp $
 
 .include bsd.own.mk
 
@@ -12,7 +12,7 @@
 SRCS+= ssh2pgp.c fastctype.c bufgap.c
 CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include
 MAN= libnetpgp.3
-WARNS=4
+WARNS=5
 
 EXTDIST=${.CURDIR}/../dist
 



CVS commit: src/crypto/external/bsd/netpgp/lib

2009-07-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 20 15:43:51 UTC 2009

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
use the proper libcrypto


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.6 src/crypto/external/bsd/netpgp/lib/Makefile:1.7
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.6	Wed May 27 00:47:08 2009
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Mon Jul 20 11:43:51 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2009/05/27 04:47:08 agc Exp $
+# $NetBSD: Makefile,v 1.7 2009/07/20 15:43:51 christos Exp $
 
 .include bsd.own.mk
 
@@ -20,7 +20,7 @@
 INCS+= netpgp.h
 INCSDIR=/usr/include
 
-LIBDPLIBS+=	crypto	${NETBSDSRCDIR}/lib/libcrypto
+LIBDPLIBS+=	crypto	${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto
 LIBDPLIBS+=	z	${NETBSDSRCDIR}/lib/libz
 LIBDPLIBS+=	bz2	${NETBSDSRCDIR}/lib/libbz2
 



CVS commit: src/crypto/external/bsd/netpgp/lib

2009-05-26 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Wed May 27 04:46:33 UTC 2009

Modified Files:
src/crypto/external/bsd/netpgp/lib: shlib_version

Log Message:
bump shlib version


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 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.

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/shlib_version
diff -u src/crypto/external/bsd/netpgp/lib/shlib_version:1.1.1.1 src/crypto/external/bsd/netpgp/lib/shlib_version:1.2
--- src/crypto/external/bsd/netpgp/lib/shlib_version:1.1.1.1	Thu Apr 23 06:32:04 2009
+++ src/crypto/external/bsd/netpgp/lib/shlib_version	Wed May 27 04:46:33 2009
@@ -1,2 +1,2 @@
-major=0
-minor=9
+major=1
+minor=0



CVS commit: src/crypto/external/bsd/netpgp/lib

2009-05-26 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Wed May 27 04:47:08 UTC 2009

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
Use a relative path, rather than an absolute one, to find the source


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.5 src/crypto/external/bsd/netpgp/lib/Makefile:1.6
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.5	Tue May 26 05:11:17 2009
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Wed May 27 04:47:08 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/05/26 05:11:17 lukem Exp $
+# $NetBSD: Makefile,v 1.6 2009/05/27 04:47:08 agc Exp $
 
 .include bsd.own.mk
 
@@ -13,7 +13,7 @@
 MAN= libnetpgp.3
 WARNS=4
 
-EXTDIST=${NETBSDSRCDIR}/crypto/external/bsd/netpgp/dist
+EXTDIST=${.CURDIR}/../dist
 
 .PATH: ${EXTDIST}/include ${EXTDIST}/src/lib
 



CVS commit: src/crypto/external/bsd/netpgp/lib

2009-05-25 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Tue May 26 05:11:17 UTC 2009

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile
Added Files:
src/crypto/external/bsd/netpgp/lib: config.h

Log Message:
Provide a generated config.h in the NetBSD build reachover.


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

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.4 src/crypto/external/bsd/netpgp/lib/Makefile:1.5
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.4	Sat May  2 02:38:55 2009
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Tue May 26 05:11:17 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/05/02 02:38:55 agc Exp $
+# $NetBSD: Makefile,v 1.5 2009/05/26 05:11:17 lukem Exp $
 
 .include bsd.own.mk
 
@@ -9,7 +9,7 @@
 SRCS+= keyring.c misc.c netpgp.c openssl_crypto.c packet-parse.c
 SRCS+= packet-print.c packet-show.c reader.c signature.c
 SRCS+= symmetric.c validate.c writer.c
-CPPFLAGS+= -I${EXTDIST}/include
+CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include
 MAN= libnetpgp.3
 WARNS=4
 

Added files:

Index: src/crypto/external/bsd/netpgp/lib/config.h
diff -u /dev/null src/crypto/external/bsd/netpgp/lib/config.h:1.1
--- /dev/null	Tue May 26 05:11:17 2009
+++ src/crypto/external/bsd/netpgp/lib/config.h	Tue May 26 05:11:17 2009
@@ -0,0 +1,174 @@
+/* src/lib/config.h.  Generated from config.h.in by configure.  */
+/* src/lib/config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if you have the bzlib.h header file. */
+#define HAVE_BZLIB_H 1
+
+/* Define to 1 if you have the CommonCrypto/CommonDigest.h header file. */
+/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */
+
+/* Define to 1 if you have the direct.h header file. */
+/* #undef HAVE_DIRECT_H */
+
+/* Define to 1 if you have the dlfcn.h header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the dmalloc.h header file. */
+/* #undef HAVE_DMALLOC_H */
+
+/* Define to 1 if you have the errno.h header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define to 1 if you have the fcntl.h header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the inttypes.h header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the limits.h header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if the system has the type `long long int'. */
+#define HAVE_LONG_LONG_INT 1
+
+/* Define to 1 if you have the malloc.h header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define to 1 if you have the memory.h header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the openssl/aes.h header file. */
+#define HAVE_OPENSSL_AES_H 1
+
+/* Define to 1 if you have the openssl/bn.h header file. */
+#define HAVE_OPENSSL_BN_H 1
+
+/* Define to 1 if you have the openssl/cast.h header file. */
+#define HAVE_OPENSSL_CAST_H 1
+
+/* Define to 1 if you have the openssl/des.h header file. */
+#define HAVE_OPENSSL_DES_H 1
+
+/* Define to 1 if you have the openssl/dsa.h header file. */
+#define HAVE_OPENSSL_DSA_H 1
+
+/* Define to 1 if you have the openssl/err.h header file. */
+#define HAVE_OPENSSL_ERR_H 1
+
+/* Define to 1 if you have the openssl/idea.h header file. */
+#define HAVE_OPENSSL_IDEA_H 1
+
+/* Define to 1 if you have the openssl/md5.h header file. */
+#define HAVE_OPENSSL_MD5_H 1
+
+/* Define to 1 if you have the openssl/rand.h header file. */
+#define HAVE_OPENSSL_RAND_H 1
+
+/* Define to 1 if you have the openssl/rsa.h header file. */
+#define HAVE_OPENSSL_RSA_H 1
+
+/* Define to 1 if you have the openssl/sha.h header file. */
+#define HAVE_OPENSSL_SHA_H 1
+
+/* Define to 1 if the system has the type `SHA256_CTX'. */
+#define HAVE_SHA256_CTX 1
+
+/* Define to 1 if you have the stdint.h header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the stdlib.h header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the strings.h header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the string.h header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the sys/cdefs.h header file. */
+#define HAVE_SYS_CDEFS_H 1
+
+/* Define to 1 if you have the sys/file.h header file. */
+#define HAVE_SYS_FILE_H 1
+
+/* Define to 1 if you have the sys/mman.h header file. */
+#define HAVE_SYS_MMAN_H 1
+
+/* Define to 1 if you have the sys/param.h header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the sys/resource.h header file. */
+#define HAVE_SYS_RESOURCE_H 1
+
+/* Define to 1 if you have the sys/stat.h header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the sys/types.h header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the sys/uio.h header file. */
+#define HAVE_SYS_UIO_H 1

CVS commit: src/crypto/external/bsd/netpgp/lib

2009-04-29 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Thu Apr 30 04:59:14 UTC 2009

Modified Files:
src/crypto/external/bsd/netpgp/lib: Makefile

Log Message:
Build the netpgp library with WARNS=3


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/netpgp/lib/Makefile

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

Modified files:

Index: src/crypto/external/bsd/netpgp/lib/Makefile
diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.2 src/crypto/external/bsd/netpgp/lib/Makefile:1.3
--- src/crypto/external/bsd/netpgp/lib/Makefile:1.2	Sat Apr 25 01:29:15 2009
+++ src/crypto/external/bsd/netpgp/lib/Makefile	Thu Apr 30 04:59:14 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/04/25 01:29:15 agc Exp $
+# $NetBSD: Makefile,v 1.3 2009/04/30 04:59:14 agc Exp $
 
 .include bsd.own.mk
 
@@ -11,8 +11,7 @@
 SRCS+= symmetric.c validate.c writer.c
 CPPFLAGS+= -I${EXTDIST}/include
 MAN= libnetpgp.3
-WARNS=0
-#WARNS=4
+WARNS=3
 
 EXTDIST=${NETBSDSRCDIR}/crypto/external/bsd/netpgp/dist