Date: Mon, 15 May 2017 19:39:49 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440967 - in head/databases/pgtune: . files Message-ID: <201705151939.v4FJdnbw092814@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon May 15 19:39:49 2017 New Revision: 440967 URL: https://svnweb.freebsd.org/changeset/ports/440967 Log: - Add LICENSE - Tweak python dependency: runtime only and python 2.x only - Add NO_ARCH - Fix shebangfix by removing shebang change from the patch Approved by: portmgr blanket Modified: head/databases/pgtune/Makefile head/databases/pgtune/files/patch-pgtune Modified: head/databases/pgtune/Makefile ============================================================================== --- head/databases/pgtune/Makefile Mon May 15 19:30:58 2017 (r440966) +++ head/databases/pgtune/Makefile Mon May 15 19:39:49 2017 (r440967) @@ -3,7 +3,7 @@ PORTNAME= pgtune PORTVERSION= 0.9.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \ https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ @@ -11,9 +11,13 @@ MASTER_SITES= http://pgfoundry.org/frs/d MAINTAINER= gjb@FreeBSD.org COMMENT= Postgresql.conf tuning tips based on hardware and load type -USES= python shebangfix +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +USES= python:2,run shebangfix SHEBANG_FILES= ${PORTNAME} NO_BUILD= yes +NO_ARCH= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin Modified: head/databases/pgtune/files/patch-pgtune ============================================================================== --- head/databases/pgtune/files/patch-pgtune Mon May 15 19:30:58 2017 (r440966) +++ head/databases/pgtune/files/patch-pgtune Mon May 15 19:39:49 2017 (r440967) @@ -1,12 +1,6 @@ ---- 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 - -@@ -277,7 +277,7 @@ +--- pgtune.orig 2009-10-29 01:16:39 UTC ++++ pgtune +@@ -277,7 +277,7 @@ class pg_settings(object): if platform.architecture()[0]=="64bit": platformBits=64 # TODO Support handling versions other than 8.4 # TODO Allow passing in platform bit size
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705151939.v4FJdnbw092814>