X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=debian%2Fpatches%2F0006-Update-standards-version-to-3.8.3.patch;fp=debian%2Fpatches%2F0006-Update-standards-version-to-3.8.3.patch;h=cc8b490138595ef00c761b8bc649dcff79c94105;hb=454bd38a656b2e162d8db28d19d5348ac44df85f;hp=0000000000000000000000000000000000000000;hpb=9de376d5c19bc5764a23ebfd6053b209bd9ae1b8;p=shibboleth%2Fsp.git diff --git a/debian/patches/0006-Update-standards-version-to-3.8.3.patch b/debian/patches/0006-Update-standards-version-to-3.8.3.patch new file mode 100644 index 0000000..cc8b490 --- /dev/null +++ b/debian/patches/0006-Update-standards-version-to-3.8.3.patch @@ -0,0 +1,38 @@ +From 63ca64f50dd74e5454027fdb0a62535d5cd05ddc Mon Sep 17 00:00:00 2001 +From: Russ Allbery +Date: Fri, 21 Aug 2009 11:40:16 -0700 +Subject: Update standards version to 3.8.3 + +* Update standards version to 3.8.3. + - Create /var/run/shibboleth in the init script if it doesn't exist. +--- + configs/shibd-debian.in | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/configs/shibd-debian.in b/configs/shibd-debian.in +index 4c7894d..bcfd52b 100644 +--- a/configs/shibd-debian.in ++++ b/configs/shibd-debian.in +@@ -53,6 +53,9 @@ DAEMON_OPTS="$DAEMON_OPTS -w 30" + + case "$1" in + start) ++ # Ensure @-PKGRUNDIR-@ exists. /var/run may be on a tmpfs file system. ++ [ -d '@-PKGRUNDIR-@' ] || mkdir -p '@-PKGRUNDIR-@' ++ + # Don't start shibd if NO_START is set. + if [ "$NO_START" = 1 ] ; then + echo "Not starting $DESC (see /etc/default/$NAME)" +@@ -70,6 +73,9 @@ stop) + echo "$NAME." + ;; + restart|force-reload) ++ # Ensure @-PKGRUNDIR-@ exists. /var/run may be on a tmpfs file system. ++ [ -d '@-PKGRUNDIR-@' ] || mkdir -p '@-PKGRUNDIR-@' ++ + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --retry TERM/30/KILL/5 --exec $DAEMON +-- +1.7.1 +