From nobody@FreeBSD.org  Tue Aug  2 02:33:56 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0CAA9106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Aug 2011 02:33:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id AF7C08FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Aug 2011 02:33:55 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p722Xtcq009751
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Aug 2011 02:33:55 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p722XtxC009727;
	Tue, 2 Aug 2011 02:33:55 GMT
	(envelope-from nobody)
Message-Id: <201108020233.p722XtxC009727@red.freebsd.org>
Date: Tue, 2 Aug 2011 02:33:55 GMT
From: Glen Barber <gjb@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] databases/pgtune: Update to latest version, request maintainership
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: matthieu@labs.fr

>Number:         159369
>Category:       ports
>Synopsis:       [patch] databases/pgtune: Update to latest version, request maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    culot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 02 02:40:09 UTC 2011
>Closed-Date:    Mon Aug 08 12:56:49 UTC 2011
>Last-Modified:  Mon Aug 08 12:56:49 UTC 2011
>Originator:     Glen Barber
>Release:        9-CURRENT amd64
>Organization:
>Environment:
>Description:
Update databases/pgtune to latest version (updated in 2009, so while here, request maintainership).

>How-To-Repeat:

>Fix:
Apply the attached patch.


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/pgtune/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	17 May 2009 10:14:08 -0000	1.1
+++ Makefile	2 Aug 2011 02:28:56 -0000
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	pgtune
-PORTVERSION=	0.9.0
+PORTVERSION=	0.9.3
 CATEGORIES=	databases
-MASTER_SITES=	http://pgfoundry.org/frs/download.php/2068/ \
-		http://mirror.labs.fr/pub/FreeBSD/distfiles/
+MASTER_SITES=	http://pgfoundry.org/frs/download.php/2449/ \
+		http://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
 
-MAINTAINER=	matthieu@labs.fr
+MAINTAINER=	gjb@FreeBSD.org
 COMMENT=	Postgresql.conf tuning tips based on hardware and load type
 
 USE_PYTHON=	yes
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/pgtune/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	20 Mar 2011 12:47:48 -0000	1.2
+++ distinfo	2 Aug 2011 02:28:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (pgtune-0.9.0.tar.gz) = 864960dd100bb234eacd63803befe0a35d251cc48d41abfadf321eb82335b92d
-SIZE (pgtune-0.9.0.tar.gz) = 22414
+SHA256 (pgtune-0.9.3.tar.gz) = 31ac5774766dd9793d8d2d3681d1edb45760897c8eda3afc48b8d59350dee0ea
+SIZE (pgtune-0.9.3.tar.gz) = 34408
Index: files/patch-pgtune
===================================================================
RCS file: /home/pcvs/ports/databases/pgtune/files/patch-pgtune,v
retrieving revision 1.1
diff -u -r1.1 patch-pgtune
--- files/patch-pgtune	17 May 2009 10:14:08 -0000	1.1
+++ files/patch-pgtune	2 Aug 2011 02:28:56 -0000
@@ -1,16 +1,16 @@
---- pgtune-original 2009-01-26 17:11:05.000000000 +0100
-+++ pgtune 2009-02-18 08:20:59.000000000 +0100
+--- pgtune.orig	2009-10-28 21:16:39.000000000 -0400
++++ pgtune	2011-08-01 15:32:10.000000000 -0400
 @@ -1,4 +1,4 @@
 -#!/usr/bin/python
 +#!/usr/local/bin/python
  """
  pgtune
  
-@@ -248,7 +248,7 @@
+@@ -277,7 +277,7 @@
      if platform.architecture()[0]=="64bit":  platformBits=64
-     # TODO Base this file location on where this script is at
      # TODO Support handling versions other than 8.4
--    settingDumpFile="pg_settings-8.4-"+str(platformBits)
+     # TODO Allow passing in platform bit size
+-    settingDumpFile=os.path.join(settings_dir,"pg_settings-8.4-"+str(platformBits))
 +    settingDumpFile="/usr/local/share/pgtune/settings/pg_settings-8.4-"+str(platformBits)
      settingColumns=["name","setting","unit","category","short_desc",
        "extra_desc","context","vartype","min_val","max_val","enumvals",


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gjb 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Aug 2 02:40:20 UTC 2011 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159369 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Aug 2 02:40:24 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159369 
Responsible-Changed-From-To: gjb->freebsd-ports-bugs 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Tue Aug 2 02:44:07 UTC 2011 
Responsible-Changed-Why:  
Back over to the ports committers. 


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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: matthieu@labs.fr
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/159369: [patch] databases/pgtune: Update to latest version, request mainainership
Date: Tue, 2 Aug 2011 02:40:22 UT

 Maintainer of databases/pgtune,
 
 Please note that PR ports/159369 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/159369
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Matthieu BOUTHORS <matthieu@labs.fr>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/159369: [patch] databases/pgtune: Update to latest version,
 request mainainership
Date: Tue, 2 Aug 2011 10:38:32 +0200

 --bcaec5485adc43392d04a981ac66
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hello,
 
 I approve this patch.
 
 Matthieu
 
 On Tue, Aug 2, 2011 at 4:40 AM, Edwin Groothuis <edwin@freebsd.org> wrote:
 
 > Maintainer of databases/pgtune,
 >
 > Please note that PR ports/159369 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/159369
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 >
 
 --bcaec5485adc43392d04a981ac66
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Hello,<div><br></div><div>I approve this patch.=A0</div><div><br></div><div=
 >Matthieu<br><br><div class=3D"gmail_quote">On Tue, Aug 2, 2011 at 4:40 AM,=
  Edwin Groothuis <span dir=3D"ltr">&lt;<a href=3D"mailto:edwin@freebsd.org"=
 >edwin@freebsd.org</a>&gt;</span> wrote:<br>
 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex;">Maintainer of databases/pgtune,<br>
 <br>
 Please note that PR ports/159369 has just been submitted.<br>
 <br>
 If it contains a patch for an upgrade, an enhancement or a bug fix<br>
 you agree on, reply to this email stating that you approve the patch<br>
 and a committer will take care of it.<br>
 <br>
 The full text of the PR can be found at:<br>
  =A0 =A0<a href=3D"http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/15936=
 9" target=3D"_blank">http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/159=
 369</a><br>
 <font color=3D"#888888"><br>
 --<br>
 Edwin Groothuis via the GNATS Auto Assign Tool<br>
 edwin@FreeBSD.org<br>
 </font></blockquote></div><br></div>
 
 --bcaec5485adc43392d04a981ac66--
State-Changed-From-To: feedback->open 
State-Changed-By: gjb 
State-Changed-When: Tue Aug 2 10:25:33 UTC 2011 
State-Changed-Why:  
Approved by current maintainer. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=159369 
Responsible-Changed-From-To: freebsd-ports-bugs->culot 
Responsible-Changed-By: culot 
Responsible-Changed-When: Mon Aug 8 12:43:28 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159369 
State-Changed-From-To: open->closed 
State-Changed-By: culot 
State-Changed-When: Mon Aug 8 12:56:48 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159369 
>Unformatted:
