mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
network/awstats: Updated for version 7.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b7f0eaac3b
commit
0f90074f91
5 changed files with 18 additions and 21 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Slackware Package Build Script for awstats
|
# Slackware Package Build Script for awstats
|
||||||
# Home Page http://awstats.sourceforge.net/
|
# 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>
|
# <nishant _AT_ mnspace _DOT_ net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
# Modified by the SlackBuilds.org project.
|
# Modified by the SlackBuilds.org project.
|
||||||
|
|
||||||
PRGNAM="awstats"
|
PRGNAM="awstats"
|
||||||
VERSION=${VERSION:-7.5}
|
VERSION=${VERSION:-7.6}
|
||||||
# hardcode ARCH
|
# hardcode ARCH
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="awstats"
|
PRGNAM="awstats"
|
||||||
VERSION="7.5"
|
VERSION="7.6"
|
||||||
HOMEPAGE="http://awstats.sourceforge.net/"
|
HOMEPAGE="http://awstats.sourceforge.net/"
|
||||||
DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.5.tar.gz"
|
DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.6.tar.gz"
|
||||||
MD5SUM="1b11916a0a369a014abeb128289bf6b9"
|
MD5SUM="c69977f938be594b81fdb5e065846d31"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- wwwroot/cgi-bin/awstats.pl.orig 2016-07-21 17:42:26.196363651 +0700
|
--- wwwroot/cgi-bin/awstats.pl.orig 2017-04-03 21:23:54.906211272 -0500
|
||||||
+++ wwwroot/cgi-bin/awstats.pl 2016-07-21 17:44:55.882578219 +0700
|
+++ wwwroot/cgi-bin/awstats.pl 2017-04-03 21:26:34.551581204 -0500
|
||||||
@@ -2223,7 +2223,7 @@
|
@@ -2234,7 +2234,7 @@
|
||||||
# Check lib files in common possible directories :
|
# Check lib files in common possible directories :
|
||||||
# Windows and standard package: "$DIR/lib" (lib in same dir than awstats.pl)
|
# Windows and standard package: "$DIR/lib" (lib in same dir than awstats.pl)
|
||||||
# Debian package: "/usr/share/awstats/lib"
|
# Debian package: "/usr/share/awstats/lib"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
my %FilePath = ();
|
my %FilePath = ();
|
||||||
my %DirAddedInINC = ();
|
my %DirAddedInINC = ();
|
||||||
my @FileListToLoad = ();
|
my @FileListToLoad = ();
|
||||||
@@ -3114,7 +3114,8 @@
|
@@ -3130,7 +3130,8 @@
|
||||||
my @PossiblePluginsDir = (
|
my @PossiblePluginsDir = (
|
||||||
"$DIR/plugins",
|
"$DIR/plugins",
|
||||||
"/usr/local/awstats/wwwroot/cgi-bin/plugins",
|
"/usr/local/awstats/wwwroot/cgi-bin/plugins",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- tools/awstats_configure.pl.orig 2016-05-13 15:17:18.396302299 -0500
|
--- tools/awstats_configure.pl.orig 2017-04-03 21:17:54.645112534 -0500
|
||||||
+++ tools/awstats_configure.pl 2016-05-13 16:09:13.880063387 -0500
|
+++ tools/awstats_configure.pl 2017-04-03 21:22:25.593441681 -0500
|
||||||
@@ -27,13 +27,13 @@
|
@@ -27,11 +27,11 @@
|
||||||
$AWSTATS_MODEL_CONFIG
|
$AWSTATS_MODEL_CONFIG
|
||||||
$AWSTATS_DIRDATA_PATH
|
$AWSTATS_DIRDATA_PATH
|
||||||
/;
|
/;
|
||||||
|
@ -15,10 +15,7 @@
|
||||||
+$AWSTATS_CLASSES_PATH='$AWSTATS_PATH/wwwroot/classes';
|
+$AWSTATS_CLASSES_PATH='$AWSTATS_PATH/wwwroot/classes';
|
||||||
+$AWSTATS_CGI_PATH='$AWSTATS_PATH/wwwroot/cgi-bin';
|
+$AWSTATS_CGI_PATH='$AWSTATS_PATH/wwwroot/cgi-bin';
|
||||||
$AWSTATS_MODEL_CONFIG='/etc/awstats/awstats.model.conf'; # Used only when configure ran on linux
|
$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 @@
|
@@ -305,7 +305,7 @@
|
||||||
print "\n-----> Running OS detected: $OSLib{$OS}\n";
|
print "\n-----> Running OS detected: $OSLib{$OS}\n";
|
||||||
|
@ -34,7 +31,7 @@
|
||||||
if ($WebServerChanged) {
|
if ($WebServerChanged) {
|
||||||
if ($OS eq 'linux') {
|
if ($OS eq 'linux') {
|
||||||
- if (-f "/etc/debian_version") {
|
- if (-f "/etc/debian_version") {
|
||||||
+ if (-f "/etc/slackware-version") {
|
+ if (-f "/etc/slackware-version") {
|
||||||
+ # We are on Slackware :)
|
+ # We are on Slackware :)
|
||||||
+ my $command="/etc/rc.d/rc.httpd restart";
|
+ my $command="/etc/rc.d/rc.httpd restart";
|
||||||
+ print "\n-----> Restart Web server with '$command'\n";
|
+ print "\n-----> Restart Web server with '$command'\n";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- tools/httpd_conf.orig 2016-07-21 17:38:42.889026388 +0700
|
--- tools/httpd_conf.orig 2017-04-03 21:14:00.521107366 -0500
|
||||||
+++ tools/httpd_conf 2016-07-21 17:38:44.177011033 +0700
|
+++ tools/httpd_conf 2017-04-03 21:16:07.783196402 -0500
|
||||||
@@ -12,18 +12,20 @@
|
@@ -12,18 +12,19 @@
|
||||||
# Directives to add to your Apache conf file to allow use of AWStats as a CGI.
|
# 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.
|
# Note that path "/usr/local/awstats/" must reflect your AWStats install path.
|
||||||
#
|
#
|
||||||
|
@ -8,12 +8,12 @@
|
||||||
-Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
|
-Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
|
||||||
-Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
|
-Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
|
||||||
-ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"
|
-ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"
|
||||||
|
-
|
||||||
+Alias /awstatsclasses "@DOCROOT@/awstats/wwwroot/classes/"
|
+Alias /awstatsclasses "@DOCROOT@/awstats/wwwroot/classes/"
|
||||||
+Alias /awstatscss "@DOCROOT@/awstats/wwwroot/css/"
|
+Alias /awstatscss "@DOCROOT@/awstats/wwwroot/css/"
|
||||||
+Alias /awstatsicons "@DOCROOT@/awstats/wwwroot/icon/"
|
+Alias /awstatsicons "@DOCROOT@/awstats/wwwroot/icon/"
|
||||||
+ScriptAlias /awstats/ "@DOCROOT@/awstats/wwwroot/cgi-bin/"
|
+ScriptAlias /awstats/ "@DOCROOT@/awstats/wwwroot/cgi-bin/"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is to permit URL access to scripts/files in AWStats directory.
|
# This is to permit URL access to scripts/files in AWStats directory.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue