diff options
Diffstat (limited to 'network/awstats/awstats.SlackBuild')
-rw-r--r-- | network/awstats/awstats.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild index c09e88d0ed63..e2b193dabc55 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-2014, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2009-2016, Nishant Limbachia, Hoffman Estates, IL, USA # <nishant _AT_ mnspace _DOT_ net> # All rights reserved. # @@ -28,7 +28,7 @@ # Modified by the SlackBuilds.org project. PRGNAM="awstats" -VERSION=${VERSION:-7.4} +VERSION=${VERSION:-7.5} # hardcode ARCH ARCH=noarch BUILD=${BUILD:-1} @@ -57,21 +57,20 @@ 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 {} \; - -# https://sourceforge.net/p/awstats/bugs/943/ -patch -p1 < $CWD/patches/fixup-warnings-in-perl-522.patch + -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 # Patch awstats_configure.pl file -- see patch header for details sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats_configure.pl.patch | patch -p0 +# patch awstats.pl +sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats.pl.patch | patch -p0 mkdir -p $PKG/$DOCROOT/awstats $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/etc/awstats $PKG/etc/httpd/extra mkdir -m 0770 -p $PKG/var/lib/awstats -cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md docs/* $PKG/usr/doc/$PRGNAM-$VERSION cp -a tools/nginx/awstats-fcgi.php \ tools/nginx/awstats-nginx.conf $PKG/usr/doc/$PRGNAM-$VERSION cp -a tools/*.pl wwwroot $PKG/$DOCROOT/awstats |