[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, master, updated. debian/2.1.dfsg1-2-23-g93afff8
Russ Allbery
rra at debian.org
Fri Aug 21 18:57:18 UTC 2009
The following commit has been merged in the master branch:
commit 93afff80f26d440c48a8d438379c1b84e424e286
Author: Russ Allbery <rra at debian.org>
Date: Fri Aug 21 11:56:50 2009 -0700
Don't include /var/run/shibboleth in the package and clean up on remove
- Don't ship /var/run/shibboleth in the package.
- Remove /var/run/shibboleth in postrm if it exists.
diff --git a/debian/changelog b/debian/changelog
index 41c70c3..ac23b51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,8 @@ shibboleth-sp2 (2.2.1+dfsg-1) UNRELEASED; urgency=low
TestShib web pages.
* Update standards version to 3.8.3.
- Create /var/run/shibboleth in the init script if it doesn't exist.
+ - Don't ship /var/run/shibboleth in the package.
+ - Remove /var/run/shibboleth in postrm if it exists.
-- Russ Allbery <rra at debian.org> Fri, 24 Jul 2009 15:29:01 -0700
diff --git a/debian/libapache2-mod-shib2.postrm b/debian/libapache2-mod-shib2.postrm
new file mode 100755
index 0000000..d039399
--- /dev/null
+++ b/debian/libapache2-mod-shib2.postrm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = purge ] || [ "$1" = remove ] ; then
+ rm -rf /var/run/shibboleth
+fi
diff --git a/debian/rules b/debian/rules
index f9392e0..b1fb7a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -85,6 +85,7 @@ install-stamp:
dh_clean -k
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
rm -r $(CURDIR)/debian/tmp/usr/share/doc/shibboleth
+ rm -r $(CURDIR)/debian/tmp/var/run
rm $(CURDIR)/debian/tmp/etc/shibboleth/*.dist
rm $(CURDIR)/debian/tmp/etc/shibboleth/*.config
rm $(CURDIR)/debian/tmp/etc/shibboleth/shibd-osx.plist
--
Debian packaging for the 2.0 Apache Shibboleth SP
More information about the Pkg-shibboleth-devel
mailing list