network/mod_fcgid: Fixed VERSION + copyright year + cleanup

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marcel Saegebarth 2015-01-30 14:48:57 +01:00 committed by Willy Sudiarto Raharjo
parent a0ff5a7aff
commit c62cf22716
1 changed files with 6 additions and 6 deletions

View File

@ -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