diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2004-01-06 06:48:13 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2004-01-06 06:48:13 +0000 |
commit | 5ff9e58e15cf2c6389622c0366350fe154c96f94 (patch) | |
tree | 4a587b853e91e25e809a035ba0dddaea5bb3793c /dev-db/postgresql/files | |
parent | initial commit, ebuild by robbat2@gentoo.org. (Manifest recommit) (diff) | |
download | gentoo-2-5ff9e58e15cf2c6389622c0366350fe154c96f94.tar.gz gentoo-2-5ff9e58e15cf2c6389622c0366350fe154c96f94.tar.bz2 gentoo-2-5ff9e58e15cf2c6389622c0366350fe154c96f94.zip |
Fixed digest file and added a message for pg-hire.
Diffstat (limited to 'dev-db/postgresql/files')
-rw-r--r-- | dev-db/postgresql/files/digest-postgresql-7.4-r1 | 4 | ||||
-rw-r--r-- | dev-db/postgresql/files/digest-postgresql-7.4-r2 | 4 | ||||
-rw-r--r-- | dev-db/postgresql/files/digest-postgresql-7.4.1-r1 | 2 | ||||
-rw-r--r-- | dev-db/postgresql/files/postgresql.conf-7.4 | 14 | ||||
-rw-r--r-- | dev-db/postgresql/files/postgresql.init-7.4 | 55 |
5 files changed, 1 insertions, 78 deletions
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4-r1 b/dev-db/postgresql/files/digest-postgresql-7.4-r1 deleted file mode 100644 index 51122b5502f7..000000000000 --- a/dev-db/postgresql/files/digest-postgresql-7.4-r1 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 a1af58384f506ed63c1d960ab43a2b3b postgresql-base-7.4.tar.bz2 6386681 -MD5 df425a08172b1e6ca41e7720b65a6b15 postgresql-opt-7.4.tar.bz2 326740 -MD5 b8f1d43dc64b6813b3239f36425c8cb8 postgresql-docs-7.4.tar.bz2 2361172 -MD5 d9f4cf61cd53ca84e9163f986bfbf2a9 hier-Pg7.4-0.3.tar.gz 28392 diff --git a/dev-db/postgresql/files/digest-postgresql-7.4-r2 b/dev-db/postgresql/files/digest-postgresql-7.4-r2 deleted file mode 100644 index 181019903064..000000000000 --- a/dev-db/postgresql/files/digest-postgresql-7.4-r2 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 a1af58384f506ed63c1d960ab43a2b3b postgresql-base-7.4.tar.bz2 6386681 -MD5 df425a08172b1e6ca41e7720b65a6b15 postgresql-opt-7.4.tar.bz2 326740 -MD5 b8f1d43dc64b6813b3239f36425c8cb8 postgresql-docs-7.4.tar.bz2 2361172 -MD5 a9d68b8e15764ce75734b805407c1a66 hier-Pg7.4-0.3.tar.gz 28382 diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.1-r1 b/dev-db/postgresql/files/digest-postgresql-7.4.1-r1 index 54b518d61b18..a972fa33ab5e 100644 --- a/dev-db/postgresql/files/digest-postgresql-7.4.1-r1 +++ b/dev-db/postgresql/files/digest-postgresql-7.4.1-r1 @@ -1,4 +1,4 @@ MD5 6a608caae10fb1d90bf3c7bdcc56b876 postgresql-base-7.4.1.tar.bz2 6407883 MD5 5c2c63741d9c7a4168b29e4b4439b0c7 postgresql-opt-7.4.1.tar.bz2 329268 MD5 c1ed614b482df37fa0b174b3f3839752 postgresql-docs-7.4.1.tar.bz2 2381553 -MD5 a9d68b8e15764ce75734b805407c1a66 hier-Pg7.4-0.3.tar.gz 28382 +MD5 d9f4cf61cd53ca84e9163f986bfbf2a9 hier-Pg7.4-0.3.tar.gz 28392 diff --git a/dev-db/postgresql/files/postgresql.conf-7.4 b/dev-db/postgresql/files/postgresql.conf-7.4 deleted file mode 100644 index e8dab3e4c827..000000000000 --- a/dev-db/postgresql/files/postgresql.conf-7.4 +++ /dev/null @@ -1,14 +0,0 @@ -# PostgreSQL's Database Directory -PGDATA=/var/lib/postgresql/data - -# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!) -PGLOG=/var/lib/postgresql/data/postgresql.log - -# Run the PostgreSQL user as: -PGUSER=postgres - -# Extra options to run postmaster with. -# If you want to enable TCP/IP for PostgreSQL, add -i to the following: -# PGOPTS="-N 1024 -B 2048 -i" -PGOPTS="" - diff --git a/dev-db/postgresql/files/postgresql.init-7.4 b/dev-db/postgresql/files/postgresql.init-7.4 deleted file mode 100644 index 53ed6a88b3d7..000000000000 --- a/dev-db/postgresql/files/postgresql.init-7.4 +++ /dev/null @@ -1,55 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# /space/gentoo/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.rc6,v 1.1 2002/01/06 00:53:24 woodchip Exp - -depend() { - use net -} - -checkconfig() { - if [ ! -d $PGDATA ]; then - eerror "directory not found: $PGDATA" - eerror "You should create PGDATA directory first." - return 1 - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting postgres" - if [ -f $PGDATA/postmaster.pid ]; then - rm $PGDATA/postmaster.pid - fi - su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'" - - while : - do - cnt=$(($cnt + 1)) - if [ -f "$PGDATA/postmaster.pid" ]; then - ret=0 - break - fi - - if [ $cnt -eq 30 ]; then - eerror "Please see log file: $PGLOG" - ret=1 - break - fi - sleep 1 - done - eend $ret -} - -stop () { - ebegin "Stopping postgres" - su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast" - eend $? -} - -svc_restart () { - ebegin "Restarting postgres" - su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'" - eend $? -} |