Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2011 02:33:55 GMT
From:      Glen Barber <gjb@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159369: [patch] databases/pgtune: Update to latest version, request mainainership
Message-ID:  <201108020233.p722XtxC009727@red.freebsd.org>
Resent-Message-ID: <201108020240.p722eAiw075732@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159369
>Category:       ports
>Synopsis:       [patch] databases/pgtune: Update to latest version, request mainainership
>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:   Tue Aug 02 02:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108020233.p722XtxC009727>