Changeset 138234


Ignore:
Timestamp:
Jul 2, 2015, 7:45:46 PM (4 years ago)
Author:
jwa@…
Message:

postgresql95: first alpha release of PostgreSQL 9.5 (Portfiles copied and modified from previous version), contrib modules adjustments according to variants

Location:
trunk/dports/databases
Files:
1 deleted
3 edited
4 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/postgresql95-doc/Portfile

    r137490 r138234  
    44PortSystem 1.0
    55
    6 name                    postgresql94-doc
     6name                    postgresql95-doc
    77conflicts       postgresql84-doc postgresql90-doc postgresql91-doc \
    8                 postgresql92-doc postgresql93-doc
    9 version                 9.4.4
     8                postgresql92-doc postgresql93-doc postgresql94-doc
     9version                 9.5alpha1
    1010categories              databases
    1111platforms               darwin
     
    2222master_sites            postgresql:source/v${version}
    2323distname                postgresql-${version}
     24set rname       postgresql95
    2425
    25 checksums           rmd160  8bb4bc15d62a310c27d2028d01466b1dce03e51f \
    26                     sha256  538ed99688d6fdbec6fd166d1779cf4588bf2f16c52304e5ef29f904c43b0013
     26checksums           rmd160  5791e9f9315ffe7ac3f32697861a9cf4df4e1392 \
     27                    sha256  c97779f6c539e9072fa853fca8273f910f08805ae74456a01ab1fd0841ecfca2
    2728
    2829use_bzip2               yes
    29 dist_subdir             postgresql94
     30dist_subdir             ${rname}
    3031
    31 set libdir              ${prefix}/lib/postgresql94
     32set libdir              ${prefix}/lib/${rname}
    3233configure.args  --mandir=${prefix}/share/man \
    3334                                --without-openssl \
     
    4344post-destroot {
    4445        file rename ${destroot}${prefix}/share/doc/postgresql \
    45                 ${destroot}${prefix}/share/doc/postgresql94
     46                ${destroot}${prefix}/share/doc/${rname}
    4647}
    4748
  • trunk/dports/databases/postgresql95-server/Portfile

    r137490 r138234  
    44PortSystem 1.0
    55
    6 name                    postgresql94-server
    7 version                 9.4.4
     6name                    postgresql95-server
     7version                 9.5alpha1
    88categories              databases
    99platforms               darwin
    1010maintainers             mww jwa
    1111license                 Permissive
    12 description             run postgresql94 as server
     12
     13set rname       postgresql95
     14description             run ${rname} as server
    1315long_description        ${description}
    1416distfiles       
     
    1719master_sites            postgresql
    1820
    19 depends_run             port:postgresql94
     21depends_run             port:${rname}
    2022
    2123use_configure   no
    2224build   {}
    2325
    24 set libdir              ${prefix}/lib/postgresql94
    25 set dbdir               ${prefix}/var/db/postgresql94/defaultdb
    26 set logdir              ${prefix}/var/log/postgresql94
     26set libdir              ${prefix}/lib/${rname}
     27set dbdir               ${prefix}/var/db/${rname}/defaultdb
     28set logdir              ${prefix}/var/log/${rname}
    2729set dbuser              postgres
    2830set dbgrp               postgres
    2931
    3032add_users ${dbuser} shell=/bin/sh group=${dbgrp} \
    31     home=${prefix}/var/db/postgresql94 \
    32     realname=PostgreSQL-94\ Server
     33    home=${prefix}/var/db/${rname} \
     34    realname=PostgreSQL-95\ Server
    3335
    3436startupitem.create      yes
     
    3638        "PGCTL=${libdir}/bin/pg_ctl"
    3739startupitem.start       \
    38         "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL94DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
     40        "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL95DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
    3941startupitem.stop        \
    40 "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL94DATA:=${dbdir}} stop -s -m fast\""
     42"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL95DATA:=${dbdir}} stop -s -m fast\""
    4143
    4244destroot {
  • trunk/dports/databases/postgresql95/Portfile

    r137490 r138234  
    77
    88#remember to update the -doc and -server as well
    9 name                    postgresql94
    10 version                 9.4.4
     9name                    postgresql95
     10version                 9.5alpha1
    1111
    1212categories              databases
     
    2626distname                postgresql-${version}
    2727
    28 checksums           rmd160  8bb4bc15d62a310c27d2028d01466b1dce03e51f \
    29                     sha256  538ed99688d6fdbec6fd166d1779cf4588bf2f16c52304e5ef29f904c43b0013
     28checksums           rmd160  5791e9f9315ffe7ac3f32697861a9cf4df4e1392 \
     29                    sha256  c97779f6c539e9072fa853fca8273f910f08805ae74456a01ab1fd0841ecfca2
    3030
    3131use_bzip2               yes
     
    8282# remember to change livecheck with first proper release
    8383livecheck.type  regex
    84 livecheck.regex (9\\.4\\.\[.0-9\]+)
     84#livecheck.regex        (9\\.5\\.\[.0-9\]+)
    8585livecheck.url   ${homepage}/ftp/source/
    86 #livecheck.regex        (9\\.4\[.0-9\]*\[a-z\]+\[0-9\])
     86livecheck.regex (9\\.5\[.0-9\]*\[a-z\]+\[0-9\])
    8787
    8888# prepare the contrib modules
     
    9292# remove a Linux-specific contrib before continuing
    9393    file delete -force ${worksrcpath}/contrib/sepgsql
     94# remove perl-specific contrib, if no perl variant
     95    if {![variant_isset perl]} {
     96        file delete -force ${worksrcpath}/contrib/hstore_plperl
     97    }
     98# remove python-specific contrib, if no python27 variant
     99    if {![variant_isset python27]} {
     100        file delete -force ${worksrcpath}/contrib/hstore_plpython
     101    }
    94102    set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
    95103    foreach d [lsort $contribdirs] {
     
    109117                        ${destroot.cmd} install ${destroot.destdir} && touch DONE"
    110118        }
    111         system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql94"
     119        system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql95"
    112120        file delete -force ${destroot}${prefix}/share/doc/postgresql \
    113121                ${destroot}${prefix}/share/man
    114122               
    115123        reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
    116             ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
     124            ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
    117125       
    118126        reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
    119             ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
     127            ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
    120128           
    121129        reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
    122             ${destroot}${prefix}/lib/postgresql94/pgxs/src/Makefile.global
     130            ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
    123131}
    124132
  • trunk/dports/databases/postgresql95/files/postgresql95

    r137988 r138234  
    1 lib/postgresql94/bin/clusterdb
    2 lib/postgresql94/bin/createdb
    3 lib/postgresql94/bin/createlang
    4 lib/postgresql94/bin/createuser
    5 lib/postgresql94/bin/dropdb
    6 lib/postgresql94/bin/droplang
    7 lib/postgresql94/bin/dropuser
    8 lib/postgresql94/bin/ecpg
    9 lib/postgresql94/bin/initdb
    10 lib/postgresql94/bin/oid2name
    11 lib/postgresql94/bin/pg_archivecleanup
    12 lib/postgresql94/bin/pg_basebackup
    13 lib/postgresql94/bin/pg_config
    14 lib/postgresql94/bin/pg_controldata
    15 lib/postgresql94/bin/pg_ctl
    16 lib/postgresql94/bin/pg_dump
    17 lib/postgresql94/bin/pg_dumpall
    18 lib/postgresql94/bin/pg_isready
    19 lib/postgresql94/bin/pg_receivexlog
    20 lib/postgresql94/bin/pg_resetxlog
    21 lib/postgresql94/bin/pg_restore
    22 lib/postgresql94/bin/pg_standby
    23 lib/postgresql94/bin/pg_test_fsync
    24 lib/postgresql94/bin/pg_test_timing
    25 lib/postgresql94/bin/pg_upgrade
    26 lib/postgresql94/bin/pg_xlogdump
    27 lib/postgresql94/bin/pgbench
    28 lib/postgresql94/bin/postgres
    29 lib/postgresql94/bin/postmaster
    30 lib/postgresql94/bin/psql
    31 lib/postgresql94/bin/reindexdb
    32 lib/postgresql94/bin/vacuumdb
    33 lib/postgresql94/bin/vacuumlo
     1lib/postgresql95/bin/clusterdb
     2lib/postgresql95/bin/createdb
     3lib/postgresql95/bin/createlang
     4lib/postgresql95/bin/createuser
     5lib/postgresql95/bin/dropdb
     6lib/postgresql95/bin/droplang
     7lib/postgresql95/bin/dropuser
     8lib/postgresql95/bin/ecpg
     9lib/postgresql95/bin/initdb
     10lib/postgresql95/bin/oid2name
     11lib/postgresql95/bin/pg_archivecleanup
     12lib/postgresql95/bin/pg_basebackup
     13lib/postgresql95/bin/pg_config
     14lib/postgresql95/bin/pg_controldata
     15lib/postgresql95/bin/pg_ctl
     16lib/postgresql95/bin/pg_dump
     17lib/postgresql95/bin/pg_dumpall
     18lib/postgresql95/bin/pg_isready
     19lib/postgresql95/bin/pg_receivexlog
     20lib/postgresql95/bin/pg_resetxlog
     21lib/postgresql95/bin/pg_restore
     22lib/postgresql95/bin/pg_standby
     23lib/postgresql95/bin/pg_test_fsync
     24lib/postgresql95/bin/pg_test_timing
     25lib/postgresql95/bin/pg_upgrade
     26lib/postgresql95/bin/pg_xlogdump
     27lib/postgresql95/bin/pgbench
     28lib/postgresql95/bin/postgres
     29lib/postgresql95/bin/postmaster
     30lib/postgresql95/bin/psql
     31lib/postgresql95/bin/reindexdb
     32lib/postgresql95/bin/vacuumdb
     33lib/postgresql95/bin/vacuumlo
Note: See TracChangeset for help on using the changeset viewer.