summaryrefslogtreecommitdiff
path: root/www/awstats/patches
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/patches
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/patches')
-rw-r--r--www/awstats/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
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"})