From 4f5791ebd03eaec1c7da0865a383175b05102712 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:47:29 +0200 Subject: Adding upstream version 2:4.17.12+dfsg. Signed-off-by: Daniel Baumann --- packaging/wscript_build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packaging/wscript_build (limited to 'packaging/wscript_build') diff --git a/packaging/wscript_build b/packaging/wscript_build new file mode 100644 index 0000000..217bd99 --- /dev/null +++ b/packaging/wscript_build @@ -0,0 +1,22 @@ +#!/usr/bin/env python + +systemd_services = [ + 'systemd/smb.service', + 'systemd/nmb.service', + 'systemd/winbind.service', + 'systemd/samba.service' +] + +for srv in systemd_services: + bld.CONFIGURE_FILE(srv) + if bld.env.systemd_install_services: + bld.INSTALL_FILES(bld.env.SYSTEMDDIR, srv, flat=True) + +if bld.env.with_ctdb: + srv = 'systemd/ctdb.service' + bld.CONFIGURE_FILE(srv) + if bld.env.systemd_install_services: + bld.INSTALL_FILES(bld.env.SYSTEMDDIR, srv, flat=True) + +if bld.env.systemd_install_services: + bld.INSTALL_FILES('${SYSCONFDIR}/sysconfig', 'systemd/samba.sysconfig', destname='samba') -- cgit v1.2.3