summaryrefslogtreecommitdiff
path: root/www/awstats
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-05-30 04:33:12 +0000
committerminskim <minskim@pkgsrc.org>2006-05-30 04:33:12 +0000
commitb6cd93276a17202f3519fd1deaa9af2c8a7fa730 (patch)
treeddd5e55d2828ef6f3e3f62a732f453f19689094e /www/awstats
parentf07bf25d241538abd4a91574139ebd20aaf2fb44 (diff)
downloadpkgsrc-b6cd93276a17202f3519fd1deaa9af2c8a7fa730.tar.gz
Fix http://www.debian.org/security/2006/dsa-1075. Patch from Debian
GNU/Linux. Bump PKGREVISION.
Diffstat (limited to 'www/awstats')
-rw-r--r--www/awstats/Makefile3
-rw-r--r--www/awstats/distinfo3
-rw-r--r--www/awstats/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
index 3fe3bd96b12..2c035717b0a 100644
--- a/www/awstats/Makefile
+++ b/www/awstats/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2006/05/16 18:13:55 minskim Exp $
+# $NetBSD: Makefile,v 1.26 2006/05/30 04:33:12 minskim Exp $
#
DISTNAME= awstats-6.6
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://awstats.sourceforge.net/files/
diff --git a/www/awstats/distinfo b/www/awstats/distinfo
index 93b9d7149fb..a0cd317f16b 100644
--- a/www/awstats/distinfo
+++ b/www/awstats/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2006/05/16 18:13:55 minskim Exp $
+$NetBSD: distinfo,v 1.15 2006/05/30 04:33:12 minskim Exp $
SHA1 (awstats-6.6.tar.gz) = bc873ca91ee82905fdb37e83349e4007f1042c81
RMD160 (awstats-6.6.tar.gz) = 0b5e4e2ff718943065cdff81577ae9ca4f50a74d
Size (awstats-6.6.tar.gz) = 1059148 bytes
+SHA1 (patch-aa) = a083a82ba8b49c87fd4f4f1484d243625444fa2e
SHA1 (patch-ab) = e740af99580d2cb5d68e99ca4f8e08e71a46d9d9
diff --git a/www/awstats/patches/patch-aa b/www/awstats/patches/patch-aa
new file mode 100644
index 00000000000..76a79a3eb64
--- /dev/null
+++ b/www/awstats/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2006/05/30 04:33:12 minskim Exp $
+
+--- wwwroot/cgi-bin/awstats.pl.orig 2006-05-30 04:07:12.000000000 +0000
++++ wwwroot/cgi-bin/awstats.pl
+@@ -1131,7 +1131,7 @@ sub Read_Config {
+ my $configdir=shift;
+ my @PossibleConfigDir=();
+
+- if ($configdir)
++ if ($configdir && $ENV{"AWSTATS_ENABLE_CONFIG_DIR"})
+ {
+ # If from CGI, overwriting of configdir is only possible if AWSTATS_ENABLE_CONFIG_DIR defined
+ #if ($ENV{'GATEWAY_INTERFACE'} && ! $ENV{"AWSTATS_ENABLE_CONFIG_DIR"})