aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2013-06-05 17:02:10 +0800
committergirgen <girgen@FreeBSD.org>2013-06-05 17:02:10 +0800
commita2677ecbdb5e799333d14802b1f27cb014f0450f (patch)
treecb5cd15b48bf5323a5053ab7914b161304d7a40f /security
parent3b3b85a91a067488c442569bc31780ba8de04d8a (diff)
downloadfreebsd-ports-gnome-a2677ecbdb5e799333d14802b1f27cb014f0450f.tar.gz
freebsd-ports-gnome-a2677ecbdb5e799333d14802b1f27cb014f0450f.tar.zst
freebsd-ports-gnome-a2677ecbdb5e799333d14802b1f27cb014f0450f.zip
Don't remove /var/*/shibboleth with rm -rf, so we don't "pull out the carpet from underneath" a running shibd. Hence allow updating while the old shibd is still running.
Diffstat (limited to 'security')
-rw-r--r--security/shibboleth2-sp/Makefile1
-rw-r--r--security/shibboleth2-sp/pkg-plist4
2 files changed, 3 insertions, 2 deletions
diff --git a/security/shibboleth2-sp/Makefile b/security/shibboleth2-sp/Makefile
index c20e1b49b365..288043874884 100644
--- a/security/shibboleth2-sp/Makefile
+++ b/security/shibboleth2-sp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= shibboleth-sp
PORTVERSION= 2.5.1
+PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= http://shibboleth.net/downloads/service-provider/${PORTVERSION}/
diff --git a/security/shibboleth2-sp/pkg-plist b/security/shibboleth2-sp/pkg-plist
index 0e4b0dd03c27..828e019a912d 100644
--- a/security/shibboleth2-sp/pkg-plist
+++ b/security/shibboleth2-sp/pkg-plist
@@ -173,8 +173,8 @@ share/doc/shibboleth/main.css
@exec mkdir -p /var/run/shibboleth
@exec chown -R %%SHIBD_USER%%:%%WWWGRP%% /var/run/shibboleth
@exec chmod -R u=rwx,g=rx,o= /var/run/shibboleth
-@unexec rm -rf /var/cache/shibboleth 2>&1 >/dev/null || true
-@unexec rm -rf /var/run/shibboleth 2>&1 >/dev/null || true
+@dirrmtry /var/cache/shibboleth
+@dirrmtry /var/run/shibboleth
@dirrmtry share/doc/shibboleth/api
@dirrmtry share/doc/shibboleth
@dirrmtry lib/shibboleth