summaryrefslogtreecommitdiff
path: root/www/shibboleth-sp/files
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2015-10-23 07:35:07 +0000
committerpettai <pettai@pkgsrc.org>2015-10-23 07:35:07 +0000
commit6bd69f67feea2611b3d211a9b77a0197c776ce6f (patch)
tree0f06b6540ec55c2c834f5fdfc9a0c142566b6895 /www/shibboleth-sp/files
parent1bf9d671c5a391fed2eac1b646de84909c2f3c0a (diff)
downloadpkgsrc-6bd69f67feea2611b3d211a9b77a0197c776ce6f.tar.gz
Version 2.5.5
Bug: * [SSPCPP-656] - NameID insert logic appears wrong for ODBC Session store * [SSPCPP-657] - Update Windows libraries * [SSPCPP-663] - BOOST autoconf macros break with gcc5 * [SSPCPP-665] - Use of systemd breaks on reboot due to disappearance of /run/shibboleth Improvement: * [SSPCPP-654] - Move fork wait timeout from init script to sysconfig Task: * [SSPCPP-661] - Preparation of 2.5.5 release * [SSPCPP-662] - Set AllowSameVersionUpgrades to 'yes' Version 2.5.4 Bug: * [SSPCPP-612] - Old DiscoveryFeed cache files are not correctly removed * [SSPCPP-616] - SP does not build with C++11 * [SSPCPP-621] - log4shib. RemoteSyslogAppender doesn't work in debian. * [SSPCPP-623] - Attribute mapper interprets attribute name with leading/trailing whitespace * [SSPCPP-624] - Trailing whitespace in authnContextClassRef attribute parsed incorrectly * [SSPCPP-627] - SyslogAppender is not working on windows * [SSPCPP-646] - When triggered by file size limit, native.log does not rotate correctly and logs are missing Improvement: * [SSPCPP-618] - Add support for Amazon Linux 2014.3 via attached patch * [SSPCPP-629] - attribute-map.xml missing "uid" attribute (eduPerson) * [SSPCPP-645] - Adjust ownership of /var/cache/shibboleth in the init script of RPM-based Linux distributions * [SSPCPP-647] - consider not permitting RC4 on back channel queries Task: * [SSPCPP-644] - Release log4shib 1.0.9 * [SSPCPP-648] - Release process for 2.5.4 Version 2.5.3 Bug: * [SSPCPP-578] - Example Apache config uses require valid-user * [SSPCPP-580] - FastCGI programs use libxmltooling but don't link with it * [SSPCPP-584] - Limit on preserved POST data size is not enforced * [SSPCPP-585] - POST data replay in Firefox fails if data contains key "submit" * [SSPCPP-589] - Relative paths in Shibboleth XML catalogs are resolved against /usr/share/xml/opensaml * [SSPCPP-595] - postTemplat.html form submission bug * [SSPCPP-596] - Red Hat init script produces spurious restorecon warning at startup * [SSPCPP-603] - Directory Indexes don't work when using file-based basic auth (ShibCompatValidUser is On) Documentation: * [SSPCPP-591] - Errors partialLogout attribute not documented Improvement: * [SSPCPP-598] - Dynamic metadata provider in SP should avoid unmarshalling non-EntityDescriptor results * [SSPCPP-605] - Rephrase error log lines for AuthnFailed responses Task: * [SSPCPP-609] - Release of 2.5.3
Diffstat (limited to 'www/shibboleth-sp/files')
-rw-r--r--www/shibboleth-sp/files/shibd.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/www/shibboleth-sp/files/shibd.sh b/www/shibboleth-sp/files/shibd.sh
index fb615d2666c..1569636b6a5 100644
--- a/www/shibboleth-sp/files/shibd.sh
+++ b/www/shibboleth-sp/files/shibd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: shibd.sh,v 1.1.1.1 2011/03/15 13:15:37 pettai Exp $
+# $NetBSD: shibd.sh,v 1.2 2015/10/23 07:35:07 pettai Exp $
#
# PROVIDE: shibd
# REQUIRE: DAEMON
@@ -13,7 +13,18 @@ name="shibd"
rcvar=$name
command="@PREFIX@/sbin/shibd"
pidfile="/var/run/shibboleth/shibd.pid"
-command_args=""
+start_precmd="shibd_precmd"
+command_args="-p $pidfile"
+
+shibd_precmd()
+{
+ if [ ! -d /var/run/shibboleth ]; then
+ mkdir -p -m 755 /var/run/shibboleth
+ fi
+ if [ -f /var/run/shibboleth/shibd.sock ]; then
+ rm -f /var/run/shibboleth/shibd.sock
+ fi
+}
if [ -f /etc/rc.subr ]; then
load_rc_config $name