|
|||||||||
Monday the 1st of December, 2008 |
|||||||||
postgresql83-server most recent diffversion 8.3.5
Scroll down toward the bottom of the page to get installation instructions for postgresql83-server. The raw portfile for postgresql83-server 8.3.5 is located here: http://postgresql83-server.darwinports.com/dports/databases/postgresql83-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/postgresql83-server # $Id: Portfile 42182 2008-11-16 17:19:56Z jwa PortSystem 1.0 Name: postgresql83-server Version: 8.3.5 Category: databases Platform: darwin Maintainers: mww jwa Description: run postgresql83 as server Long Description: ${description} Homepage: http://www.postgresql.org/ master_sites postgresql depends_run port:postgresql83 fetch {} checksum {} extract {} use_configure no build {} set libdir ${prefix}/lib/postgresql83 set dbdir ${prefix}/var/db/postgresql83/defaultdb set logdir ${prefix}/var/log/postgresql83 set dbuser postgres set dbgrp postgres startupitem.create yes startupitem.init "PGCTL=${libdir}/bin/pg_ctl" startupitem.start "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL83DATA:=${dbdir}} start -l ${logdir}/postgres.log\"" startupitem.stop "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL83DATA:=${dbdir}} stop -s -m fast\"" destroot { addgroup ${dbgrp} set gid [existsgroup ${dbgrp}] adduser ${dbuser} shell=/bin/sh gid=${gid} home=${prefix}/var/db/postgresql83 realname=PostgreSQL-83\ 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 (8.3.\[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/postgresql83-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 postgresql83-server with these commands: % man postgresql83-server Where to find more information:
|
![]() |
![]() Digg postgresql83-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 |
|||||||
| |



