[cpp-sp] 05/12: We ship the systemd service file only when it's usable
Scott Cantor
cantor.2 at osu.edu
Thu Dec 20 19:48:23 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/2.5.6+dfsg1-2
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=81f57c30e7828d286479b8872bde97eec917b42a
commit 81f57c30e7828d286479b8872bde97eec917b42a
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: 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/
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list