diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-07-15 05:35:00 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-07-15 05:35:00 +0000 |
commit | de1fd461e58775684bc2fe796c6b1a4273a51527 (patch) | |
tree | 09e465180426d16930b552bbc2815c9574786c95 /dev-db/postgresql | |
parent | Allow for lirc support (diff) | |
download | gentoo-2-de1fd461e58775684bc2fe796c6b1a4273a51527.tar.gz gentoo-2-de1fd461e58775684bc2fe796c6b1a4273a51527.tar.bz2 gentoo-2-de1fd461e58775684bc2fe796c6b1a4273a51527.zip |
Added init.d startup file for 7.2.1
Diffstat (limited to 'dev-db/postgresql')
-rw-r--r-- | dev-db/postgresql/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/postgresql/files/7.2.1/postgresql | 21 | ||||
-rw-r--r-- | dev-db/postgresql/postgresql-7.2.1-r1.ebuild | 4 |
3 files changed, 29 insertions, 4 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog index ea6898b86224..930cd9460fc5 100644 --- a/dev-db/postgresql/ChangeLog +++ b/dev-db/postgresql/ChangeLog @@ -1,9 +1,9 @@ # ChangeLog for dev-db/postgresql # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.17 2002/07/14 00:03:06 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.18 2002/07/15 05:35:00 rphillips Exp $ *postgresql-7.2-r3 (02 Jul 2002) - + 08 Jul 2002; Ryan Phillips <rphillips@gentoo.org> postgresql-7.2-r3.ebuild : Added creation of user and group @@ -17,6 +17,10 @@ *postgresql-7.2.1-r1 (20 Jun 2002) + 14 Jul 2002l Ryan Phillips <rphillips@gentoo.org> postgresql-7.2.1-r1.ebuild : + + Added init.d startup file for 7.2.1 + 13 Jul 2002l Ryan Phillips <rphillips@gentoo.org> postgresql-7.2.1-r1.ebuild : Added sudo dependency diff --git a/dev-db/postgresql/files/7.2.1/postgresql b/dev-db/postgresql/files/7.2.1/postgresql new file mode 100644 index 000000000000..0129b56440bf --- /dev/null +++ b/dev-db/postgresql/files/7.2.1/postgresql @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# /space/gentoo/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.rc6,v 1.1 2002/01/06 00:53:24 woodchip Exp + +depend() { + need net +} + +start() { + ebegin "Starting postgres" + start-stop-daemon --start --quiet --background --chuid postgres --exec \ + /usr/bin/postmaster -- -D/var/lib/postgresql/data -N 1024 -B 2048 + eend $? +} + +stop () { + ebegin "Stopping postgres" + start-stop-daemon --stop --quiet --pidfile=/var/lib/postgresql/data/postmaster.pid + eend $? +} diff --git a/dev-db/postgresql/postgresql-7.2.1-r1.ebuild b/dev-db/postgresql/postgresql-7.2.1-r1.ebuild index 1268918bb378..149492c84334 100644 --- a/dev-db/postgresql/postgresql-7.2.1-r1.ebuild +++ b/dev-db/postgresql/postgresql-7.2.1-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Geert Bevin <gbevin@theleaf.be> -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.1-r1.ebuild,v 1.9 2002/07/14 00:03:06 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.1-r1.ebuild,v 1.10 2002/07/15 05:35:00 rphillips Exp $ S=${WORKDIR}/${P} DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS" @@ -53,7 +53,7 @@ src_unpack() { # config is however set to the static libperl.a # just remove the check patch -p1 < ${FILESDIR}/${P}-dyn-libperl-gentoo.diff || die - cp ${FILESDIR}/${P}-build.xml ${S}/src/interfaces/jdbc/build.xml + # cp ${FILESDIR}/${P}-build.xml ${S}/src/interfaces/jdbc/build.xml } src_compile() { |