Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/agc-netpgp-standalone]: src/crypto/external/bsd/netpgp/lib Add reachover...
details: https://anonhg.NetBSD.org/src/rev/21b289815dcd
branches: agc-netpgp-standalone
changeset: 777803:21b289815dcd
user: agc <agc%NetBSD.org@localhost>
date: Sun May 06 18:07:01 2012 +0000
description:
Add reachover build infrastructure for lib components of netpgp
standalone
diffstat:
crypto/external/bsd/netpgp/lib/Makefile | 33 +++----------------
crypto/external/bsd/netpgp/lib/bn/Makefile | 14 ++++++++
crypto/external/bsd/netpgp/lib/bn/shlib_version | 2 +
crypto/external/bsd/netpgp/lib/cipher/Makefile | 15 +++++++++
crypto/external/bsd/netpgp/lib/cipher/shlib_version | 2 +
crypto/external/bsd/netpgp/lib/mj/Makefile | 19 +++++++++++
crypto/external/bsd/netpgp/lib/mj/shlib_version | 2 +
crypto/external/bsd/netpgp/lib/netpgp/Makefile | 34 ++++++++++++++++++++
crypto/external/bsd/netpgp/lib/netpgp/shlib_version | 2 +
crypto/external/bsd/netpgp/lib/paa/Makefile | 35 +++++++++++++++++++++
crypto/external/bsd/netpgp/lib/paa/shlib_version | 2 +
crypto/external/bsd/netpgp/lib/rsa/Makefile | 13 +++++++
crypto/external/bsd/netpgp/lib/rsa/shlib_version | 2 +
crypto/external/bsd/netpgp/lib/verify/Makefile | 15 +++++++++
crypto/external/bsd/netpgp/lib/verify/shlib_version | 2 +
15 files changed, 165 insertions(+), 27 deletions(-)
diffs (254 lines):
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/Makefile
--- a/crypto/external/bsd/netpgp/lib/Makefile Sun May 06 17:57:11 2012 +0000
+++ b/crypto/external/bsd/netpgp/lib/Makefile Sun May 06 18:07:01 2012 +0000
@@ -1,29 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2011/10/13 17:23:28 plunky Exp $
-
-.include <bsd.own.mk>
-
-USE_FORT?= yes
+# $NetBSD: Makefile,v 1.13.6.1 2012/05/06 18:07:01 agc Exp $
-LIB= netpgp
-SRCS+= compress.c create.c crypto.c
-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 bufgap.c
-CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include
-MAN= libnetpgp.3
-WARNS?= 4
-
-EXTDIST=${.CURDIR}/../dist
+SUBDIR+= bn mj .WAIT
+SUBDIR+= cipher rsa
+SUBDIR+= netpgp verify
+#SUBDIR+= libpaa
-.PATH: ${EXTDIST}/include ${EXTDIST}/src/lib
-
-INCS+= netpgp.h
-INCSDIR=/usr/include
-
-LIBDPLIBS+= mj ${.CURDIR}/../libmj
-LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto
-LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz
-LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2
-
-.include <bsd.lib.mk>
+.include <bsd.subdir.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/bn/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/bn/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,14 @@
+LIB=netpgpbn
+SRCS= bignum.c digest.c misc.c rand.c
+SRCS+= stubs.c
+MAN=libnetpgpbn.3
+WARNS=4
+CPPFLAGS+=-I${EXTDIST}/src/libcipher
+
+INCS=bn.h digest.h
+INCSDIR=/usr/include/netpgp
+
+EXTDIST= ${.CURDIR}/../../dist
+.PATH: ${EXTDIST}/src/libbn
+
+.include <bsd.lib.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/bn/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/bn/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/cipher/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/cipher/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,15 @@
+LIB=netpgpcipher
+SRCS= rijndael-alg-fst.c rijndael-api-fst.c rijndael.c
+SRCS+= cast.c
+SRCS+= modes.c
+SRCS+= camellia.c
+MAN=libnetpgpcipher.3
+WARNS=4
+
+EXTDIST= ${.CURDIR}/../../dist
+.PATH: ${EXTDIST}/src/libcipher
+
+INCS=aes.h rijndael.h cast.h camellia.h
+INCSDIR=/usr/include/netpgp
+
+.include <bsd.lib.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/cipher/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/cipher/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/mj/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/mj/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.2.1 2012/05/06 18:07:01 agc Exp $
+
+.include <bsd.own.mk>
+
+USE_FORT?= yes
+
+LIB= mj
+SRCS= mj.c
+MAN= libmj.3
+WARNS=4
+
+EXTDIST=${.CURDIR}/../../dist
+
+.PATH: ${EXTDIST}/include ${EXTDIST}/src/libmj
+
+INCS+= mj.h
+INCSDIR=/usr/include
+
+.include <bsd.lib.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/mj/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/mj/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=1
+minor=0
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/netpgp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/netpgp/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.2.1 2012/05/06 18:07:01 agc Exp $
+
+.include <bsd.own.mk>
+
+USE_FORT?= yes
+
+LIB= netpgp
+SRCS+= compress.c create.c crypto.c
+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 bufgap.c
+CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include
+CPPFLAGS+= -I${EXTDIST}/src/libcipher
+CPPFLAGS+= -I${EXTDIST}/src/libbn
+CPPFLAGS+= -I${EXTDIST}/src/librsa
+CPPFLAGS+= -I${EXTDIST}/src/libverify
+MAN= libnetpgp.3
+WARNS?= 4
+
+EXTDIST=${.CURDIR}/../../dist
+
+.PATH: ${EXTDIST}/include ${EXTDIST}/src/libnetpgp
+
+INCS+= netpgp.h
+INCSDIR=/usr/include/netpgp
+
+LDADD+= -lmj -lz -lbz2
+#LIBDPLIBS+= mj ${.CURDIR}/../libmj
+#LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto
+#LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz
+#LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2
+
+.include <bsd.lib.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/netpgp/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/netpgp/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=3
+minor=0
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/paa/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/paa/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.2.1 2012/05/06 18:07:02 agc Exp $
+
+.include <bsd.own.mk>
+
+USE_FORT?= yes
+
+LIB= paa
+
+SRCS= b64.c libpaa.c
+CPPFLAGS+= -I${EXTDIST}/include -I${EXTDIST}/src/pgp2ssh
+
+LIBDPLIBS+= mj ${.CURDIR}/../mj
+LIBDPLIBS+= netpgp ${.CURDIR}/../netpgp
+LIBDPLIBS+= netpgpverify ${.CURDIR}/../verify
+LIBDPLIBS+= netpgpbn ${.CURDIR}/../bn
+LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz
+LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2
+
+MAN= libpaa.3
+WARNS= 4
+
+EXTDIST= ${.CURDIR}/../../dist
+.PATH: ${EXTDIST}/src/pgp2ssh ${EXTDIST}/src/libpaa
+
+INCS+= libpaa.h
+INCSDIR=/usr/include/netpgp
+
+.include <bsd.lib.mk>
+
+SUBDIR+= client server
+
+.include <bsd.subdir.mk>
+
+t:
+ server/paaserver -r authentication%bigco.com@localhost
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/paa/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/paa/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/rsa/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/rsa/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,13 @@
+LIB=netpgprsa
+SRCS=rsa.c rsastubs.c
+MAN=libnetpgprsa.3
+WARNS=4
+CPPFLAGS+=-I${EXTDIST}/src/libbn
+
+EXTDIST= ${.CURDIR}/../../dist
+.PATH: ${EXTDIST}/src/librsa
+
+INCS=rsa.h
+INCSDIR=/usr/include/netpgp
+
+.include <bsd.lib.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/rsa/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/rsa/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/verify/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/verify/Makefile Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.2.1 2012/05/06 18:07:02 agc Exp $
+
+LIB=netpgpverify
+SRCS= verify.c
+CPPFLAGS+=-I${EXTDIST}/src/libbn -I${EXTDIST}/src/librsa
+MAN=libnetpgpverify.3
+WARNS=4
+
+EXTDIST= ${.CURDIR}/../../dist
+.PATH: ${EXTDIST}/src/libverify
+
+INCS=verify.h
+INCSDIR=/usr/include/netpgp
+
+.include <bsd.lib.mk>
diff -r 456a07e42fbb -r 21b289815dcd crypto/external/bsd/netpgp/lib/verify/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/lib/verify/shlib_version Sun May 06 18:07:01 2012 +0000
@@ -0,0 +1,2 @@
+major=3
+minor=0
Home |
Main Index |
Thread Index |
Old Index