aboutsummaryrefslogtreecommitdiff
path: root/network/shibboleth-sp
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2015-08-30 08:03:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-30 08:03:48 +0700
commitb86b213aaaa7eb1015ef86d574bc4ef43f968659 (patch)
tree905735bc8f9ad4d2d9823e8d0096e0219c1c1022 /network/shibboleth-sp
parenteeb6e00501ebfe1d78b8dd7da810d86227b61256 (diff)
network/shibboleth-sp: Fix UID/GID.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/shibboleth-sp')
-rw-r--r--network/shibboleth-sp/README4
-rw-r--r--network/shibboleth-sp/shibboleth-sp.SlackBuild8
2 files changed, 5 insertions, 7 deletions
diff --git a/network/shibboleth-sp/README b/network/shibboleth-sp/README
index 3eae149df78f..d52fbb8bd08d 100644
--- a/network/shibboleth-sp/README
+++ b/network/shibboleth-sp/README
@@ -5,6 +5,4 @@ exchange of rich attributes subject to privacy controls.
This package contains the Shibboleth Service Provider runtime libraries,
daemon, default plugins, and Apache module.
-For some basic setup instructions, check the included 'README.SLACKWARE'
-file. Lots of information is available on the shibboleth wiki:
-https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPConfiguration
+For some basic setup instructions, check the included 'README.SLACKWARE'.
diff --git a/network/shibboleth-sp/shibboleth-sp.SlackBuild b/network/shibboleth-sp/shibboleth-sp.SlackBuild
index 41b8197e7991..bcb942a844c0 100644
--- a/network/shibboleth-sp/shibboleth-sp.SlackBuild
+++ b/network/shibboleth-sp/shibboleth-sp.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=shibboleth-sp
VERSION=${VERSION:-2.5.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,8 +58,8 @@ set -e
if [ "$(grep ^shibd /etc/passwd)" = "" -o "$(grep ^shibd /etc/group)" = "" ] ; then
printf "\nYou must have a shibd user and group.\n\nExample:\n"
- printf "\t# groupadd -g 267 shibd\n"
- printf "\t# useradd -d /var/run/shibboleth -s /bin/false -u 267 -g shibd shibd\n\n"
+ printf "\t# groupadd -g 312 shibd\n"
+ printf "\t# useradd -d /var/run/shibboleth -s /bin/false -u 312 -g shibd shibd\n\n"
exit 1
fi
@@ -97,7 +97,7 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.shibd > $PKG/etc/rc.d/rc.shibd.new
# Remove useless stuffs
-rm -f $PKG/etc/shibboleth/shibd-* $PKG/etc/shibboleth/*.dist
+rm -f $PKG/etc/shibboleth/shibd-* $PKG/etc/shibboleth/*.dist $PKG/etc/shibboleth/apache*.config
# Change configuration files to .new
find $PKG/etc/shibboleth/ -name *.html | while read cfg ; do mv $cfg $cfg.new ; done