Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2013 09:02:10 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319964 - head/security/shibboleth2-sp
Message-ID:  <201306050902.r5592AGl013136@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: girgen
Date: Wed Jun  5 09:02:10 2013
New Revision: 319964
URL: http://svnweb.freebsd.org/changeset/ports/319964

Log:
  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.

Modified:
  head/security/shibboleth2-sp/Makefile
  head/security/shibboleth2-sp/pkg-plist

Modified: head/security/shibboleth2-sp/Makefile
==============================================================================
--- head/security/shibboleth2-sp/Makefile	Wed Jun  5 08:59:14 2013	(r319963)
+++ head/security/shibboleth2-sp/Makefile	Wed Jun  5 09:02:10 2013	(r319964)
@@ -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}/
 

Modified: head/security/shibboleth2-sp/pkg-plist
==============================================================================
--- head/security/shibboleth2-sp/pkg-plist	Wed Jun  5 08:59:14 2013	(r319963)
+++ head/security/shibboleth2-sp/pkg-plist	Wed Jun  5 09:02:10 2013	(r319964)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306050902.r5592AGl013136>