Newer
Older
diff -uar a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,7 +40,6 @@
python-markdown
readline
rpcsvc-proto
- systemd
talloc
tdb
tevent
@@ -89,8 +88,7 @@
--with-ldap \
--with-winbind \
--with-acl-support \
- --with-systemd \
- --systemd-install-services \
+ --without-systemd \
--with-pam \
--with-pammodulesdir=/usr/lib/security \
--bundled-libraries=!tdb,!talloc,!pytalloc-util,!tevent,!popt,!ldb,!pyldb-util \
- # packaging/wscript_build to use /etc/conf.d
- sed -i -e '/^EnvironmentFile/ s/sysconfig/conf.d/' "${pkgdir}"/usr/lib/systemd/system/*.service
- install -m644 "${srcdir}"/samba-${pkgver}/packaging/systemd/samba.sysconfig "${pkgdir}"/etc/conf.d/samba
+ install -m644 "${srcdir}"/../samba.sysconfig "${pkgdir}"/etc/conf.d/samba
# create ephemeral dirs via tmpfiles rather than shipping them in package
install -D -m644 "${srcdir}"/samba.conf "${pkgdir}"/usr/lib/tmpfiles.d/samba.conf