From: Ryan Phillips Date: Fri, 8 Nov 2002 03:29:50 +0000 (+0000) Subject: Fixes #10368 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=415b4076b902ce8c1f42ec8b70721f53078fc6a9;p=gentoo.git Fixes #10368 --- diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog index 581b57528f6a..623d23b05424 100644 --- a/dev-db/postgresql/ChangeLog +++ b/dev-db/postgresql/ChangeLog @@ -1,9 +1,16 @@ # 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.37 2002/10/28 04:39:41 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.38 2002/11/08 03:29:50 rphillips Exp $ *postgresql-7.2.3-r1 (27 Oct 2002) + 07 Nov 2002; Ryan Phillips postgresql-7.2.3-r1.ebuild : + + Fixes a few bugs: + Log File (#10368) + Removed the check for the postgres user + + 27 Oct 2002; Ryan Phillips postgresql-7.2.3-r1.ebuild : added new init.d and conf.d scripts diff --git a/dev-db/postgresql/files/postgresql b/dev-db/postgresql/files/postgresql index dfc250b96122..e63730f090e2 100644 --- a/dev-db/postgresql/files/postgresql +++ b/dev-db/postgresql/files/postgresql @@ -2,7 +2,7 @@ PGDATA=/var/lib/postgresql/data # Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!) -PGLOG=/var/log/postgresql.log +PGLOG=/var/lib/postgresql/data/postgresql.log # Run the PostgreSQL user as: PGUSER=postgres diff --git a/dev-db/postgresql/postgresql-7.2.3-r1.ebuild b/dev-db/postgresql/postgresql-7.2.3-r1.ebuild index 30bb564c1b96..8ec62d50b4b1 100644 --- a/dev-db/postgresql/postgresql-7.2.3-r1.ebuild +++ b/dev-db/postgresql/postgresql-7.2.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.3-r1.ebuild,v 1.1 2002/10/28 04:39:41 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.3-r1.ebuild,v 1.2 2002/11/08 03:29:50 rphillips Exp $ IUSE="ssl nls java python tcltk perl" @@ -87,17 +87,6 @@ src_compile() { make || die } -pkg_preinst() { - if ! groupmod postgres ; then - groupadd -g 70 postgres || die "problem adding group postgres" - fi - - if ! id postgres; then - useradd -g postgres -s /bin/bash -d /var/lib/postgresql -c "postgres" postgres - assert "problem adding user postgres" - fi -} - src_install () { if [ "`use perl`" ]