mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
03036442de
It seems nothing has changed since 9.16 for our purposes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14986 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Signed-off-by: Andreas Hasenack <andreas@canonical.com> Pair-programmed-with: Andreas Hasenack <andreas@canonical.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org> Autobuild-Date(master): Mon May 23 00:53:09 UTC 2022 on sn-devel-184
99 lines
4.3 KiB
Python
99 lines
4.3 KiB
Python
#!/usr/bin/env python
|
|
|
|
# dnsserver_common is enabled without the ad-dc to prevent imports from failing
|
|
# when samba-tool is called where the ad-dc was not built. The server-side dns
|
|
# code is used in the client when we do direct LDAP modification of DNS records.
|
|
bld.SAMBA_LIBRARY('dnsserver_common',
|
|
source='dnsserver_common.c',
|
|
deps='samba-util samba-errors ldbsamba clidns',
|
|
private_library=True
|
|
)
|
|
|
|
bld.SAMBA_MODULE('service_dns',
|
|
source='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
|
|
subsystem='service',
|
|
init_function='server_service_dns_init',
|
|
deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
|
|
local_include=False,
|
|
internal_module=False,
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
# a bind9 dlz module giving access to the Samba DNS SAM
|
|
bld.SAMBA_LIBRARY('dlz_bind9_10',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_10',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9_10.so',
|
|
realname='dlz_bind9_10.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_11',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_11',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9_11.so',
|
|
realname='dlz_bind9_11.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_12',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_12',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9_12.so',
|
|
realname='dlz_bind9_12.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_14',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_14',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9_14.so',
|
|
realname='dlz_bind9_14.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_16',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_16',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9_16.so',
|
|
realname='dlz_bind9_16.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_18',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_18',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9_18.so',
|
|
realname='dlz_bind9_18.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_for_torture',
|
|
source='dlz_bind9.c',
|
|
cflags='-DBIND_VERSION_9_16',
|
|
private_library=True,
|
|
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED())
|
|
|
|
pyldb_util = bld.pyembed_libname('pyldb-util')
|
|
pyrpc_util = bld.pyembed_libname('pyrpc_util')
|
|
pytalloc_util = bld.pyembed_libname('pytalloc-util')
|
|
|
|
bld.SAMBA_PYTHON('python_dsdb_dns',
|
|
source='pydns.c',
|
|
deps='samdb %s %s dnsserver_common %s' % (
|
|
pyldb_util, pyrpc_util, pytalloc_util),
|
|
realname='samba/dsdb_dns.so')
|