dlz: do not build for Bind 9.8 or 9.9
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 24 Apr 2021 03:25:25 +0000 (15:25 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 17 May 2021 21:39:38 +0000 (21:39 +0000)
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 <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
WHATSNEW.txt
source4/dns_server/wscript_build

index 013f5b6eb3505997636d414f5c270d65b79f7737..1e407da422e93d975d39a27dcda21ef69ab2c55f 100644 (file)
@@ -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
 ================
index 73df367d8234b81fe4396575460e875d9ad3fcd4..ce786f635ae2dfee7e4088045dbeb66c6cb7d17f 100644 (file)
@@ -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',