summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-08-26 10:15:04 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-08-26 10:15:04 +0000
commit7ac18e153a633a15430f15208f105240b7b9ca92 (patch)
tree4744c8d35acdcb6231e5bc95cc65a11ca022e8c2 /dev-db
parentrecreate configure and ther such files when using a new admin dir (diff)
downloadgentoo-2-7ac18e153a633a15430f15208f105240b7b9ca92.tar.gz
gentoo-2-7ac18e153a633a15430f15208f105240b7b9ca92.tar.bz2
gentoo-2-7ac18e153a633a15430f15208f105240b7b9ca92.zip
More small fixes and cleanups
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/ChangeLog5
-rw-r--r--dev-db/postgresql/postgresql-7.2.2.ebuild13
2 files changed, 8 insertions, 10 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog
index 585203e1528a..d15e95aa4fd5 100644
--- a/dev-db/postgresql/ChangeLog
+++ b/dev-db/postgresql/ChangeLog
@@ -1,10 +1,13 @@
# 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.26 2002/08/26 09:20:59 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.27 2002/08/26 10:15:04 aliz Exp $
*postgresql-7.2.2 (26 Aug 2002)
26 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> postgresql-7.2.2.ebuild:
+ Small cleanups and fixes.
+
+ 26 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> postgresql-7.2.2.ebuild:
Cleaned up ebuild. Removed tarballs of documentation and manpages from
docdir.
diff --git a/dev-db/postgresql/postgresql-7.2.2.ebuild b/dev-db/postgresql/postgresql-7.2.2.ebuild
index 2d19c7a2fba3..9f21be5f828e 100644
--- a/dev-db/postgresql/postgresql-7.2.2.ebuild
+++ b/dev-db/postgresql/postgresql-7.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.2.ebuild,v 1.2 2002/08/26 09:20:59 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.2.ebuild,v 1.3 2002/08/26 10:15:04 aliz Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS"
@@ -86,7 +86,7 @@ pkg_preinst() {
fi
if ! id postgres; then
- useradd -g postgres -s /dev/null -d /var/lib/postgresql -c "postgres" postgres
+ useradd -g postgres -s /bin/bash -d /var/lib/postgresql -c "postgres" postgres
assert "problem adding user postgres"
fi
}
@@ -109,7 +109,6 @@ src_install () {
cd ${S}/doc
dodoc FAQ* KNOWN_BUGS MISSING_FEATURES README*
dodoc TODO internals.ps bug.template
- dodoc *.tar.gz
docinto sgml
dodoc src/sgml/*.{sgml,dsl}
docinto sgml/ref
@@ -122,16 +121,12 @@ src_install () {
dojar ${D}/usr/share/postgresql/java/postgresql.jar
rm ${D}/usr/share/postgresql/java/postgresql.jar
- dodir ${D}/usr/include/postgresql/pgsql
- ln -s ${D}/usr/include/*.h ${D}/usr/include/postgresql/pgsql
+ dodir /usr/include/postgresql/pgsql
+ cp ${D}/usr/include/*.h ${D}/usr/include/postgresql/pgsql
exeinto /etc/init.d/
doexe ${FILESDIR}/${PV}/${PN}
- # remove unnecessary files
- rm ${D}/usr/share/doc/${P}/postgres.tar.gz
- rm ${D}/usr/share/doc/${P}/man.tar.gz
-
einfo ">>> Execute the following command"
einfo ">>> ebuild /var/db/pkg/dev-db/${P}/${P}.ebuild config"
einfo ">>> to setup the initial database environment."