summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-10-04 14:27:24 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-10-04 14:27:24 +0000
commit826785359f66083007d9f3859e64da999979b862 (patch)
treee986a61a1578b6afa979bdaa4ee65966063d649f /sys-fs/mdadm/files
parentVersion bump for security bug #194711. (diff)
downloadgentoo-2-826785359f66083007d9f3859e64da999979b862.tar.gz
gentoo-2-826785359f66083007d9f3859e64da999979b862.tar.bz2
gentoo-2-826785359f66083007d9f3859e64da999979b862.zip
remove lvm from before check since this needs to be user configurable
(Portage version: 2.1.3.11)
Diffstat (limited to 'sys-fs/mdadm/files')
-rw-r--r--sys-fs/mdadm/files/digest-mdadm-2.6.3-r33
-rw-r--r--sys-fs/mdadm/files/mdraid.rc-2.6.3-r326
2 files changed, 29 insertions, 0 deletions
diff --git a/sys-fs/mdadm/files/digest-mdadm-2.6.3-r3 b/sys-fs/mdadm/files/digest-mdadm-2.6.3-r3
new file mode 100644
index 000000000000..53e49f8e561a
--- /dev/null
+++ b/sys-fs/mdadm/files/digest-mdadm-2.6.3-r3
@@ -0,0 +1,3 @@
+MD5 2d3950028253a856f065763e5bd78b1c mdadm-2.6.3.tar.bz2 151822
+RMD160 236f38c021d92e387cf00f66a28d1a35d160740b mdadm-2.6.3.tar.bz2 151822
+SHA256 5da1da7e2e9df39071016e6914769f685574dc50d94b6b2bbfaec18e376c070c mdadm-2.6.3.tar.bz2 151822
diff --git a/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3 b/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3
new file mode 100644
index 000000000000..622c40b1faa2
--- /dev/null
+++ b/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3,v 1.1 2007/10/04 14:27:24 cardoe Exp $
+
+depend() {
+ if [ -e /lib/librc.so ]; then
+ # on baselayout-1 this could cause
+ # dependency-cycles with checkroot (before *)
+ before checkfs
+ fi
+}
+
+start() {
+ if [ ! -e /lib/librc.so ]; then
+ eerror "The ${SVCNAME} init script is written for baselayout-2"
+ eerror "Please do not use it with baselayout-1"
+ return 1
+ fi
+
+ start_addon raid
+}
+
+stop() {
+ stop_addon raid
+}