[shibboleth-sp2] 04/11: We ship the systemd service file only when it's usable

Ferenc Wágner wferi at moszumanska.debian.org
Thu Aug 11 12:48:27 UTC 2016


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

wferi pushed a commit to branch debian/master
in repository shibboleth-sp2.

commit 81f57c30e7828d286479b8872bde97eec917b42a
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Mon Jun 20 14:04:27 2016 +0200

    We ship the systemd service file only when it's usable
---
 debian/rules | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index d53bba7..2c0d28e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,9 @@ else
 endif
 
 ifneq ($(wildcard /usr/include/systemd/sd-daemon.h),)
-enable-systemd=--enable-systemd
+    enable-systemd = --enable-systemd
+else
+    remove-service = shibd-systemd
 endif
 
 # Download the upstream source and do the repackaging that we have to do for
@@ -46,7 +48,8 @@ override_dh_auto_install:
 	    rm CREDITS.txt LICENSE.txt NOTICE.txt README.txt RELEASE.txt \
 	       FASTCGI.LICENSE OPENSSL.LICENSE LOG4CPP.LICENSE
 	cd debian/tmp/etc/shibboleth && \
-	    rm *.dist *.config shibd-amazon shibd-osx.plist shibd-redhat shibd-suse
+	    rm *.dist *.config shibd-amazon shibd-osx.plist shibd-redhat shibd-suse \
+	       $(remove-service)
 	mkdir -p debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/shibsp
 	mv debian/tmp/usr/include/shibsp/paths.h \
 	    debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/shibsp/

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



More information about the Pkg-shibboleth-devel mailing list