Opened 19 years ago

Closed 19 years ago

Last modified 9 years ago

#5816 closed enhancement (fixed)

UPDATE: postgresql8

Reported by: ldeck Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: postgresql8

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--- /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\

Attachments (2)

postgresql8.diff (963 bytes) - added by ldeck 19 years ago.
UPDATE: fixes incorrect hard-coding and adds variants for krb5, perl
Portfile_postgresql8.diff (330 bytes) - added by ldeck 19 years ago.
UPDATE: fixes incorrect hard-coding and adds variants for krb5, perl

Download all attachments as: .zip

Change History (5)

Changed 19 years ago by ldeck

Attachment: postgresql8.diff added

UPDATE: fixes incorrect hard-coding and adds variants for krb5, perl

comment:1 Changed 19 years ago by ldeck

attachments.isobsolete: 01

(From update of attachment 4787) Woops, patch error... disregard this one. I'll upload the fix.

Changed 19 years ago by ldeck

Attachment: Portfile_postgresql8.diff added

UPDATE: fixes incorrect hard-coding and adds variants for krb5, perl

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks for the patch - commited!

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: postgresql8 added
Priority: HighNormal
Type: defectenhancement
Note: See TracTickets for help on using tickets.