<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[138234] trunk/dports/databases</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/138234">138234</a></dd>
<dt>Author</dt> <dd>jwa@macports.org</dd>
<dt>Date</dt> <dd>2015-07-02 12:45:46 -0700 (Thu, 02 Jul 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>postgresql95: first alpha release os PostgreSQL 9.5 (Portfiles copied and modified from previous version), contrib modules adjustments according to variants</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdatabasespostgresql95Portfile">trunk/dports/databases/postgresql95/Portfile</a></li>
<li><a href="#trunkdportsdatabasespostgresql95docPortfile">trunk/dports/databases/postgresql95-doc/Portfile</a></li>
<li><a href="#trunkdportsdatabasespostgresql95serverPortfile">trunk/dports/databases/postgresql95-server/Portfile</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li>trunk/dports/databases/postgresql95/</li>
<li><a href="#trunkdportsdatabasespostgresql95filespostgresql95">trunk/dports/databases/postgresql95/files/postgresql95</a></li>
<li>trunk/dports/databases/postgresql95-doc/</li>
<li>trunk/dports/databases/postgresql95-server/</li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsdatabasespostgresql95filespostgresql94">trunk/dports/databases/postgresql95/files/postgresql94</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdatabasespostgresql95Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/databases/postgresql95/Portfile (137988 => 138234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/postgresql94/Portfile        2015-06-24 10:21:08 UTC (rev 137988)
+++ trunk/dports/databases/postgresql95/Portfile        2015-07-02 19:45:46 UTC (rev 138234)
</span><span class="lines">@@ -6,8 +6,8 @@
</span><span class="cx"> PortGroup compiler_blacklist_versions 1.0
</span><span class="cx">
</span><span class="cx"> #remember to update the -doc and -server as well
</span><del>-name                        postgresql94
-version                        9.4.4
</del><ins>+name                        postgresql95
+version                        9.5alpha1
</ins><span class="cx">
</span><span class="cx"> categories                databases
</span><span class="cx"> platforms                darwin
</span><span class="lines">@@ -25,8 +25,8 @@
</span><span class="cx">                         postgresql:source/v${version}/
</span><span class="cx"> distname                postgresql-${version}
</span><span class="cx">
</span><del>-checksums rmd160 8bb4bc15d62a310c27d2028d01466b1dce03e51f \
- sha256 538ed99688d6fdbec6fd166d1779cf4588bf2f16c52304e5ef29f904c43b0013
</del><ins>+checksums rmd160 5791e9f9315ffe7ac3f32697861a9cf4df4e1392 \
+ sha256 c97779f6c539e9072fa853fca8273f910f08805ae74456a01ab1fd0841ecfca2
</ins><span class="cx">
</span><span class="cx"> use_bzip2                yes
</span><span class="cx">
</span><span class="lines">@@ -81,9 +81,9 @@
</span><span class="cx">
</span><span class="cx"> # remember to change livecheck with first proper release
</span><span class="cx"> livecheck.type        regex
</span><del>-livecheck.regex        (9\\.4\\.\[.0-9\]+)
</del><ins>+#livecheck.regex        (9\\.5\\.\[.0-9\]+)
</ins><span class="cx"> livecheck.url        ${homepage}/ftp/source/
</span><del>-#livecheck.regex        (9\\.4\[.0-9\]*\[a-z\]+\[0-9\])
</del><ins>+livecheck.regex        (9\\.5\[.0-9\]*\[a-z\]+\[0-9\])
</ins><span class="cx">
</span><span class="cx"> # prepare the contrib modules
</span><span class="cx"> set contribs {}
</span><span class="lines">@@ -91,6 +91,14 @@
</span><span class="cx"> post-build {
</span><span class="cx"> # remove a Linux-specific contrib before continuing
</span><span class="cx"> file delete -force ${worksrcpath}/contrib/sepgsql
</span><ins>+# remove perl-specific contrib, if no perl variant
+ if {![variant_isset perl]} {
+ file delete -force ${worksrcpath}/contrib/hstore_plperl
+ }
+# remove python-specific contrib, if no python27 variant
+ if {![variant_isset python27]} {
+ file delete -force ${worksrcpath}/contrib/hstore_plpython
+ }
</ins><span class="cx"> set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
</span><span class="cx"> foreach d [lsort $contribdirs] {
</span><span class="cx"> if { [file exists $d/Makefile] } {
</span><span class="lines">@@ -108,18 +116,18 @@
</span><span class="cx">                 system "cd ${worksrcpath}/contrib/${contrib}/ && \
</span><span class="cx">                         ${destroot.cmd} install ${destroot.destdir} && touch DONE"
</span><span class="cx">         }
</span><del>-        system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql94"
</del><ins>+        system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql95"
</ins><span class="cx">         file delete -force ${destroot}${prefix}/share/doc/postgresql \
</span><span class="cx">                 ${destroot}${prefix}/share/man
</span><span class="cx">                 
</span><span class="cx">         reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
</span><del>-         ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
</del><ins>+         ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
</ins><span class="cx">         
</span><span class="cx">         reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
</span><del>-         ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
</del><ins>+         ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
</ins><span class="cx">         
</span><span class="cx">         reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
</span><del>-         ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
</del><ins>+         ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> select.group postgresql
</span></span></pre></div>
<a id="trunkdportsdatabasespostgresql95filespostgresql94"></a>
<div class="delfile"><h4>Deleted: trunk/dports/databases/postgresql95/files/postgresql94 (137988 => 138234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/postgresql94/files/postgresql94        2015-06-24 10:21:08 UTC (rev 137988)
+++ trunk/dports/databases/postgresql95/files/postgresql94        2015-07-02 19:45:46 UTC (rev 138234)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-lib/postgresql94/bin/clusterdb
-lib/postgresql94/bin/createdb
-lib/postgresql94/bin/createlang
-lib/postgresql94/bin/createuser
-lib/postgresql94/bin/dropdb
-lib/postgresql94/bin/droplang
-lib/postgresql94/bin/dropuser
-lib/postgresql94/bin/ecpg
-lib/postgresql94/bin/initdb
-lib/postgresql94/bin/oid2name
-lib/postgresql94/bin/pg_archivecleanup
-lib/postgresql94/bin/pg_basebackup
-lib/postgresql94/bin/pg_config
-lib/postgresql94/bin/pg_controldata
-lib/postgresql94/bin/pg_ctl
-lib/postgresql94/bin/pg_dump
-lib/postgresql94/bin/pg_dumpall
-lib/postgresql94/bin/pg_isready
-lib/postgresql94/bin/pg_receivexlog
-lib/postgresql94/bin/pg_resetxlog
-lib/postgresql94/bin/pg_restore
-lib/postgresql94/bin/pg_standby
-lib/postgresql94/bin/pg_test_fsync
-lib/postgresql94/bin/pg_test_timing
-lib/postgresql94/bin/pg_upgrade
-lib/postgresql94/bin/pg_xlogdump
-lib/postgresql94/bin/pgbench
-lib/postgresql94/bin/postgres
-lib/postgresql94/bin/postmaster
-lib/postgresql94/bin/psql
-lib/postgresql94/bin/reindexdb
-lib/postgresql94/bin/vacuumdb
-lib/postgresql94/bin/vacuumlo
</del></span></pre></div>
<a id="trunkdportsdatabasespostgresql95filespostgresql95fromrev137988trunkdportsdatabasespostgresql94filespostgresql94"></a>
<div class="copfile"><h4>Copied: trunk/dports/databases/postgresql95/files/postgresql95 (from rev 137988, trunk/dports/databases/postgresql94/files/postgresql94) (0 => 138234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/postgresql95/files/postgresql95         (rev 0)
+++ trunk/dports/databases/postgresql95/files/postgresql95        2015-07-02 19:45:46 UTC (rev 138234)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+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
</ins></span></pre></div>
<a id="trunkdportsdatabasespostgresql95docPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/databases/postgresql95-doc/Portfile (137988 => 138234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/postgresql94-doc/Portfile        2015-06-24 10:21:08 UTC (rev 137988)
+++ trunk/dports/databases/postgresql95-doc/Portfile        2015-07-02 19:45:46 UTC (rev 138234)
</span><span class="lines">@@ -3,10 +3,10 @@
</span><span class="cx">
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><del>-name                        postgresql94-doc
</del><ins>+name                        postgresql95-doc
</ins><span class="cx"> conflicts postgresql84-doc postgresql90-doc postgresql91-doc \
</span><del>- postgresql92-doc postgresql93-doc
-version                        9.4.4
</del><ins>+ postgresql92-doc postgresql93-doc postgresql94-doc
+version                        9.5alpha1
</ins><span class="cx"> categories                databases
</span><span class="cx"> platforms                darwin
</span><span class="cx"> maintainers                mww jwa
</span><span class="lines">@@ -21,14 +21,15 @@
</span><span class="cx"> homepage                http://www.postgresql.org/
</span><span class="cx"> master_sites                postgresql:source/v${version}
</span><span class="cx"> distname                postgresql-${version}
</span><ins>+set rname postgresql95
</ins><span class="cx">
</span><del>-checksums rmd160 8bb4bc15d62a310c27d2028d01466b1dce03e51f \
- sha256 538ed99688d6fdbec6fd166d1779cf4588bf2f16c52304e5ef29f904c43b0013
</del><ins>+checksums rmd160 5791e9f9315ffe7ac3f32697861a9cf4df4e1392 \
+ sha256 c97779f6c539e9072fa853fca8273f910f08805ae74456a01ab1fd0841ecfca2
</ins><span class="cx">
</span><span class="cx"> use_bzip2                yes
</span><del>-dist_subdir                postgresql94
</del><ins>+dist_subdir                ${rname}
</ins><span class="cx">
</span><del>-set libdir                ${prefix}/lib/postgresql94
</del><ins>+set libdir                ${prefix}/lib/${rname}
</ins><span class="cx"> configure.args        --mandir=${prefix}/share/man \
</span><span class="cx">                                 --without-openssl \
</span><span class="cx">                                 --without-readline \
</span><span class="lines">@@ -42,7 +43,7 @@
</span><span class="cx">
</span><span class="cx"> post-destroot {
</span><span class="cx">         file rename ${destroot}${prefix}/share/doc/postgresql \
</span><del>-                ${destroot}${prefix}/share/doc/postgresql94
</del><ins>+                ${destroot}${prefix}/share/doc/${rname}
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> livecheck.type        none
</span></span></pre></div>
<a id="trunkdportsdatabasespostgresql95serverPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/databases/postgresql95-server/Portfile (137988 => 138234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/postgresql94-server/Portfile        2015-06-24 10:21:08 UTC (rev 137988)
+++ trunk/dports/databases/postgresql95-server/Portfile        2015-07-02 19:45:46 UTC (rev 138234)
</span><span class="lines">@@ -3,41 +3,43 @@
</span><span class="cx">
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><del>-name                        postgresql94-server
-version                        9.4.4
</del><ins>+name                        postgresql95-server
+version                        9.5alpha1
</ins><span class="cx"> categories                databases
</span><span class="cx"> platforms                darwin
</span><span class="cx"> maintainers                mww jwa
</span><span class="cx"> license                        Permissive
</span><del>-description                run postgresql94 as server
</del><ins>+
+set rname postgresql95
+description                run ${rname} as server
</ins><span class="cx"> long_description        ${description}
</span><span class="cx"> distfiles
</span><span class="cx">
</span><span class="cx"> homepage                http://www.postgresql.org/
</span><span class="cx"> master_sites                postgresql
</span><span class="cx">
</span><del>-depends_run                port:postgresql94
</del><ins>+depends_run                port:${rname}
</ins><span class="cx">
</span><span class="cx"> use_configure        no
</span><span class="cx"> build        {}
</span><span class="cx">
</span><del>-set libdir                ${prefix}/lib/postgresql94
-set dbdir                ${prefix}/var/db/postgresql94/defaultdb
-set logdir                ${prefix}/var/log/postgresql94
</del><ins>+set libdir                ${prefix}/lib/${rname}
+set dbdir                ${prefix}/var/db/${rname}/defaultdb
+set logdir                ${prefix}/var/log/${rname}
</ins><span class="cx"> set dbuser                postgres
</span><span class="cx"> set dbgrp                postgres
</span><span class="cx">
</span><span class="cx"> add_users ${dbuser} shell=/bin/sh group=${dbgrp} \
</span><del>- home=${prefix}/var/db/postgresql94 \
- realname=PostgreSQL-94\ Server
</del><ins>+ home=${prefix}/var/db/${rname} \
+ realname=PostgreSQL-95\ Server
</ins><span class="cx">
</span><span class="cx"> startupitem.create        yes
</span><span class="cx"> startupitem.init        \
</span><span class="cx">         "PGCTL=${libdir}/bin/pg_ctl"
</span><span class="cx"> startupitem.start        \
</span><del>-        "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL94DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
</del><ins>+        "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL95DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
</ins><span class="cx"> startupitem.stop        \
</span><del>-"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL94DATA:=${dbdir}} stop -s -m fast\""
</del><ins>+"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL95DATA:=${dbdir}} stop -s -m fast\""
</ins><span class="cx">
</span><span class="cx"> destroot {
</span><span class="cx">         xinstall -m 755 -d ${destroot}${logdir}
</span></span></pre>
</div>
</div>
</body>
</html>