summaryrefslogtreecommitdiff
path: root/network/awstats/patches/awstats_configure.pl.patch
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2013-11-07 23:56:46 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:40 -0600
commitbfaee0c4df297c18275250c13a9d1af34905bc22 (patch)
tree7a502fb57e5ebe12124fe8516d36fabc5e4c1cd8 /network/awstats/patches/awstats_configure.pl.patch
parent3759ff810432a320072f01de76295be605161108 (diff)
downloadslackbuilds-bfaee0c4df297c18275250c13a9d1af34905bc22.tar.gz
network/awstats: Updated for version 7.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/awstats/patches/awstats_configure.pl.patch')
-rw-r--r--network/awstats/patches/awstats_configure.pl.patch24
1 files changed, 5 insertions, 19 deletions
diff --git a/network/awstats/patches/awstats_configure.pl.patch b/network/awstats/patches/awstats_configure.pl.patch
index 2f1e51f5c3..3f8995ca5a 100644
--- a/network/awstats/patches/awstats_configure.pl.patch
+++ b/network/awstats/patches/awstats_configure.pl.patch
@@ -1,15 +1,6 @@
-By Nishant Limbachia <nishant@mnspace.net>
-
-Patch awstats_configure.pl file in case somebody runs it.
-Following things are patched:
-1. Use correct paths
-2. Stop awstats_configure.pl to get the current working directory
- on first run (use standard path instead)
-3. Added support to restart httpd server for Slackware
-
---- tools/awstats_configure.pl.orig 2009-01-27 13:23:05.000000000 -0600
-+++ tools/awstats_configure.pl 2009-01-27 13:36:46.000000000 -0600
-@@ -28,16 +28,14 @@
+--- tools/awstats_configure.pl.orig 2013-11-06 23:39:01.487947740 -0600
++++ tools/awstats_configure.pl 2013-11-07 07:17:47.975586091 -0600
+@@ -28,11 +28,11 @@
$AWSTATS_MODEL_CONFIG
$AWSTATS_DIRDATA_PATH
/;
@@ -26,12 +17,7 @@ Following things are patched:
$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
--
--
- #-------------------------------------------------------
- # Defines
- #-------------------------------------------------------
-@@ -306,7 +304,7 @@
+@@ -306,7 +306,7 @@
print "\n-----> Running OS detected: $OSLib{$OS}\n";
if ($OS eq 'linux') {
@@ -40,7 +26,7 @@ Following things are patched:
$AWSTATS_PATH=~s/tools[\\\/]?$//;
$AWSTATS_PATH=~s/[\\\/]$//;
if ($AWSTATS_PATH ne '/usr/local/awstats') {
-@@ -662,6 +660,12 @@
+@@ -660,6 +660,12 @@
print "\n-----> Restart Web server with '$command'\n";
my $ret=`$command`;
print "$ret";