[120101] trunk/dports/databases
jwa at macports.org
jwa at macports.org
Thu May 15 08:25:02 PDT 2014
Revision: 120101
https://trac.macports.org/changeset/120101
Author: jwa at macports.org
Date: 2014-05-15 08:25:02 -0700 (Thu, 15 May 2014)
Log Message:
-----------
postgresql94: new port, first beta of PostgreSQL 9.4, for test use, note that when this is released, 8.4 support is dropped
Modified Paths:
--------------
trunk/dports/databases/postgresql94/Portfile
trunk/dports/databases/postgresql94-doc/Portfile
trunk/dports/databases/postgresql94-server/Portfile
Added Paths:
-----------
trunk/dports/databases/postgresql94/
trunk/dports/databases/postgresql94/files/configure-uuid.patch
trunk/dports/databases/postgresql94/files/postgresql94
trunk/dports/databases/postgresql94-doc/
trunk/dports/databases/postgresql94-server/
Removed Paths:
-------------
trunk/dports/databases/postgresql94/files/postgresql93
Modified: trunk/dports/databases/postgresql94/Portfile
===================================================================
--- trunk/dports/databases/postgresql93/Portfile 2014-05-11 16:18:17 UTC (rev 119943)
+++ trunk/dports/databases/postgresql94/Portfile 2014-05-15 15:25:02 UTC (rev 120101)
@@ -5,8 +5,8 @@
PortGroup select 1.0
PortGroup compiler_blacklist_versions 1.0
-name postgresql93
-version 9.3.4
+name postgresql94
+version 9.4beta1
categories databases
platforms darwin
@@ -24,8 +24,8 @@
postgresql:source/v${version}/
distname postgresql-${version}
-checksums rmd160 126df8cb07a28e5d58ca2d1b9fc1d20e4f7a8cf1 \
- sha256 9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621
+checksums rmd160 c6796d8b03b702a1d06eadca4f745542088f8bc2 \
+ sha256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47
use_bzip2 yes
@@ -36,6 +36,7 @@
worksrcdir postgresql-${version}
#patchfiles src_pl_plpython_Makefile.patch
+patchfiles configure-uuid.patch
set libdir ${prefix}/lib/${name}
configure.args --sysconfdir=${prefix}/etc/${name} \
@@ -52,14 +53,15 @@
--with-zlib \
--with-libxml \
--with-libxslt \
+ --with-gssapi \
--enable-thread-safety \
- --enable-integer-datetimes \
--with-ossp-uuid
configure.cppflags-append -I${prefix}/include/ossp
configure.ldflags-append -headerpad_max_install_names
# building psql with clang from XCode prior to 4.4 causes segfault on query; see #31717
compiler.blacklist-append {clang < 421} macports-clang-2.9 macports-clang-3.0
+notes "To use the postgresql server, install the ${name}-server port"
if {[variant_isset universal]} {
configure.cflags-append -DAC_APPLE_UNIVERSAL_BUILD
@@ -81,10 +83,10 @@
livecheck.type regex
#livecheck.url ${homepage}
-livecheck.regex (9\\.3\\.\[.0-9\]+)
-#livecheck.url ${homepage}/developer/beta
-livecheck.url ${homepage}/ftp/source/
-#livecheck.regex (9\\.3\[.0-9\]+\[a-z\]+\[0-9\])
+#livecheck.regex (9\\.4\\.\[.0-9\]+)
+livecheck.url ${homepage}/developer/beta
+#livecheck.url ${homepage}/ftp/source/
+livecheck.regex (9\\.4\[.0-9\]+\[a-z\]+\[0-9\])
platform darwin 12 {
patchfiles-append postgresql-uuid-ossp.patch
@@ -117,18 +119,18 @@
system "cd ${worksrcpath}/contrib/${contrib}/ && \
${destroot.cmd} install ${destroot.destdir} && touch DONE"
}
- system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql93"
+ system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql94"
file delete -force ${destroot}${prefix}/share/doc/postgresql \
${destroot}${prefix}/share/man
reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
- ${destroot}${prefix}/lib/postgresql93/pgxs/src/Makefile.global
+ ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
- ${destroot}${prefix}/lib/postgresql93/pgxs/src/Makefile.global
+ ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
- ${destroot}${prefix}/lib/postgresql93/pgxs/src/Makefile.global
+ ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
}
select.group postgresql
@@ -143,10 +145,6 @@
configure.python ${prefix}/bin/python2.7
}
-variant krb5 description {add support for Kerberos 5 authentication} {
- configure.args-append --with-krb5
-}
-
variant perl description {add Perl support} {
depends_lib-append bin:perl:perl5
configure.args-append --with-perl
@@ -157,8 +155,3 @@
configure.args-append --with-tcl --with-tclconfig=${prefix}/lib
configure.env-append TCLSH=${prefix}/bin/tclsh
}
-
-post-install {
- ui_msg "\nTo use the postgresql server, install the ${name}-server port"
-}
-
Added: trunk/dports/databases/postgresql94/files/configure-uuid.patch
===================================================================
--- trunk/dports/databases/postgresql94/files/configure-uuid.patch (rev 0)
+++ trunk/dports/databases/postgresql94/files/configure-uuid.patch 2014-05-15 15:25:02 UTC (rev 120101)
@@ -0,0 +1,67 @@
+--- configure.orig
++++ configure
+@@ -1900,6 +1900,35 @@ $as_echo "$ac_res" >&6; }
+
+ } # ac_fn_c_check_header_compile
+
++# ac_fn_c_check_header_preproc LINENO HEADER VAR
++# ----------------------------------------------
++# Tests whether HEADER is present, setting the cache variable VAR accordingly.
++ac_fn_c_check_header_preproc ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
++$as_echo_n "checking for $2... " >&6; }
++if eval \${$3+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <$2>
++_ACEOF
++if ac_fn_c_try_cpp "$LINENO"; then :
++ eval "$3=yes"
++else
++ eval "$3=no"
++fi
++rm -f conftest.err conftest.i conftest.$ac_ext
++fi
++eval ac_res=\$$3
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
++$as_echo "$ac_res" >&6; }
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++
++} # ac_fn_c_check_header_preproc
++
+ # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
+ # ----------------------------------------------------
+ # Tries to find if the field MEMBER exists in type AGGR, after including
+@@ -9400,7 +9429,7 @@ fi
+ if test "$with_ossp_uuid" = yes ; then
+ for ac_header in ossp/uuid.h
+ do :
+- ac_fn_c_check_header_mongrel "$LINENO" "ossp/uuid.h" "ac_cv_header_ossp_uuid_h" "$ac_includes_default"
++ ac_fn_c_check_header_preproc "$LINENO" "ossp/uuid.h" "ac_cv_header_ossp_uuid_h"
+ if test "x$ac_cv_header_ossp_uuid_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_OSSP_UUID_H 1
+@@ -9410,7 +9439,7 @@ else
+
+ for ac_header in uuid.h
+ do :
+- ac_fn_c_check_header_mongrel "$LINENO" "uuid.h" "ac_cv_header_uuid_h" "$ac_includes_default"
++ ac_fn_c_check_header_preproc "$LINENO" "uuid.h" "ac_cv_header_uuid_h"
+ if test "x$ac_cv_header_uuid_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_UUID_H 1
+--- configure.in.orig
++++ configure.in
+@@ -1078,7 +1078,7 @@ fi
+ if test "$with_ossp_uuid" = yes ; then
+ AC_CHECK_HEADERS(ossp/uuid.h, [], [
+ AC_CHECK_HEADERS(uuid.h, [],
+- [AC_MSG_ERROR([header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID])])])
++ [AC_MSG_ERROR([header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID])], [-])], [-])
+ fi
+
+ if test "$PORTNAME" = "win32" ; then
Deleted: trunk/dports/databases/postgresql94/files/postgresql93
===================================================================
--- trunk/dports/databases/postgresql93/files/postgresql93 2014-05-11 16:18:17 UTC (rev 119943)
+++ trunk/dports/databases/postgresql94/files/postgresql93 2014-05-15 15:25:02 UTC (rev 120101)
@@ -1,33 +0,0 @@
-lib/postgresql93/bin/clusterdb
-lib/postgresql93/bin/createdb
-lib/postgresql93/bin/createlang
-lib/postgresql93/bin/createuser
-lib/postgresql93/bin/dropdb
-lib/postgresql93/bin/droplang
-lib/postgresql93/bin/dropuser
-lib/postgresql93/bin/ecpg
-lib/postgresql93/bin/initdb
-lib/postgresql93/bin/oid2name
-lib/postgresql93/bin/pg_archivecleanup
-lib/postgresql93/bin/pg_basebackup
-lib/postgresql93/bin/pg_config
-lib/postgresql93/bin/pg_controldata
-lib/postgresql93/bin/pg_ctl
-lib/postgresql93/bin/pg_dump
-lib/postgresql93/bin/pg_dumpall
-lib/postgresql93/bin/pg_isready
-lib/postgresql93/bin/pg_receivexlog
-lib/postgresql93/bin/pg_resetxlog
-lib/postgresql93/bin/pg_restore
-lib/postgresql93/bin/pg_standby
-lib/postgresql93/bin/pg_test_fsync
-lib/postgresql93/bin/pg_test_timing
-lib/postgresql93/bin/pg_upgrade
-lib/postgresql93/bin/pg_xlogdump
-lib/postgresql93/bin/pgbench
-lib/postgresql93/bin/postgres
-lib/postgresql93/bin/postmaster
-lib/postgresql93/bin/psql
-lib/postgresql93/bin/reindexdb
-lib/postgresql93/bin/vacuumdb
-lib/postgresql93/bin/vacuumlo
Copied: trunk/dports/databases/postgresql94/files/postgresql94 (from rev 119943, trunk/dports/databases/postgresql93/files/postgresql93)
===================================================================
--- trunk/dports/databases/postgresql94/files/postgresql94 (rev 0)
+++ trunk/dports/databases/postgresql94/files/postgresql94 2014-05-15 15:25:02 UTC (rev 120101)
@@ -0,0 +1,33 @@
+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
Modified: trunk/dports/databases/postgresql94-doc/Portfile
===================================================================
--- trunk/dports/databases/postgresql93-doc/Portfile 2014-05-11 16:18:17 UTC (rev 119943)
+++ trunk/dports/databases/postgresql94-doc/Portfile 2014-05-15 15:25:02 UTC (rev 120101)
@@ -3,10 +3,10 @@
PortSystem 1.0
-name postgresql93-doc
+name postgresql94-doc
conflicts postgresql84-doc postgresql90-doc postgresql91-doc \
- postgresql92-doc
-version 9.3.4
+ postgresql92-doc postgresql93-doc
+version 9.4beta1
categories databases
platforms darwin
maintainers mww jwa
@@ -22,13 +22,13 @@
master_sites postgresql:source/v${version}
distname postgresql-${version}
-checksums rmd160 126df8cb07a28e5d58ca2d1b9fc1d20e4f7a8cf1 \
- sha256 9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621
+checksums rmd160 c6796d8b03b702a1d06eadca4f745542088f8bc2 \
+ sha256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47
use_bzip2 yes
-dist_subdir postgresql93
+dist_subdir postgresql94
-set libdir ${prefix}/lib/postgresql93
+set libdir ${prefix}/lib/postgresql94
configure.args --mandir=${prefix}/share/man \
--without-openssl \
--without-readline \
@@ -42,12 +42,12 @@
post-destroot {
file rename ${destroot}${prefix}/share/doc/postgresql \
- ${destroot}${prefix}/share/doc/postgresql93
+ ${destroot}${prefix}/share/doc/postgresql94
}
livecheck.type regex
#livecheck.url ${homepage}
-livecheck.regex (9\\.3\\.\[.0-9\]+)
-#livecheck.url ${homepage}/developer/beta
-livecheck.url ${homepage}/ftp/source/
-#livecheck.regex (9\\.3\[.0-9\]+\[a-z\]+\[0-9\])
+#livecheck.regex (9\\.4\\.\[.0-9\]+)
+livecheck.url ${homepage}/developer/beta
+#livecheck.url ${homepage}/ftp/source/
+livecheck.regex (9\\.4\[.0-9\]+\[a-z\]+\[0-9\])
Modified: trunk/dports/databases/postgresql94-server/Portfile
===================================================================
--- trunk/dports/databases/postgresql93-server/Portfile 2014-05-11 16:18:17 UTC (rev 119943)
+++ trunk/dports/databases/postgresql94-server/Portfile 2014-05-15 15:25:02 UTC (rev 120101)
@@ -3,41 +3,41 @@
PortSystem 1.0
-name postgresql93-server
-version 9.3.4
+name postgresql94-server
+version 9.4beta1
categories databases
platforms darwin
maintainers mww jwa
license Permissive
-description run postgresql93 as server
+description run postgresql94 as server
long_description ${description}
distfiles
homepage http://www.postgresql.org/
master_sites postgresql
-depends_run port:postgresql93
+depends_run port:postgresql94
use_configure no
build {}
-set libdir ${prefix}/lib/postgresql93
-set dbdir ${prefix}/var/db/postgresql93/defaultdb
-set logdir ${prefix}/var/log/postgresql93
+set libdir ${prefix}/lib/postgresql94
+set dbdir ${prefix}/var/db/postgresql94/defaultdb
+set logdir ${prefix}/var/log/postgresql94
set dbuser postgres
set dbgrp postgres
add_users ${dbuser} shell=/bin/sh group=${dbgrp} \
- home=${prefix}/var/db/postgresql93 \
- realname=PostgreSQL-93\ Server
+ home=${prefix}/var/db/postgresql94 \
+ realname=PostgreSQL-94\ Server
startupitem.create yes
startupitem.init \
"PGCTL=${libdir}/bin/pg_ctl"
startupitem.start \
- "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL93DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
+ "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL94DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
startupitem.stop \
-"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL93DATA:=${dbdir}} stop -s -m fast\""
+"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL94DATA:=${dbdir}} stop -s -m fast\""
destroot {
xinstall -m 755 -d ${destroot}${logdir}
@@ -52,7 +52,7 @@
livecheck.type regex
#livecheck.url ${homepage}
-livecheck.regex (9\\.3\\.\[0-9\]+)
-#livecheck.url ${homepage}/developer/beta
-livecheck.url ${homepage}/ftp/source/
-#livecheck.regex (9\\.3\[.0-9\]+\[a-z\]+\[0-9\])
+#livecheck.regex (9\\.4\\.\[0-9\]+)
+livecheck.url ${homepage}/developer/beta
+#livecheck.url ${homepage}/ftp/source/
+livecheck.regex (9\\.4\[.0-9\]+\[a-z\]+\[0-9\])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140515/3b51ad32/attachment-0001.html>
More information about the macports-changes
mailing list