diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2017-04-04 23:25:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-06 21:03:04 +0700 |
commit | 0f90074f917c41c9bf2c15ef84cdba8552dd4c95 (patch) | |
tree | 0c9bb4edc6b2480919fb619d9be8558ce4597539 /network/awstats | |
parent | b7f0eaac3bab123717101e106b9e000f441f3a24 (diff) |
network/awstats: Updated for version 7.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/awstats')
-rw-r--r-- | network/awstats/awstats.SlackBuild | 4 | ||||
-rw-r--r-- | network/awstats/awstats.info | 6 | ||||
-rw-r--r-- | network/awstats/patches/awstats.pl.patch | 8 | ||||
-rw-r--r-- | network/awstats/patches/awstats_configure.pl.patch | 13 | ||||
-rw-r--r-- | network/awstats/patches/httpd-awstats.conf.patch | 8 |
5 files changed, 18 insertions, 21 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild index e2b193dabc55..428254e1d107 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-2016, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2009-2017, 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.5} +VERSION=${VERSION:-7.6} # hardcode ARCH ARCH=noarch BUILD=${BUILD:-1} diff --git a/network/awstats/awstats.info b/network/awstats/awstats.info index edf6de5d1f1c..742f04091743 100644 --- a/network/awstats/awstats.info +++ b/network/awstats/awstats.info @@ -1,8 +1,8 @@ PRGNAM="awstats" -VERSION="7.5" +VERSION="7.6" HOMEPAGE="http://awstats.sourceforge.net/" -DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.5.tar.gz" -MD5SUM="1b11916a0a369a014abeb128289bf6b9" +DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.6.tar.gz" +MD5SUM="c69977f938be594b81fdb5e065846d31" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/network/awstats/patches/awstats.pl.patch b/network/awstats/patches/awstats.pl.patch index a749b988e22a..d7f058959b40 100644 --- a/network/awstats/patches/awstats.pl.patch +++ b/network/awstats/patches/awstats.pl.patch @@ -1,6 +1,6 @@ ---- wwwroot/cgi-bin/awstats.pl.orig 2016-07-21 17:42:26.196363651 +0700 -+++ wwwroot/cgi-bin/awstats.pl 2016-07-21 17:44:55.882578219 +0700 -@@ -2223,7 +2223,7 @@ +--- wwwroot/cgi-bin/awstats.pl.orig 2017-04-03 21:23:54.906211272 -0500 ++++ wwwroot/cgi-bin/awstats.pl 2017-04-03 21:26:34.551581204 -0500 +@@ -2234,7 +2234,7 @@ # Check lib files in common possible directories : # Windows and standard package: "$DIR/lib" (lib in same dir than awstats.pl) # Debian package: "/usr/share/awstats/lib" @@ -9,7 +9,7 @@ my %FilePath = (); my %DirAddedInINC = (); my @FileListToLoad = (); -@@ -3114,7 +3114,8 @@ +@@ -3130,7 +3130,8 @@ my @PossiblePluginsDir = ( "$DIR/plugins", "/usr/local/awstats/wwwroot/cgi-bin/plugins", diff --git a/network/awstats/patches/awstats_configure.pl.patch b/network/awstats/patches/awstats_configure.pl.patch index 20c4e127f79a..07836f2fde7e 100644 --- a/network/awstats/patches/awstats_configure.pl.patch +++ b/network/awstats/patches/awstats_configure.pl.patch @@ -1,6 +1,6 @@ ---- tools/awstats_configure.pl.orig 2016-05-13 15:17:18.396302299 -0500 -+++ tools/awstats_configure.pl 2016-05-13 16:09:13.880063387 -0500 -@@ -27,13 +27,13 @@ +--- tools/awstats_configure.pl.orig 2017-04-03 21:17:54.645112534 -0500 ++++ tools/awstats_configure.pl 2017-04-03 21:22:25.593441681 -0500 +@@ -27,11 +27,11 @@ $AWSTATS_MODEL_CONFIG $AWSTATS_DIRDATA_PATH /; @@ -15,10 +15,7 @@ +$AWSTATS_CLASSES_PATH='$AWSTATS_PATH/wwwroot/classes'; +$AWSTATS_CGI_PATH='$AWSTATS_PATH/wwwroot/cgi-bin'; $AWSTATS_MODEL_CONFIG='/etc/awstats/awstats.model.conf'; # Used only when configure ran on linux --$AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux -+$AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux - - + $AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux @@ -305,7 +305,7 @@ print "\n-----> Running OS detected: $OSLib{$OS}\n"; @@ -34,7 +31,7 @@ if ($WebServerChanged) { if ($OS eq 'linux') { - if (-f "/etc/debian_version") { -+ if (-f "/etc/slackware-version") { ++ if (-f "/etc/slackware-version") { + # We are on Slackware :) + my $command="/etc/rc.d/rc.httpd restart"; + print "\n-----> Restart Web server with '$command'\n"; diff --git a/network/awstats/patches/httpd-awstats.conf.patch b/network/awstats/patches/httpd-awstats.conf.patch index e555bda027ad..ce8fd512bac3 100644 --- a/network/awstats/patches/httpd-awstats.conf.patch +++ b/network/awstats/patches/httpd-awstats.conf.patch @@ -1,6 +1,6 @@ ---- tools/httpd_conf.orig 2016-07-21 17:38:42.889026388 +0700 -+++ tools/httpd_conf 2016-07-21 17:38:44.177011033 +0700 -@@ -12,18 +12,20 @@ +--- tools/httpd_conf.orig 2017-04-03 21:14:00.521107366 -0500 ++++ tools/httpd_conf 2017-04-03 21:16:07.783196402 -0500 +@@ -12,18 +12,19 @@ # Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Note that path "/usr/local/awstats/" must reflect your AWStats install path. # @@ -8,12 +8,12 @@ -Alias /awstatscss "/usr/local/awstats/wwwroot/css/" -Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/" -ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/" +- +Alias /awstatsclasses "@DOCROOT@/awstats/wwwroot/classes/" +Alias /awstatscss "@DOCROOT@/awstats/wwwroot/css/" +Alias /awstatsicons "@DOCROOT@/awstats/wwwroot/icon/" +ScriptAlias /awstats/ "@DOCROOT@/awstats/wwwroot/cgi-bin/" - # # This is to permit URL access to scripts/files in AWStats directory. # |