summaryrefslogtreecommitdiff
path: root/network/shibboleth-sp/shibboleth-sp.SlackBuild
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/shibboleth-sp.SlackBuild
parenteeb6e00501ebfe1d78b8dd7da810d86227b61256 (diff)
downloadslackbuilds-b86b213aaaa7eb1015ef86d574bc4ef43f968659.tar.gz
network/shibboleth-sp: Fix UID/GID.
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.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/shibboleth-sp/shibboleth-sp.SlackBuild b/network/shibboleth-sp/shibboleth-sp.SlackBuild
index 41b8197e79..bcb942a844 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