summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-01-06 23:36:02 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-01-06 23:36:02 +0000
commit92435757317bbbe923a3ca0c27ad48e93a8ff06e (patch)
treed5c5c3d093ac012c5280f521346d32150ad6f65b /dev-db/postgresql-server
parentMarked ~ppc/~ppc64. (diff)
downloadgentoo-2-92435757317bbbe923a3ca0c27ad48e93a8ff06e.tar.gz
gentoo-2-92435757317bbbe923a3ca0c27ad48e93a8ff06e.tar.bz2
gentoo-2-92435757317bbbe923a3ca0c27ad48e93a8ff06e.zip
Fixing init script sourcing for non-bash shells, #298490
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/postgresql-server')
-rw-r--r--dev-db/postgresql-server/ChangeLog10
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-7.34
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-7.44
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-8.04
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-8.14
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-8.24
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-8.34
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-8.44
8 files changed, 22 insertions, 16 deletions
diff --git a/dev-db/postgresql-server/ChangeLog b/dev-db/postgresql-server/ChangeLog
index 9f2ac3334edc..502b803fe2f5 100644
--- a/dev-db/postgresql-server/ChangeLog
+++ b/dev-db/postgresql-server/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/postgresql-server
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.35 2009/12/14 18:57:33 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.36 2010/01/06 23:36:02 patrick Exp $
+
+ 06 Jan 2010; Patrick Lauer <patrick@gentoo.org> files/postgresql.init-7.3,
+ files/postgresql.init-7.4, files/postgresql.init-8.0,
+ files/postgresql.init-8.1, files/postgresql.init-8.2,
+ files/postgresql.init-8.3, files/postgresql.init-8.4:
+ Fixing init script sourcing for non-bash shells, #298490
*postgresql-server-8.4.2 (14 Dec 2009)
*postgresql-server-8.3.9 (14 Dec 2009)
diff --git a/dev-db/postgresql-server/files/postgresql.init-7.3 b/dev-db/postgresql-server/files/postgresql.init-7.3
index 2b158f518d94..46d170d0d4fd 100644
--- a/dev-db/postgresql-server/files/postgresql.init-7.3
+++ b/dev-db/postgresql-server/files/postgresql.init-7.3
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-7.3,v 1.3 2008/05/13 07:00:36 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-7.3,v 1.4 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}
diff --git a/dev-db/postgresql-server/files/postgresql.init-7.4 b/dev-db/postgresql-server/files/postgresql.init-7.4
index 51e0b03deced..56714158e507 100644
--- a/dev-db/postgresql-server/files/postgresql.init-7.4
+++ b/dev-db/postgresql-server/files/postgresql.init-7.4
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-7.4,v 1.3 2008/05/13 07:00:36 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-7.4,v 1.4 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}
diff --git a/dev-db/postgresql-server/files/postgresql.init-8.0 b/dev-db/postgresql-server/files/postgresql.init-8.0
index da313583545c..4a95ac324ae3 100644
--- a/dev-db/postgresql-server/files/postgresql.init-8.0
+++ b/dev-db/postgresql-server/files/postgresql.init-8.0
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.0,v 1.3 2008/05/13 07:00:36 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.0,v 1.4 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}
diff --git a/dev-db/postgresql-server/files/postgresql.init-8.1 b/dev-db/postgresql-server/files/postgresql.init-8.1
index 188746da9f9c..a95ca10742a7 100644
--- a/dev-db/postgresql-server/files/postgresql.init-8.1
+++ b/dev-db/postgresql-server/files/postgresql.init-8.1
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.1,v 1.3 2008/05/13 07:00:36 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.1,v 1.4 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}
diff --git a/dev-db/postgresql-server/files/postgresql.init-8.2 b/dev-db/postgresql-server/files/postgresql.init-8.2
index 9fa6c34a4f4e..fe3fab390899 100644
--- a/dev-db/postgresql-server/files/postgresql.init-8.2
+++ b/dev-db/postgresql-server/files/postgresql.init-8.2
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.2,v 1.4 2009/01/28 22:26:30 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.2,v 1.5 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}
diff --git a/dev-db/postgresql-server/files/postgresql.init-8.3 b/dev-db/postgresql-server/files/postgresql.init-8.3
index 84cc312243c6..b41398c06df9 100644
--- a/dev-db/postgresql-server/files/postgresql.init-8.3
+++ b/dev-db/postgresql-server/files/postgresql.init-8.3
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.3,v 1.4 2008/09/28 22:53:02 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.3,v 1.5 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}
diff --git a/dev-db/postgresql-server/files/postgresql.init-8.4 b/dev-db/postgresql-server/files/postgresql.init-8.4
index d46c0b64c8bc..5ebd3034e0ac 100644
--- a/dev-db/postgresql-server/files/postgresql.init-8.4
+++ b/dev-db/postgresql-server/files/postgresql.init-8.4
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v 1.1 2009/09/09 21:41:25 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v 1.2 2010/01/06 23:36:01 patrick Exp $
opts="${opts} reload"
depend() {
use net
if [ -L /etc/eselect/postgresql/service ] ; then
- local p_service="$(for f in /etc/eselect/postgresql/service/* ; do source $f ; done ; echo $postgres_service )"
+ local p_service="$(for f in /etc/eselect/postgresql/service/* ; do . $f ; done ; echo $postgres_service )"
test "${p_service}" = "${SVCNAME}" && provide postgresql
fi
}