[Pkg-awstats-commits] [SCM] awstats Debian packaging branch, master, updated. debian/6.9.dfsg-1-118-g77b64ed

Sergey B Kirpichev skirpichev at gmail.com
Thu May 21 09:36:20 UTC 2009


The following commit has been merged in the master branch:
commit 77b64edaf0fb1b39b9c67f597dc340bafa9ab793
Author: Sergey B Kirpichev <skirpichev at gmail.com>
Date:   Thu May 21 13:26:01 2009 +0400

    Modify default path to awstats.pl in tools/

diff --git a/debian/patches/2001_awstatsprog_path.patch b/debian/patches/2001_awstatsprog_path.patch
new file mode 100644
index 0000000..1050dbf
--- /dev/null
+++ b/debian/patches/2001_awstatsprog_path.patch
@@ -0,0 +1,18 @@
+Description: Modify default path to awstats.pl in tools/
+Author: Sergey B Kirpichev <skirpichev at gmail.com>
+
+Index: awstats/tools/awstats_buildstaticpages.pl
+===================================================================
+--- awstats.orig/tools/awstats_buildstaticpages.pl	2009-05-06 14:04:30.000000000 +0400
++++ awstats/tools/awstats_buildstaticpages.pl	2009-05-06 14:05:12.000000000 +0400
+@@ -302,8 +302,8 @@
+ # Check if AWSTATS prog is found
+ my $AwstatsFound=0;
+ if (-s "$Awstats") { $AwstatsFound=1; }
+-elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") {
+-	$Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl";
++elsif (-s "/usr/lib/cgi-bin/awstats.pl") {
++	$Awstats="/usr/lib/cgi-bin/awstats.pl";
+ 	$AwstatsFound=1;
+ }
+ if (! $AwstatsFound) {
diff --git a/debian/patches/series b/debian/patches/series
index b40493f..672582a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@
 1012_ipv6_strip_trailing_dot.patch
 1013_yahoo_search.patch
 1014_websec_robot.patch
+2001_awstatsprog_path.patch

-- 
awstats Debian packaging



More information about the Pkg-awstats-commits mailing list