diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-08-26 08:05:39 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-08-26 08:05:39 +0000 |
commit | e399b536bd21051a4efd38463cc1b5690556eb59 (patch) | |
tree | 64a6220f560340e79a3879bdb08557f169ee27d6 /dev-db/postgresql/files | |
parent | Masked PostgreSQL 7.2.2 (diff) | |
download | gentoo-2-e399b536bd21051a4efd38463cc1b5690556eb59.tar.gz gentoo-2-e399b536bd21051a4efd38463cc1b5690556eb59.tar.bz2 gentoo-2-e399b536bd21051a4efd38463cc1b5690556eb59.zip |
Security update
Diffstat (limited to 'dev-db/postgresql/files')
-rw-r--r-- | dev-db/postgresql/files/7.2.2/postgresql | 21 | ||||
-rw-r--r-- | dev-db/postgresql/files/digest-postgresql-7.2.2 | 1 | ||||
-rw-r--r-- | dev-db/postgresql/files/postgresql-7.2.2-dyn-libperl-gentoo.diff | 39 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/7.2.2/postgresql b/dev-db/postgresql/files/7.2.2/postgresql new file mode 100644 index 000000000000..0129b56440bf --- /dev/null +++ b/dev-db/postgresql/files/7.2.2/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/files/digest-postgresql-7.2.2 b/dev-db/postgresql/files/digest-postgresql-7.2.2 new file mode 100644 index 000000000000..625009b2bc41 --- /dev/null +++ b/dev-db/postgresql/files/digest-postgresql-7.2.2 @@ -0,0 +1 @@ +MD5 853bf330837b50a6c6e3edf540ad1792 postgresql-7.2.2.tar.gz 9239158 diff --git a/dev-db/postgresql/files/postgresql-7.2.2-dyn-libperl-gentoo.diff b/dev-db/postgresql/files/postgresql-7.2.2-dyn-libperl-gentoo.diff new file mode 100644 index 000000000000..6b6b57a45051 --- /dev/null +++ b/dev-db/postgresql/files/postgresql-7.2.2-dyn-libperl-gentoo.diff @@ -0,0 +1,39 @@ +--- postgresql-7.2/src/pl/plperl/Makefile.PL_orig 2002-02-15 16:59:00.000000000 +0100 ++++ postgresql-7.2/src/pl/plperl/Makefile.PL 2002-02-15 16:59:23.000000000 +0100 +@@ -3,36 +3,6 @@ + use DynaLoader; + use Config; + +-# On some platforms you can't build plperl unless libperl is a shared +-# library. (Actually, it would be enough if code in libperl.a is +-# compiled to be position-independent, but that is hard to check for +-# and seems pretty unlikely anyway.) On some platforms it doesn't +-# matter and they can pass in the --force flag to build anyway. +-# (Having a shared libperl is still a lot better for efficiency, +-# though.) +- +-if ($Config{'useshrplib'} ne 'true' && $ARGV[0] ne '--force') { +- open(OUT, ">Makefile") or die "Can't write Makefile: $!\n"; +- print OUT <<'EndOfMakefile'; +-# Dummy Makefile for use when we can't build plperl +- +-all: +- @echo ""; \ +- echo "*** Cannot build PL/Perl because libperl is not a shared library." ; \ +- echo "*** You might have to rebuild your Perl installation. Refer to"; \ +- echo "*** the documentation for details."; \ +- echo "" +- +-install: +- +-clean realclean: +- rm -f Makefile +- +-EndOfMakefile +- close(OUT); +- exit(0); +-} +- + my $ldopts=ldopts(); + $ldopts=~s/$Config{ccdlflags}//; + |