aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-08-08 12:55:47 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-08-08 12:55:47 +0000
commitcf78204cfb92c858fba367cdbbbe33019ab885db (patch)
treefb8dc24c3d328ecc257b7f4ed317fc6ecdcc5379 /databases
parentc1ba1ede383ab09387988a2efd3f011a5856073d (diff)
downloadports-cf78204cfb92c858fba367cdbbbe33019ab885db.tar.gz
ports-cf78204cfb92c858fba367cdbbbe33019ab885db.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/pgtune/Makefile8
-rw-r--r--databases/pgtune/distinfo4
-rw-r--r--databases/pgtune/files/patch-pgtune10
3 files changed, 11 insertions, 11 deletions
diff --git a/databases/pgtune/Makefile b/databases/pgtune/Makefile
index 7bf30ad96af0..cd40ab900628 100644
--- a/databases/pgtune/Makefile
+++ b/databases/pgtune/Makefile
@@ -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
diff --git a/databases/pgtune/distinfo b/databases/pgtune/distinfo
index 16130775d71b..b50d63f43abe 100644
--- a/databases/pgtune/distinfo
+++ b/databases/pgtune/distinfo
@@ -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
diff --git a/databases/pgtune/files/patch-pgtune b/databases/pgtune/files/patch-pgtune
index 73639f2c4721..5ee4a701fb66 100644
--- a/databases/pgtune/files/patch-pgtune
+++ b/databases/pgtune/files/patch-pgtune
@@ -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",