svn commit: r440967 - in head/databases/pgtune: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon May 15 19:39:50 UTC 2017
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 at 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
More information about the svn-ports-all
mailing list