summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2014-12-02 15:00:25 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2014-12-02 15:00:25 +0000
commit662d9eb10f5423fcc3b66d20017c3b4b27f6b3fb (patch)
treed01dacddd9da11de1f9a2fb6437ab346eeeebe9c /sys-cluster
parentversion bump for security bug 531408 (diff)
downloadgentoo-2-662d9eb10f5423fcc3b66d20017c3b4b27f6b3fb.tar.gz
gentoo-2-662d9eb10f5423fcc3b66d20017c3b4b27f6b3fb.tar.bz2
gentoo-2-662d9eb10f5423fcc3b66d20017c3b4b27f6b3fb.zip
fix #524486
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd/ChangeLog5
-rw-r--r--sys-cluster/drbd/files/drbd-8.0.rc8
2 files changed, 8 insertions, 5 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 6a27997c1b8e..89d8f90c8f7e 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/drbd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.133 2014/08/28 16:55:33 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.134 2014/12/02 15:00:25 ultrabug Exp $
+
+ 02 Dec 2014; Ultrabug <ultrabug@gentoo.org> files/drbd-8.0.rc:
+ remove bashism from init script fix #524486
28 Aug 2014; Michał Górny <mgorny@gentoo.org> drbd-8.4.3.ebuild:
Install the bash completion file to the correct location using bash-
diff --git a/sys-cluster/drbd/files/drbd-8.0.rc b/sys-cluster/drbd/files/drbd-8.0.rc
index d5ce7d8e3205..5ed9ab200596 100644
--- a/sys-cluster/drbd/files/drbd-8.0.rc
+++ b/sys-cluster/drbd/files/drbd-8.0.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.8 2013/01/17 19:09:04 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.9 2014/12/02 15:00:25 ultrabug Exp $
extra_started_commands="reload"
@@ -30,7 +30,7 @@ fi
# redirection.
$DRBDADM sh-nop
-function assure_module_is_loaded() {
+assure_module_is_loaded() {
[ -e "$PROC_DRBD" ] && return
ebegin "Loading drbd module"
ret=0
@@ -40,7 +40,7 @@ function assure_module_is_loaded() {
return $ret
}
-function adjust_with_progress() {
+adjust_with_progress() {
IFS_O=$IFS
NEWLINE='
'