summaryrefslogtreecommitdiffstats
path: root/network/shibboleth-sp/shibboleth-sp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/shibboleth-sp/shibboleth-sp.SlackBuild')
-rw-r--r--network/shibboleth-sp/shibboleth-sp.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/network/shibboleth-sp/shibboleth-sp.SlackBuild b/network/shibboleth-sp/shibboleth-sp.SlackBuild
index d78d3e27b7..41b8197e79 100644
--- a/network/shibboleth-sp/shibboleth-sp.SlackBuild
+++ b/network/shibboleth-sp/shibboleth-sp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Shibboleth Service Provider.
-# Copyright 2013 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2013-2015 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=shibboleth-sp
-VERSION=${VERSION:-2.5.2}
+VERSION=${VERSION:-2.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +71,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -89,13 +89,12 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/etc/httpd/extra
-sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_shib.conf > \
- $PKG/etc/httpd/extra/mod_shib.conf.new
+install -m 644 configs/apache24.config $PKG/etc/httpd/extra/mod_shib.conf.new
chown shibd:shibd $PKG/var/cache/shibboleth $PKG/var/log/shibboleth/ $PKG/var/run/shibboleth
mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.shibboleth > $PKG/etc/rc.d/rc.shibboleth.new
+cat $CWD/rc.shibd > $PKG/etc/rc.d/rc.shibd.new
# Remove useless stuffs
rm -f $PKG/etc/shibboleth/shibd-* $PKG/etc/shibboleth/*.dist