[MacPorts] #14706: postgresql83-server / bugfix / directory location wrong
MacPorts
trac at macosforge.org
Tue Mar 18 10:11:43 PDT 2008
#14706: postgresql83-server / bugfix / directory location wrong
----------------------------------+-----------------------------------------
Reporter: dirkx at webweaving.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: |
----------------------------------+-----------------------------------------
Pathc below is needed as initdb is otherwise confused about its relative
path.
Dw.
{{{
*** Portfile.org 2008-03-18 17:38:23.000000000 +0100
--- Portfile 2008-03-18 17:39:38.000000000 +0100
***************
*** 50,56 ****
ui_msg "\nTo create a database instance, after install do\n\
sudo mkdir -p ${dbdir}\n\
sudo chown ${dbuser}:${dbgrp} ${dbdir}\n\
! sudo su ${dbuser} -c \'${libdir}/bin/initdb -D ${dbdir}\'"
ui_msg "\nTo tweak your DBMS, consider increasing
kern.sysv.shmmax\
by adding an increased kern.sysv.shmmax .. to
/etc/sysctl.conf"
}
--- 50,56 ----
ui_msg "\nTo create a database instance, after install do\n\
sudo mkdir -p ${dbdir}\n\
sudo chown ${dbuser}:${dbgrp} ${dbdir}\n\
! ( cd ${prefix}; sudo su ${dbuser} -c
\'${libdir}/bin/initdb -D ${dbdir}\' )"
ui_msg "\nTo tweak your DBMS, consider increasing
kern.sysv.shmmax\
by adding an increased kern.sysv.shmmax .. to
/etc/sysctl.conf"
}
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14706>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list