summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-12 02:06:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-12 02:06:58 +0000
commitcbed07e350c2b7bc947edde1a2982dd851a13a69 (patch)
treea5d7ac8bbb2a65afcd92a3e2b7df44b2f3030106 /sys-fs/raidtools
parentInitial import for darwin bootstrap. Supports Gentoo for OS X Standard and Pr... (diff)
downloadgentoo-2-cbed07e350c2b7bc947edde1a2982dd851a13a69.tar.gz
gentoo-2-cbed07e350c2b7bc947edde1a2982dd851a13a69.tar.bz2
gentoo-2-cbed07e350c2b7bc947edde1a2982dd851a13a69.zip
old
Diffstat (limited to 'sys-fs/raidtools')
-rw-r--r--sys-fs/raidtools/files/digest-raidtools-0.90-r21
-rw-r--r--sys-fs/raidtools/files/digest-raidtools-1.00.3-r21
-rw-r--r--sys-fs/raidtools/files/mkraid.c-gcc33.patch59
-rw-r--r--sys-fs/raidtools/raidtools-0.90-r2.ebuild43
-rw-r--r--sys-fs/raidtools/raidtools-1.00.3-r2.ebuild53
5 files changed, 0 insertions, 157 deletions
diff --git a/sys-fs/raidtools/files/digest-raidtools-0.90-r2 b/sys-fs/raidtools/files/digest-raidtools-0.90-r2
deleted file mode 100644
index 42b7c13ab2a9..000000000000
--- a/sys-fs/raidtools/files/digest-raidtools-0.90-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c6fd4456671a1ed8d3ff71a48b6e1d9c raidtools-dangerous-0.90-20000116.tar.gz 109961
diff --git a/sys-fs/raidtools/files/digest-raidtools-1.00.3-r2 b/sys-fs/raidtools/files/digest-raidtools-1.00.3-r2
deleted file mode 100644
index 8b9f5451a2c5..000000000000
--- a/sys-fs/raidtools/files/digest-raidtools-1.00.3-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 cb41f8093cd7381ee07adb2951cc53fa raidtools-1.00.3.tar.gz 167779
diff --git a/sys-fs/raidtools/files/mkraid.c-gcc33.patch b/sys-fs/raidtools/files/mkraid.c-gcc33.patch
deleted file mode 100644
index a85e87946e97..000000000000
--- a/sys-fs/raidtools/files/mkraid.c-gcc33.patch
+++ /dev/null
@@ -1,59 +0,0 @@
---- raidtools-1.00.3/mkraid.c.gcc33 2003-05-22 15:59:57.000000000 -0400
-+++ raidtools-1.00.3/mkraid.c 2003-05-22 16:00:38.000000000 -0400
-@@ -171,31 +171,31 @@
- if (old_force_flag && (func == mkraid)) {
- fprintf(stderr,
-
--"
-- WARNING!
--
-- NOTE: if you are recovering a double-disk error or some other failure mode
-- that made your array unrunnable but data is still intact then it's strongly
-- recommended to use the lsraid utility and to read the lsraid HOWTO.
--
-- If your RAID array holds useful and not yet backed up data then --force
-- and the hot-add/hot-remove functionality should be used with extreme care!
-- If your /etc/raidtab file is not in sync with the real array configuration,
-- then --force might DESTROY ALL YOUR DATA. It's especially dangerous to use
-- -f if the array is in degraded mode.
--
-- If your /etc/raidtab file matches the real layout of on-disk data then
-- recreating the array will not hurt your data, but be aware of the risks
-- of doing this anyway: freshly created RAID1 and RAID5 arrays do a full
-- resync of their mirror/parity blocks, which, if the raidtab is incorrect,
-- the resync will wipe out data irrecoverably. Also, if your array is in
-- degraded mode then the raidtab must match the degraded config exactly,
-- otherwise you'll get the same kind of data destruction during resync.
-- (see the failed-disk raidtab option.) You have been warned!
--
-- [ If your array holds no data, or you have it all backed up, or if you
-- know precisely what you are doing and you still want to proceed then use
-- the --really-force (or -R) flag. ]
-+"\n\
-+ WARNING!\n\
-+\n\
-+ NOTE: if you are recovering a double-disk error or some other failure mode\n\
-+ that made your array unrunnable but data is still intact then it's strongly\n\
-+ recommended to use the lsraid utility and to read the lsraid HOWTO.\n\
-+\n\
-+ If your RAID array holds useful and not yet backed up data then --force\n\
-+ and the hot-add/hot-remove functionality should be used with extreme care!\n\
-+ If your /etc/raidtab file is not in sync with the real array configuration,\n\
-+ then --force might DESTROY ALL YOUR DATA. It's especially dangerous to use\n\
-+ -f if the array is in degraded mode.\n\
-+\n\
-+ If your /etc/raidtab file matches the real layout of on-disk data then\n\
-+ recreating the array will not hurt your data, but be aware of the risks\n\
-+ of doing this anyway: freshly created RAID1 and RAID5 arrays do a full\n\
-+ resync of their mirror/parity blocks, which, if the raidtab is incorrect,\n\
-+ the resync will wipe out data irrecoverably. Also, if your array is in\n\
-+ degraded mode then the raidtab must match the degraded config exactly,\n\
-+ otherwise you'll get the same kind of data destruction during resync.\n\
-+ (see the failed-disk raidtab option.) You have been warned!\n\
-+\n\
-+ [ If your array holds no data, or you have it all backed up, or if you\n\
-+ know precisely what you are doing and you still want to proceed then use\n\
-+ the --really-force (or -R) flag. ]\n\
- ");
- return EXIT_FAILURE;
- }
diff --git a/sys-fs/raidtools/raidtools-0.90-r2.ebuild b/sys-fs/raidtools/raidtools-0.90-r2.ebuild
deleted file mode 100644
index 064ccb6a2ce6..000000000000
--- a/sys-fs/raidtools/raidtools-0.90-r2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/raidtools-0.90-r2.ebuild,v 1.6 2004/07/15 03:41:16 agriffis Exp $
-
-S=${WORKDIR}/raidtools-0.90
-DESCRIPTION="Linux RAID 0/1/4/5 utilities"
-SRC_URI="http://people.redhat.com/mingo/raid-patches/raidtools-dangerous-0.90-20000116.tar.gz"
-DEPEND="virtual/libc"
-HOMEPAGE="http://people.redhat.com/mingo/raidtools/"
-KEYWORDS="x86 amd64 ppc sparc alpha"
-IUSE="build"
-SLOT="0"
-LICENSE="GPL-2"
-
-src_compile() {
- ./configure || die
- cp Makefile Makefile.orig
- sed -e "s/-O2//" -e "s/ -g/ /" Makefile.orig > Makefile
- #emake appears to kill this every now and then (drobbins, 15 Sep 2002)
- make || die
-}
-
-src_install() {
- into /
- dosbin mkraid raidstart mkpv
- for x in raidstop raidhotadd raidhotremove raidsetfaulty
- do
- dosym raidstart /sbin/${x}
- done
- dosym mkraid /sbin/raid0run
-
- if ! use build
- then
- doman *.8 *.5
- dodoc COPYING README
- docinto txt
- dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt
- dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.html
- dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.sgml
- docinto config
- dodoc *.sample
- fi
-}
diff --git a/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild b/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild
deleted file mode 100644
index 8bcd641e2293..000000000000
--- a/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild,v 1.5 2004/09/06 15:56:39 dsd Exp $
-
-inherit flag-o-matic eutils
-
-DESCRIPTION="Linux RAID 0/1/4/5 utilities"
-SRC_URI="http://people.redhat.com/mingo/raidtools/${P}.tar.gz"
-HOMEPAGE="http://people.redhat.com/mingo/raidtools/"
-
-KEYWORDS="x86 amd64 ppc sparc hppa alpha ia64 ppc64"
-IUSE="build"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- dev-libs/popt
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/mkraid.c-gcc33.patch
- epatch ${FILESDIR}/${P}-2.6.Headers.patch
-
- # Buffer overflow fix
- sed -i "s:#define MAX_LINE_LENGTH\t\t\t(100):#define MAX_LINE_LENGTH (1000):" \
- common.h
-}
-
-src_compile() {
- #Bug: 34712 (Nov 29 2003 -solar)
- filter-flags -fPIC
- econf || die
- make CFLAGS="${CFLAGS} -DMD_VERSION=\\\"${P}\\\"" || die
-}
-
-src_install() {
- make install ROOTDIR=${D} || die
- rm -rf ${D}/dev
-
- if ! use build
- then
- doman *.8 *.5
- dodoc README *raidtab raidreconf-HOWTO reconf.notes retry summary
- dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt
- dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.html
- dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.sgml
- docinto config
- dodoc *.sample
- fi
-}