From leeym@cn1.leeym.com  Sun Apr 26 20:37:29 2009
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 34575106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Apr 2009 20:37:29 +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 DF7808FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Apr 2009 20:37:28 +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 n3QKbSSA092573;
	Sun, 26 Apr 2009 13:37:28 -0700 (PDT)
	(envelope-from leeym@cn1.leeym.com)
Received: (from leeym@localhost)
	by cn1.leeym.com (8.14.2/8.14.2/Submit) id n3QKbSFY092572;
	Sun, 26 Apr 2009 13:37:28 -0700 (PDT)
	(envelope-from leeym)
Message-Id: <200904262037.n3QKbSFY092572@cn1.leeym.com>
Date: Sun, 26 Apr 2009 13:37:28 -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: fix Edeps and Rdeps
X-Send-Pr-Version: 3.113
X-GNATS-Notify: vvelox@vvelox.net

>Number:         134027
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: fix Edeps and Rdeps
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 26 20:40:01 UTC 2009
>Closed-Date:    Mon Apr 27 20:39:38 UTC 2009
>Last-Modified:  Mon Apr 27 20:40:00 UTC 2009
>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:
- set Edeps and Rdeps correctly (currently it pushs Pdeps into Edeps, and Edeps into Rdeps)
- remove redundant DISTNAME (by default it's ${PORTNAME}-${PORTVERSION} already)
- 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.2.0_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/Makefile,v
retrieving revision 1.3
diff -u -d -b -w -u -r1.3 Makefile
--- Makefile	31 Mar 2009 07:34:13 -0000	1.3
+++ Makefile	26 Apr 2009 20:34:37 -0000
@@ -7,10 +7,10 @@
 
 PORTNAME=	FreeBSD-Ports-INDEXhash
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt sysutils perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
-DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	vvelox@vvelox.net
 COMMENT=	Make a hash out of the index file for the ports tree
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	26 Apr 2009 20:34:37 -0000
@@ -0,0 +1,18 @@
+--- lib/FreeBSD/Ports/INDEXhash.pm.orig	2009-04-26 13:30:57.000000000 -0700
++++ lib/FreeBSD/Ports/INDEXhash.pm	2009-04-26 13:32:21.000000000 -0700
+@@ -151,13 +151,13 @@
+ 		$depsInt=0;
+ 		my @Edeps=split(/ /, $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])){
++		while(defined($Rdeps[$depsInt])){
+ 			push(@{$hash{$linesplit[0]}{Rdeps}}, $Rdeps[$depsInt]);
+ 
+ 			$depsInt++;
--- p5-FreeBSD-Ports-INDEXhash-1.2.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 26 20:40:11 UTC 2009 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134027 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Apr 26 20:40:15 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: vvelox@vvelox.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/134027: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: fix Edeps and Rdeps
Date: Sun, 26 Apr 2009 20:40:13 UT

 Maintainer of ports-mgmt/p5-FreeBSD-Ports-INDEXhash,
 
 Please note that PR ports/134027 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/134027
 
 -- 
 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/134027: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash:
 fix Edeps and Rdeps
Date: Mon, 27 Apr 2009 12:31:19 -0500

 --Sig_/8BfJbqi/Yaaf39RGgIjpptN
 Content-Type: multipart/mixed; boundary="MP_/MiIfmnqkqpTSucd7=rncVjN"
 
 --MP_/MiIfmnqkqpTSucd7=rncVjN
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Attached you will find two diff files. I've updated my module and
 uploaded the fix to CPAN. Thanks.
 
 The patch should be workable in the next 12 to 24 hours once it is
 fully mirrored and etc on CPAN.
 
 I've also patched a third issue. I found $depsInt was not being reset
 to zero when processing the Rdeps.
 
 --MP_/MiIfmnqkqpTSucd7=rncVjN
 Content-Type: text/x-patch
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=Makefile.diff
 
 --- Makefile.orig	2009-04-27 12:26:46.000000000 -0500
 +++ Makefile	2009-04-27 12:27:23.000000000 -0500
 @@ -6,7 +6,7 @@
  #
 =20
  PORTNAME=3D	FreeBSD-Ports-INDEXhash
 -PORTVERSION=3D	1.2.0
 +PORTVERSION=3D	1.2.1
  CATEGORIES=3D	ports-mgmt sysutils perl5
  MASTER_SITES=3D	CPAN
  PKGNAMEPREFIX=3D	p5-
 
 --MP_/MiIfmnqkqpTSucd7=rncVjN
 Content-Type: text/x-patch
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=distinfo.diff
 
 --- distinfo.orig	2009-04-27 12:26:53.000000000 -0500
 +++ distinfo	2009-04-27 12:27:30.000000000 -0500
 @@ -1,3 +1,3 @@
 -MD5 (FreeBSD-Ports-INDEXhash-1.2.0.tar.gz) =3D 3cadeaeb850687865e38583d4a0=
 e048b
 -SHA256 (FreeBSD-Ports-INDEXhash-1.2.0.tar.gz) =3D 694d57f96f139f3b010397dc=
 6b62f97959df5752138b32d2b8c6d6f44cc86e4b
 -SIZE (FreeBSD-Ports-INDEXhash-1.2.0.tar.gz) =3D 4397
 +MD5 (FreeBSD-Ports-INDEXhash-1.2.1.tar.gz) =3D acac1b02155138b62ccdff33846=
 11097
 +SHA256 (FreeBSD-Ports-INDEXhash-1.2.1.tar.gz) =3D eaac54a89366bd1ee8362f28=
 e5d6d2def64f706e7f3a03a0b4b3c02d62a7cdba
 +SIZE (FreeBSD-Ports-INDEXhash-1.2.1.tar.gz) =3D 4437
 
 --MP_/MiIfmnqkqpTSucd7=rncVjN--
 
 --Sig_/8BfJbqi/Yaaf39RGgIjpptN
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.11 (FreeBSD)
 
 iEYEARECAAYFAkn16+oACgkQC1tfcMGJid7dTACeMRlGfCrGoq0qEGWT8yWbB++k
 CYwAn1uv3/yx8rxnSKlvAli36dMiHQM+
 =CrHO
 -----END PGP SIGNATURE-----
 
 --Sig_/8BfJbqi/Yaaf39RGgIjpptN--
State-Changed-From-To: feedback->closed 
State-Changed-By: leeym 
State-Changed-When: Mon Apr 27 20:39:30 UTC 2009 
State-Changed-Why:  
Committed, thanks. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134027: commit references a PR
Date: Mon, 27 Apr 2009 20:39:38 +0000 (UTC)

 leeym       2009-04-27 20:39:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ports-mgmt/p5-FreeBSD-Ports-INDEXhash Makefile distinfo 
   Log:
   - update to 1.2.1
   
   PR:             134027
   Submitted by:   leeym
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.4       +3 -2      ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/Makefile
   1.4       +3 -3      ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/distinfo
 _______________________________________________
 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:
