|
Tomas Hozza |
dce2d1 |
diff --git a/bin/Makefile.in b/bin/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index e3aeffb..7654169 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/bin/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/bin/Makefile.in
|
|
Michal Ruprich |
d886cd |
@@ -10,7 +10,7 @@ srcdir = @srcdir@
|
|
Tomas Hozza |
dce2d1 |
VPATH = @srcdir@
|
|
Tomas Hozza |
dce2d1 |
top_srcdir = @top_srcdir@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
-SUBDIRS = named rndc dig delv dnssec tools tests nsupdate \
|
|
Tomas Hozza |
4fa997 |
+SUBDIRS = named named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools tests nsupdate \
|
|
Michal Ruprich |
d886cd |
check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
|
Tomas Hozza |
dce2d1 |
TARGETS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
diff --git a/bin/dnssec-pkcs11/Makefile.in b/bin/dnssec-pkcs11/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index 4f1bf90..b8dc6fe 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/bin/dnssec-pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/bin/dnssec-pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
@@ -23,18 +23,18 @@ top_srcdir = @top_srcdir@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@BIND9_MAKE_INCLUDES@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
+CINCLUDES = ${DNS_PKCS11_INCLUDES} ${ISC_PKCS11_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CDEFINES = -DVERSION=\"${VERSION}\" @USE_PKCS11@ @PKCS11_ENGINE@ \
|
|
Tomas Hozza |
dce2d1 |
- @CRYPTO@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\"
|
|
Tomas Hozza |
dce2d1 |
+ @CRYPTO_PK11@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\"
|
|
Tomas Hozza |
dce2d1 |
CWARNINGS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
|
|
Tomas Hozza |
dce2d1 |
-ISCLIBS = ../../lib/isc/libisc.@A@
|
|
Tomas Hozza |
dce2d1 |
-ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
|
|
Tomas Hozza |
4fa997 |
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ @DNS_CRYPTO_LIBS@
|
|
Tomas Hozza |
dce2d1 |
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
+ISCNOSYMLIBS = ../../lib/isc-pkcs11/libisc-pkcs11-nosymtbl.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
Tomas Hozza |
dce2d1 |
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
Tomas Hozza |
dce2d1 |
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@@ -43,10 +43,10 @@ LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
|
|
Tomas Hozza |
dce2d1 |
NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
# Alphabetically
|
|
Tomas Hozza |
dce2d1 |
-TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
|
|
Tomas Hozza |
dce2d1 |
- dnssec-keyfromlabel@EXEEXT@ dnssec-dsfromkey@EXEEXT@ \
|
|
Tomas Hozza |
dce2d1 |
- dnssec-revoke@EXEEXT@ dnssec-settime@EXEEXT@ \
|
|
Tomas Hozza |
dce2d1 |
- dnssec-verify@EXEEXT@ dnssec-importkey@EXEEXT@
|
|
Tomas Hozza |
dce2d1 |
+TARGETS = dnssec-keygen-pkcs11@EXEEXT@ dnssec-signzone-pkcs11@EXEEXT@ \
|
|
Tomas Hozza |
dce2d1 |
+ dnssec-keyfromlabel-pkcs11@EXEEXT@ dnssec-dsfromkey-pkcs11@EXEEXT@ \
|
|
Tomas Hozza |
dce2d1 |
+ dnssec-revoke-pkcs11@EXEEXT@ dnssec-settime-pkcs11@EXEEXT@ \
|
|
Tomas Hozza |
dce2d1 |
+ dnssec-verify-pkcs11@EXEEXT@ dnssec-importkey-pkcs11@EXEEXT@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
OBJS = dnssectool.@O@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@@ -67,15 +67,15 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@BIND9_MAKE_RULES@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-dsfromkey-pkcs11@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
export BASEOBJS="dnssec-dsfromkey.@O@ ${OBJS}"; \
|
|
Tomas Hozza |
dce2d1 |
${FINALBUILDCMD}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-keyfromlabel@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-keyfromlabel-pkcs11@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
export BASEOBJS="dnssec-keyfromlabel.@O@ ${OBJS}"; \
|
|
Tomas Hozza |
dce2d1 |
${FINALBUILDCMD}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-keygen@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-keygen-pkcs11@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
export BASEOBJS="dnssec-keygen.@O@ ${OBJS}"; \
|
|
Tomas Hozza |
dce2d1 |
${FINALBUILDCMD}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@@ -83,7 +83,7 @@ dnssec-signzone.@O@: dnssec-signzone.c
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
|
|
Tomas Hozza |
dce2d1 |
-c ${srcdir}/dnssec-signzone.c
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-signzone@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-signzone-pkcs11@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
export BASEOBJS="dnssec-signzone.@O@ ${OBJS}"; \
|
|
Tomas Hozza |
dce2d1 |
${FINALBUILDCMD}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@@ -91,19 +91,19 @@ dnssec-verify.@O@: dnssec-verify.c
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
|
|
Tomas Hozza |
dce2d1 |
-c ${srcdir}/dnssec-verify.c
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-verify@EXEEXT@: dnssec-verify.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-verify-pkcs11@EXEEXT@: dnssec-verify.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
export BASEOBJS="dnssec-verify.@O@ ${OBJS}"; \
|
|
Tomas Hozza |
dce2d1 |
${FINALBUILDCMD}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-revoke@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-revoke-pkcs11@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
Tomas Hozza |
dce2d1 |
dnssec-revoke.@O@ ${OBJS} ${LIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-settime@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-settime-pkcs11@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
Tomas Hozza |
dce2d1 |
dnssec-settime.@O@ ${OBJS} ${LIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-dnssec-importkey@EXEEXT@: dnssec-importkey.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+dnssec-importkey-pkcs11@EXEEXT@: dnssec-importkey.@O@ ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
Tomas Hozza |
dce2d1 |
dnssec-importkey.@O@ ${OBJS} ${LIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@@ -114,11 +114,9 @@ docclean manclean maintainer-clean::
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
installdirs:
|
|
Tomas Hozza |
dce2d1 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
dce2d1 |
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
install:: ${TARGETS} installdirs
|
|
Tomas Hozza |
dce2d1 |
for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done
|
|
Tomas Hozza |
dce2d1 |
- for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
clean distclean::
|
|
Tomas Hozza |
dce2d1 |
rm -f ${TARGETS}
|
|
Tomas Hozza |
dce2d1 |
diff --git a/bin/dnssec/Makefile.in b/bin/dnssec/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
index 4f1bf90..e1132ea 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/bin/dnssec/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/bin/dnssec/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
@@ -25,7 +25,7 @@ top_srcdir = @top_srcdir@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-CDEFINES = -DVERSION=\"${VERSION}\" @USE_PKCS11@ @PKCS11_ENGINE@ \
|
|
Tomas Hozza |
dce2d1 |
+CDEFINES = -DVERSION=\"${VERSION}\" \
|
|
Tomas Hozza |
dce2d1 |
@CRYPTO@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\"
|
|
Tomas Hozza |
dce2d1 |
CWARNINGS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
diff --git a/bin/named-pkcs11/Makefile.in b/bin/named-pkcs11/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index 95e36c1..fb658e9 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/bin/named-pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/bin/named-pkcs11/Makefile.in
|
|
Michal Ruprich |
d886cd |
@@ -36,26 +36,26 @@ DLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
|
|
Tomas Hozza |
dce2d1 |
DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
Tomas Hozza |
dce2d1 |
- ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
|
|
Tomas Hozza |
dce2d1 |
- ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
|
|
Michal Ruprich |
d886cd |
+ ${LWRES_INCLUDES} ${DNS_PKCS11_INCLUDES} ${BIND9_INCLUDES} \
|
|
Michal Ruprich |
d886cd |
+ ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_PKCS11_INCLUDES} \
|
|
Tomas Hozza |
dce2d1 |
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} @DST_OPENSSL_INC@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-CDEFINES = @CONTRIB_DLZ@ @USE_PKCS11@ @PKCS11_ENGINE@ @CRYPTO@
|
|
Tomas Hozza |
dce2d1 |
+CDEFINES = @USE_PKCS11@ @PKCS11_ENGINE@ @CRYPTO_PK11@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CWARNINGS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
|
|
Michal Ruprich |
d886cd |
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ @DNS_CRYPTO_LIBS@
|
|
Tomas Hozza |
dce2d1 |
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
Tomas Hozza |
dce2d1 |
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
|
|
Tomas Hozza |
dce2d1 |
-ISCLIBS = ../../lib/isc/libisc.@A@
|
|
Michal Ruprich |
d886cd |
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
|
|
Tomas Hozza |
dce2d1 |
LWRESLIBS = ../../lib/lwres/liblwres.@A@
|
|
Tomas Hozza |
dce2d1 |
BIND9LIBS = ../../lib/bind9/libbind9.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
Michal Ruprich |
d886cd |
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
Tomas Hozza |
dce2d1 |
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
|
|
Tomas Hozza |
dce2d1 |
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
Michal Ruprich |
d886cd |
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
|
|
Tomas Hozza |
dce2d1 |
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Michal Ruprich |
d886cd |
@@ -64,15 +64,15 @@ DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Tomas Hozza |
dce2d1 |
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \
|
|
Tomas Hozza |
dce2d1 |
- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
Tomas Hozza |
dce2d1 |
+ @LIBS@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Tomas Hozza |
dce2d1 |
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \
|
|
Tomas Hozza |
dce2d1 |
- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
Michal Ruprich |
d886cd |
+ @LIBS@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
SUBDIRS = unix
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-TARGETS = named@EXEEXT@ lwresd@EXEEXT@
|
|
Michal Ruprich |
d886cd |
+TARGETS = named-pkcs11@EXEEXT@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
GEOIPLINKOBJS = geoip.@O@
|
|
Michal Ruprich |
d886cd |
|
|
Michal Ruprich |
d886cd |
@@ -83,8 +83,7 @@ OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
|
|
Tomas Hozza |
dce2d1 |
tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
|
|
Tomas Hozza |
dce2d1 |
zoneconf.@O@ \
|
|
Tomas Hozza |
dce2d1 |
lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
|
|
Tomas Hozza |
dce2d1 |
- lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
|
|
Tomas Hozza |
dce2d1 |
- ${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
|
|
Michal Ruprich |
d886cd |
+ lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
UOBJS = unix/os.@O@ unix/dlz_dlopen_driver.@O@
|
|
Tomas Hozza |
dce2d1 |
|
|
Michal Ruprich |
d886cd |
@@ -99,8 +98,7 @@ SRCS = builtin.c client.c config.c control.c \
|
|
Tomas Hozza |
dce2d1 |
tkeyconf.c tsigconf.c update.c xfrout.c \
|
|
Tomas Hozza |
dce2d1 |
zoneconf.c \
|
|
Tomas Hozza |
dce2d1 |
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
|
|
Tomas Hozza |
dce2d1 |
- lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
|
|
Tomas Hozza |
dce2d1 |
- ${DLZDRIVER_SRCS} ${DBDRIVER_SRCS}
|
|
Michal Ruprich |
d886cd |
+ lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
MANPAGES = named.8 lwresd.8 named.conf.5
|
|
Tomas Hozza |
dce2d1 |
|
|
Michal Ruprich |
d886cd |
@@ -139,7 +137,7 @@ server.@O@: server.c
|
|
Michal Ruprich |
d886cd |
-DPRODUCT=\"${PRODUCT}\" \
|
|
Michal Ruprich |
d886cd |
-DVERSION=\"${VERSION}\" -c ${srcdir}/server.c
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-named@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
+named-pkcs11@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
export MAKE_SYMTABLE="yes"; \
|
|
Tomas Hozza |
dce2d1 |
export BASEOBJS="${OBJS} ${UOBJS}"; \
|
|
Tomas Hozza |
dce2d1 |
${FINALBUILDCMD}
|
|
Michal Ruprich |
d886cd |
@@ -166,15 +164,9 @@ statschannel.@O@: bind9.xsl.h
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
installdirs:
|
|
Tomas Hozza |
dce2d1 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
dce2d1 |
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
|
|
Tomas Hozza |
dce2d1 |
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
-install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs
|
|
Tomas Hozza |
dce2d1 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
dce2d1 |
- (cd ${DESTDIR}${sbindir}; rm -f lwresd@EXEEXT@; @LN@ named@EXEEXT@ lwresd@EXEEXT@)
|
|
Tomas Hozza |
dce2d1 |
- ${INSTALL_DATA} ${srcdir}/named.8 ${DESTDIR}${mandir}/man8
|
|
Tomas Hozza |
dce2d1 |
- ${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
|
|
Tomas Hozza |
dce2d1 |
- ${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
|
|
Tomas Hozza |
dce2d1 |
+install:: named-pkcs11@EXEEXT@ installdirs
|
|
Tomas Hozza |
dce2d1 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-pkcs11@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@DLZ_DRIVER_RULES@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
diff --git a/bin/named/Makefile.in b/bin/named/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index 95e36c1..ba5ec3c 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/bin/named/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/bin/named/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
@@ -51,7 +51,7 @@ CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
Tomas Hozza |
dce2d1 |
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
|
|
Tomas Hozza |
dce2d1 |
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} @DST_OPENSSL_INC@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-CDEFINES = @CONTRIB_DLZ@ @USE_PKCS11@ @PKCS11_ENGINE@ @CRYPTO@
|
|
Tomas Hozza |
dce2d1 |
+CDEFINES = @CONTRIB_DLZ@ @CRYPTO@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CWARNINGS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
diff --git a/bin/pkcs11/Makefile.in b/bin/pkcs11/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index dac3832..43d8241 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/bin/pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/bin/pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
@@ -20,13 +20,13 @@ top_srcdir = @top_srcdir@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@BIND9_MAKE_INCLUDES@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-CINCLUDES = ${ISC_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
+CINCLUDES = ${ISC_PKCS11_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CDEFINES =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
-ISCLIBS = ../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
|
|
Tomas Hozza |
4fa997 |
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@ @ISC_OPENSSL_LIBS@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
Tomas Hozza |
dce2d1 |
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
DEPLIBS = ${ISCDEPLIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
diff --git a/configure.in b/configure.in
|
|
Tomas Hozza |
4fa997 |
index a28f773..8f3b8f4 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/configure.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/configure.in
|
|
Tomas Hozza |
4fa997 |
@@ -982,12 +982,14 @@ AC_SUBST(USE_GSSAPI)
|
|
Tomas Hozza |
4fa997 |
AC_SUBST(DST_GSSAPI_INC)
|
|
Tomas Hozza |
4fa997 |
AC_SUBST(DNS_GSSAPI_LIBS)
|
|
Tomas Hozza |
4fa997 |
DNS_CRYPTO_LIBS="$DNS_GSSAPI_LIBS $DNS_CRYPTO_LIBS"
|
|
Tomas Hozza |
4fa997 |
+DNS_CRYPTO_PK11_LIBS="$DNS_GSSAPI_LIBS $DNS_CRYPTO_PK11_LIBS"
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
#
|
|
Tomas Hozza |
4fa997 |
# Applications linking with libdns also need to link with these libraries.
|
|
Tomas Hozza |
4fa997 |
#
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
AC_SUBST(DNS_CRYPTO_LIBS)
|
|
Tomas Hozza |
4fa997 |
+AC_SUBST(DNS_CRYPTO_PK11_LIBS)
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
#
|
|
Tomas Hozza |
4fa997 |
# was --with-randomdev specified?
|
|
Michal Ruprich |
d886cd |
@@ -1383,11 +1385,11 @@
|
|
Michal Ruprich |
d886cd |
AC_MSG_CHECKING(for OpenSSL library)
|
|
Michal Ruprich |
d886cd |
OPENSSL_WARNING=
|
|
Tomas Hozza |
dce2d1 |
openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw"
|
|
Michal Ruprich |
d886cd |
-if test "$want_native_pkcs11" = "yes"
|
|
Michal Ruprich |
d886cd |
-then
|
|
Michal Ruprich |
d886cd |
- use_openssl="native_pkcs11"
|
|
Michal Ruprich |
d886cd |
- AC_MSG_RESULT(use of native PKCS11 instead)
|
|
Michal Ruprich |
d886cd |
-fi
|
|
Michal Ruprich |
d886cd |
+# if test "$want_native_pkcs11" = "yes"
|
|
Michal Ruprich |
d886cd |
+# then
|
|
Michal Ruprich |
d886cd |
+# use_openssl="native_pkcs11"
|
|
Michal Ruprich |
d886cd |
+# AC_MSG_RESULT(use of native PKCS11 instead)
|
|
Michal Ruprich |
d886cd |
+# fi
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
if test "$use_openssl" = "auto"
|
|
Tomas Hozza |
dce2d1 |
then
|
|
Michal Ruprich |
d886cd |
@@ -1395,6 +1397,7 @@ then
|
|
Michal Ruprich |
d886cd |
fi
|
|
Michal Ruprich |
d886cd |
done
|
|
Tomas Hozza |
dce2d1 |
fi
|
|
Tomas Hozza |
4fa997 |
+CRYPTO_PK11=""
|
|
Tomas Hozza |
dce2d1 |
OPENSSL_ECDSA=""
|
|
Tomas Hozza |
dce2d1 |
OPENSSL_GOST=""
|
|
Tomas Hozza |
4fa997 |
gosttype="raw"
|
|
Tomas Hozza |
4fa997 |
@@ -1417,16 +1420,17 @@ case "$with_gost" in
|
|
Tomas Hozza |
4fa997 |
;;
|
|
Tomas Hozza |
4fa997 |
esac
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
-case "$use_openssl" in
|
|
Tomas Hozza |
4fa997 |
- native_pkcs11)
|
|
Tomas Hozza |
4fa997 |
- AC_MSG_RESULT(disabled because of native PKCS11)
|
|
Tomas Hozza |
4fa997 |
+if test "$want_native_pkcs11" = "yes"
|
|
Tomas Hozza |
4fa997 |
+then
|
|
Tomas Hozza |
4fa997 |
DST_OPENSSL_INC=""
|
|
Tomas Hozza |
4fa997 |
- CRYPTO="-DPKCS11CRYPTO"
|
|
Tomas Hozza |
4fa997 |
+ CRYPTO_PK11="-DPKCS11CRYPTO"
|
|
Tomas Hozza |
4fa997 |
OPENSSLGOSTLINKOBJS=""
|
|
Tomas Hozza |
4fa997 |
OPENSSLGOSTLINKSRS=""
|
|
Tomas Hozza |
4fa997 |
OPENSSLLINKOBJS=""
|
|
Tomas Hozza |
4fa997 |
OPENSSLLINKSRCS=""
|
|
Tomas Hozza |
4fa997 |
- ;;
|
|
Tomas Hozza |
4fa997 |
+fi
|
|
Tomas Hozza |
4fa997 |
+
|
|
Tomas Hozza |
4fa997 |
+case "$use_openssl" in
|
|
Tomas Hozza |
4fa997 |
no)
|
|
Tomas Hozza |
4fa997 |
AC_MSG_RESULT(no)
|
|
Tomas Hozza |
4fa997 |
DST_OPENSSL_INC=""
|
|
Tomas Hozza |
4fa997 |
@@ -1448,11 +1452,11 @@ case "$use_openssl" in
|
|
Tomas Hozza |
dce2d1 |
If you don't want OpenSSL, use --without-openssl])
|
|
Tomas Hozza |
dce2d1 |
;;
|
|
Tomas Hozza |
dce2d1 |
*)
|
|
Tomas Hozza |
dce2d1 |
- if test "$want_native_pkcs11" = "yes"
|
|
Tomas Hozza |
dce2d1 |
- then
|
|
Tomas Hozza |
dce2d1 |
- AC_MSG_RESULT()
|
|
Tomas Hozza |
dce2d1 |
- AC_MSG_ERROR([OpenSSL and native PKCS11 cannot be used together.])
|
|
Tomas Hozza |
dce2d1 |
- fi
|
|
Tomas Hozza |
dce2d1 |
+# if test "$want_native_pkcs11" = "yes"
|
|
Tomas Hozza |
dce2d1 |
+# then
|
|
Tomas Hozza |
dce2d1 |
+# AC_MSG_RESULT()
|
|
Tomas Hozza |
dce2d1 |
+# AC_MSG_ERROR([OpenSSL and native PKCS11 cannot be used together.])
|
|
Tomas Hozza |
dce2d1 |
+# fi
|
|
Tomas Hozza |
dce2d1 |
if test "$use_openssl" = "yes"
|
|
Tomas Hozza |
dce2d1 |
then
|
|
Tomas Hozza |
dce2d1 |
# User did not specify a path - guess it
|
|
Tomas Hozza |
4fa997 |
@@ -1776,6 +1780,7 @@ AC_SUBST(OPENSSL_ECDSA)
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(OPENSSL_GOST)
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
DNS_CRYPTO_LIBS="$DNS_CRYPTO_LIBS $DST_OPENSSL_LIBS"
|
|
Tomas Hozza |
dce2d1 |
+DNS_CRYPTO_PK11_LIBS="$DNS_CRYPTO_LIBS"
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
ISC_PLATFORM_WANTAES="#undef ISC_PLATFORM_WANTAES"
|
|
Tomas Hozza |
4fa997 |
if test "$with_aes" = "yes"
|
|
Tomas Hozza |
4fa997 |
@@ -2047,6 +2052,7 @@ esac
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(PKCS11LINKOBJS)
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(PKCS11LINKSRCS)
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(CRYPTO)
|
|
Tomas Hozza |
dce2d1 |
+AC_SUBST(CRYPTO_PK11)
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(PKCS11_ECDSA)
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(PKCS11_GOST)
|
|
Tomas Hozza |
dce2d1 |
AC_SUBST(PKCS11_TEST)
|
|
Tomas Hozza |
4fa997 |
@@ -4466,8 +4472,11 @@ AC_CONFIG_FILES([
|
|
Tomas Hozza |
4fa997 |
bin/delv/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/dig/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/dnssec/Makefile
|
|
Tomas Hozza |
4fa997 |
+ bin/dnssec-pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/named/Makefile
|
|
Tomas Hozza |
4fa997 |
bin/named/unix/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ bin/named-pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ bin/named-pkcs11/unix/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/nsupdate/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/pkcs11/Makefile
|
|
Tomas Hozza |
4fa997 |
bin/python/Makefile
|
|
Tomas Hozza |
4fa997 |
@@ -4548,6 +4557,10 @@ AC_CONFIG_FILES([
|
|
Tomas Hozza |
dce2d1 |
lib/dns/include/dns/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/dns/include/dst/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/dns/tests/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/dns-pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/dns-pkcs11/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/dns-pkcs11/include/dns/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/dns-pkcs11/include/dst/Makefile
|
|
Tomas Hozza |
4fa997 |
lib/irs/Makefile
|
|
Tomas Hozza |
4fa997 |
lib/irs/include/Makefile
|
|
Tomas Hozza |
4fa997 |
lib/irs/include/irs/Makefile
|
|
Tomas Hozza |
4fa997 |
@@ -4571,6 +4584,24 @@ AC_CONFIG_FILES([
|
|
Tomas Hozza |
dce2d1 |
lib/isc/unix/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/isc/unix/include/isc/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/isc/unix/include/pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/$arch/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/$arch/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/$arch/include/isc/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/$thread_dir/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/$thread_dir/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/$thread_dir/include/isc/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/include/isc/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/include/isc/platform.h
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/include/pk11/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/include/pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/tests/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/nls/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/unix/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/unix/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/unix/include/isc/Makefile
|
|
Tomas Hozza |
dce2d1 |
+ lib/isc-pkcs11/unix/include/pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/isccc/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/isccc/include/Makefile
|
|
Tomas Hozza |
dce2d1 |
lib/isccc/include/isccc/Makefile
|
|
Tomas Hozza |
dce2d1 |
diff --git a/lib/Makefile.in b/lib/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index 86302bd..318744f 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/lib/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/lib/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
@@ -23,7 +23,7 @@ top_srcdir = @top_srcdir@
|
|
Tomas Hozza |
dce2d1 |
# Attempt to disable parallel processing.
|
|
Tomas Hozza |
dce2d1 |
.NOTPARALLEL:
|
|
Tomas Hozza |
dce2d1 |
.NO_PARALLEL:
|
|
Tomas Hozza |
4fa997 |
-SUBDIRS = isc isccc dns isccfg bind9 lwres irs tests samples
|
|
Tomas Hozza |
4fa997 |
+SUBDIRS = isc isc-pkcs11 isccc dns dns-pkcs11 isccfg bind9 lwres irs tests samples
|
|
Tomas Hozza |
dce2d1 |
TARGETS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
@BIND9_MAKE_RULES@
|
|
Tomas Hozza |
dce2d1 |
diff --git a/lib/dns-pkcs11/Makefile.in b/lib/dns-pkcs11/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index 5f1ce56..830c0d5 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/lib/dns-pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/lib/dns-pkcs11/Makefile.in
|
|
Tomas Hozza |
4fa997 |
@@ -28,16 +28,16 @@ top_srcdir = @top_srcdir@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
USE_ISC_SPNEGO = @USE_ISC_SPNEGO@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
-CINCLUDES = -I. -I${top_srcdir}/lib/dns -Iinclude ${DNS_INCLUDES} \
|
|
Tomas Hozza |
4fa997 |
- ${ISC_INCLUDES} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
|
|
Tomas Hozza |
4fa997 |
+CINCLUDES = -I. -I${top_srcdir}/lib/dns-pkcs11 -Iinclude ${DNS_PKCS11_INCLUDES} \
|
|
Tomas Hozza |
4fa997 |
+ ${ISC_PKCS11_INCLUDES} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-CDEFINES = -DUSE_MD5 @CRYPTO@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
|
|
Tomas Hozza |
dce2d1 |
+CDEFINES = -DUSE_MD5 @CRYPTO_PK11@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
CWARNINGS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-ISCLIBS = ../../lib/isc/libisc.@A@
|
|
Tomas Hozza |
dce2d1 |
+ISCLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
Tomas Hozza |
dce2d1 |
+ISCDEPLIBS = ../../lib/isc-pkcs11/libisc-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
LIBS = @LIBS@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
@@ -134,7 +134,7 @@ version.@O@: version.c
|
|
Tomas Hozza |
4fa997 |
-DLIBAGE=${LIBAGE} \
|
|
Tomas Hozza |
4fa997 |
-c ${srcdir}/version.c
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-libdns.@SA@: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
+libdns-pkcs11.@SA@: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
${RANLIB} $@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
@@ -144,23 +144,23 @@ dynamic_db.@O@: dynamic_db.c
|
|
Michal Ruprich |
d886cd |
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
Michal Ruprich |
d886cd |
${RANLIB} $@
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
-libdns.la: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
+libdns-pkcs11.la: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_LINK} \
|
|
Tomas Hozza |
dce2d1 |
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
|
|
Tomas Hozza |
dce2d1 |
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns-pkcs11.la -rpath ${libdir} \
|
|
Tomas Hozza |
dce2d1 |
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
|
Tomas Hozza |
dce2d1 |
- ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
|
|
Tomas Hozza |
dce2d1 |
+ ${OBJS} ${ISCLIBS} @DNS_CRYPTO_PK11_LIBS@ ${LIBS}
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
-timestamp: libdns.@A@
|
|
Tomas Hozza |
dce2d1 |
+timestamp: libdns-pkcs11.@A@
|
|
Tomas Hozza |
dce2d1 |
touch timestamp
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
installdirs:
|
|
Tomas Hozza |
dce2d1 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
install:: timestamp installdirs
|
|
Tomas Hozza |
dce2d1 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns.@A@ ${DESTDIR}${libdir}
|
|
Tomas Hozza |
dce2d1 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns-pkcs11.@A@ ${DESTDIR}${libdir}
|
|
Michal Ruprich |
d886cd |
|
|
Tomas Hozza |
dce2d1 |
clean distclean::
|
|
Tomas Hozza |
dce2d1 |
- rm -f libdns.@A@ timestamp
|
|
Tomas Hozza |
dce2d1 |
+ rm -f libdns-pkcs11.@A@ timestamp
|
|
Tomas Hozza |
dce2d1 |
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
|
|
Tomas Hozza |
dce2d1 |
rm -f include/dns/rdatastruct.h
|
|
Michal Ruprich |
d886cd |
rm -f dnstap.pb-c.c dnstap.pb-c.h include/dns/dnstap.pb-c.h
|
|
Tomas Hozza |
4fa997 |
@@ -190,7 +190,7 @@ code.h: gen
|
|
Tomas Hozza |
dce2d1 |
./gen -s ${srcdir} > code.h
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
gen: gen.c
|
|
Tomas Hozza |
dce2d1 |
- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
|
|
Tomas Hozza |
dce2d1 |
+ ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc-pkcs11/include \
|
|
Tomas Hozza |
dce2d1 |
${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
4fa997 |
rbtdb64.@O@: rbtdb64.c rbtdb.c
|
|
Tomas Hozza |
dce2d1 |
diff --git a/lib/isc-pkcs11/Makefile.in b/lib/isc-pkcs11/Makefile.in
|
|
Tomas Hozza |
4fa997 |
index e0b2038..0f919a9 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/lib/isc-pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/lib/isc-pkcs11/Makefile.in
|
|
Tomas Hozza |
dce2d1 |
@@ -31,8 +31,8 @@ CINCLUDES = -I${srcdir}/unix/include \
|
|
Tomas Hozza |
dce2d1 |
-I${srcdir}/@ISC_THREAD_DIR@/include \
|
|
Tomas Hozza |
dce2d1 |
-I${srcdir}/@ISC_ARCH_DIR@/include \
|
|
Tomas Hozza |
dce2d1 |
-I./include \
|
|
Tomas Hozza |
dce2d1 |
- -I${srcdir}/include @ISC_OPENSSL_INC@ ${DNS_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
-CDEFINES = @CRYPTO@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
|
|
Tomas Hozza |
dce2d1 |
+ -I${srcdir}/include ${DNS_PKCS11_INCLUDES}
|
|
Tomas Hozza |
dce2d1 |
+CDEFINES = @CRYPTO_PK11@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
|
|
Tomas Hozza |
dce2d1 |
CWARNINGS =
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
# Alphabetically
|
|
Tomas Hozza |
dce2d1 |
@@ -111,35 +111,35 @@ version.@O@: version.c
|
|
Tomas Hozza |
dce2d1 |
-DLIBAGE=${LIBAGE} \
|
|
Tomas Hozza |
dce2d1 |
-c ${srcdir}/version.c
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-libisc.@SA@: ${OBJS} ${SYMTBLOBJS}
|
|
Tomas Hozza |
dce2d1 |
+libisc-pkcs11.@SA@: ${OBJS} ${SYMTBLOBJS}
|
|
Tomas Hozza |
dce2d1 |
${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS}
|
|
Tomas Hozza |
dce2d1 |
${RANLIB} $@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-libisc-nosymtbl.@SA@: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
+libisc-pkcs11-nosymtbl.@SA@: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
${RANLIB} $@
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-libisc.la: ${OBJS} ${SYMTBLOBJS}
|
|
Tomas Hozza |
dce2d1 |
+libisc-pkcs11.la: ${OBJS} ${SYMTBLOBJS}
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_LINK} \
|
|
Tomas Hozza |
dce2d1 |
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
|
|
Tomas Hozza |
dce2d1 |
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-pkcs11.la -rpath ${libdir} \
|
|
Tomas Hozza |
dce2d1 |
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
|
Tomas Hozza |
dce2d1 |
${OBJS} ${SYMTBLOBJS} ${LIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-libisc-nosymtbl.la: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
+libisc-pkcs11-nosymtbl.la: ${OBJS}
|
|
Tomas Hozza |
dce2d1 |
${LIBTOOL_MODE_LINK} \
|
|
Tomas Hozza |
dce2d1 |
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \
|
|
Tomas Hozza |
dce2d1 |
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-pkcs11-nosymtbl.la -rpath ${libdir} \
|
|
Tomas Hozza |
dce2d1 |
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
|
Tomas Hozza |
dce2d1 |
${OBJS} ${LIBS}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
-timestamp: libisc.@A@ libisc-nosymtbl.@A@
|
|
Tomas Hozza |
dce2d1 |
+timestamp: libisc-pkcs11.@A@ libisc-pkcs11-nosymtbl.@A@
|
|
Tomas Hozza |
dce2d1 |
touch timestamp
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
installdirs:
|
|
Tomas Hozza |
dce2d1 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
install:: timestamp installdirs
|
|
Tomas Hozza |
dce2d1 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc.@A@ ${DESTDIR}${libdir}
|
|
Tomas Hozza |
dce2d1 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc-pkcs11.@A@ ${DESTDIR}${libdir}
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
clean distclean::
|
|
Tomas Hozza |
dce2d1 |
- rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
|
|
Tomas Hozza |
dce2d1 |
- libisc-nosymtbl.la timestamp
|
|
Tomas Hozza |
dce2d1 |
+ rm -f libisc-pkcs11.@A@ libisc-pkcs11-nosymtbl.@A@ libisc-pkcs11.la \
|
|
Tomas Hozza |
dce2d1 |
+ libisc-pkcs11-nosymtbl.la timestamp
|
|
Tomas Hozza |
dce2d1 |
diff --git a/make/includes.in b/make/includes.in
|
|
Tomas Hozza |
4fa997 |
index 1d5e776..877dd38 100644
|
|
Tomas Hozza |
dce2d1 |
--- a/make/includes.in
|
|
Tomas Hozza |
dce2d1 |
+++ b/make/includes.in
|
|
Tomas Hozza |
4fa997 |
@@ -49,3 +49,13 @@ BIND9_INCLUDES = @BIND9_BIND9_BUILDINCLUDE@ \
|
|
Tomas Hozza |
dce2d1 |
|
|
Tomas Hozza |
dce2d1 |
TEST_INCLUDES = \
|
|
Tomas Hozza |
dce2d1 |
-I${top_srcdir}/lib/tests/include
|
|
Tomas Hozza |
dce2d1 |
+
|
|
Tomas Hozza |
dce2d1 |
+ISC_PKCS11_INCLUDES = @BIND9_ISC_BUILDINCLUDE@ \
|
|
Tomas Hozza |
dce2d1 |
+ -I${top_srcdir}/lib/isc-pkcs11 \
|
|
Tomas Hozza |
dce2d1 |
+ -I${top_srcdir}/lib/isc-pkcs11/include \
|
|
Tomas Hozza |
dce2d1 |
+ -I${top_srcdir}/lib/isc-pkcs11/unix/include \
|
|
Tomas Hozza |
dce2d1 |
+ -I${top_srcdir}/lib/isc-pkcs11/@ISC_THREAD_DIR@/include \
|
|
Tomas Hozza |
dce2d1 |
+ -I${top_srcdir}/lib/isc-pkcs11/@ISC_ARCH_DIR@/include
|
|
Tomas Hozza |
dce2d1 |
+
|
|
Tomas Hozza |
dce2d1 |
+DNS_PKCS11_INCLUDES = @BIND9_DNS_BUILDINCLUDE@ \
|
|
Tomas Hozza |
dce2d1 |
+ -I${top_srcdir}/lib/dns-pkcs11/include
|