ports/137314: [PATCH] net-mgmt/p5-Net-IP Needs a patch for ipcount
Doug Barton
dougb at FreeBSD.org
Fri Jul 31 19:40:04 UTC 2009
>Number: 137314
>Category: ports
>Synopsis: [PATCH] net-mgmt/p5-Net-IP Needs a patch for ipcount
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 31 19:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Doug Barton
>Release: FreeBSD 8.0-BETA2 i386
>Organization:
AAAG
>Environment:
DNA
>Description:
The ipcount script provided with this module needs a patch.
>How-To-Repeat:
Without the attached patch ipcount generates the following when using
the -d option:
ipcount -d 24 192.168.0.0/20
Invalid chars in IP 192.168.0.0+255 at /usr/local/bin/ipcount line 83.
>Fix:
Apply the following patch:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/p5-Net-IP/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 17 Apr 2008 14:27:51 -0000 1.16
+++ Makefile 31 Jul 2009 18:32:01 -0000
@@ -7,6 +7,7 @@
PORTNAME= Net-IP
PORTVERSION= 1.25
+PORTREVISION= 1
CATEGORIES= net-mgmt perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -24,4 +25,9 @@
post-configure:
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}'
${WRKSRC}/Makefile
+post-patch:
+ @${CP} ${WRKSRC}/IP.pm ${WRKSRC}/IP.pm.presed
+ @${SED} -e "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm.presed > \
+ ${WRKSRC}/IP.pm
+
.include <bsd.port.mk>
--
This .signature sanitized for your protection
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list