From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 31 19:40:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 566B21065670 for ; Fri, 31 Jul 2009 19:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8338FC1C for ; Fri, 31 Jul 2009 19:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6VJe3Ei096803 for ; Fri, 31 Jul 2009 19:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6VJe3Jn096802; Fri, 31 Jul 2009 19:40:03 GMT (envelope-from gnats) Resent-Date: Fri, 31 Jul 2009 19:40:03 GMT Resent-Message-Id: <200907311940.n6VJe3Jn096802@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Doug Barton Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8CCC106566B for ; Fri, 31 Jul 2009 19:33:17 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 735F58FC0C for ; Fri, 31 Jul 2009 19:33:17 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 1711 invoked by uid 399); 31 Jul 2009 19:05:12 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 31 Jul 2009 19:05:12 -0000 Message-Id: <4A734066.2010300@FreeBSD.org> Date: Fri, 31 Jul 2009 12:05:10 -0700 From: Doug Barton To: FreeBSD-gnats-submit@FreeBSD.org Cc: lth@FreeBSD.org Subject: ports/137314: [PATCH] net-mgmt/p5-Net-IP Needs a patch for ipcount X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 19:40:04 -0000 >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 -- This .signature sanitized for your protection >Release-Note: >Audit-Trail: >Unformatted: