pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/awstats Make awstats work with the recent version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8ce3067885a
branches:  trunk
changeset: 565218:a8ce3067885a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Sep 19 00:05:02 2009 +0000

description:
Make awstats work with the recent version of p5-Geo-IPfree.
Patch from awstats-6.95beta.

diffstat:

 www/awstats/Makefile         |   4 +++-
 www/awstats/distinfo         |   3 ++-
 www/awstats/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r d90645ad0993 -r a8ce3067885a www/awstats/Makefile
--- a/www/awstats/Makefile      Fri Sep 18 23:55:06 2009 +0000
+++ b/www/awstats/Makefile      Sat Sep 19 00:05:02 2009 +0000
@@ -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 @@
 
 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 -r d90645ad0993 -r a8ce3067885a www/awstats/distinfo
--- a/www/awstats/distinfo      Fri Sep 18 23:55:06 2009 +0000
+++ b/www/awstats/distinfo      Sat Sep 19 00:05:02 2009 +0000
@@ -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 -r d90645ad0993 -r a8ce3067885a www/awstats/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/awstats/patches/patch-ac      Sat Sep 19 00:05:02 2009 +0000
@@ -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
+       # ----->
+ 



Home | Main Index | Thread Index | Old Index