summaryrefslogtreecommitdiff
path: root/network/mod_fcgid/mod_fcgid.SlackBuild
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-01-30 14:48:57 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-31 06:56:29 +0700
commitc62cf22716f2723c899e5e996e5f146993dcd372 (patch)
treeee8640995f496d88760bef7da18ae69453d1422c /network/mod_fcgid/mod_fcgid.SlackBuild
parenta0ff5a7aff941826fb9b66ed50284251a4dcc026 (diff)
downloadslackbuilds-c62cf22716f2723c899e5e996e5f146993dcd372.tar.gz
network/mod_fcgid: Fixed VERSION + copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mod_fcgid/mod_fcgid.SlackBuild')
-rw-r--r--network/mod_fcgid/mod_fcgid.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/mod_fcgid/mod_fcgid.SlackBuild b/network/mod_fcgid/mod_fcgid.SlackBuild
index cbd38e5da4..260b02ac0c 100644
--- a/network/mod_fcgid/mod_fcgid.SlackBuild
+++ b/network/mod_fcgid/mod_fcgid.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# SlackBuild script for "mod_fcgid".
+# Slackware build script for "mod_fcgid".
-# Copyright 2009-2013 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2009-2015 Marcel Saegebarth <marc@mos6581.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,8 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mod_fcgid
-VERSION=2.3.9
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.3.9}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +69,7 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -77,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install exp_manualdir=/var/www/htdocs/manual DESTDIR=$PKG
-find $PKG | xargs file | grep -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/etc/httpd