ports/95568: [PATCH] net/p5-IP-Country: update to 2.21
Yen-Ming Lee
leeym at FreeBSD.org
Mon Apr 10 06:20:20 UTC 2006
>Number: 95568
>Category: ports
>Synopsis: [PATCH] net/p5-IP-Country: update to 2.21
>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: Mon Apr 10 06:20:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Apr 6 08:42:41 CST
>Description:
- Update to 2.21
- Unbreak under old perl
- Refine pkg-descr
Port maintainer (dikshie at lapi.itb.ac.id) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-IP-Country-2.21.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/p5-IP-Country/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile 25 Jun 2005 11:50:19 -0000 1.1
+++ Makefile 10 Apr 2006 06:19:14 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= IP-Country
-PORTVERSION= 2.20
+PORTVERSION= 2.21
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/N/NW/NWETTERS
@@ -28,4 +28,12 @@
IP::Country::Slow.3 \
IP::Country.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${REINPLACE_CMD} -e '/warnings/d'
+ ${FIND} ${WRKSRC} -name "*.pm.bak" -delete
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/p5-IP-Country/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo 22 Jan 2006 21:23:24 -0000 1.2
+++ distinfo 10 Apr 2006 06:19:14 -0000
@@ -1,3 +1,3 @@
-MD5 (IP-Country-2.20.tar.gz) = 33a0fbda30e4572bcdf4c1d24d6b49cc
-SHA256 (IP-Country-2.20.tar.gz) = 4984b45f032b3741d2df27b671fd129bad8db67dd4125817547735009f4aa656
-SIZE (IP-Country-2.20.tar.gz) = 148526
+MD5 (IP-Country-2.21.tar.gz) = 2b58799987271920e7360348a76a195c
+SHA256 (IP-Country-2.21.tar.gz) = 5fe7b386bc038ce2c2d1fda91e961f78559b67a357840a8473fe42fb9d06eaf1
+SIZE (IP-Country-2.21.tar.gz) = 162827
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/net/p5-IP-Country/pkg-descr,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-descr
--- pkg-descr 20 Feb 2006 20:50:09 -0000 1.3
+++ pkg-descr 10 Apr 2006 06:19:14 -0000
@@ -1,14 +1,14 @@
-Finding the home country of a client using only the IP address can be
-difficult. Looking up the domain name associated with that address can
-provide some help, but many IP address are not reverse mapped to any
-useful domain, and the most common domain (.com) offers no help when
+Finding the home country of a client using only the IP address can be
+difficult. Looking up the domain name associated with that address can
+provide some help, but many IP address are not reverse mapped to any
+useful domain, and the most common domain (.com) offers no help when
looking for country.
-This module comes bundled with a database of countries where various IP
-addresses have been assigned. Although the country of assignment will
-probably be the country associated with a large ISP rather than the
-client herself, this is probably good enough for most log analysis
-applications, and under test has proved to be as accurate as
+This module comes bundled with a database of countries where various IP
+addresses have been assigned. Although the country of assignment will
+probably be the country associated with a large ISP rather than the
+client herself, this is probably good enough for most log analysis
+applications, and under test has proved to be as accurate as
reverse-DNS and WHOIS lookup.
-WWW: http://search.cpan.org/dist/IP-Country/ /
+WWW: http://search.cpan.org/dist/IP-Country/
--- p5-IP-Country-2.21.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list