|
|||||||||
Thursday the 3rd of July, 2008 |
|||||||||
postgresql80-server most recent diff
Scroll down toward the bottom of the page to get installation instructions for postgresql80-server. The raw portfile for postgresql80-server 8.0.15 is located here: http://postgresql80-server.darwinports.com/dports/databases/postgresql80-server/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/postgresql80-server # $Id: Portfile 32559 2008-01-07 23:34:13Z mww PortSystem 1.0 Name: postgresql80-server Version: 8.0.15 Category: databases Platform: darwin Maintainers: mww jwa Description: run postgresql80 as server Long Description: ${description} Homepage: http://www.postgresql.org/ master_sites postgresql depends_run port:postgresql80 fetch {} checksum {} extract {} configure {} build {} set libdir ${prefix}/lib/postgresql80 set dbdir ${prefix}/var/db/postgresql80/defaultdb set logdir ${prefix}/var/log/postgresql80 set dbuser postgres80 set dbgrp postgres startupitem.create yes startupitem.init "PGCTL=${libdir}/bin/pg_ctl" startupitem.start "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL80DATA:=${dbdir}} start -l ${logdir}/postgres.log\"" startupitem.stop "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL80DATA:=${dbdir}} stop -s -m fast\"" destroot { addgroup ${dbgrp} set gid [existsgroup ${dbgrp}] adduser ${dbuser} shell=/bin/sh gid=${gid} home=${prefix}/var/db/postgresql80 realname=PostgreSQL-80\ Server xinstall -m 755 -d ${destroot}${logdir} system "touch ${destroot}${logdir}/postgres.log" system "chown ${dbuser}:${dbgrp} ${destroot}${logdir}/postgres.log" } post-install { 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" } livecheck.check regex livecheck.url ${homepage} livecheck.regex v(8.0.\[0-9\]+) If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/postgresql80-serverYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using postgresql80-server with these commands: % man postgresql80-server Where to find more information:
|
![]() |
![]() Digg postgresql80-server on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




