From leeym@cn1.leeym.com  Thu Jun  5 08:16:58 2008
Return-Path: <leeym@cn1.leeym.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0411E1065672
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: vvelox@vvelox.net
Subject: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: bug fix
X-Send-Pr-Version: 3.113
X-GNATS-Notify: vvelox@vvelox.net

>Number:         124295
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: bug fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 05 08:20:02 UTC 2008
>Closed-Date:    Thu Jun 05 19:53:27 UTC 2008
>Last-Modified:  Thu Jun  5 20:00:12 UTC 2008
>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 <bsd.port.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 5 08:20:12 UTC 2008 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124295 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Jun 5 08:20:15 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124295 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: vvelox@vvelox.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/124295: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: bug fix
Date: Thu, 5 Jun 2008 08:20:14 UT

 Maintainer of ports-mgmt/p5-FreeBSD-Ports-INDEXhash,
 
 Please note that PR ports/124295 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/124295
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: "Zane C.B." <vvelox@vvelox.net>
To: bug-followup@FreeBSD.org
Cc: edwin@FreeBSD.org, Yen-Ming Lee <leeym@freebsd.org>
Subject: Re: ports/124295: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash:
 bug fix
Date: Thu, 5 Jun 2008 14:31:13 -0500

 --Sig_/xXZ=CBkPKMCGfjfhQi/X.2A
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Howdy!
 
 	I have fixed the issue with Fdeps, but I can't replicate any
 issue with Rdeps, Edeps, Pdeps, Bdeps, or categories. I have released
 version 1.0.5 to CPAN and it should be available shortly. Thanks.
 
 The end diffs are below.
 
 --- Makefile.orig       2008-06-05 13:37:17.000000000 -0500
 +++ Makefile    2008-06-05 13:37:44.000000000 -0500
 @@ -6,7 +6,7 @@
  #
 =20
  PORTNAME=3D      FreeBSD-Ports-INDEXhash
 -PORTVERSION=3D   1.0.4
 +PORTVERSION=3D   1.0.5
  CATEGORIES=3D    ports-mgmt sysutils perl5
  MASTER_SITES=3D  CPAN
  PKGNAMEPREFIX=3D p5-
 
 --- distinfo.orig       2008-06-05 13:37:22.000000000 -0500
 +++ distinfo    2008-06-05 13:43:36.000000000 -0500
 @@ -1,3 +1,3 @@
 -MD5 (FreeBSD-Ports-INDEXhash-1.0.4.tar.gz) =3D 5a67d4bc1956d2da424afa6126c=
 4abea
 -SHA256 (FreeBSD-Ports-INDEXhash-1.0.4.tar.gz) =3D 4cc483d9d5e66eb115ef8d9f=
 139f69b8c2596c2150ffa5f45f461ab04667752c
 -SIZE (FreeBSD-Ports-INDEXhash-1.0.4.tar.gz) =3D 4008
 +MD5 (FreeBSD-Ports-INDEXhash-1.0.5.tar.gz) =3D 7f3940b141aaf0c864d1fead7d7=
 e43c0
 +SHA256 (FreeBSD-Ports-INDEXhash-1.0.5.tar.gz) =3D 5fd20eb7b674eabb473e5649=
 3b3c08c3ee25a30346aae35b0070bc2ef6054040
 +SIZE (FreeBSD-Ports-INDEXhash-1.0.5.tar.gz) =3D 4122
 
 
 --- pkg-descr.orig      2008-06-05 14:29:15.000000000 -0500
 +++ pkg-descr   2008-06-05 13:42:44.000000000 -0500
 @@ -1 +1,3 @@
  This takes the FreeBSD port's index file and makes it into a easy to use h=
 ash.
 +
 +WWW: http://search.cpan.org/dist/FreeBSD-Ports-INDEXhash/
 
 
 --Sig_/xXZ=CBkPKMCGfjfhQi/X.2A
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEARECAAYFAkhIPwUACgkQC1tfcMGJid4H9ACeIjD6lIAViu57KzL32NrWjtXJ
 VfwAn2eEhTDApf+6t92Yxi7eeg0CqMf2
 =6cu8
 -----END PGP SIGNATURE-----
 
 --Sig_/xXZ=CBkPKMCGfjfhQi/X.2A--
State-Changed-From-To: feedback->closed 
State-Changed-By: leeym 
State-Changed-When: Thu Jun 5 19:53:11 UTC 2008 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124295 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124295: commit references a PR
Date: Thu,  5 Jun 2008 19:51:43 +0000 (UTC)

 leeym       2008-06-05 19:51:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ports-mgmt/p5-FreeBSD-Ports-INDEXhash Makefile distinfo 
                                           pkg-descr 
   Log:
   - update to 1.0.5
   - add WWW in pkg-descr
   
   PR:             124295
   Submitted by:   leeym
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.2       +1 -1      ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/Makefile
   1.2       +3 -3      ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/distinfo
   1.2       +2 -0      ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
