[MacPorts] #5816: UPDATE: postgresql8

Lachlan Deck lachlan.deck at gmail.com
Thu Mar 24 11:31:59 PDT 2016


Is that what I was doing 10 years ago :)

> On 25 Mar 2016, at 2:27 AM, MacPorts <noreply at macports.org> wrote:
> 
> #5816: UPDATE: postgresql8
> -----------------------------+--------------------
>  Reporter:  lachlan.deck@…  |      Owner:  mww@…
>      Type:  enhancement     |     Status:  closed
>  Priority:  Normal          |  Milestone:
> Component:  ports           |    Version:  1.0
> Resolution:  fixed           |   Keywords:
>      Port:  postgresql8     |
> -----------------------------+--------------------
> Changes (by ryandesign@…):
> 
> * priority:  High => Normal
> * type:  defect => enhancement
> * port:   => postgresql8
> 
> 
> Old description:
> 
>> ---
>> /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/databases/
>> postgresql8/Portfile  2005-1
>> 1-08 10:45:18.000000000 +1100
>> +++ Portfile_postgresql8        2005-11-24 14:14:36.000000000 +1100
>> @@ -98,6 +98,16 @@
>>        configure.env-append    PYTHON=${prefix}/bin/python2.4
>> }
>> 
>> +variant krb5 {
>> +       depends_lib-append                      bin:kerberos:kerberos5
>> +       configure.args-append           --with-krb5
>> +}
>> +
>> +variant perl {
>> +       depends_lib-append                      bin:perl:perl5.8
>> +       configure.args-append           --with-perl
>> +}
>> +
>> platform darwin 8 {
>>        configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
>> CXX=/usr/bin/g++-4.0
>> }
>> @@ -125,7 +135,7 @@
>>        post-install {
>>                ui_msg "\nTo create a database instance, after install
>> do\n\
>>                        sudo mkdir -p ${dbdir}\n\
>> -                       sudo chown ${dbuser}:postgre ${dbdir}\n\
>> +                       sudo chown ${dbuser}:{$dbgrp} ${dbdir}\n\
>>                        sudo su ${dbuser} -c \'${libdir}/bin/initdb -D
>> ${dbdir}\'"
>>                ui_msg "\nTo activate the PostgreSQL8 server, add\n\
>>                        POSTGRESQL8=-YES-\n\
> 
> New description:
> 
> {{{
> ---
> /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/databases/postgresql8/Portfile
> 2005-11-08 10:45:18.000000000 +1100
> +++ Portfile_postgresql8        2005-11-24 14:14:36.000000000 +1100
> @@ -98,6 +98,16 @@
>         configure.env-append    PYTHON=${prefix}/bin/python2.4
>  }
> 
> +variant krb5 {
> +       depends_lib-append                      bin:kerberos:kerberos5
> +       configure.args-append           --with-krb5
> +}
> +
> +variant perl {
> +       depends_lib-append                      bin:perl:perl5.8
> +       configure.args-append           --with-perl
> +}
> +
>  platform darwin 8 {
>         configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
> CXX=/usr/bin/g++-4.0
>  }
> @@ -125,7 +135,7 @@
>         post-install {
>                 ui_msg "\nTo create a database instance, after install
> do\n\
>                         sudo mkdir -p ${dbdir}\n\
> -                       sudo chown ${dbuser}:postgre ${dbdir}\n\
> +                       sudo chown ${dbuser}:{$dbgrp} ${dbdir}\n\
>                         sudo su ${dbuser} -c \'${libdir}/bin/initdb -D
> ${dbdir}\'"
>                 ui_msg "\nTo activate the PostgreSQL8 server, add\n\
>                         POSTGRESQL8=-YES-\n\
> }}}
> 
> --
> 
> -- 
> Ticket URL: <https://trac.macports.org/ticket/5816#comment:3>
> MacPorts <https://www.macports.org/>
> Ports system for OS X



More information about the macports-dev mailing list