[Pkg-samba-maint] [samba] 01/01: Ensure systemd dependencies are correct

Mathieu Parent sathieu at moszumanska.debian.org
Sat May 14 04:35:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch experimental
in repository samba.

commit a69973002bbf36738acd6a9e48ce5090e7b92612
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Sat May 14 06:33:36 2016 +0200

    Ensure systemd dependencies are correct
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0786f27..9b13673 100755
--- a/debian/rules
+++ b/debian/rules
@@ -183,7 +183,12 @@ override_dh_install:
 	mv $(DESTDIR)/lib/systemd/system/nmb.service $(DESTDIR)/lib/systemd/system/nmbd.service
 	mv $(DESTDIR)/lib/systemd/system/smb.service $(DESTDIR)/lib/systemd/system/smbd.service
 	mv $(DESTDIR)/lib/systemd/system/samba.service $(DESTDIR)/lib/systemd/system/samba-ad-dc.service
-	sed -i 's|/etc/sysconfig/|/etc/default/|' $(DESTDIR)/lib/systemd/system/*.service
+	sed -i \
+	  -e 's|/etc/sysconfig/|/etc/default/|' \
+	  -e 's|/nmb\.service|nmbd.service|' \
+	  -e 's|/smb\.service|smbd.service|' \
+	  -e 's|/samba\.service|samba-ad-dc.service|' \
+	  $(DESTDIR)/lib/systemd/system/*.service
 	mkdir -p $(DESTDIR)/usr/lib/tmpfiles.d
 	echo "d /run/samba 0755 root root -" > $(DESTDIR)/usr/lib/tmpfiles.d/samba.conf
 	#install -m 0644 packaging/systemd/samba.sysconfig $(DESTDIR)/etc/default/samba

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list