summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-02 17:10:30 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-02 17:10:30 +0000
commitab9cdd91d48875135409fb078723737951cd9a10 (patch)
treef401ca860c7bf724ebd005e0c3d891b82c7a7567 /sys-apps/raidtools
parent*** empty log message *** (diff)
downloadgentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.tar.gz
gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.tar.bz2
gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.zip
*** empty log message ***
Diffstat (limited to 'sys-apps/raidtools')
-rw-r--r--sys-apps/raidtools/files/digest1
-rw-r--r--sys-apps/raidtools/raidtools-0.90-r1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-apps/raidtools/files/digest b/sys-apps/raidtools/files/digest
new file mode 100644
index 000000000000..9403b1ecfd52
--- /dev/null
+++ b/sys-apps/raidtools/files/digest
@@ -0,0 +1 @@
+MD5 c6fd4456671a1ed8d3ff71a48b6e1d9c raidtools-dangerous-0.90-20000116.tar.gz
diff --git a/sys-apps/raidtools/raidtools-0.90-r1.ebuild b/sys-apps/raidtools/raidtools-0.90-r1.ebuild
new file mode 100644
index 000000000000..eee003568786
--- /dev/null
+++ b/sys-apps/raidtools/raidtools-0.90-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/raidtools/raidtools-0.90-r1.ebuild,v 1.1 2000/08/02 17:07:14 achim Exp $
+
+P=raidtools-0.90-1
+A=raidtools-dangerous-0.90-20000116.tar.gz
+S=${WORKDIR}/raidtools-0.90
+CATEGORY="sys-apps"
+DESCRIPTION="Linux RAID 0/1/4/5 utilities"
+SRC_URI="http://people.redhat.com/mingo/raid-patches/"${A}
+
+src_compile() {
+ ./configure
+ cp Makefile Makefile.orig
+ sed -e "s/-O2//" -e "s/-g//" Makefile.orig > Makefile
+ make
+}
+
+src_install() {
+ into /
+ dosbin mkraid raidstart mkpv
+ for x in raidstop raidhotadd raidhotremove
+ do
+ dosym raidstart /sbin/${x}
+ done
+ dosym mkraid /sbin/raid0run
+ doman *.8 *.5
+ dodoc COPYING README Software-RAID.HOWTO/Software-RAID.HOWTO.txt
+ docinto html
+ dodoc Software-RAID.HOWTO/*.html
+ docinto config
+ dodoc *.sample
+}
+pkg_postinst() {
+ einfo "Creating Raid-devices..."
+
+ for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ do
+ if [ ! -e ${ROOT}/dev/md$$i ]
+ then
+ mknod -m 0600 ${ROOT}/dev/md$$i b 9 $$i
+ fi
+ done
+}