summaryrefslogtreecommitdiff
path: root/network/mod_ruid2/mod_ruid2.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-02-05 00:36:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-07 15:21:09 +0700
commitd14d03504bde6e48708e2135893007ac81c4a124 (patch)
tree0844c5eaff213e18d41b10a4f44e4b541339977a /network/mod_ruid2/mod_ruid2.SlackBuild
parentca3169cfe46fa504034ca9b2cd4a5292cc6b4687 (diff)
downloadslackbuilds-d14d03504bde6e48708e2135893007ac81c4a124.tar.gz
network/mod_ruid2: Updated for version 0.9.8 + enhancements
Diffstat (limited to 'network/mod_ruid2/mod_ruid2.SlackBuild')
-rw-r--r--network/mod_ruid2/mod_ruid2.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/network/mod_ruid2/mod_ruid2.SlackBuild b/network/mod_ruid2/mod_ruid2.SlackBuild
index 6fdc7ef2ad..af9df3ff7b 100644
--- a/network/mod_ruid2/mod_ruid2.SlackBuild
+++ b/network/mod_ruid2/mod_ruid2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mod_ruid2
-# Copyright 2012, mario <mario@slackverse.org>
+# Copyright 2012, 2015 Mario Preksavec, Zagreb, HR
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,7 +11,7 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mod_ruid2
-VERSION=${VERSION:-0.9.7}
+VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 {} \;
# Create dirs
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules $PKG/etc/httpd/extra
@@ -78,7 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \
apxs -l cap -c mod_ruid2.c
# Copy into place, and strip
-install --mode=755 --strip .libs/mod_ruid2.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules
+install --mode=755 --strip .libs/mod_ruid2.so \
+ $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules
# Install a sample mod_ruid2.conf file
sed -e "s#modules/#lib${LIBDIRSUFFIX}/httpd/modules/#" ruid2.conf \
@@ -86,7 +87,7 @@ sed -e "s#modules/#lib${LIBDIRSUFFIX}/httpd/modules/#" ruid2.conf \
# Documentiation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install