summaryrefslogtreecommitdiff
path: root/network/shibboleth-sp/shibboleth-sp.SlackBuild
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2015-08-24 18:05:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-25 05:21:06 +0700
commit3f626b06c68002abde0f2615da4fc0e126dd6258 (patch)
tree03268beca50eb71339616ff0c4b8133f58e2c4a1 /network/shibboleth-sp/shibboleth-sp.SlackBuild
parentdc04a059952d7a6ada0d226b8cb2b86fc648df6b (diff)
downloadslackbuilds-3f626b06c68002abde0f2615da4fc0e126dd6258.tar.gz
network/shibboleth-sp: Updated for version 2.5.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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