[71388] trunk/dports/databases

jwa at macports.org jwa at macports.org
Sat Sep 11 09:38:21 PDT 2010


Revision: 71388
          http://trac.macports.org/changeset/71388
Author:   jwa at macports.org
Date:     2010-09-11 09:38:19 -0700 (Sat, 11 Sep 2010)
Log Message:
-----------
new port: PostgreSQL 9.1, note that this is an alpha release, not yet for production

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

Added Paths:
-----------
    trunk/dports/databases/postgresql91/
    trunk/dports/databases/postgresql91-doc/
    trunk/dports/databases/postgresql91-server/

Modified: trunk/dports/databases/postgresql91/Portfile
===================================================================
--- trunk/dports/databases/postgresql90/Portfile	2010-09-05 08:34:35 UTC (rev 71224)
+++ trunk/dports/databases/postgresql91/Portfile	2010-09-11 16:38:19 UTC (rev 71388)
@@ -2,8 +2,8 @@
 
 PortSystem 1.0
 
-name			postgresql90
-version			9.0rc1
+name			postgresql91
+version			9.1alpha1
 
 categories		databases
 platforms		darwin
@@ -20,9 +20,9 @@
 			postgresql:source/v${version}/
 distname		postgresql-${version}
 
-checksums           md5     c10400b541b8ce2e8c083c6538712429 \
-                    sha1    976bc8c2f703dbcdd7fc5ee17fb8217028399ff9 \
-                    rmd160  79e08c3231ec9716786fe07e9429fbdf07025c42
+checksums           md5     9ec176b3fe8d4c0f3355cfbb4b05c376 \
+                    sha1    3e9451a0f5a68928cd1067f9dbbea14b5921626c \
+                    rmd160  e0c6d2b19aa1e3f8b2c6f108e514418d8a833aab
 
 use_bzip2		yes
 
@@ -87,7 +87,7 @@
 		system "cd ${worksrcpath}/contrib/${contrib}/ && \
 			${destroot.cmd} install ${destroot.destdir} && touch DONE"
 	}
-	system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql90"
+	system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql91"
 	file delete -force ${destroot}${prefix}/share/doc/postgresql \
 		${destroot}${prefix}/share/man
 }

Modified: trunk/dports/databases/postgresql91-doc/Portfile
===================================================================
--- trunk/dports/databases/postgresql90-doc/Portfile	2010-09-10 10:54:54 UTC (rev 71363)
+++ trunk/dports/databases/postgresql91-doc/Portfile	2010-09-11 16:38:19 UTC (rev 71388)
@@ -2,8 +2,8 @@
 
 PortSystem 1.0
 
-name			postgresql90-doc
-version			9.0rc1
+name			postgresql91-doc
+version			9.1alpha1
 categories		databases
 platforms		darwin
 maintainers		mww jwa
@@ -18,16 +18,16 @@
 master_sites		postgresql:source/v${version}
 distname		postgresql-${version}
 
-checksums           md5     c10400b541b8ce2e8c083c6538712429 \
-                    sha1    976bc8c2f703dbcdd7fc5ee17fb8217028399ff9 \
-                    rmd160  79e08c3231ec9716786fe07e9429fbdf07025c42
+checksums           md5     9ec176b3fe8d4c0f3355cfbb4b05c376 \
+                    sha1    3e9451a0f5a68928cd1067f9dbbea14b5921626c \
+                    rmd160  e0c6d2b19aa1e3f8b2c6f108e514418d8a833aab
 
 use_bzip2		yes
-dist_subdir		postgresql90
+dist_subdir		postgresql91
 
-set libdir		${prefix}/lib/postgresql90
+set libdir		${prefix}/lib/postgresql91
 configure.args	--mandir=${prefix}/share/man \
-				--with-docdir=${prefix}/share/doc/postgresql90 \
+				--with-docdir=${prefix}/share/doc/postgresql91 \
 				--without-openssl \
 				--without-rendezvous \
 				--without-readline \
@@ -41,10 +41,10 @@
 
 post-destroot {
 	file rename ${destroot}${prefix}/share/doc/postgresql \
-		${destroot}${prefix}/share/doc/postgresql90
+		${destroot}${prefix}/share/doc/postgresql91
 }
 
 livecheck.type	regex
 livecheck.url	${homepage}
-livecheck.regex	(9\\.0\\.\[.0-9\]+)
+livecheck.regex	(9\\.1\\.\[.0-9\]+)
 

Modified: trunk/dports/databases/postgresql91-server/Portfile
===================================================================
--- trunk/dports/databases/postgresql90-server/Portfile	2010-09-10 10:54:54 UTC (rev 71363)
+++ trunk/dports/databases/postgresql91-server/Portfile	2010-09-11 16:38:19 UTC (rev 71388)
@@ -2,18 +2,18 @@
 
 PortSystem 1.0
 
-name			postgresql90-server
-version			9.0rc1
+name			postgresql91-server
+version			9.1alpha1
 categories		databases
 platforms		darwin
 maintainers		mww jwa
-description		run postgresql90 as server
+description		run postgresql91 as server
 long_description	${description}
 
 homepage		http://www.postgresql.org/
 master_sites		postgresql
 
-depends_run		port:postgresql90
+depends_run		port:postgresql91
 
 fetch	{}
 checksum	{}
@@ -21,9 +21,9 @@
 use_configure	no
 build	{}
 
-set libdir		${prefix}/lib/postgresql90
-set dbdir		${prefix}/var/db/postgresql90/defaultdb
-set logdir		${prefix}/var/log/postgresql90
+set libdir		${prefix}/lib/postgresql91
+set dbdir		${prefix}/var/db/postgresql91/defaultdb
+set logdir		${prefix}/var/log/postgresql91
 set dbuser		postgres
 set dbgrp		postgres
 
@@ -31,16 +31,16 @@
 startupitem.init	\
 	"PGCTL=${libdir}/bin/pg_ctl"
 startupitem.start	\
-	"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL90DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
+	"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL91DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
 startupitem.stop	\
-"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL90DATA:=${dbdir}} stop -s -m fast\""
+"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL91DATA:=${dbdir}} stop -s -m fast\""
 
 destroot {
 	addgroup ${dbgrp}
 	set gid [existsgroup ${dbgrp}]
 	adduser ${dbuser} shell=/bin/sh gid=${gid} \
-		home=${prefix}/var/db/postgresql90 \
-		realname=PostgreSQL-90\ Server
+		home=${prefix}/var/db/postgresql91 \
+		realname=PostgreSQL-91\ Server
 	xinstall -m 755 -d ${destroot}${logdir}
 	system "touch ${destroot}${logdir}/postgres.log"
 	system "chown ${dbuser}:${dbgrp} ${destroot}${logdir}/postgres.log"
@@ -57,5 +57,5 @@
 
 livecheck.type	regex
 livecheck.url	${homepage}
-livecheck.regex	(9\\.0\\.\[0-9\]+)
+livecheck.regex	(9\\.1\\.\[0-9\]+)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100911/9c335c7a/attachment.html>


More information about the macports-changes mailing list