diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-07-29 11:48:13 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-07-29 11:48:13 +0000 |
commit | 6bc683c576b8216cf1672f2d884b704737d09af8 (patch) | |
tree | d3830e08b1a46036b1920a9110dabe6ffa5779a9 | |
parent | 025241172332721bc5745fa27c0b2b783a49cfb7 (diff) | |
download | midipix_build-6bc683c576b8216cf1672f2d884b704737d09af8.tar.bz2 midipix_build-6bc683c576b8216cf1672f2d884b704737d09af8.tar.xz |
vars/build.vars: updates bind to v9.13.2 (via Redfoxmoon.)
patches/bind-9.13.2.local.patch: via Redfoxmoon.
-rw-r--r-- | patches/bind-9.11.2.local.patch | 379 | ||||
-rw-r--r-- | patches/bind-9.13.2.local.patch | 142 | ||||
-rw-r--r-- | vars/build.vars | 6 |
3 files changed, 145 insertions, 382 deletions
diff --git a/patches/bind-9.11.2.local.patch b/patches/bind-9.11.2.local.patch deleted file mode 100644 index 51883611..00000000 --- a/patches/bind-9.11.2.local.patch +++ /dev/null @@ -1,379 +0,0 @@ -diff -ru bind-9.11.2.orig/bin/check/Makefile.in bind-9.11.2/bin/check/Makefile.in ---- bind-9.11.2.orig/bin/check/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/check/Makefile.in 2017-09-13 16:09:24.589543862 +0200 -@@ -20,7 +20,7 @@ - CDEFINES = @CRYPTO@ -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\" - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ -@@ -31,8 +31,8 @@ - ISCDEPLIBS = ../../lib/isc/libisc.@A@ - BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@ - --LIBS = ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.2.orig/bin/confgen/Makefile.in bind-9.11.2/bin/confgen/Makefile.in ---- bind-9.11.2.orig/bin/confgen/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/confgen/Makefile.in 2017-09-13 16:10:26.857177684 +0200 -@@ -24,7 +24,7 @@ - ISCCCLIBS = ../../lib/isccc/libisccc.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - - ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ -@@ -36,9 +36,9 @@ - RNDCLIBS = ${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@ - RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - --NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@ -+NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - CONFDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - -diff -ru bind-9.11.2.orig/bin/delv/Makefile.in bind-9.11.2/bin/delv/Makefile.in ---- bind-9.11.2.orig/bin/delv/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/delv/Makefile.in 2017-09-13 16:11:30.200805972 +0200 -@@ -20,7 +20,7 @@ - CWARNINGS = - - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - IRSLIBS = ../../lib/irs/libirs.@A@ -@@ -32,8 +32,8 @@ - - DEPLIBS = ${DNSDEPLIBS} ${IRSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.2.orig/bin/dig/Makefile.in bind-9.11.2/bin/dig/Makefile.in ---- bind-9.11.2.orig/bin/dig/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/dig/Makefile.in 2017-09-13 16:12:11.496564031 +0200 -@@ -22,7 +22,7 @@ - CWARNINGS = - - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ -@@ -38,10 +38,10 @@ - ${ISCCFGDEPLIBS} ${LWRESDEPLIBS} - - LIBS = ${LWRESLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \ -- ${ISCLIBS} @IDNLIBS@ @LIBS@ -+ ${ISCLIBS} @DNS_CRYPTO_LIBS@ @IDNLIBS@ @LIBS@ - - NOSYMLIBS = ${LWRESLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \ -- ${ISCNOSYMLIBS} @IDNLIBS@ @LIBS@ -+ ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @IDNLIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.2.orig/bin/dnssec/Makefile.in bind-9.11.2/bin/dnssec/Makefile.in ---- bind-9.11.2.orig/bin/dnssec/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/dnssec/Makefile.in 2017-09-13 16:12:31.476447075 +0200 -@@ -20,7 +20,7 @@ - @CRYPTO@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\" - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ - -@@ -29,9 +29,9 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - --NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@ -+NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - # Alphabetically - TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \ -diff -ru bind-9.11.2.orig/bin/Makefile.in bind-9.11.2/bin/Makefile.in ---- bind-9.11.2.orig/bin/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/Makefile.in 2017-09-13 16:13:03.324260771 +0200 -@@ -10,7 +10,7 @@ - VPATH = @srcdir@ - top_srcdir = @top_srcdir@ - --SUBDIRS = named rndc dig delv dnssec tools tests nsupdate \ -+SUBDIRS = named rndc dig delv dnssec tools nsupdate \ - check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ - TARGETS = - -diff -ru bind-9.11.2.orig/bin/named/Makefile.in bind-9.11.2/bin/named/Makefile.in ---- bind-9.11.2.orig/bin/named/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/named/Makefile.in 2017-09-13 16:13:34.788076866 +0200 -@@ -44,7 +44,7 @@ - - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ - ISCCCLIBS = ../../lib/isccc/libisccc.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ -@@ -64,11 +64,11 @@ - - LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \ - ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \ -- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@ -+ ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \ - ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \ -- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@ -+ ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = unix - -diff -ru bind-9.11.2.orig/bin/nsupdate/Makefile.in bind-9.11.2/bin/nsupdate/Makefile.in ---- bind-9.11.2.orig/bin/nsupdate/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/nsupdate/Makefile.in 2017-09-13 16:14:07.755884315 +0200 -@@ -26,7 +26,7 @@ - CWARNINGS = - - LWRESLIBS = ../../lib/lwres/liblwres.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ -@@ -40,9 +40,9 @@ - - DEPLIBS = ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS} - --LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - --NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@ -+NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.2.orig/bin/rndc/Makefile.in bind-9.11.2/bin/rndc/Makefile.in ---- bind-9.11.2.orig/bin/rndc/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/rndc/Makefile.in 2017-09-13 16:14:38.291706093 +0200 -@@ -24,7 +24,7 @@ - ISCCCLIBS = ../../lib/isccc/libisccc.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - - ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ -@@ -33,8 +33,8 @@ - DNSDEPLIBS = ../../lib/dns/libdns.@A@ - BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@ - --LIBS = ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} - -diff -ru bind-9.11.2.orig/bin/tools/Makefile.in bind-9.11.2/bin/tools/Makefile.in ---- bind-9.11.2.orig/bin/tools/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/bin/tools/Makefile.in 2017-09-13 16:15:59.075235122 +0200 -@@ -19,9 +19,9 @@ - CDEFINES = @CRYPTO@ -DVERSION=\"${VERSION}\" - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ --ISCLIBS = ../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@ -+ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ - LWRESLIBS = ../../lib/lwres/liblwres.@A@ -@@ -32,8 +32,8 @@ - ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ - LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@ - --LIBS = ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.2.orig/configure.in bind-9.11.2/configure.in ---- bind-9.11.2.orig/configure.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/configure.in 2017-09-13 16:21:26.765330737 +0200 -@@ -2335,9 +2335,9 @@ - esac - ;; - *) -- if test -f "$use_libxml2/bin/xml2-config" ; then -- libxml2_libs=`$use_libxml2/bin/xml2-config --libs` -- libxml2_cflags=`$use_libxml2/bin/xml2-config --cflags` -+ if test -f "$use_libxml2" ; then -+ libxml2_libs=`$use_libxml2 --libs` -+ libxml2_cflags=`$use_libxml2 --cflags` - fi - ;; - esac -diff -ru bind-9.11.2.orig/lib/irs/Makefile.in bind-9.11.2/lib/irs/Makefile.in ---- bind-9.11.2.orig/lib/irs/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/irs/Makefile.in 2017-09-13 16:17:32.502691292 +0200 -@@ -35,7 +35,7 @@ - gai_strerror.c getaddrinfo.c getnameinfo.c \ - resconf.c - --LIBS = @LIBS@ -+LIBS = @LIBS@ -L../isc -lisc -L../dns -ldns -L../isccfg -lisccfg - - SUBDIRS = include - TESTDIRS = @UNITTESTS@ -diff -ru bind-9.11.2.orig/lib/isc/Makefile.in bind-9.11.2/lib/isc/Makefile.in ---- bind-9.11.2.orig/lib/isc/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/isc/Makefile.in 2017-09-13 16:25:11.723950416 +0200 -@@ -108,26 +108,16 @@ - ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS} - ${RANLIB} $@ - --libisc-nosymtbl.@SA@: ${OBJS} -- ${AR} ${ARFLAGS} $@ ${OBJS} -- ${RANLIB} $@ -- - libisc.la: ${OBJS} ${SYMTBLOBJS} - ${LIBTOOL_MODE_LINK} \ - ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \ - -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ - ${OBJS} ${SYMTBLOBJS} ${LIBS} - --libisc-nosymtbl.la: ${OBJS} -- ${LIBTOOL_MODE_LINK} \ -- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \ -- -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ -- ${OBJS} ${LIBS} -- --timestamp: libisc.@A@ libisc-nosymtbl.@A@ -+timestamp: libisc.@A@ - touch timestamp - --testdirs: libisc.@A@ libisc-nosymtbl.@A@ -+testdirs: libisc.@A@ - - installdirs: - $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir} -@@ -139,5 +129,4 @@ - ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisc.@A@ - - clean distclean:: -- rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \ -- libisc-nosymtbl.la timestamp -+ rm -f libisc.@A@ libisc.la timestamp -diff -ru bind-9.11.2.orig/lib/Makefile.in bind-9.11.2/lib/Makefile.in ---- bind-9.11.2.orig/lib/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/Makefile.in 2017-09-13 16:19:00.166181699 +0200 -@@ -14,7 +14,7 @@ - # Attempt to disable parallel processing. - .NOTPARALLEL: - .NO_PARALLEL: --SUBDIRS = isc isccc dns isccfg bind9 lwres irs tests samples -+SUBDIRS = isc isccc dns isccfg bind9 lwres irs samples - TARGETS = - - @BIND9_MAKE_RULES@ -diff -ru bind-9.11.2.orig/lib/samples/Makefile.in bind-9.11.2/lib/samples/Makefile.in ---- bind-9.11.2.orig/lib/samples/Makefile.in 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/samples/Makefile.in 2017-09-13 16:19:36.149972702 +0200 -@@ -22,7 +22,7 @@ - CWARNINGS = - - ISCLIBS = ../isc/libisc.@A@ --DNSLIBS = ../dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../dns/libdns.@A@ - ISCCFGLIBS = ../isccfg/libisccfg.@A@ - IRSLIBS = ../irs/libirs.@A@ - -@@ -33,7 +33,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.2.orig/lib/dns/openssldh_link.c bind-9.11.2/lib/dns/openssldh_link.c ---- bind-9.11.2.orig/lib/dns/openssldh_link.c 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/dns/openssldh_link.c 2018-04-03 22:59:19.495540759 +0200 -@@ -68,7 +68,7 @@ - - static BIGNUM *bn2, *bn768, *bn1024, *bn1536; - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - /* - * DH_get0_key, DH_set0_key, DH_get0_pqg and DH_set0_pqg - * are from OpenSSL 1.1.0. -diff -ru bind-9.11.2.orig/lib/dns/openssldsa_link.c bind-9.11.2/lib/dns/openssldsa_link.c ---- bind-9.11.2.orig/lib/dns/openssldsa_link.c 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/dns/openssldsa_link.c 2018-04-03 22:57:53.448001297 +0200 -@@ -48,7 +48,7 @@ - - static isc_result_t openssldsa_todns(const dst_key_t *key, isc_buffer_t *data); - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - static void - DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, - const BIGNUM **g) -diff -ru bind-9.11.2.orig/lib/dns/opensslecdsa_link.c bind-9.11.2/lib/dns/opensslecdsa_link.c ---- bind-9.11.2.orig/lib/dns/opensslecdsa_link.c 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/dns/opensslecdsa_link.c 2018-04-03 23:04:46.094300264 +0200 -@@ -41,7 +41,7 @@ - - #define DST_RET(a) {ret = a; goto err;} - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - /* From OpenSSL 1.1 */ - static void - ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) { -diff -ru bind-9.11.2.orig/lib/dns/opensslrsa_link.c bind-9.11.2/lib/dns/opensslrsa_link.c ---- bind-9.11.2.orig/lib/dns/opensslrsa_link.c 2017-07-24 07:36:50.000000000 +0200 -+++ bind-9.11.2/lib/dns/opensslrsa_link.c 2018-04-03 22:58:49.591700657 +0200 -@@ -120,7 +120,7 @@ - #endif - #define DST_RET(a) {ret = a; goto err;} - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - /* From OpenSSL 1.1.0 */ - static int - RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) { - diff --git a/patches/bind-9.13.2.local.patch b/patches/bind-9.13.2.local.patch new file mode 100644 index 00000000..0ff17c8b --- /dev/null +++ b/patches/bind-9.13.2.local.patch @@ -0,0 +1,142 @@ +diff -ru bind-9.13.2.orig/bin/delv/Makefile.in bind-9.13.2/bin/delv/Makefile.in +--- bind-9.13.2.orig/bin/delv/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/bin/delv/Makefile.in 2018-07-28 13:57:22.338491119 +0200 +@@ -56,7 +56,7 @@ + + delv@EXEEXT@: delv.@O@ ${DEPLIBS} + export BASEOBJS="delv.@O@"; \ +- export LIBS0="${DNSLIBS}"; \ ++ export LIBS0="${IRSLIBS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS}"; \ + ${FINALBUILDCMD} + + installdirs: +diff -ru bind-9.13.2.orig/bin/Makefile.in bind-9.13.2/bin/Makefile.in +--- bind-9.13.2.orig/bin/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/bin/Makefile.in 2018-07-28 14:02:26.358862803 +0200 +@@ -12,7 +12,7 @@ + top_srcdir = @top_srcdir@ + + SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \ +- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests ++ @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ + TARGETS = + + @BIND9_MAKE_RULES@ +diff -ru bind-9.13.2.orig/bin/named/Makefile.in bind-9.13.2/bin/named/Makefile.in +--- bind-9.13.2.orig/bin/named/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/bin/named/Makefile.in 2018-07-28 13:51:14.468398709 +0200 +@@ -67,11 +67,11 @@ + BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@ + NSDEPLIBS = ../../lib/ns/libns.@A@ + +-DEPLIBS = ${NSDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \ +- ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS} ++DEPLIBS = ${NSDEPLIBS} ${BIND9DEPLIBS} \ ++ ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} + + LIBS = ${NSLIBS} ${DNSLIBS} ${BIND9LIBS} \ +- ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \ ++ ${ISCCFGLIBS} ${ISCCCLIBS} ${DNSLIBS} ${ISCLIBS} \ + ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBCAP_LIBS@ \ + @LIBS@ + +@@ -141,7 +141,7 @@ + + named@EXEEXT@: ${OBJS} ${DEPLIBS} + export MAKE_SYMTABLE="yes"; \ +- export BASEOBJS="${OBJS} ${UOBJS}"; \ ++ export BASEOBJS="${OBJS} ${UOBJS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS}"; \ + ${FINALBUILDCMD} + + doc man:: ${MANOBJS} +diff -ru bind-9.13.2.orig/lib/bind9/Makefile.in bind-9.13.2/lib/bind9/Makefile.in +--- bind-9.13.2.orig/lib/bind9/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/lib/bind9/Makefile.in 2018-07-27 23:07:51.683466013 +0200 +@@ -61,7 +61,7 @@ + ${LIBTOOL_MODE_LINK} \ + ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libbind9.la -rpath ${libdir} \ + -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ +- ${OBJS} ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ \ ++ ${OBJS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ \ + ${LIBS} + + timestamp: libbind9.@A@ +diff -ru bind-9.13.2.orig/lib/irs/Makefile.in bind-9.13.2/lib/irs/Makefile.in +--- bind-9.13.2.orig/lib/irs/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/lib/irs/Makefile.in 2018-07-27 23:41:03.454823333 +0200 +@@ -36,6 +36,14 @@ + gai_strerror.c getaddrinfo.c getnameinfo.c \ + resconf.c + ++ISCLIBS = ../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@ ++ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ ++DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ ++ ++ISCDEPLIBS = ../../lib/isc/libisc.@A@ ++ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ ++DNSDEPLIBS = ../../lib/dns/libdns.@A@ ++ + LIBS = @LIBS@ + + SUBDIRS = include +@@ -60,7 +68,7 @@ + ${LIBTOOL_MODE_LINK} \ + ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libirs.la -rpath ${libdir} \ + -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ +- ${OBJS} version.@O@ ${LIBS} ++ ${OBJS} version.@O@ ${LIBS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS} + + timestamp: libirs.@A@ + touch timestamp +diff -ru bind-9.13.2.orig/lib/isc/Makefile.in bind-9.13.2/lib/isc/Makefile.in +--- bind-9.13.2.orig/lib/isc/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/lib/isc/Makefile.in 2018-07-27 22:11:27.820001533 +0200 +@@ -109,26 +109,16 @@ + ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS} + ${RANLIB} $@ + +-libisc-nosymtbl.@SA@: ${OBJS} +- ${AR} ${ARFLAGS} $@ ${OBJS} +- ${RANLIB} $@ +- + libisc.la: ${OBJS} ${SYMTBLOBJS} + ${LIBTOOL_MODE_LINK} \ + ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \ + -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ + ${OBJS} ${SYMTBLOBJS} ${LIBS} + +-libisc-nosymtbl.la: ${OBJS} +- ${LIBTOOL_MODE_LINK} \ +- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \ +- -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ +- ${OBJS} ${LIBS} +- +-timestamp: libisc.@A@ libisc-nosymtbl.@A@ ++timestamp: libisc.@A@ + touch timestamp + +-testdirs: libisc.@A@ libisc-nosymtbl.@A@ ++testdirs: libisc.@A@ + + installdirs: + $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir} +@@ -140,5 +130,5 @@ + ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisc.@A@ + + clean distclean:: +- rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \ +- libisc-nosymtbl.la timestamp ++ rm -f libisc.@A@ libisc.la \ ++ timestamp +diff -ru bind-9.13.2.orig/lib/ns/Makefile.in bind-9.13.2/lib/ns/Makefile.in +--- bind-9.13.2.orig/lib/ns/Makefile.in 2018-07-03 09:51:40.000000000 +0200 ++++ bind-9.13.2/lib/ns/Makefile.in 2018-07-27 23:50:52.641259810 +0200 +@@ -75,7 +75,7 @@ + ${LIBTOOL_MODE_LINK} \ + ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libns.la -rpath ${libdir} \ + -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ +- ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS} ++ ${OBJS} ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS} + + timestamp: libns.@A@ + touch timestamp diff --git a/vars/build.vars b/vars/build.vars index a82f2b51..12612ac4 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1236,10 +1236,10 @@ mailutils mtr mutt nginx openlitespeed openssh pacman rsync socat thttpd weechat : ${PKG_ARIA2_VERSION:=1.32.0}; : ${PKG_ARIA2_URL:=https://github.com/aria2/aria2/releases/download/release-${PKG_ARIA2_VERSION}/aria2-${PKG_ARIA2_VERSION}.tar.xz}; : ${PKG_ARIA2_DISABLED:=1}; -: ${PKG_BIND_SHA256SUM:=7f46ad8620f7c3b0ac375d7a5211b15677708fda84ce25d7aeb7222fe2e3c77a}; -: ${PKG_BIND_VERSION:=9.11.2}; +: ${PKG_BIND_SHA256SUM:=6c044e9ea81add9dbbd2f5dfc224964cc6b6e364e43a8d6d8b574d9282651802}; +: ${PKG_BIND_VERSION:=9.13.2}; : ${PKG_BIND_URL:=https://ftp.isc.org/isc/bind/${PKG_BIND_VERSION}/bind-${PKG_BIND_VERSION}.tar.gz}; -: ${PKG_BIND_CONFIGURE_ARGS_EXTRA:="--with-ecdsa=yes --with-gost=no --with-gssapi=no --with-libtool --with-libxml2=${PREFIX}/bin/${DEFAULT_TARGET}-xml2-config --with-libjson=no --with-openssl=${PREFIX_NATIVE} --with-randomdev=/dev/urandom BUILD_CC=gcc"}; +: ${PKG_BIND_CONFIGURE_ARGS_EXTRA:="--with-libtool --disable-backtrace --with-eddsa=no --with-ecdsa=yes --with-gssapi=no --with-libxml2=no --with-libjson=no --with-openssl=${PREFIX_NATIVE} BUILD_CC=gcc"}; : ${PKG_BIND_MAKEFLAGS_BUILD:=-j1}; : ${PKG_DROPBEAR_VERSION:=2017.75}; : ${PKG_DROPBEAR_URL:=https://matt.ucc.asn.au/dropbear/releases/dropbear-${PKG_DROPBEAR_VERSION}.tar.bz2}; |