Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/netpgp/bin/hkpd Put hkpd in the right pl...



details:   https://anonhg.NetBSD.org/src/rev/55dda17f5d56
branches:  trunk
changeset: 794217:55dda17f5d56
user:      agc <agc%NetBSD.org@localhost>
date:      Sun Mar 09 00:40:30 2014 +0000

description:
Put hkpd in the right place in the reachover infrastructure

diffstat:

 crypto/external/bsd/netpgp/bin/hkpd/Makefile |  32 ++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diffs (36 lines):

diff -r 1870e7057d2e -r 55dda17f5d56 crypto/external/bsd/netpgp/bin/hkpd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/netpgp/bin/hkpd/Makefile      Sun Mar 09 00:40:30 2014 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.2 2014/03/09 00:40:30 agc Exp $
+
+.include <bsd.own.mk>
+
+PROG=hkpd
+BINDIR=/usr/sbin
+SRCS=hkpd.c main.c
+
+LIBNETPGPDIR!= cd ${.CURDIR}/../../lib && ${PRINTOBJDIR}
+LDADD+=                -L${LIBNETPGPDIR} -lnetpgp
+DPADD+=                ${LIBNETPGPDIR}/libnetpgp.a
+
+LIBMJDIR!=     cd ${.CURDIR}/../../libmj && ${PRINTOBJDIR}
+LDADD+=                -L${LIBMJDIR} -lmj
+DPADD+=                ${LIBMJDIR}/libmj.a
+
+LDADD+=                -lcrypto -lz -lbz2
+DPADD+=                ${LIBCRYPTO} ${LIBZ} ${LIBBZ2}
+
+MAN=hkpd.1
+
+.PATH: ${.CURDIR}/../../dist/src/hkpd
+
+.include <bsd.prog.mk>
+
+t: ${PROG}
+       ./${PROG} -D &
+       sleep 1
+       ftp -o- 'http://localhost:11371/pks/lookup?op=index&search=agc&options=json'
+       ftp -o- 'http://localhost:11371/pks/lookup?op=get&search=agc&options=json'
+       ftp -o- 'http://localhost:11371/pks/lookup?op=get&search=agc&options=mr'
+       pkill hkpd



Home | Main Index | Thread Index | Old Index