ports/58705: update net/p5-NetAddr-IP from 3.14 to 3.17

Yu-Shun Wang yushunwa at isi.edu
Thu Oct 30 01:50:17 UTC 2003


>Number:         58705
>Category:       ports
>Synopsis:       update net/p5-NetAddr-IP from 3.14 to 3.17
>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:   Wed Oct 29 17:50:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yu-Shun Wang
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
USC/ISI
>Environment:
System: FreeBSD tnn.isi.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Wed Oct 29 03:19:00 PST 2003 root at tnn.isi.edu:/usr/obj/usr/src/sys/KERNEL-1.33 i386
>Description:
update net/p5-NetAddr-IP from 3.14 to 3.17
>How-To-Repeat:
cd /usr/ports/net/p5-NetAddr-IP && make install
>Fix:

--- p5-NetAddr-IP-3.17.PR begins here ---
diff -ruN p5-NetAddr-IP.bak/Makefile p5-NetAddr-IP/Makefile
--- p5-NetAddr-IP.bak/Makefile	Wed Oct 29 15:34:00 2003
+++ p5-NetAddr-IP/Makefile	Wed Oct 29 17:31:18 2003
@@ -6,16 +6,17 @@
 #
 
 PORTNAME=	NetAddr-IP
-PORTVERSION=	3.14
+PORTVERSION=	3.17
 CATEGORIES=	net perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	NetAddr
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	tobez at FreeBSD.org
-COMMENT=	Perl module for working with IP addresses and blocks thereof
+COMMENT=	Perl module for working with IPv4 and IPv6 addresses and blocks
 
-BUILD_DEPENDS=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+		${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -25,14 +26,15 @@
 
 post-patch:
 	${PERL} -pi -e 's/\r//;' \
-		-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
+		-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);\n$$1/;' \
 		-e '$$_="" if /require 5/;' \
 		-e '$$_="" if /use warnings/;' \
-		${WRKSRC}/IP.pm ${WRKSRC}/t/v4-badnm.t
+		${WRKSRC}/IP.pm ${WRKSRC}/t/v4-badnm.t ${WRKSRC}/t/v4-new.t \
+		${WRKSRC}/t/v6-base.t
 
 post-build:
 	@${PERL} -M5.6.0 -e '' >/dev/null 2>&1 || \
 	( ${ECHO_MSG} "===>	Please note that this module provides more functionality when" && \
-	${ECHO_MSG} "===>	used with perl 5.6.1 or perl 5.8.0 (both in the ports collection)." )
+	${ECHO_MSG} "===>	used with perl 5.6.1 or perl 5.8.1 (both in the ports collection)." )
 
 .include <bsd.port.mk>
diff -ruN p5-NetAddr-IP.bak/distinfo p5-NetAddr-IP/distinfo
--- p5-NetAddr-IP.bak/distinfo	Wed Oct 29 15:34:00 2003
+++ p5-NetAddr-IP/distinfo	Wed Oct 29 15:38:02 2003
@@ -1 +1 @@
-MD5 (NetAddr-IP-3.14.tar.gz) = 27703ec92de74998b16d736a304be479
+MD5 (NetAddr-IP-3.17.tar.gz) = 2c01ec2f4e931e5ee3dc59b9b21e698c
--- p5-NetAddr-IP-3.17.PR ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list