From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 5 08:20:03 2008 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 7384A1065675 for ; Thu, 5 Jun 2008 08:20:03 +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 5043C8FC23 for ; Thu, 5 Jun 2008 08:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m558K3wm077315 for ; Thu, 5 Jun 2008 08:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m558K3ZU077314; Thu, 5 Jun 2008 08:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 5 Jun 2008 08:20:03 GMT Resent-Message-Id: <200806050820.m558K3ZU077314@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, Yen-Ming Lee Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0411E1065672 for ; Thu, 5 Jun 2008 08:16:58 +0000 (UTC) (envelope-from leeym@cn1.leeym.com) Received: from cn1.leeym.com (b06s56le.corenetworks.net [64.85.165.237]) by mx1.freebsd.org (Postfix) with ESMTP id B8DD08FC12 for ; Thu, 5 Jun 2008 08:16:57 +0000 (UTC) (envelope-from leeym@cn1.leeym.com) Received: from cn1.leeym.com (localhost [127.0.0.1]) by cn1.leeym.com (8.14.2/8.14.2) with ESMTP id m558GvMW002169; Thu, 5 Jun 2008 01:16:57 -0700 (PDT) (envelope-from leeym@cn1.leeym.com) Received: (from leeym@localhost) by cn1.leeym.com (8.14.2/8.14.2/Submit) id m558Gvdw002168; Thu, 5 Jun 2008 01:16:57 -0700 (PDT) (envelope-from leeym) Message-Id: <200806050816.m558Gvdw002168@cn1.leeym.com> Date: Thu, 5 Jun 2008 01:16:57 -0700 (PDT) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: vvelox@vvelox.net Subject: ports/124295: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: bug fix 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: Thu, 05 Jun 2008 08:20:03 -0000 >Number: 124295 >Category: ports >Synopsis: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: bug fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 05 08:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: - fix bug about newline in Fdeps, and also missing Rdeps and Edeps - add WWW in pkg-desc - bump PORTREVISION Added file(s): - files/patch-lib__FreeBSD__Ports__INDEXhash.pm Port maintainer (vvelox@vvelox.net) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-FreeBSD-Ports-INDEXhash-1.0.4_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/Makefile,v retrieving revision 1.1 diff -u -d -b -w -u -r1.1 Makefile --- Makefile 6 May 2008 12:37:58 -0000 1.1 +++ Makefile 5 Jun 2008 08:15:21 -0000 @@ -7,6 +7,7 @@ PORTNAME= FreeBSD-Ports-INDEXhash PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= ports-mgmt sysutils perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -19,4 +20,7 @@ MAN3= FreeBSD::Ports::INDEXhash.3 +post-patch: + ${FIND} ${WRKSRC} -name "*.orig" -delete + .include Index: pkg-descr =================================================================== RCS file: /home/pcvs/ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/pkg-descr,v retrieving revision 1.1 diff -u -d -b -w -u -r1.1 pkg-descr --- pkg-descr 6 May 2008 12:37:58 -0000 1.1 +++ pkg-descr 5 Jun 2008 08:15:21 -0000 @@ -1 +1,3 @@ This takes the FreeBSD port's index file and makes it into a easy to use hash. + +WWW: http://search.cpan.org/dist/FreeBSD-Ports-INDEXhash/ Index: files/patch-lib__FreeBSD__Ports__INDEXhash.pm =================================================================== RCS file: files/patch-lib__FreeBSD__Ports__INDEXhash.pm diff -N files/patch-lib__FreeBSD__Ports__INDEXhash.pm --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-lib__FreeBSD__Ports__INDEXhash.pm 5 Jun 2008 08:15:21 -0000 @@ -0,0 +1,65 @@ +--- lib/FreeBSD/Ports/INDEXhash.pm.orig 2008-04-18 15:46:06.000000000 -0700 ++++ lib/FreeBSD/Ports/INDEXhash.pm 2008-06-05 01:09:57.000000000 -0700 +@@ -93,6 +93,7 @@ + + my $rawindexInt=0; + while(defined($rawindex[$rawindexInt])){ ++ chomp($rawindex[$rawindexInt]); + my @linesplit=split(/\|/, $rawindex[$rawindexInt]); + + $hash{$linesplit[0]}={path=>$linesplit[1], +@@ -110,7 +111,7 @@ + + my $depsInt=0; + +- my @Fdeps=split(/ /, $linesplit[12]); ++ my @Fdeps=split(/ /, $linesplit[12]) if $linesplit[12]; + while(defined($Fdeps[$depsInt])){ + push(@{$hash{$linesplit[0]}{Fdeps}}, $Fdeps[$depsInt]); + +@@ -119,7 +120,7 @@ + + + $depsInt=0; +- my @Pdeps=split(/ /, $linesplit[11]); ++ my @Pdeps=split(/ /, $linesplit[11]) if $linesplit[11]; + while(defined($Pdeps[$depsInt])){ + push(@{$hash{$linesplit[0]}{Pdeps}}, $Pdeps[$depsInt]); + +@@ -127,22 +128,22 @@ + }; + + $depsInt=0; +- my @Edeps=split(/ /, $linesplit[10]); ++ my @Edeps=split(/ /, $linesplit[10]) if $linesplit[10]; + while(defined($Edeps[$depsInt])){ +- push(@{$hash{$linesplit[0]}{Edeps}}, $Pdeps[$depsInt]); ++ push(@{$hash{$linesplit[0]}{Edeps}}, $Edeps[$depsInt]); + + $depsInt++; + }; + +- my @Rdeps=split(/ /, $linesplit[8]); +- while(defined($Edeps[$depsInt])){ ++ my @Rdeps=split(/ /, $linesplit[8]) if $linesplit[8]; ++ while(defined($Rdeps[$depsInt])){ + push(@{$hash{$linesplit[0]}{Rdeps}}, $Rdeps[$depsInt]); + + $depsInt++; + }; + + $depsInt=0; +- my @Bdeps=split(/ /, $linesplit[7]); ++ my @Bdeps=split(/ /, $linesplit[7]) if $linesplit[7]; + while(defined($Bdeps[$depsInt])){ + push(@{$hash{$linesplit[0]}{Bdeps}}, $Bdeps[$depsInt]); + +@@ -150,7 +151,7 @@ + }; + + $depsInt=0; +- my @categories=split(/ /, $linesplit[6]); ++ my @categories=split(/ /, $linesplit[6]) if $linesplit[6]; + while(defined($categories[$depsInt])){ + push(@{$hash{$linesplit[0]}{categories}}, $categories[$depsInt]); + --- p5-FreeBSD-Ports-INDEXhash-1.0.4_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: