aboutsummaryrefslogtreecommitdiff
path: root/network/mod_fcgid/mod_fcgid.SlackBuild
diff options
context:
space:
mode:
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 cbd38e5da41f..260b02ac0ca0 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