diff options
| author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-07-19 19:29:57 +0200 |
|---|---|---|
| committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-30 08:46:41 +0200 |
| commit | 3e85c8c4859384b2e7860512dee265c8d18ec370 (patch) | |
| tree | 7651bef4ad238b7146bfcac02f06ae99e39c6046 /dev-db/ctdb/files/ctdb-functions.patch | |
| parent | 85215a443760d327556e220a6fa9ed04dad55ea9 (diff) | |
| download | gentoo-3e85c8c4859384b2e7860512dee265c8d18ec370.tar.gz gentoo-3e85c8c4859384b2e7860512dee265c8d18ec370.tar.bz2 gentoo-3e85c8c4859384b2e7860512dee265c8d18ec370.zip | |
dev-db/*: remove unused patches.
Squash all commit messages into a single one.
Closes: https://github.com/gentoo/gentoo/pull/1936
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-db/ctdb/files/ctdb-functions.patch')
| -rw-r--r-- | dev-db/ctdb/files/ctdb-functions.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/dev-db/ctdb/files/ctdb-functions.patch b/dev-db/ctdb/files/ctdb-functions.patch deleted file mode 100644 index 61eda720d6ae..000000000000 --- a/dev-db/ctdb/files/ctdb-functions.patch +++ /dev/null @@ -1,76 +0,0 @@ ---- ./config/functions 2009-05-29 14:19:30.741662868 +0100 -+++ ./config/functions 2009-07-29 14:15:19.436043164 +0100 -@@ -10,6 +10,8 @@ - . /etc/default/$name - elif [ -f $CTDB_BASE/sysconfig/$name ]; then - . $CTDB_BASE/sysconfig/$name -+ elif [ -f /etc/config.d/$name ]; then -+ . /etc/config.d/$name - fi - } - -@@ -21,6 +23,8 @@ - - if [ -x /sbin/startproc ]; then - CTDB_INIT_STYLE="suse" -+ elif [ -x /bin/rc-status ]; then -+ CTDB_INIT_STYLE="gentoo" - elif [ -x /sbin/start-stop-daemon ]; then - CTDB_INIT_STYLE="ubuntu" - else -@@ -400,6 +404,9 @@ - [ -x /etc/init.d/nfslock ] && { - PLATFORM="rhel" - } -+ [ -x etc/init.d/nfs ] && { -+ PLATFORM="gentoo" -+ } - - case $PLATFORM in - sles) -@@ -424,6 +431,16 @@ - ;; - esac - ;; -+ gentoo) -+ case $1 in -+ start) -+ service nfs start -+ ;; -+ stop) -+ service nfs stop > /dev/null 2>&1 -+ ;; -+ esac -+ ;; - *) - echo "Unknown platform. NFS is not supported with ctdb" - exit 1 -@@ -442,6 +459,9 @@ - [ -x /etc/init.d/nfslock ] && { - PLATFORM="rhel" - } -+ [ -x etc/init.d/nfs ] && { -+ PLATFORM="gentoo" -+ } - - case $PLATFORM in - sles) -@@ -466,6 +486,18 @@ - ;; - esac - ;; -+ gentoo) -+ # for gentoo there is no service for lockmanager -+ # so we instead just shutdown/restart nfs -+ case $1 in -+ start) -+ service nfs start -+ ;; -+ stop) -+ service nfs stop > /dev/null 2>&1 -+ ;; -+ esac -+ ;; - *) - echo "Unknown platform. NFS locking is not supported with ctdb" - exit 1 |
