2014-08-21 14:37:44 +00:00
|
|
|
diff --git a/bin/Makefile.in b/bin/Makefile.in
|
2018-06-18 10:24:42 +00:00
|
|
|
index f0c504a..ce7a2da 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/bin/Makefile.in
|
|
|
|
+++ b/bin/Makefile.in
|
2018-06-18 10:24:42 +00:00
|
|
|
@@ -11,8 +11,8 @@ srcdir = @srcdir@
|
2014-08-21 14:37:44 +00:00
|
|
|
VPATH = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
|
2018-06-18 10:24:42 +00:00
|
|
|
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
|
|
|
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
|
|
|
|
+SUBDIRS = named named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools nsupdate \
|
|
|
|
+ check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
|
2014-08-21 14:37:44 +00:00
|
|
|
TARGETS =
|
|
|
|
|
2018-06-18 10:24:42 +00:00
|
|
|
@BIND9_MAKE_RULES@
|
2014-08-21 14:37:44 +00:00
|
|
|
diff --git a/bin/dnssec-pkcs11/Makefile.in b/bin/dnssec-pkcs11/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
index 4b8ca13..32f4470 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/bin/dnssec-pkcs11/Makefile.in
|
|
|
|
+++ b/bin/dnssec-pkcs11/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -15,18 +15,18 @@ VERSION=@BIND9_VERSION@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
@BIND9_MAKE_INCLUDES@
|
|
|
|
|
2017-06-15 15:50:41 +00:00
|
|
|
-CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} @DST_OPENSSL_INC@
|
2014-08-21 14:37:44 +00:00
|
|
|
+CINCLUDES = ${DNS_PKCS11_INCLUDES} ${ISC_PKCS11_INCLUDES}
|
|
|
|
|
2019-02-28 17:17:53 +00:00
|
|
|
-CDEFINES = -DVERSION=\"${VERSION}\" @USE_PKCS11@ @PKCS11_ENGINE@ \
|
2014-08-21 14:37:44 +00:00
|
|
|
- @CRYPTO@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\"
|
2019-02-28 17:17:53 +00:00
|
|
|
+CDEFINES = -DVERSION=\"${VERSION}\" @PKCS11_ENGINE@ \
|
2014-08-21 14:37:44 +00:00
|
|
|
+ @CRYPTO_PK11@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\"
|
|
|
|
CWARNINGS =
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
-DNSLIBS = ../../lib/dns/libdns.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
-ISCLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
-ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
|
2019-07-24 17:05:06 +00:00
|
|
|
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
|
|
+ISCNOSYMLIBS = ../../lib/isc-pkcs11/libisc-pkcs11-nosymtbl.@A@
|
|
|
|
|
|
|
|
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
|
|
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
|
|
|
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
|
|
|
|
|
|
DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -35,10 +35,10 @@ LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
|
|
|
|
|
|
|
|
# Alphabetically
|
|
|
|
-TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
|
|
|
|
- dnssec-keyfromlabel@EXEEXT@ dnssec-dsfromkey@EXEEXT@ \
|
|
|
|
- dnssec-revoke@EXEEXT@ dnssec-settime@EXEEXT@ \
|
|
|
|
- dnssec-verify@EXEEXT@ dnssec-importkey@EXEEXT@
|
|
|
|
+TARGETS = dnssec-keygen-pkcs11@EXEEXT@ dnssec-signzone-pkcs11@EXEEXT@ \
|
|
|
|
+ dnssec-keyfromlabel-pkcs11@EXEEXT@ dnssec-dsfromkey-pkcs11@EXEEXT@ \
|
|
|
|
+ dnssec-revoke-pkcs11@EXEEXT@ dnssec-settime-pkcs11@EXEEXT@ \
|
|
|
|
+ dnssec-verify-pkcs11@EXEEXT@ dnssec-importkey-pkcs11@EXEEXT@
|
|
|
|
|
|
|
|
OBJS = dnssectool.@O@
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -59,15 +59,15 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
-dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-dsfromkey-pkcs11@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
export BASEOBJS="dnssec-dsfromkey.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
|
|
|
|
|
|
|
-dnssec-keyfromlabel@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-keyfromlabel-pkcs11@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
export BASEOBJS="dnssec-keyfromlabel.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
|
|
|
|
|
|
|
-dnssec-keygen@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-keygen-pkcs11@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
export BASEOBJS="dnssec-keygen.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -75,7 +75,7 @@ dnssec-signzone.@O@: dnssec-signzone.c
|
2014-08-21 14:37:44 +00:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
|
|
|
|
-c ${srcdir}/dnssec-signzone.c
|
|
|
|
|
|
|
|
-dnssec-signzone@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-signzone-pkcs11@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
export BASEOBJS="dnssec-signzone.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -83,19 +83,19 @@ dnssec-verify.@O@: dnssec-verify.c
|
2014-08-21 14:37:44 +00:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
|
|
|
|
-c ${srcdir}/dnssec-verify.c
|
|
|
|
|
|
|
|
-dnssec-verify@EXEEXT@: dnssec-verify.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-verify-pkcs11@EXEEXT@: dnssec-verify.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
export BASEOBJS="dnssec-verify.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
|
|
|
|
|
|
|
-dnssec-revoke@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-revoke-pkcs11@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
|
|
dnssec-revoke.@O@ ${OBJS} ${LIBS}
|
|
|
|
|
|
|
|
-dnssec-settime@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-settime-pkcs11@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
|
|
dnssec-settime.@O@ ${OBJS} ${LIBS}
|
|
|
|
|
|
|
|
-dnssec-importkey@EXEEXT@: dnssec-importkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
+dnssec-importkey-pkcs11@EXEEXT@: dnssec-importkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
|
|
dnssec-importkey.@O@ ${OBJS} ${LIBS}
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -106,16 +106,14 @@ docclean manclean maintainer-clean::
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
installdirs:
|
|
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
|
|
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
|
|
|
|
|
2018-07-31 18:27:31 +00:00
|
|
|
install-man8: ${MANPAGES}
|
|
|
|
${INSTALL_DATA} $^ ${DESTDIR}${mandir}/man8
|
|
|
|
|
|
|
|
-install:: ${TARGETS} installdirs install-man8
|
|
|
|
+install:: ${TARGETS} installdirs
|
2018-10-19 15:52:10 +00:00
|
|
|
for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir} || exit 1; done
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2017-06-15 15:50:41 +00:00
|
|
|
uninstall::
|
2018-10-19 15:52:10 +00:00
|
|
|
- for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m || exit 1; done
|
|
|
|
for t in ${TARGETS}; do ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/$$t || exit 1; done
|
2017-06-15 15:50:41 +00:00
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
clean distclean::
|
|
|
|
diff --git a/bin/dnssec/Makefile.in b/bin/dnssec/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
index 4b8ca13..4175996 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/bin/dnssec/Makefile.in
|
|
|
|
+++ b/bin/dnssec/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -17,7 +17,7 @@ VERSION=@BIND9_VERSION@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2017-06-15 15:50:41 +00:00
|
|
|
CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} @DST_OPENSSL_INC@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
-CDEFINES = -DVERSION=\"${VERSION}\" @USE_PKCS11@ @PKCS11_ENGINE@ \
|
|
|
|
+CDEFINES = -DVERSION=\"${VERSION}\" \
|
|
|
|
@CRYPTO@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\"
|
|
|
|
CWARNINGS =
|
|
|
|
|
|
|
|
diff --git a/bin/named-pkcs11/Makefile.in b/bin/named-pkcs11/Makefile.in
|
2019-09-05 09:17:26 +00:00
|
|
|
index 70e5571..b5a4a6b 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/bin/named-pkcs11/Makefile.in
|
|
|
|
+++ b/bin/named-pkcs11/Makefile.in
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -43,27 +43,27 @@ DLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
|
2014-08-21 14:37:44 +00:00
|
|
|
DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
|
|
|
|
|
|
|
|
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
|
|
- ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
|
|
|
|
- ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
|
2019-07-24 17:05:06 +00:00
|
|
|
+ ${LWRES_INCLUDES} ${DNS_PKCS11_INCLUDES} ${BIND9_INCLUDES} \
|
|
|
|
+ ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_PKCS11_INCLUDES} \
|
|
|
|
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} ${MAXMINDDB_CFLAGS} \
|
|
|
|
@DST_OPENSSL_INC@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
-CDEFINES = @CONTRIB_DLZ@ @USE_PKCS11@ @PKCS11_ENGINE@ @USE_GSSAPI@ @CRYPTO@
|
|
|
|
+CDEFINES = @USE_PKCS11@ @PKCS11_ENGINE@ @CRYPTO_PK11@ @USE_GSSAPI@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
CWARNINGS =
|
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
-DNSLIBS = ../../lib/dns/libdns.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
|
2019-07-24 17:05:06 +00:00
|
|
|
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
|
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
|
|
|
|
-ISCLIBS = ../../lib/isc/libisc.@A@
|
2019-07-24 17:05:06 +00:00
|
|
|
-ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
|
|
|
|
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
|
|
+ISCNOSYMLIBS = ../../lib/isc-pkcs11/libisc-pkcs11-nosymtbl.@A@
|
2014-08-21 14:37:44 +00:00
|
|
|
LWRESLIBS = ../../lib/lwres/liblwres.@A@
|
|
|
|
BIND9LIBS = ../../lib/bind9/libbind9.@A@
|
|
|
|
|
|
|
|
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
2019-07-24 17:05:06 +00:00
|
|
|
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
2014-08-21 14:37:44 +00:00
|
|
|
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
|
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
|
|
|
|
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
2019-07-24 17:05:06 +00:00
|
|
|
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
2014-08-21 14:37:44 +00:00
|
|
|
LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
|
|
|
|
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
|
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -72,15 +72,15 @@ DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
|
|
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \
|
|
|
|
- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
|
|
+ @LIBS@
|
|
|
|
|
|
|
|
NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
|
|
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \
|
|
|
|
- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
|
2019-02-28 17:17:53 +00:00
|
|
|
+ @LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
SUBDIRS = unix
|
|
|
|
|
2019-02-28 17:17:53 +00:00
|
|
|
-TARGETS = named@EXEEXT@ lwresd@EXEEXT@ feature-test@EXEEXT@
|
|
|
|
+TARGETS = named-pkcs11@EXEEXT@ feature-test-pkcs11@EXEEXT@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2015-01-14 11:38:32 +00:00
|
|
|
GEOIPLINKOBJS = geoip.@O@
|
2019-07-24 17:05:06 +00:00
|
|
|
GEOIP2LINKOBJS = geoip.@O@
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -94,8 +94,7 @@ OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
|
2014-08-21 14:37:44 +00:00
|
|
|
tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
|
|
|
|
zoneconf.@O@ \
|
|
|
|
lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
|
|
|
|
- lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
|
|
|
|
- ${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
|
2016-11-16 07:46:09 +00:00
|
|
|
+ lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
UOBJS = unix/os.@O@ unix/dlz_dlopen_driver.@O@
|
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -113,8 +112,7 @@ SRCS = builtin.c client.c config.c control.c \
|
2014-08-21 14:37:44 +00:00
|
|
|
tkeyconf.c tsigconf.c update.c xfrout.c \
|
|
|
|
zoneconf.c \
|
|
|
|
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
|
|
|
|
- lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
|
|
|
|
- ${DLZDRIVER_SRCS} ${DBDRIVER_SRCS}
|
2016-11-16 07:46:09 +00:00
|
|
|
+ lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
MANPAGES = named.8 lwresd.8 named.conf.5
|
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -154,21 +152,21 @@ server.@O@: server.c
|
2016-11-16 07:46:09 +00:00
|
|
|
-DPRODUCT=\"${PRODUCT}\" \
|
|
|
|
-DVERSION=\"${VERSION}\" -c ${srcdir}/server.c
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2018-02-15 13:31:19 +00:00
|
|
|
-named@EXEEXT@: ${OBJS} ${DEPLIBS}
|
|
|
|
+named-pkcs11@EXEEXT@: ${OBJS} ${DEPLIBS}
|
2014-08-21 14:37:44 +00:00
|
|
|
export MAKE_SYMTABLE="yes"; \
|
|
|
|
export BASEOBJS="${OBJS} ${UOBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
2018-02-15 13:31:19 +00:00
|
|
|
|
|
|
|
-lwresd@EXEEXT@: named@EXEEXT@
|
|
|
|
+lwresd@EXEEXT@: named-pkcs11@EXEEXT@
|
|
|
|
rm -f lwresd@EXEEXT@
|
|
|
|
- @LN@ named@EXEEXT@ lwresd@EXEEXT@
|
|
|
|
+ @LN@ named-pkcs11@EXEEXT@ lwresd@EXEEXT@
|
|
|
|
|
2019-02-28 17:17:53 +00:00
|
|
|
# Bit of hack, do not produce intermediate .o object for featuretest
|
|
|
|
feature-test.@O@: ${top_srcdir}/bin/tests/system/feature-test.c
|
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-c ${top_srcdir}/bin/tests/system/feature-test.c
|
|
|
|
|
|
|
|
-feature-test@EXEEXT@: feature-test.@O@
|
|
|
|
+feature-test-pkcs11@EXEEXT@: feature-test.@O@
|
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
|
|
|
-o $@ feature-test.@O@ ${ISCLIBS} ${LIBS}
|
2018-02-15 13:31:19 +00:00
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -201,16 +199,11 @@ install-man8: named.8 lwresd.8
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2018-07-31 18:27:31 +00:00
|
|
|
install-man: install-man5 install-man8
|
2016-11-16 07:46:09 +00:00
|
|
|
|
2018-07-31 18:27:31 +00:00
|
|
|
-install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs install-man
|
2014-08-21 14:37:44 +00:00
|
|
|
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
|
|
|
|
- (cd ${DESTDIR}${sbindir}; rm -f lwresd@EXEEXT@; @LN@ named@EXEEXT@ lwresd@EXEEXT@)
|
|
|
|
+install:: named-pkcs11@EXEEXT@ installdirs
|
|
|
|
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-pkcs11@EXEEXT@ ${DESTDIR}${sbindir}
|
|
|
|
|
2017-06-15 15:50:41 +00:00
|
|
|
uninstall::
|
|
|
|
- rm -f ${DESTDIR}${mandir}/man5/named.conf.5
|
|
|
|
- rm -f ${DESTDIR}${mandir}/man8/lwresd.8
|
|
|
|
- rm -f ${DESTDIR}${mandir}/man8/named.8
|
|
|
|
- rm -f ${DESTDIR}${sbindir}/lwresd@EXEEXT@
|
|
|
|
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named@EXEEXT@
|
|
|
|
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-pkcs11@EXEEXT@
|
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
@DLZ_DRIVER_RULES@
|
|
|
|
|
|
|
|
diff --git a/bin/named/Makefile.in b/bin/named/Makefile.in
|
2019-09-05 09:17:26 +00:00
|
|
|
index 70e5571..4cfed4d 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/bin/named/Makefile.in
|
|
|
|
+++ b/bin/named/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -48,7 +48,7 @@ CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
|
|
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} ${MAXMINDDB_CFLAGS} \
|
|
|
|
@DST_OPENSSL_INC@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2019-09-05 09:17:26 +00:00
|
|
|
-CDEFINES = @CONTRIB_DLZ@ @USE_PKCS11@ @PKCS11_ENGINE@ @USE_GSSAPI@ @CRYPTO@
|
|
|
|
+CDEFINES = @CONTRIB_DLZ@ @USE_GSSAPI@ @CRYPTO@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
CWARNINGS =
|
|
|
|
|
|
|
|
diff --git a/bin/pkcs11/Makefile.in b/bin/pkcs11/Makefile.in
|
2018-05-02 20:31:49 +00:00
|
|
|
index a058c91..d4b689a 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/bin/pkcs11/Makefile.in
|
|
|
|
+++ b/bin/pkcs11/Makefile.in
|
2018-06-18 10:24:42 +00:00
|
|
|
@@ -15,13 +15,13 @@ top_srcdir = @top_srcdir@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
@BIND9_MAKE_INCLUDES@
|
|
|
|
|
|
|
|
-CINCLUDES = ${ISC_INCLUDES}
|
|
|
|
+CINCLUDES = ${ISC_PKCS11_INCLUDES}
|
|
|
|
|
|
|
|
CDEFINES =
|
|
|
|
|
2015-01-14 11:38:32 +00:00
|
|
|
-ISCLIBS = ../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
|
|
|
|
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@ @ISC_OPENSSL_LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
|
|
|
|
|
|
DEPLIBS = ${ISCDEPLIBS}
|
|
|
|
|
2019-03-05 20:49:26 +00:00
|
|
|
diff --git a/configure.ac b/configure.ac
|
2019-09-05 09:17:26 +00:00
|
|
|
index 9b7d778..59ba20b 100644
|
2019-03-05 20:49:26 +00:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -1139,12 +1139,14 @@ AC_SUBST(USE_GSSAPI)
|
2015-01-14 11:38:32 +00:00
|
|
|
AC_SUBST(DST_GSSAPI_INC)
|
|
|
|
AC_SUBST(DNS_GSSAPI_LIBS)
|
|
|
|
DNS_CRYPTO_LIBS="$DNS_GSSAPI_LIBS $DNS_CRYPTO_LIBS"
|
|
|
|
+DNS_CRYPTO_PK11_LIBS="$DNS_GSSAPI_LIBS $DNS_CRYPTO_PK11_LIBS"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Applications linking with libdns also need to link with these libraries.
|
|
|
|
#
|
|
|
|
|
|
|
|
AC_SUBST(DNS_CRYPTO_LIBS)
|
|
|
|
+AC_SUBST(DNS_CRYPTO_PK11_LIBS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# was --with-randomdev specified?
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -1494,11 +1496,11 @@ AC_ARG_ENABLE(openssl-hash,
|
2016-11-16 07:46:09 +00:00
|
|
|
AC_MSG_CHECKING(for OpenSSL library)
|
|
|
|
OPENSSL_WARNING=
|
2019-07-24 17:05:06 +00:00
|
|
|
openssldirs="/usr /usr/local /usr/local/ssl /opt/local /usr/pkg /usr/sfw"
|
2017-06-15 15:50:41 +00:00
|
|
|
-if test "yes" = "$want_native_pkcs11"
|
2016-11-16 07:46:09 +00:00
|
|
|
-then
|
|
|
|
- use_openssl="native_pkcs11"
|
|
|
|
- AC_MSG_RESULT(use of native PKCS11 instead)
|
|
|
|
-fi
|
2017-06-15 15:50:41 +00:00
|
|
|
+# if test "yes" = "$want_native_pkcs11"
|
|
|
|
+# then
|
|
|
|
+# use_openssl="native_pkcs11"
|
|
|
|
+# AC_MSG_RESULT(use of native PKCS11 instead)
|
|
|
|
+# fi
|
2016-11-16 07:46:09 +00:00
|
|
|
|
2017-06-15 15:50:41 +00:00
|
|
|
if test "auto" = "$use_openssl"
|
2014-08-21 14:37:44 +00:00
|
|
|
then
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -1511,6 +1513,7 @@ then
|
2016-11-16 07:46:09 +00:00
|
|
|
fi
|
|
|
|
done
|
2014-08-21 14:37:44 +00:00
|
|
|
fi
|
2015-01-14 11:38:32 +00:00
|
|
|
+CRYPTO_PK11=""
|
2014-08-21 14:37:44 +00:00
|
|
|
OPENSSL_ECDSA=""
|
|
|
|
OPENSSL_GOST=""
|
2018-02-15 13:31:19 +00:00
|
|
|
OPENSSL_ED25519=""
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -1532,11 +1535,10 @@ case "$with_gost" in
|
2015-01-14 11:38:32 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
-case "$use_openssl" in
|
|
|
|
- native_pkcs11)
|
|
|
|
- AC_MSG_RESULT(disabled because of native PKCS11)
|
|
|
|
+if test "$want_native_pkcs11" = "yes"
|
|
|
|
+then
|
|
|
|
DST_OPENSSL_INC=""
|
|
|
|
- CRYPTO="-DPKCS11CRYPTO"
|
|
|
|
+ CRYPTO_PK11="-DPKCS11CRYPTO"
|
2018-05-02 20:31:49 +00:00
|
|
|
CRYPTOLIB="pkcs11"
|
2018-02-15 13:31:19 +00:00
|
|
|
OPENSSLECDSALINKOBJS=""
|
|
|
|
OPENSSLECDSALINKSRCS=""
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -1546,7 +1548,9 @@ case "$use_openssl" in
|
2018-02-15 13:31:19 +00:00
|
|
|
OPENSSLGOSTLINKSRCS=""
|
2015-01-14 11:38:32 +00:00
|
|
|
OPENSSLLINKOBJS=""
|
|
|
|
OPENSSLLINKSRCS=""
|
|
|
|
- ;;
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+case "$use_openssl" in
|
|
|
|
no)
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
DST_OPENSSL_INC=""
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -1578,7 +1582,7 @@ case "$use_openssl" in
|
2018-05-02 20:31:49 +00:00
|
|
|
If you do not want OpenSSL, use --without-openssl])
|
2014-08-21 14:37:44 +00:00
|
|
|
;;
|
|
|
|
*)
|
2017-06-15 15:50:41 +00:00
|
|
|
- if test "yes" = "$want_native_pkcs11"
|
2018-05-02 20:31:49 +00:00
|
|
|
+ if false # test "yes" = "$want_native_pkcs11"
|
2014-08-21 14:37:44 +00:00
|
|
|
then
|
2018-05-02 20:31:49 +00:00
|
|
|
AC_MSG_RESULT()
|
|
|
|
AC_MSG_ERROR([OpenSSL and native PKCS11 cannot be used together.])
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -2006,6 +2010,7 @@ AC_SUBST(OPENSSL_ED25519)
|
2014-08-21 14:37:44 +00:00
|
|
|
AC_SUBST(OPENSSL_GOST)
|
|
|
|
|
2015-01-14 11:38:32 +00:00
|
|
|
DNS_CRYPTO_LIBS="$DNS_CRYPTO_LIBS $DST_OPENSSL_LIBS"
|
2014-08-21 14:37:44 +00:00
|
|
|
+DNS_CRYPTO_PK11_LIBS="$DNS_CRYPTO_LIBS"
|
|
|
|
|
2015-01-14 11:38:32 +00:00
|
|
|
ISC_PLATFORM_WANTAES="#undef ISC_PLATFORM_WANTAES"
|
2017-06-15 15:50:41 +00:00
|
|
|
if test "yes" = "$with_aes"
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -2291,6 +2296,7 @@ esac
|
2014-08-21 14:37:44 +00:00
|
|
|
AC_SUBST(PKCS11LINKOBJS)
|
|
|
|
AC_SUBST(PKCS11LINKSRCS)
|
|
|
|
AC_SUBST(CRYPTO)
|
|
|
|
+AC_SUBST(CRYPTO_PK11)
|
|
|
|
AC_SUBST(PKCS11_ECDSA)
|
|
|
|
AC_SUBST(PKCS11_GOST)
|
2018-02-15 13:31:19 +00:00
|
|
|
AC_SUBST(PKCS11_ED25519)
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -5405,8 +5411,11 @@ AC_CONFIG_FILES([
|
2015-01-14 11:38:32 +00:00
|
|
|
bin/delv/Makefile
|
2014-08-21 14:37:44 +00:00
|
|
|
bin/dig/Makefile
|
|
|
|
bin/dnssec/Makefile
|
2015-01-14 11:38:32 +00:00
|
|
|
+ bin/dnssec-pkcs11/Makefile
|
2014-08-21 14:37:44 +00:00
|
|
|
bin/named/Makefile
|
2015-01-14 11:38:32 +00:00
|
|
|
bin/named/unix/Makefile
|
2014-08-21 14:37:44 +00:00
|
|
|
+ bin/named-pkcs11/Makefile
|
|
|
|
+ bin/named-pkcs11/unix/Makefile
|
|
|
|
bin/nsupdate/Makefile
|
|
|
|
bin/pkcs11/Makefile
|
2015-01-14 11:38:32 +00:00
|
|
|
bin/python/Makefile
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -5479,6 +5488,10 @@ AC_CONFIG_FILES([
|
2014-08-21 14:37:44 +00:00
|
|
|
lib/dns/include/dns/Makefile
|
|
|
|
lib/dns/include/dst/Makefile
|
|
|
|
lib/dns/tests/Makefile
|
|
|
|
+ lib/dns-pkcs11/Makefile
|
|
|
|
+ lib/dns-pkcs11/include/Makefile
|
|
|
|
+ lib/dns-pkcs11/include/dns/Makefile
|
|
|
|
+ lib/dns-pkcs11/include/dst/Makefile
|
2015-01-14 11:38:32 +00:00
|
|
|
lib/irs/Makefile
|
|
|
|
lib/irs/include/Makefile
|
|
|
|
lib/irs/include/irs/Makefile
|
2019-09-05 09:17:26 +00:00
|
|
|
@@ -5503,6 +5516,24 @@ AC_CONFIG_FILES([
|
2014-08-21 14:37:44 +00:00
|
|
|
lib/isc/unix/include/Makefile
|
|
|
|
lib/isc/unix/include/isc/Makefile
|
|
|
|
lib/isc/unix/include/pkcs11/Makefile
|
|
|
|
+ lib/isc-pkcs11/$arch/Makefile
|
|
|
|
+ lib/isc-pkcs11/$arch/include/Makefile
|
|
|
|
+ lib/isc-pkcs11/$arch/include/isc/Makefile
|
|
|
|
+ lib/isc-pkcs11/$thread_dir/Makefile
|
|
|
|
+ lib/isc-pkcs11/$thread_dir/include/Makefile
|
|
|
|
+ lib/isc-pkcs11/$thread_dir/include/isc/Makefile
|
|
|
|
+ lib/isc-pkcs11/Makefile
|
|
|
|
+ lib/isc-pkcs11/include/Makefile
|
|
|
|
+ lib/isc-pkcs11/include/isc/Makefile
|
|
|
|
+ lib/isc-pkcs11/include/isc/platform.h
|
|
|
|
+ lib/isc-pkcs11/include/pk11/Makefile
|
|
|
|
+ lib/isc-pkcs11/include/pkcs11/Makefile
|
|
|
|
+ lib/isc-pkcs11/tests/Makefile
|
|
|
|
+ lib/isc-pkcs11/nls/Makefile
|
|
|
|
+ lib/isc-pkcs11/unix/Makefile
|
|
|
|
+ lib/isc-pkcs11/unix/include/Makefile
|
|
|
|
+ lib/isc-pkcs11/unix/include/isc/Makefile
|
|
|
|
+ lib/isc-pkcs11/unix/include/pkcs11/Makefile
|
|
|
|
lib/isccc/Makefile
|
|
|
|
lib/isccc/include/Makefile
|
|
|
|
lib/isccc/include/isccc/Makefile
|
|
|
|
diff --git a/lib/Makefile.in b/lib/Makefile.in
|
2018-06-18 10:24:42 +00:00
|
|
|
index 81270a0..bcb5312 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/lib/Makefile.in
|
|
|
|
+++ b/lib/Makefile.in
|
2018-06-18 10:24:42 +00:00
|
|
|
@@ -15,7 +15,7 @@ top_srcdir = @top_srcdir@
|
2014-08-21 14:37:44 +00:00
|
|
|
# Attempt to disable parallel processing.
|
|
|
|
.NOTPARALLEL:
|
|
|
|
.NO_PARALLEL:
|
2018-06-18 10:24:42 +00:00
|
|
|
-SUBDIRS = isc isccc dns isccfg bind9 lwres irs samples
|
|
|
|
+SUBDIRS = isc isc-pkcs11 isccc dns dns-pkcs11 isccfg bind9 lwres irs samples
|
2014-08-21 14:37:44 +00:00
|
|
|
TARGETS =
|
|
|
|
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
diff --git a/lib/dns-pkcs11/Makefile.in b/lib/dns-pkcs11/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
index 7f09bd6..c388d9e 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/lib/dns-pkcs11/Makefile.in
|
|
|
|
+++ b/lib/dns-pkcs11/Makefile.in
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -26,17 +26,16 @@ VERSION=@BIND9_VERSION@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
USE_ISC_SPNEGO = @USE_ISC_SPNEGO@
|
|
|
|
|
2015-01-14 11:38:32 +00:00
|
|
|
-CINCLUDES = -I. -I${top_srcdir}/lib/dns -Iinclude ${DNS_INCLUDES} \
|
2019-07-24 17:05:06 +00:00
|
|
|
- ${ISC_INCLUDES} ${MAXMINDDB_CFLAGS} \
|
|
|
|
- @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
|
2015-01-14 11:38:32 +00:00
|
|
|
+CINCLUDES = -I. -I${top_srcdir}/lib/dns-pkcs11 -Iinclude ${DNS_PKCS11_INCLUDES} \
|
2019-07-24 17:05:06 +00:00
|
|
|
+ ${ISC_PKCS11_INCLUDES} ${MAXMINDDB_CFLAGS} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
-CDEFINES = -DUSE_MD5 @CRYPTO@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
|
|
|
|
+CDEFINES = -DUSE_MD5 @CRYPTO_PK11@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
|
|
|
|
|
|
|
|
CWARNINGS =
|
|
|
|
|
|
|
|
-ISCLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
|
|
|
|
|
|
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
LIBS = ${MAXMINDDB_LIBS} @LIBS@
|
2014-08-21 14:37:44 +00:00
|
|
|
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -150,15 +149,15 @@ version.@O@: version.c
|
2015-01-14 11:38:32 +00:00
|
|
|
-DLIBAGE=${LIBAGE} \
|
|
|
|
-c ${srcdir}/version.c
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
-libdns.@SA@: ${OBJS}
|
|
|
|
+libdns-pkcs11.@SA@: ${OBJS}
|
|
|
|
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
|
|
${RANLIB} $@
|
|
|
|
|
|
|
|
-libdns.la: ${OBJS}
|
|
|
|
+libdns-pkcs11.la: ${OBJS}
|
|
|
|
${LIBTOOL_MODE_LINK} \
|
|
|
|
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
|
|
|
|
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns-pkcs11.la -rpath ${libdir} \
|
|
|
|
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
|
|
|
- ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
|
|
|
|
+ ${OBJS} ${ISCLIBS} @DNS_CRYPTO_PK11_LIBS@ ${LIBS}
|
2017-06-15 15:50:41 +00:00
|
|
|
|
2017-07-10 09:52:38 +00:00
|
|
|
include: gen
|
|
|
|
${MAKE} include/dns/enumtype.h
|
2019-07-24 17:05:06 +00:00
|
|
|
@@ -189,22 +188,22 @@ gen: gen.c
|
2019-07-02 09:10:03 +00:00
|
|
|
${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
|
|
|
|
${BUILD_LIBS} ${LFS_LIBS}
|
2017-07-10 09:52:38 +00:00
|
|
|
|
|
|
|
-timestamp: include libdns.@A@
|
|
|
|
+timestamp: include libdns-pkcs11.@A@
|
2014-08-21 14:37:44 +00:00
|
|
|
touch timestamp
|
2017-06-15 15:50:41 +00:00
|
|
|
|
2017-07-10 09:52:38 +00:00
|
|
|
-testdirs: libdns.@A@
|
|
|
|
+testdirs: libdns-pkcs11.@A@
|
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
installdirs:
|
|
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
2017-06-15 15:50:41 +00:00
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
install:: timestamp installdirs
|
|
|
|
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns.@A@ ${DESTDIR}${libdir}
|
|
|
|
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns-pkcs11.@A@ ${DESTDIR}${libdir}
|
2017-06-15 15:50:41 +00:00
|
|
|
|
|
|
|
uninstall::
|
|
|
|
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libdns.@A@
|
|
|
|
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libdns-pkcs11.@A@
|
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
clean distclean::
|
|
|
|
- rm -f libdns.@A@ timestamp
|
|
|
|
+ rm -f libdns-pkcs11.@A@ timestamp
|
|
|
|
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
|
|
|
|
rm -f include/dns/rdatastruct.h
|
2019-06-11 09:34:52 +00:00
|
|
|
rm -f dnstap.pb-c.c dnstap.pb-c.h
|
2014-08-21 14:37:44 +00:00
|
|
|
diff --git a/lib/isc-pkcs11/Makefile.in b/lib/isc-pkcs11/Makefile.in
|
2019-09-05 09:17:26 +00:00
|
|
|
index 8ad54bb..a3ecdfb 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/lib/isc-pkcs11/Makefile.in
|
|
|
|
+++ b/lib/isc-pkcs11/Makefile.in
|
2018-06-18 10:24:42 +00:00
|
|
|
@@ -23,8 +23,8 @@ CINCLUDES = -I${srcdir}/unix/include \
|
2014-08-21 14:37:44 +00:00
|
|
|
-I${srcdir}/@ISC_THREAD_DIR@/include \
|
|
|
|
-I${srcdir}/@ISC_ARCH_DIR@/include \
|
|
|
|
-I./include \
|
2017-08-01 09:44:10 +00:00
|
|
|
- -I${srcdir}/include ${DNS_INCLUDES} @ISC_OPENSSL_INC@
|
2014-08-21 14:37:44 +00:00
|
|
|
-CDEFINES = @CRYPTO@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
|
|
|
|
+ -I${srcdir}/include ${DNS_PKCS11_INCLUDES}
|
|
|
|
+CDEFINES = @CRYPTO_PK11@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
|
|
|
|
CWARNINGS =
|
|
|
|
|
|
|
|
# Alphabetically
|
2018-10-19 15:52:10 +00:00
|
|
|
@@ -103,40 +103,40 @@ version.@O@: version.c
|
2014-08-21 14:37:44 +00:00
|
|
|
-DLIBAGE=${LIBAGE} \
|
|
|
|
-c ${srcdir}/version.c
|
|
|
|
|
|
|
|
-libisc.@SA@: ${OBJS} ${SYMTBLOBJS}
|
|
|
|
+libisc-pkcs11.@SA@: ${OBJS} ${SYMTBLOBJS}
|
|
|
|
${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS}
|
|
|
|
${RANLIB} $@
|
|
|
|
|
|
|
|
-libisc-nosymtbl.@SA@: ${OBJS}
|
|
|
|
+libisc-pkcs11-nosymtbl.@SA@: ${OBJS}
|
|
|
|
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
|
|
${RANLIB} $@
|
|
|
|
|
|
|
|
-libisc.la: ${OBJS} ${SYMTBLOBJS}
|
|
|
|
+libisc-pkcs11.la: ${OBJS} ${SYMTBLOBJS}
|
|
|
|
${LIBTOOL_MODE_LINK} \
|
|
|
|
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
|
|
|
|
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-pkcs11.la -rpath ${libdir} \
|
|
|
|
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
|
|
|
${OBJS} ${SYMTBLOBJS} ${LIBS}
|
|
|
|
|
|
|
|
-libisc-nosymtbl.la: ${OBJS}
|
|
|
|
+libisc-pkcs11-nosymtbl.la: ${OBJS}
|
|
|
|
${LIBTOOL_MODE_LINK} \
|
|
|
|
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \
|
|
|
|
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-pkcs11-nosymtbl.la -rpath ${libdir} \
|
|
|
|
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
|
|
|
${OBJS} ${LIBS}
|
|
|
|
|
|
|
|
-timestamp: libisc.@A@ libisc-nosymtbl.@A@
|
|
|
|
+timestamp: libisc-pkcs11.@A@ libisc-pkcs11-nosymtbl.@A@
|
|
|
|
touch timestamp
|
|
|
|
|
2017-07-10 09:52:38 +00:00
|
|
|
-testdirs: libisc.@A@ libisc-nosymtbl.@A@
|
|
|
|
+testdirs: libisc-pkcs11.@A@ libisc-pkcs11-nosymtbl.@A@
|
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
installdirs:
|
|
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
|
|
|
|
|
|
|
install:: timestamp installdirs
|
|
|
|
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc.@A@ ${DESTDIR}${libdir}
|
|
|
|
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc-pkcs11.@A@ ${DESTDIR}${libdir}
|
|
|
|
|
2017-06-15 15:50:41 +00:00
|
|
|
uninstall::
|
|
|
|
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisc.@A@
|
|
|
|
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisc-pkcs11.@A@
|
|
|
|
|
2014-08-21 14:37:44 +00:00
|
|
|
clean distclean::
|
|
|
|
- rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
|
|
|
|
- libisc-nosymtbl.la timestamp
|
|
|
|
+ rm -f libisc-pkcs11.@A@ libisc-pkcs11-nosymtbl.@A@ libisc-pkcs11.la \
|
|
|
|
+ libisc-pkcs11-nosymtbl.la timestamp
|
|
|
|
diff --git a/make/includes.in b/make/includes.in
|
2018-06-18 10:24:42 +00:00
|
|
|
index fa86ad1..3cfbe9f 100644
|
2014-08-21 14:37:44 +00:00
|
|
|
--- a/make/includes.in
|
|
|
|
+++ b/make/includes.in
|
2018-06-18 10:24:42 +00:00
|
|
|
@@ -43,3 +43,13 @@ BIND9_INCLUDES = @BIND9_BIND9_BUILDINCLUDE@ \
|
2014-08-21 14:37:44 +00:00
|
|
|
|
|
|
|
TEST_INCLUDES = \
|
|
|
|
-I${top_srcdir}/lib/tests/include
|
|
|
|
+
|
|
|
|
+ISC_PKCS11_INCLUDES = @BIND9_ISC_BUILDINCLUDE@ \
|
|
|
|
+ -I${top_srcdir}/lib/isc-pkcs11 \
|
|
|
|
+ -I${top_srcdir}/lib/isc-pkcs11/include \
|
|
|
|
+ -I${top_srcdir}/lib/isc-pkcs11/unix/include \
|
|
|
|
+ -I${top_srcdir}/lib/isc-pkcs11/@ISC_THREAD_DIR@/include \
|
|
|
|
+ -I${top_srcdir}/lib/isc-pkcs11/@ISC_ARCH_DIR@/include
|
|
|
|
+
|
|
|
|
+DNS_PKCS11_INCLUDES = @BIND9_DNS_BUILDINCLUDE@ \
|
|
|
|
+ -I${top_srcdir}/lib/dns-pkcs11/include
|