diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-04-22 01:45:48 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-04-22 01:45:48 +0000 |
commit | e9c9ae4d1f278d42d95373544c9d040aadbedbe0 (patch) | |
tree | 13f368bf05554a223a359596cb11cfd096392bdf /net/p5-IP-Country | |
parent | 5e90450ff1c0dcb03d411a7d076efdbe0194ee34 (diff) |
- Update to 2.21
- Unbreak under old perl
- Refine pkg-descr
PR: 95568
Submitted by: leeym
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=160096
Diffstat (limited to 'net/p5-IP-Country')
-rw-r--r-- | net/p5-IP-Country/Makefile | 12 | ||||
-rw-r--r-- | net/p5-IP-Country/distinfo | 6 | ||||
-rw-r--r-- | net/p5-IP-Country/pkg-descr | 20 |
3 files changed, 23 insertions, 15 deletions
diff --git a/net/p5-IP-Country/Makefile b/net/p5-IP-Country/Makefile index e3c600e7f786..d094f7e0180c 100644 --- a/net/p5-IP-Country/Makefile +++ b/net/p5-IP-Country/Makefile @@ -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 @@ MAN3= IP::Authority.3 \ 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> diff --git a/net/p5-IP-Country/distinfo b/net/p5-IP-Country/distinfo index aca5a0d60775..c5be597f3b3a 100644 --- a/net/p5-IP-Country/distinfo +++ b/net/p5-IP-Country/distinfo @@ -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 diff --git a/net/p5-IP-Country/pkg-descr b/net/p5-IP-Country/pkg-descr index c78522a53141..db1ee32465bc 100644 --- a/net/p5-IP-Country/pkg-descr +++ b/net/p5-IP-Country/pkg-descr @@ -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/ |