diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2014-03-02 10:12:01 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-02 10:12:01 +0700 |
commit | e3fda8322ec4c98a0f64ffdd6d8f2f6824247236 (patch) | |
tree | f7738fa91bf6ade0489175b5f54df590eea1b7b7 /network/awstats/awstats.SlackBuild | |
parent | b6281035dd77670ed521c1c5ae81c6fc99519998 (diff) |
network/awstats: Updated for version 7.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/awstats/awstats.SlackBuild')
-rw-r--r-- | network/awstats/awstats.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild index 0b1e06b999490..63613e74cd8b5 100644 --- a/network/awstats/awstats.SlackBuild +++ b/network/awstats/awstats.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for awstats # Home Page http://awstats.sourceforge.net/ -# Copyright (c) 2009-2013, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2009-2014, Nishant Limbachia, Hoffman Estates, IL, USA # <nishant _AT_ mnspace _DOT_ net> # All rights reserved. # @@ -28,8 +28,9 @@ # Modified by the SlackBuilds.org project. PRGNAM="awstats" -VERSION=${VERSION:-7.2} -ARCH=noarch # hardcode ARCH +VERSION=${VERSION:-7.3} +# hardcode ARCH +ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,7 +44,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -eu +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -53,10 +54,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 {} \; # Patch httpd_conf file supplied by awstats to correct paths sed s:@DOCROOT@:$DOCROOT: $CWD/patches/httpd-awstats.conf.patch | patch -p0 |