Fixes #10368
authorRyan Phillips <rphillips@gentoo.org>
Fri, 8 Nov 2002 03:29:50 +0000 (03:29 +0000)
committerRyan Phillips <rphillips@gentoo.org>
Fri, 8 Nov 2002 03:29:50 +0000 (03:29 +0000)
dev-db/postgresql/ChangeLog
dev-db/postgresql/files/postgresql
dev-db/postgresql/postgresql-7.2.3-r1.ebuild

index 581b57528f6a2ea35cf96d786639ec11ccfebb7a..623d23b05424b7775083e69ede36eed96cf89a2d 100644 (file)
@@ -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 <rphillips@gentoo.org> 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 <rphillips@gentoo.org> postgresql-7.2.3-r1.ebuild :
 
   added new init.d and conf.d scripts
index dfc250b961220d6360e829ff24024cadd847e5ee..e63730f090e2729950b62c3b0169532627d2558c 100644 (file)
@@ -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
index 30bb564c1b963b136f51d0984aa244f915b7d5de..8ec62d50b4b1c79f74c04dae043a932b57575628 100644 (file)
@@ -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`" ]