aboutsummaryrefslogtreecommitdiff
path: root/network/awstats/awstats.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2016-07-21 16:19:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-21 22:30:28 +0700
commit0033396c224c11993d48a192f9180c212758e85e (patch)
tree8f5e71ad129892dad45e62e76b2d4d1acf2691f3 /network/awstats/awstats.SlackBuild
parent90b6b88ebe7b3549499bd89d846a5d90c63f4afb (diff)
network/awstats: Updated for version 7.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/awstats/awstats.SlackBuild')
-rw-r--r--network/awstats/awstats.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild
index c09e88d0ed639..e2b193dabc55c 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