Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2010 19:58:27 +0100 (CET)
From:      olli hauer <ohauer@FreeBSD.org>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        ohauer@gmx.de
Subject:   ports/153053: [patch] port net/p5-Geo-IPfree update to version 1.102870 (14 Oct 2010)
Message-ID:  <20101212185827.C25942054F@u18-124.dslaccess.de>
Resent-Message-ID: <201012121900.oBCJ0J0b056700@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153053
>Category:       ports
>Synopsis:       [patch] port net/p5-Geo-IPfree update to version 1.102870 (14 Oct 2010)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 19:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer <ohauer@FreeBSD.org>
>Release:        
>Organization:
>Environment:


>Description:
 - update p5-Geo-IPfree to version 1.102870
 - connect to license framework
 - install scripts from misc to DATADIR

Revision history for Perl extension Geo::IPfree.
1.102870 Thu 14 Oct 2010
    - Updated database: Thu Oct 14 06:40:01 2010 UTC.

1.101650 Mon 14 Jun 2010
    - Minor code and test cleanup
    - Updated database: Mon Jun 14 06:40:01 2010 UTC.

The scrips which can be found in WRKSRC/misc are handy to
convert the database. For example the port security/base
can use the converted plain ASCII iplist.


>How-To-Repeat:
>Fix:


--- patch_p5-Geo-IPfree.txt begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/p5-Geo-IPfree/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	16 Feb 2010 13:25:00 -0000	1.11
+++ Makefile	12 Dec 2010 18:44:27 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Geo-IPfree
-PORTVERSION=	1.100470
+PORTVERSION=	1.102870
 CATEGORIES=	net perl5 geography
 MASTER_SITES=	CPAN/../../authors/id/B/BR/BRICAS
 PKGNAMEPREFIX=	p5-
@@ -17,8 +17,21 @@
 BUILD_DEPENDS=	p5-Memoize>=0:${PORTSDIR}/devel/p5-Memoize
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
 PERL_CONFIGURE=	yes
 
 MAN3=		Geo::IPfree.3
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
+		${WRKSRC}/misc/ipct2txt.pl \
+		${WRKSRC}/misc/txt2ipct.pl
+
+post-install:
+	@${MKDIR} ${DATADIR}
+	@${INSTALL_SCRIPT} ${WRKSRC}/misc/ipct2txt.pl ${DATADIR}
+	@${INSTALL_SCRIPT} ${WRKSRC}/misc/txt2ipct.pl ${DATADIR}
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/p5-Geo-IPfree/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo	16 Feb 2010 13:25:00 -0000	1.10
+++ distinfo	12 Dec 2010 18:44:27 -0000
@@ -1,3 +1,2 @@
-MD5 (Geo-IPfree-1.100470.tar.gz) = ff45b7bf42db2e22f7564aa8d66f4497
-SHA256 (Geo-IPfree-1.100470.tar.gz) = f6059f5f82aff1050fc599564b78154e74927aebef071ad7dd044bd1d2b92e95
-SIZE (Geo-IPfree-1.100470.tar.gz) = 423219
+SHA256 (Geo-IPfree-1.102870.tar.gz) = fa400fa4c156b6915ab79c4207b620e7a4ed74747e4ca0dc7e1e3891ab716ee7
+SIZE (Geo-IPfree-1.102870.tar.gz) = 443616
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net/p5-Geo-IPfree/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	26 Nov 2008 10:39:52 -0000	1.3
+++ pkg-plist	12 Dec 2010 18:44:27 -0000
@@ -1,6 +1,9 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree/.packlist
 %%SITE_PERL%%/Geo/IPfree.pm
 %%SITE_PERL%%/Geo/ipscountry.dat
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree/.packlist
+%%DATADIR%%/ipct2txt.pl
+%%DATADIR%%/txt2ipct.pl
+@dirrm %%DATADIR%%
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo
 @dirrmtry %%SITE_PERL%%/Geo
--- patch_p5-Geo-IPfree.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101212185827.C25942054F>