[93114] trunk/dports/databases

jwa at macports.org jwa at macports.org
Tue May 15 08:28:37 PDT 2012


Revision: 93114
          https://trac.macports.org/changeset/93114
Author:   jwa at macports.org
Date:     2012-05-15 08:28:36 -0700 (Tue, 15 May 2012)
Log Message:
-----------
postgresql92: new port, the first beta version of PostgreSQL 9.2 series, with the doc and server ports, done by copying first the fresh version of 9.1 series port

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

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

Removed Paths:
-------------
    trunk/dports/databases/postgresql92/files/postgresql91

Modified: trunk/dports/databases/postgresql92/Portfile
===================================================================
--- trunk/dports/databases/postgresql91/Portfile	2012-05-12 07:04:22 UTC (rev 92965)
+++ trunk/dports/databases/postgresql92/Portfile	2012-05-15 15:28:36 UTC (rev 93114)
@@ -4,9 +4,8 @@
 PortSystem 1.0
 PortGroup select 1.0
 
-name			postgresql91
-version			9.1.3
-revision        2
+name			postgresql92
+version			9.2beta1
 
 categories		databases
 platforms		darwin
@@ -20,12 +19,13 @@
 				integrity.
 
 homepage		http://www.postgresql.org/
-master_sites		http://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/source/v${version}/ \
-			postgresql:source/v${version}/
+set longversion	9.2.0beta1
+master_sites		http://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/source/v${longversion}/ \
+			postgresql:source/v${longversion}/
 distname		postgresql-${version}
 
-checksums           rmd160  84eb235c090083b78e6a2facf3d7bc534395db8b \
-                    sha256  7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
+checksums           rmd160  a70e7fe588ca57a08a1ce4593841bf735d69587c \
+                    sha256  05651ec88af03cc5cec08b091f2381fe8ebdaa87dbc6d193414ff2400084a838
 
 use_bzip2		yes
 
@@ -81,12 +81,13 @@
 test.target		check
 
 livecheck.type	regex
-livecheck.url	${homepage}
-livecheck.regex	(9\\.1\\.\[.0-9\]+)
+#livecheck.url	${homepage}
+#livecheck.regex	(9\\.2\\.\[.0-9\]+)
 #livecheck.url	${homepage}/developer/beta
-#livecheck.regex	(9\\.1\[a-z\]+\[.0-9\]+)
+livecheck.url	${homepage}/ftp/source/
+livecheck.regex	(9\\.2\[.0-9\]+\[a-z\]+\[0-9\])
 
-set contribs	"adminpack dblink fuzzystrmatch lo uuid-ossp pg_buffercache pg_trgm pgcrypto tsearch2 vacuumlo xml2"
+set contribs	"adminpack dblink fuzzystrmatch lo uuid-ossp pg_buffercache pg_trgm pgcrypto vacuumlo"
 
 post-build {
 	foreach contrib ${contribs} {
@@ -100,18 +101,18 @@
 		system "cd ${worksrcpath}/contrib/${contrib}/ && \
 			${destroot.cmd} install ${destroot.destdir} && touch DONE"
 	}
-	system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql91"
+	system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql92"
 	file delete -force ${destroot}${prefix}/share/doc/postgresql \
 		${destroot}${prefix}/share/man
 		
 	reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
-	    ${destroot}${prefix}/lib/postgresql91/pgxs/src/Makefile.global
+	    ${destroot}${prefix}/lib/postgresql92/pgxs/src/Makefile.global
 	
 	reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
-	    ${destroot}${prefix}/lib/postgresql91/pgxs/src/Makefile.global
+	    ${destroot}${prefix}/lib/postgresql92/pgxs/src/Makefile.global
 	    
 	reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
-	    ${destroot}${prefix}/lib/postgresql91/pgxs/src/Makefile.global
+	    ${destroot}${prefix}/lib/postgresql92/pgxs/src/Makefile.global
 }
 
 select.group    postgresql

Deleted: trunk/dports/databases/postgresql92/files/postgresql91
===================================================================
--- trunk/dports/databases/postgresql91/files/postgresql91	2012-05-12 07:04:22 UTC (rev 92965)
+++ trunk/dports/databases/postgresql92/files/postgresql91	2012-05-15 15:28:36 UTC (rev 93114)
@@ -1,22 +0,0 @@
-lib/postgresql91/bin/clusterdb
-lib/postgresql91/bin/createdb
-lib/postgresql91/bin/createlang
-lib/postgresql91/bin/createuser
-lib/postgresql91/bin/dropdb
-lib/postgresql91/bin/droplang
-lib/postgresql91/bin/dropuser
-lib/postgresql91/bin/ecpg
-lib/postgresql91/bin/initdb
-lib/postgresql91/bin/pg_config
-lib/postgresql91/bin/pg_controldata
-lib/postgresql91/bin/pg_ctl
-lib/postgresql91/bin/pg_dump
-lib/postgresql91/bin/pg_dumpall
-lib/postgresql91/bin/pg_resetxlog
-lib/postgresql91/bin/pg_restore
-lib/postgresql91/bin/postgres
-lib/postgresql91/bin/postmaster
-lib/postgresql91/bin/psql
-lib/postgresql91/bin/reindexdb
-lib/postgresql91/bin/vacuumdb
-lib/postgresql91/bin/vacuumlo

Added: trunk/dports/databases/postgresql92/files/postgresql92
===================================================================
--- trunk/dports/databases/postgresql92/files/postgresql92	                        (rev 0)
+++ trunk/dports/databases/postgresql92/files/postgresql92	2012-05-15 15:28:36 UTC (rev 93114)
@@ -0,0 +1,24 @@
+lib/postgresql92/bin/clusterdb
+lib/postgresql92/bin/createdb
+lib/postgresql92/bin/createlang
+lib/postgresql92/bin/createuser
+lib/postgresql92/bin/dropdb
+lib/postgresql92/bin/droplang
+lib/postgresql92/bin/dropuser
+lib/postgresql92/bin/ecpg
+lib/postgresql92/bin/initdb
+lib/postgresql92/bin/pg_basebackup
+lib/postgresql92/bin/pg_config
+lib/postgresql92/bin/pg_controldata
+lib/postgresql92/bin/pg_ctl
+lib/postgresql92/bin/pg_dump
+lib/postgresql92/bin/pg_dumpall
+lib/postgresql92/bin/pg_receivexlog
+lib/postgresql92/bin/pg_resetxlog
+lib/postgresql92/bin/pg_restore
+lib/postgresql92/bin/postgres
+lib/postgresql92/bin/postmaster
+lib/postgresql92/bin/psql
+lib/postgresql92/bin/reindexdb
+lib/postgresql92/bin/vacuumdb
+lib/postgresql92/bin/vacuumlo

Modified: trunk/dports/databases/postgresql92-doc/Portfile
===================================================================
--- trunk/dports/databases/postgresql91-doc/Portfile	2012-05-12 07:04:22 UTC (rev 92965)
+++ trunk/dports/databases/postgresql92-doc/Portfile	2012-05-15 15:28:36 UTC (rev 93114)
@@ -3,8 +3,8 @@
 
 PortSystem 1.0
 
-name			postgresql91-doc
-version			9.1.3
+name			postgresql92-doc
+version			9.2beta1
 categories		databases
 platforms		darwin
 maintainers		mww jwa
@@ -20,15 +20,15 @@
 master_sites		postgresql:source/v${version}
 distname		postgresql-${version}
 
-checksums           rmd160  84eb235c090083b78e6a2facf3d7bc534395db8b \
-                    sha256  7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
+checksums           rmd160  a70e7fe588ca57a08a1ce4593841bf735d69587c \
+                    sha256  05651ec88af03cc5cec08b091f2381fe8ebdaa87dbc6d193414ff2400084a838
 
 use_bzip2		yes
-dist_subdir		postgresql91
+dist_subdir		postgresql92
 
-set libdir		${prefix}/lib/postgresql91
+set libdir		${prefix}/lib/postgresql92
 configure.args	--mandir=${prefix}/share/man \
-				--with-docdir=${prefix}/share/doc/postgresql91 \
+				--with-docdir=${prefix}/share/doc/postgresql92 \
 				--without-openssl \
 				--without-rendezvous \
 				--without-readline \
@@ -42,12 +42,12 @@
 
 post-destroot {
 	file rename ${destroot}${prefix}/share/doc/postgresql \
-		${destroot}${prefix}/share/doc/postgresql91
+		${destroot}${prefix}/share/doc/postgresql92
 }
 
 livecheck.type	regex
-livecheck.url	${homepage}
-livecheck.regex	(9\\.1\\.\[.0-9\]+)
+#livecheck.url	${homepage}
+#livecheck.regex	(9\\.2\\.\[.0-9\]+)
 #livecheck.url	${homepage}/developer/beta
-#livecheck.regex	(9\\.1\[a-z\]+\[.0-9\]+)
-
+livecheck.url	${homepage}/ftp/source/v9.2.0beta1/
+livecheck.regex	(9\\.2\[.0-9\]+\[a-z\]+\[0-9\])

Modified: trunk/dports/databases/postgresql92-server/Portfile
===================================================================
--- trunk/dports/databases/postgresql91-server/Portfile	2012-05-12 07:04:22 UTC (rev 92965)
+++ trunk/dports/databases/postgresql92-server/Portfile	2012-05-15 15:28:36 UTC (rev 93114)
@@ -3,19 +3,19 @@
 
 PortSystem 1.0
 
-name			postgresql91-server
-version			9.1.3
+name			postgresql92-server
+version			9.2beta1
 categories		databases
 platforms		darwin
 maintainers		mww jwa
 license			Permissive
-description		run postgresql91 as server
+description		run postgresql92 as server
 long_description	${description}
 
 homepage		http://www.postgresql.org/
 master_sites		postgresql
 
-depends_run		port:postgresql91
+depends_run		port:postgresql92
 
 fetch	{}
 checksum	{}
@@ -23,23 +23,23 @@
 use_configure	no
 build	{}
 
-set libdir		${prefix}/lib/postgresql91
-set dbdir		${prefix}/var/db/postgresql91/defaultdb
-set logdir		${prefix}/var/log/postgresql91
+set libdir		${prefix}/lib/postgresql92
+set dbdir		${prefix}/var/db/postgresql92/defaultdb
+set logdir		${prefix}/var/log/postgresql92
 set dbuser		postgres
 set dbgrp		postgres
 
 add_users ${dbuser} shell=/bin/sh group=${dbgrp} \
-    home=${prefix}/var/db/postgresql91 \
-    realname=PostgreSQL-91\ Server
+    home=${prefix}/var/db/postgresql92 \
+    realname=PostgreSQL-92\ Server
 
 startupitem.create	yes
 startupitem.init	\
 	"PGCTL=${libdir}/bin/pg_ctl"
 startupitem.start	\
-	"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL91DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
+	"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL92DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
 startupitem.stop	\
-"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL91DATA:=${dbdir}} stop -s -m fast\""
+"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL92DATA:=${dbdir}} stop -s -m fast\""
 
 destroot {
 	xinstall -m 755 -d ${destroot}${logdir}
@@ -57,8 +57,8 @@
 }
 
 livecheck.type	regex
-livecheck.url	${homepage}
-livecheck.regex	(9\\.1\\.\[0-9\]+)
+#livecheck.url	${homepage}
+#livecheck.regex	(9\\.2\\.\[0-9\]+)
 #livecheck.url	${homepage}/developer/beta
-#livecheck.regex	(9\\.1\[a-z\]+\[.0-9\]+)
-
+livecheck.url	${homepage}/ftp/source/v9.2.0beta1/
+livecheck.regex	(9\\.2\[.0-9\]+\[a-z\]+\[0-9\])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/ae575ae6/attachment.html>


More information about the macports-changes mailing list