summaryrefslogtreecommitdiff
path: root/www/awstats
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-09-19 00:05:02 +0000
committerminskim <minskim@pkgsrc.org>2009-09-19 00:05:02 +0000
commit7903537c9e397aed2b101c216b384c6e0c1075de (patch)
tree8b85a838dbb4f1c93ffc54636f29e336dcf2a7f0 /www/awstats
parent582a204718bf65ccb5074d35c4479b13c9168455 (diff)
downloadpkgsrc-7903537c9e397aed2b101c216b384c6e0c1075de.tar.gz
Make awstats work with the recent version of p5-Geo-IPfree.
Patch from awstats-6.95beta.
Diffstat (limited to 'www/awstats')
-rw-r--r--www/awstats/Makefile4
-rw-r--r--www/awstats/distinfo3
-rw-r--r--www/awstats/patches/patch-ac16
3 files changed, 21 insertions, 2 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
index c581a96375b..3da6025c252 100644
--- a/www/awstats/Makefile
+++ b/www/awstats/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2009/01/15 12:12:04 adam Exp $
+# $NetBSD: Makefile,v 1.41 2009/09/19 00:05:02 minskim Exp $
DISTNAME= awstats-6.9
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=awstats/}
@@ -62,6 +63,7 @@ post-extract:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/*.pl ${DESTDIR}${PREFIX}/awstats/bin
+ ${FIND} ${WRKSRC}/wwwroot/cgi-bin -name \*.orig -exec ${RM} {} \;
${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/*.pl \
${DESTDIR}${PREFIX}/awstats/cgi-bin
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf \
diff --git a/www/awstats/distinfo b/www/awstats/distinfo
index 4682b97c592..c709fa8a3b4 100644
--- a/www/awstats/distinfo
+++ b/www/awstats/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.23 2009/01/15 12:12:04 adam Exp $
+$NetBSD: distinfo,v 1.24 2009/09/19 00:05:02 minskim Exp $
SHA1 (awstats-6.9.tar.gz) = 5ad8485eab04147b20adf5e8a7bdd5b6d3e2468b
RMD160 (awstats-6.9.tar.gz) = 339af2df9c44713d632b4d1ae3d733132f7b0bab
Size (awstats-6.9.tar.gz) = 1125906 bytes
SHA1 (patch-aa) = 1897d739b38b9c830f9af2211aa9fcb5e15a6795
SHA1 (patch-ab) = 9ae474058a1803c1132b36448c1a6987c58e8823
+SHA1 (patch-ac) = 88879e7bf0b69ebb65be698fbdc687a5b16ebe07
diff --git a/www/awstats/patches/patch-ac b/www/awstats/patches/patch-ac
new file mode 100644
index 00000000000..c2d225d376b
--- /dev/null
+++ b/www/awstats/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.3 2009/09/19 00:05:03 minskim Exp $
+
+CVS Revision 1.13
+Fix: awstats emits ton of warnings with new geoipfree - ID: 2794728
+
+--- wwwroot/cgi-bin/plugins/geoipfree.pm.orig 2008-11-15 08:03:42.000000000 -0800
++++ wwwroot/cgi-bin/plugins/geoipfree.pm
+@@ -51,7 +51,7 @@ sub Init_geoipfree {
+ # ENTER HERE CODE TO DO INIT PLUGIN ACTIONS
+ debug(" Plugin geoipfree: InitParams=$InitParams",1);
+ %TmpDomainLookup=();
+- $gi = Geo::IPfree::new();
++ $gi = Geo::IPfree->new();
+ # $gi->Faster; # Do not enable Faster as the Memoize module is rarely available
+ # ----->
+