Date: Fri, 31 Jul 2009 12:05:10 -0700 From: Doug Barton <dougb@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lth@FreeBSD.org Subject: ports/137314: [PATCH] net-mgmt/p5-Net-IP Needs a patch for ipcount Message-ID: <4A734066.2010300@FreeBSD.org> Resent-Message-ID: <200907311940.n6VJe3Jn096802@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A734066.2010300>