From: Douglas Bagnall Date: Sat, 24 Apr 2021 03:25:25 +0000 (+1200) Subject: dlz: do not build for Bind 9.8 or 9.9 X-Git-Tag: tevent-0.11.0~868 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3103d948f6b94872326d8b7e88fe328fed910eae;p=thirdparty%2Fsamba.git dlz: do not build for Bind 9.8 or 9.9 If we drop support for versions before Bind 9.10 (which itself went EOL in 2018) we can get rid of a whole lot of ifdefs for old API versions that no-one should be using. This patch stops the build, the next one clears out the ifdefs. Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 013f5b6eb35..1e407da422e 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -49,6 +49,8 @@ supported release of Tru64 UNIX was in 2012. NIS support has been removed from this release. This is not available in Linux distributions anymore. +The DLZ DNS plugin is no longer built for Bind versions 9.8 and 9.9, +which have been out of support since 2018. smb.conf changes ================ diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build index 73df367d823..ce786f635ae 100644 --- a/source4/dns_server/wscript_build +++ b/source4/dns_server/wscript_build @@ -18,26 +18,6 @@ bld.SAMBA_MODULE('service_dns', ) # a bind9 dlz module giving access to the Samba DNS SAM -bld.SAMBA_LIBRARY('dlz_bind9', - source='dlz_bind9.c', - cflags='-DBIND_VERSION_9_8', - private_library=True, - link_name='modules/bind9/dlz_bind9.so', - realname='dlz_bind9.so', - install_path='${MODULESDIR}/bind9', - deps='samba-hostconfig samdb-common gensec popt dnsserver_common', - enabled=bld.AD_DC_BUILD_IS_ENABLED()) - -bld.SAMBA_LIBRARY('dlz_bind9_9', - source='dlz_bind9.c', - cflags='-DBIND_VERSION_9_9', - private_library=True, - link_name='modules/bind9/dlz_bind9_9.so', - realname='dlz_bind9_9.so', - install_path='${MODULESDIR}/bind9', - deps='samba-hostconfig samdb-common gensec popt dnsserver_common', - enabled=bld.AD_DC_BUILD_IS_ENABLED()) - bld.SAMBA_LIBRARY('dlz_bind9_10', source='dlz_bind9.c', cflags='-DBIND_VERSION_9_10',