diff --git a/bind-9.11-rh1410433.patch b/bind-9.11-rh1410433.patch new file mode 100644 index 0000000..b7fdc48 --- /dev/null +++ b/bind-9.11-rh1410433.patch @@ -0,0 +1,14 @@ +diff --git a/lib/dns/dyndb.c b/lib/dns/dyndb.c +index 0ce5e42..556d920 100644 +--- a/lib/dns/dyndb.c ++++ b/lib/dns/dyndb.c +@@ -130,9 +130,6 @@ load_library(isc_mem_t *mctx, const char *filename, const char *instname, + instname, filename); + + flags = RTLD_NOW|RTLD_LOCAL; +-#ifdef RTLD_DEEPBIND +- flags |= RTLD_DEEPBIND; +-#endif + + handle = dlopen(filename, flags); + if (handle == NULL) diff --git a/bind.spec b/bind.spec index bcea3bb..5d88c03 100644 --- a/bind.spec +++ b/bind.spec @@ -25,7 +25,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.11.0 -Release: 5%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} +Release: 6%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,6 +81,7 @@ Patch136:bind-9.10-dist-native-pkcs11.patch Patch137:bind-9.10-use-of-strlcat.patch Patch138:bind-9.10-openssl-1.1.patch Patch139:bind-9.11-docbook-xsl.patch +Patch140:bind-9.11-rh1410433.patch # SDB patches Patch11: bind-9.3.2b2-sdbsrc.patch @@ -319,7 +320,8 @@ This package provides a module which allows commands to be sent to rndc directly %patch130 -p1 -b .libdb %patch131 -p1 -b .multlib-conflict %patch138 -p1 -b .rh1390238 -%patch139 -p1 -b docbook-xsl +%patch139 -p1 -b .rh1397186 +%patch140 -p1 -b .rh1410433 %if %{PKCS11} cp -r bin/named{,-pkcs11} @@ -1020,6 +1022,9 @@ rm -rf ${RPM_BUILD_ROOT} %{python3_sitelib}/isc/__pycache__/*py* %changelog +* Wed Jan 18 2017 Petr Menšík - 32:9.11.0-6.P2 +- RTLD_DEEPBIND conflicts with pkcs11 libraries, skip it for dyndb (#1410433) + * Mon Jan 16 2017 Petr Menšík - 32:9.11.0-5.P2 - Fix manual pages generated by recent docbook-style-xsl (#1397186)