[148596] trunk/dports/databases

jwa at macports.org jwa at macports.org
Thu May 12 07:06:56 PDT 2016


Revision: 148596
          https://trac.macports.org/changeset/148596
Author:   jwa at macports.org
Date:     2016-05-12 07:06:56 -0700 (Thu, 12 May 2016)
Log Message:
-----------
postgresql96: new port for new version of PostgreSQL

Modified Paths:
--------------
    trunk/dports/databases/postgresql96/Portfile
    trunk/dports/databases/postgresql96-doc/Portfile
    trunk/dports/databases/postgresql96-server/Portfile

Added Paths:
-----------
    trunk/dports/databases/postgresql96/
    trunk/dports/databases/postgresql96/files/postgresql96
    trunk/dports/databases/postgresql96-doc/
    trunk/dports/databases/postgresql96-server/

Removed Paths:
-------------
    trunk/dports/databases/postgresql96/files/postgresql95

Modified: trunk/dports/databases/postgresql96/Portfile
===================================================================
--- trunk/dports/databases/postgresql95/Portfile	2016-05-10 09:00:27 UTC (rev 148470)
+++ trunk/dports/databases/postgresql96/Portfile	2016-05-12 14:06:56 UTC (rev 148596)
@@ -6,8 +6,8 @@
 PortGroup compiler_blacklist_versions 1.0
 
 #remember to update the -doc and -server as well
-name			postgresql95
-version			9.5.2
+name			postgresql96
+version			9.6beta1
 
 categories		databases
 platforms		darwin
@@ -25,8 +25,8 @@
 			postgresql:source/v${version}/
 distname		postgresql-${version}
 
-checksums           rmd160  89cf1a346814999846c14c048cbf263590977975 \
-                    sha256  f8d132e464506b551ef498719f18cfe9d777709c7a1589dc360afc0b20e47c41
+checksums           rmd160  bbb80294d7050fd4d4f3bc6de817bda20b81eac6 \
+                    sha256  e1cec9a7bd10e7941cadec8613c642cdfd4a0f091767a2653c57d8d0ccbf6738
 
 use_bzip2		yes
 
@@ -82,8 +82,8 @@
 
 # remember to change livecheck with first proper release
 livecheck.type	regex
-#livecheck.regex	(9\\.5\[.0-9\]*\[a-z\]+\[0-9\])
-livecheck.regex	(9\\.5\\.\[.0-9\]+)
+livecheck.regex	(9\\.6\[.0-9\]*\[a-z\]+\[0-9\])
+#livecheck.regex	(9\\.6\\.\[.0-9\]+)
 livecheck.url	${homepage}/ftp/source/
 
 # prepare the contrib modules
@@ -118,7 +118,7 @@
 		system "cd ${worksrcpath}/contrib/${contrib}/ && \
 			${destroot.cmd} install ${destroot.destdir} && touch DONE"
 	}
-	system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql95"
+	system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql96"
 	file delete -force ${destroot}${prefix}/share/doc/postgresql \
 		${destroot}${prefix}/share/man
 		
@@ -138,12 +138,18 @@
 variant python requires python27 description {add support for python} {
 }
 
-variant python27 description {add support for python 2.7} {
+variant python27 conflicts python3 description {add support for python 2.7} {
 	depends_lib-append		port:python27
 	configure.args-append	--with-python
 	configure.python		${prefix}/bin/python2.7
 }
 
+variant python3 conflicts python27 description {add support for python 3.x} {
+	depends_lib-append		port:python35
+	configure.args-append	--with-python
+	configure.python		${prefix}/bin/python3.5
+}
+
 variant perl description {add Perl support} {
 	depends_lib-append			bin:perl:perl5
 	configure.args-append		--with-perl

Deleted: trunk/dports/databases/postgresql96/files/postgresql95
===================================================================
--- trunk/dports/databases/postgresql95/files/postgresql95	2016-05-10 09:00:27 UTC (rev 148470)
+++ trunk/dports/databases/postgresql96/files/postgresql95	2016-05-12 14:06:56 UTC (rev 148596)
@@ -1,33 +0,0 @@
-lib/postgresql95/bin/clusterdb
-lib/postgresql95/bin/createdb
-lib/postgresql95/bin/createlang
-lib/postgresql95/bin/createuser
-lib/postgresql95/bin/dropdb
-lib/postgresql95/bin/droplang
-lib/postgresql95/bin/dropuser
-lib/postgresql95/bin/ecpg
-lib/postgresql95/bin/initdb
-lib/postgresql95/bin/oid2name
-lib/postgresql95/bin/pg_archivecleanup
-lib/postgresql95/bin/pg_basebackup
-lib/postgresql95/bin/pg_config
-lib/postgresql95/bin/pg_controldata
-lib/postgresql95/bin/pg_ctl
-lib/postgresql95/bin/pg_dump
-lib/postgresql95/bin/pg_dumpall
-lib/postgresql95/bin/pg_isready
-lib/postgresql95/bin/pg_receivexlog
-lib/postgresql95/bin/pg_resetxlog
-lib/postgresql95/bin/pg_restore
-lib/postgresql95/bin/pg_standby
-lib/postgresql95/bin/pg_test_fsync
-lib/postgresql95/bin/pg_test_timing
-lib/postgresql95/bin/pg_upgrade
-lib/postgresql95/bin/pg_xlogdump
-lib/postgresql95/bin/pgbench
-lib/postgresql95/bin/postgres
-lib/postgresql95/bin/postmaster
-lib/postgresql95/bin/psql
-lib/postgresql95/bin/reindexdb
-lib/postgresql95/bin/vacuumdb
-lib/postgresql95/bin/vacuumlo

Added: trunk/dports/databases/postgresql96/files/postgresql96
===================================================================
--- trunk/dports/databases/postgresql96/files/postgresql96	                        (rev 0)
+++ trunk/dports/databases/postgresql96/files/postgresql96	2016-05-12 14:06:56 UTC (rev 148596)
@@ -0,0 +1,33 @@
+lib/postgresql96/bin/clusterdb
+lib/postgresql96/bin/createdb
+lib/postgresql96/bin/createlang
+lib/postgresql96/bin/createuser
+lib/postgresql96/bin/dropdb
+lib/postgresql96/bin/droplang
+lib/postgresql96/bin/dropuser
+lib/postgresql96/bin/ecpg
+lib/postgresql96/bin/initdb
+lib/postgresql96/bin/oid2name
+lib/postgresql96/bin/pg_archivecleanup
+lib/postgresql96/bin/pg_basebackup
+lib/postgresql96/bin/pg_config
+lib/postgresql96/bin/pg_controldata
+lib/postgresql96/bin/pg_ctl
+lib/postgresql96/bin/pg_dump
+lib/postgresql96/bin/pg_dumpall
+lib/postgresql96/bin/pg_isready
+lib/postgresql96/bin/pg_receivexlog
+lib/postgresql96/bin/pg_resetxlog
+lib/postgresql96/bin/pg_restore
+lib/postgresql96/bin/pg_standby
+lib/postgresql96/bin/pg_test_fsync
+lib/postgresql96/bin/pg_test_timing
+lib/postgresql96/bin/pg_upgrade
+lib/postgresql96/bin/pg_xlogdump
+lib/postgresql96/bin/pgbench
+lib/postgresql96/bin/postgres
+lib/postgresql96/bin/postmaster
+lib/postgresql96/bin/psql
+lib/postgresql96/bin/reindexdb
+lib/postgresql96/bin/vacuumdb
+lib/postgresql96/bin/vacuumlo

Modified: trunk/dports/databases/postgresql96-doc/Portfile
===================================================================
--- trunk/dports/databases/postgresql95-doc/Portfile	2016-05-10 09:00:27 UTC (rev 148470)
+++ trunk/dports/databases/postgresql96-doc/Portfile	2016-05-12 14:06:56 UTC (rev 148596)
@@ -3,10 +3,10 @@
 
 PortSystem 1.0
 
-name			postgresql95-doc
-conflicts       postgresql84-doc postgresql90-doc postgresql91-doc \
-                postgresql92-doc postgresql93-doc postgresql94-doc
-version			9.5.2
+name			postgresql96-doc
+conflicts       postgresql90-doc postgresql91-doc postgresql92-doc \
+    postgresql93-doc postgresql94-doc postgresql95-doc
+version			9.6beta1
 categories		databases
 platforms		darwin
 maintainers		mww jwa
@@ -21,10 +21,10 @@
 homepage		http://www.postgresql.org/
 master_sites		postgresql:source/v${version}
 distname		postgresql-${version}
-set rname       postgresql95
+set rname       postgresql96
 
-checksums           rmd160  89cf1a346814999846c14c048cbf263590977975 \
-                    sha256  f8d132e464506b551ef498719f18cfe9d777709c7a1589dc360afc0b20e47c41
+checksums           rmd160  bbb80294d7050fd4d4f3bc6de817bda20b81eac6 \
+                    sha256  e1cec9a7bd10e7941cadec8613c642cdfd4a0f091767a2653c57d8d0ccbf6738
 
 use_bzip2		yes
 dist_subdir		${rname}

Modified: trunk/dports/databases/postgresql96-server/Portfile
===================================================================
--- trunk/dports/databases/postgresql95-server/Portfile	2016-05-10 09:00:27 UTC (rev 148470)
+++ trunk/dports/databases/postgresql96-server/Portfile	2016-05-12 14:06:56 UTC (rev 148596)
@@ -3,14 +3,14 @@
 
 PortSystem 1.0
 
-name			postgresql95-server
-version			9.5.2
+name			postgresql96-server
+version			9.6beta1
 categories		databases
 platforms		darwin
 maintainers		mww jwa
 license			Permissive
 
-set rname       postgresql95
+set rname       postgresql96
 description		run ${rname} as server
 long_description	${description}
 distfiles       
@@ -31,15 +31,15 @@
 
 add_users ${dbuser} shell=/bin/sh group=${dbgrp} \
     home=${prefix}/var/db/${rname} \
-    realname=PostgreSQL-95\ Server
+    realname=PostgreSQL-96\ Server
 
 startupitem.create	yes
 startupitem.init	\
 	"PGCTL=${libdir}/bin/pg_ctl"
 startupitem.start	\
-	"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL95DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
+	"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL96DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
 startupitem.stop	\
-"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL95DATA:=${dbdir}} stop -s -m fast\""
+"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL96DATA:=${dbdir}} stop -s -m fast\""
 
 destroot {
 	xinstall -m 755 -d ${destroot}${logdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160512/35be5e59/attachment-0001.html>


More information about the macports-changes mailing list