summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-01-07 10:11:59 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-01-07 10:11:59 +0000
commitcb33679f003ac24f8c229c030f8849f88e071442 (patch)
tree11faae04ffc4c0d6bf885222676c180fdee9b8db /sys-fs/mdadm
parentRemoved old versions and files (diff)
downloadgentoo-2-cb33679f003ac24f8c229c030f8849f88e071442.tar.gz
gentoo-2-cb33679f003ac24f8c229c030f8849f88e071442.tar.bz2
gentoo-2-cb33679f003ac24f8c229c030f8849f88e071442.zip
Removed old versions and files
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r--sys-fs/mdadm/ChangeLog14
-rw-r--r--sys-fs/mdadm/files/mdadm-2.6-syslog-updates.patch30
-rw-r--r--sys-fs/mdadm/files/mdadm-2.6.4-mdassemble.patch16
-rw-r--r--sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch11
-rw-r--r--sys-fs/mdadm/files/mdadm-3.1.4-cflags.patch27
-rw-r--r--sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch27
-rw-r--r--sys-fs/mdadm/files/mdadm-3.2.3-segv-assemble.patch16
-rw-r--r--sys-fs/mdadm/files/mdraid.rc-3.1.140
-rwxr-xr-xsys-fs/mdadm/files/raid-start.sh-3.028
-rw-r--r--sys-fs/mdadm/files/raid-stop.sh19
-rw-r--r--sys-fs/mdadm/mdadm-3.1.4.ebuild82
-rw-r--r--sys-fs/mdadm/mdadm-3.1.5.ebuild80
-rw-r--r--sys-fs/mdadm/mdadm-3.2.3-r2.ebuild75
-rw-r--r--sys-fs/mdadm/mdadm-3.2.5-r1.ebuild74
-rw-r--r--sys-fs/mdadm/mdadm-3.2.6.ebuild72
-rw-r--r--sys-fs/mdadm/mdadm-3.3-r1.ebuild74
-rw-r--r--sys-fs/mdadm/mdadm-3.3.ebuild69
17 files changed, 12 insertions, 742 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 3cd8530e9056..9d7e1fe2aa9d 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-fs/mdadm
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.174 2013/12/16 05:33:29 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.175 2014/01/07 10:11:58 polynomial-c Exp $
+
+ 07 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -mdadm-3.1.4.ebuild,
+ -mdadm-3.1.5.ebuild, -mdadm-3.2.3-r2.ebuild, -mdadm-3.2.5-r1.ebuild,
+ -mdadm-3.2.6.ebuild, -mdadm-3.3.ebuild, -mdadm-3.3-r1.ebuild,
+ -files/mdadm-2.6.4-mdassemble.patch, -files/mdadm-2.6-syslog-updates.patch,
+ -files/raid-start.sh-3.0, -files/mdadm-3.0-dont-make-man.patch,
+ -files/mdraid.rc-3.1.1, -files/mdadm-3.1.4-cflags.patch,
+ -files/mdadm-3.1.5-cflags.patch, -files/mdadm-3.2.3-segv-assemble.patch,
+ -files/raid-stop.sh:
+ Removed old versions and files.
16 Dec 2013; Mike Frysinger <vapier@gentoo.org> mdadm-3.3-r2.ebuild:
Tweak cron.d entry to work for all crons #493706 by Hank Leininger.
diff --git a/sys-fs/mdadm/files/mdadm-2.6-syslog-updates.patch b/sys-fs/mdadm/files/mdadm-2.6-syslog-updates.patch
deleted file mode 100644
index ca50c711a4ec..000000000000
--- a/sys-fs/mdadm/files/mdadm-2.6-syslog-updates.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- mdadm-2.4.1/Monitor.c
-+++ mdadm-2.4.1/Monitor.c
-@@ -126,7 +126,7 @@
- fprintf(stderr, Name ": Monitor using program \"%s\" from config file\n",
- alert_cmd);
- }
-- if (scan && !mailaddr && !alert_cmd) {
-+ if (scan && !mailaddr && !alert_cmd && !dosyslog) {
- fprintf(stderr, Name ": No mail address or alert command - not monitoring.\n");
- return 1;
- }
-@@ -465,7 +465,7 @@
- {
- int priority;
-
-- if (!cmd && !mailaddr) {
-+ if (!cmd && !mailaddr && !dosyslog) {
- time_t now = time(0);
-
- printf("%1.15s: %s on %s %s\n", ctime(&now)+4, event, dev, disc?disc:"unknown device");
---- mdadm-2.4.1/ReadMe.c
-+++ mdadm-2.4.1/ReadMe.c
-@@ -463,6 +464,7 @@
- " --mail= -m : Address to mail alerts of failure to\n"
- " --program= -p : Program to run when an event is detected\n"
- " --alert= : same as --program\n"
-+" --syslog -y : Report alerts via syslog\n"
- " --delay= -d : seconds of delay between polling state. default=60\n"
- " --config= -c : specify a different config file\n"
- " --scan -s : find mail-address/program in config file\n"
diff --git a/sys-fs/mdadm/files/mdadm-2.6.4-mdassemble.patch b/sys-fs/mdadm/files/mdadm-2.6.4-mdassemble.patch
deleted file mode 100644
index 69f35c99f3b7..000000000000
--- a/sys-fs/mdadm/files/mdadm-2.6.4-mdassemble.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-http://bugs.gentoo.org/211426
-
-make default mdassemble sane
-
---- Makefile
-+++ Makefile
-@@ -121,8 +121,7 @@
- $(CC) $(CXFLAGS) $(LDFLAGS) -o test_stripe -DMAIN restripe.c
-
- mdassemble : $(ASSEMBLE_SRCS) mdadm.h
-- rm -f $(OBJS)
-- $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
-+ $(CC) $(LDFLAGS) $(ASSEMBLE_FLAGS) -DHAVE_STDINT_H -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
-
- mdassemble.static : $(ASSEMBLE_SRCS) mdadm.h
- rm -f $(OBJS)
diff --git a/sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch b/sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch
deleted file mode 100644
index 8c43fef82abb..000000000000
--- a/sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-The .man files are never installed so there's no point in
-generating them, especially since the source manpages are
-installed.
-
---- mdadm-3.0/Makefile
-+++ mdadm-3.0/Makefile
-@@ -69,3 +69,3 @@
-
--all : mdadm mdmon mdadm.man md.man mdadm.conf.man mdmon.man
-+all : mdadm mdmon
-
diff --git a/sys-fs/mdadm/files/mdadm-3.1.4-cflags.patch b/sys-fs/mdadm/files/mdadm-3.1.4-cflags.patch
deleted file mode 100644
index 4b59a0d5fe34..000000000000
--- a/sys-fs/mdadm/files/mdadm-3.1.4-cflags.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-by Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
-
-Use CFLAGS when using the compiler driver during the linking stage.
-Fixes Gentoo portage-multilib compilation failure.
-
-http://bugs.gentoo.org/336175
-
---- a/Makefile
-+++ b/Makefile
-@@ -144,7 +144,7 @@
- # mdadm.tcc doesn't work..
-
- mdadm : $(OBJS)
-- $(CC) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
-
- mdadm.static : $(OBJS) $(STATICOBJS)
- $(CC) $(LDFLAGS) -static -o mdadm.static $(OBJS) $(STATICOBJS)
-@@ -167,7 +167,7 @@
-
- # use '' to guarantee no dynamic linker interactions with the monitor thread
- mdmon : $(MON_OBJS)
-- $(CC) $(LDFLAGS) $(MON_LDFLAGS) -z now -o mdmon $(MON_OBJS) $(LDLIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(MON_LDFLAGS) -z now -o mdmon $(MON_OBJS) $(LDLIBS)
- msg.o: msg.c msg.h
-
- test_stripe : restripe.c mdadm.h
diff --git a/sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch b/sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch
deleted file mode 100644
index 36005b919fbf..000000000000
--- a/sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-by Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
-
-Use CFLAGS when using the compiler driver during the linking stage.
-Fixes Gentoo portage-multilib compilation failure.
-
-http://bugs.gentoo.org/336175
-
---- a/Makefile
-+++ b/Makefile
-@@ -144,7 +144,7 @@
- # mdadm.tcc doesn't work..
-
- mdadm : $(OBJS)
-- $(CC) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
-
- mdadm.static : $(OBJS) $(STATICOBJS)
- $(CC) $(LDFLAGS) -static -o mdadm.static $(OBJS) $(STATICOBJS)
-@@ -167,7 +167,7 @@
-
- # use '' to guarantee no dynamic linker interactions with the monitor thread
- mdmon : $(MON_OBJS)
-- $(CC) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS)
- msg.o: msg.c msg.h
-
- test_stripe : restripe.c mdadm.h
diff --git a/sys-fs/mdadm/files/mdadm-3.2.3-segv-assemble.patch b/sys-fs/mdadm/files/mdadm-3.2.3-segv-assemble.patch
deleted file mode 100644
index e88d5aacf76c..000000000000
--- a/sys-fs/mdadm/files/mdadm-3.2.3-segv-assemble.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-https://bugs.gentoo.org/403593
-
-the merging of code in upstream commit 2244d1a9877d18bdc42a5204d31f41920d369e87
-introduced this bug. patch by Nikita Kozlov.
-
---- a/config.c
-+++ b/config.c
-@@ -1045,7 +1045,7 @@ struct mddev_ident *conf_match(struct supertype *st,
- array_list->devname);
- continue;
- }
-- if (array_list->devices &&
-+ if (array_list->devices && devname &&
- !match_oneof(array_list->devices, devname)) {
- if (verbose >= 2 && array_list->devname)
- fprintf(stderr, Name
diff --git a/sys-fs/mdadm/files/mdraid.rc-3.1.1 b/sys-fs/mdadm/files/mdraid.rc-3.1.1
deleted file mode 100644
index 571c83f82204..000000000000
--- a/sys-fs/mdadm/files/mdraid.rc-3.1.1
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/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-3.1.1,v 1.1 2010/01/24 22:20:57 robbat2 Exp $
-
-depend() {
- if [ ! -e /sbin/functions.sh ] ; then
- # on baselayout-1 this could cause
- # dependency-cycles with checkroot (before *)
- before checkfs fsck
- after modules
- fi
-}
-
-run_addon() {
- local f=/lib/rcscripts/addons/$1.sh
- if [ -r "$f" ]; then
- ( . "$f" )
- fi
-}
-start_addon() {
- run_addon "$1"-start
-}
-stop_addon() {
- run_addon "$1"-stop
-}
-
-start() {
- if [ -e /sbin/functions.sh ] ; 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
-}
diff --git a/sys-fs/mdadm/files/raid-start.sh-3.0 b/sys-fs/mdadm/files/raid-start.sh-3.0
deleted file mode 100755
index 4236622fef19..000000000000
--- a/sys-fs/mdadm/files/raid-start.sh-3.0
+++ /dev/null
@@ -1,28 +0,0 @@
-# /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-start.sh-3.0,v 1.2 2010/06/03 02:03:40 vapier Exp $
-
-[ -f /proc/mdstat ] || exit 0
-
-# Start software raid with mdadm
-if [ -x /sbin/mdadm ] ; then
- ebegin "Starting up RAID devices"
- output=$(mdadm -As 2>&1)
- ret=$?
- [ ${ret} -ne 0 ] && echo "${output}"
- eend ${ret}
-fi
-
-if [ -x /sbin/blockdev ] ; then
- partitioned_devs=$(ls /dev/md_d* 2>/dev/null)
- if [ -n "${partitioned_devs}" ]; then
- ebegin "Creating RAID device partitions"
- /sbin/blockdev ${partitioned_devs}
- eend 0
- # wait because vgscan runs next, and we want udev to fire
- sleep 1
- fi
-fi
-
-# vim:ts=4
diff --git a/sys-fs/mdadm/files/raid-stop.sh b/sys-fs/mdadm/files/raid-stop.sh
deleted file mode 100644
index a59fd317a5df..000000000000
--- a/sys-fs/mdadm/files/raid-stop.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-# /lib/rcscripts/addons/raid-stop.sh: Stop raid volumes at shutdown
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-stop.sh,v 1.4 2008/06/28 16:36:46 vapier Exp $
-
-[ -f /proc/mdstat ] || exit 0
-
-# Stop software raid with mdadm (new school)
-mdadm_conf="/etc/mdadm/mdadm.conf"
-[ -e /etc/mdadm.conf ] && mdadm_conf="/etc/mdadm.conf"
-if [ -x /sbin/mdadm -a -f "${mdadm_conf}" ] ; then
- ebegin "Shutting down RAID devices (mdadm)"
- output=$(mdadm -Ss 2>&1)
- ret=$?
- [ ${ret} -ne 0 ] && echo "${output}"
- eend ${ret}
-fi
-
-# vim:ts=4
diff --git a/sys-fs/mdadm/mdadm-3.1.4.ebuild b/sys-fs/mdadm/mdadm-3.1.4.ebuild
deleted file mode 100644
index bb92b4225dfd..000000000000
--- a/sys-fs/mdadm/mdadm-3.1.4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.1.4.ebuild,v 1.11 2012/08/12 15:25:08 ssuominen Exp $
-
-inherit multilib eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="static"
-
-DEPEND=""
-RDEPEND=">=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-3.0-dont-make-man.patch
- epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch
- epatch "${FILESDIR}"/${PN}-2.6.4-mdassemble.patch #211426
- epatch "${FILESDIR}"/${PN}-3.1.4-cflags.patch #336175
- use static && append-ldflags -static
-
- sed -i -e 's:-z now::' Makefile || die #331653
-}
-
-mdadm_emake() {
- emake \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- "$@" \
- || die
-}
-
-src_compile() {
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- into /
- dosbin mdassemble || die
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- exeinto /$(get_libdir)/rcscripts/addons
- newexe "${FILESDIR}"/raid-start.sh-3.0 raid-start.sh || die
- newexe "${FILESDIR}"/raid-stop.sh raid-stop.sh || die
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm || die
- newconfd "${FILESDIR}"/mdadm.confd mdadm || die
- newinitd "${FILESDIR}"/mdraid.rc-3.1.1 mdraid || die
- newconfd "${FILESDIR}"/mdraid.confd mdraid || die
-
- # do not rely on /lib -> /libXX link
- sed -i \
- -e "s:/lib/rcscripts/:/$(get_libdir)/rcscripts/:" \
- "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
- elog "If using baselayout-2 and not relying on kernel auto-detect"
- elog "of your RAID devices, you need to add 'mdraid' to your 'boot'"
- elog "runlevel. Run the following command:"
- elog "rc-update add mdraid boot"
-}
diff --git a/sys-fs/mdadm/mdadm-3.1.5.ebuild b/sys-fs/mdadm/mdadm-3.1.5.ebuild
deleted file mode 100644
index 19c716c598f0..000000000000
--- a/sys-fs/mdadm/mdadm-3.1.5.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.1.5.ebuild,v 1.3 2012/08/12 15:25:08 ssuominen Exp $
-
-inherit multilib eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND=""
-RDEPEND=">=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-3.0-dont-make-man.patch
- epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch
- epatch "${FILESDIR}"/${PN}-2.6.4-mdassemble.patch #211426
- epatch "${FILESDIR}"/${PN}-3.1.5-cflags.patch #336175
- use static && append-ldflags -static
-}
-
-mdadm_emake() {
- emake \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- "$@" \
- || die
-}
-
-src_compile() {
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- into /
- dosbin mdassemble || die
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- exeinto /$(get_libdir)/rcscripts/addons
- newexe "${FILESDIR}"/raid-start.sh-3.0 raid-start.sh || die
- newexe "${FILESDIR}"/raid-stop.sh raid-stop.sh || die
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm || die
- newconfd "${FILESDIR}"/mdadm.confd mdadm || die
- newinitd "${FILESDIR}"/mdraid.rc-3.1.1 mdraid || die
- newconfd "${FILESDIR}"/mdraid.confd mdraid || die
-
- # do not rely on /lib -> /libXX link
- sed -i \
- -e "s:/lib/rcscripts/:/$(get_libdir)/rcscripts/:" \
- "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
- elog "If using baselayout-2 and not relying on kernel auto-detect"
- elog "of your RAID devices, you need to add 'mdraid' to your 'boot'"
- elog "runlevel. Run the following command:"
- elog "rc-update add mdraid boot"
-}
diff --git a/sys-fs/mdadm/mdadm-3.2.3-r2.ebuild b/sys-fs/mdadm/mdadm-3.2.3-r2.ebuild
deleted file mode 100644
index eb94a1dbdc9c..000000000000
--- a/sys-fs/mdadm/mdadm-3.2.3-r2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.2.3-r2.ebuild,v 1.4 2012/12/11 18:29:11 axs Exp $
-
-EAPI="2"
-inherit multilib eutils flag-o-matic udev toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND="virtual/pkgconfig"
-RDEPEND="!<sys-apps/baselayout-2
- >=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-3.2.1-mdassemble.patch #211426
- epatch "${FILESDIR}"/${PN}-3.2.3-segv-assemble.patch #211426
-
- sed -i -e "s:/lib/udev:$(udev_get_udevdir):" Makefile || die #430900
-}
-
-mdadm_emake() {
- emake \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- "$@" \
- || die
-}
-
-src_compile() {
- use static && append-ldflags -static
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- into /
- dosbin mdassemble || die
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm || die
- newconfd "${FILESDIR}"/mdadm.confd mdadm || die
- newinitd "${FILESDIR}"/mdraid.rc mdraid || die
- newconfd "${FILESDIR}"/mdraid.confd mdraid || die
-
- # do not rely on /lib -> /libXX link
- sed -i \
- -e "s:/lib/rcscripts/:/$(get_libdir)/rcscripts/:" \
- "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
- elog "If you're not relying on kernel auto-detect of your RAID devices,"
- elog "you need to add 'mdraid' to your 'boot' runlevel:"
- elog "rc-update add mdraid boot"
-}
diff --git a/sys-fs/mdadm/mdadm-3.2.5-r1.ebuild b/sys-fs/mdadm/mdadm-3.2.5-r1.ebuild
deleted file mode 100644
index 29ebac67505a..000000000000
--- a/sys-fs/mdadm/mdadm-3.2.5-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.2.5-r1.ebuild,v 1.4 2012/08/12 17:53:26 ssuominen Exp $
-
-EAPI="4"
-inherit multilib eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND="virtual/pkgconfig"
-RDEPEND="!<sys-apps/baselayout-2
- >=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-3.2.1-mdassemble.patch #211426
- sed -i 's:/run/mdadm:/var/run/mdadm:g' *.[ch] Makefile || die
- epatch "${FILESDIR}"/${PN}-3.2.x-udevdir.patch #430900
-}
-
-mdadm_emake() {
- emake \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- "$@"
-}
-
-src_compile() {
- use static && append-ldflags -static
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- into /
- dosbin mdassemble
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm
- newconfd "${FILESDIR}"/mdadm.confd mdadm
- newinitd "${FILESDIR}"/mdraid.rc mdraid
- newconfd "${FILESDIR}"/mdraid.confd mdraid
-
- # do not rely on /lib -> /libXX link
- sed -i \
- -e "s:/lib/rcscripts/:/$(get_libdir)/rcscripts/:" \
- "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
- elog "If you're not relying on kernel auto-detect of your RAID devices,"
- elog "you need to add 'mdraid' to your 'boot' runlevel:"
- elog "rc-update add mdraid boot"
-}
diff --git a/sys-fs/mdadm/mdadm-3.2.6.ebuild b/sys-fs/mdadm/mdadm-3.2.6.ebuild
deleted file mode 100644
index 591459ce5ea0..000000000000
--- a/sys-fs/mdadm/mdadm-3.2.6.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.2.6.ebuild,v 1.2 2012/11/11 07:53:37 vapier Exp $
-
-EAPI="4"
-inherit multilib eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND="virtual/pkgconfig"
-RDEPEND="!<sys-apps/baselayout-2
- >=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-3.2.1-mdassemble.patch #211426
- sed -i 's:/run/mdadm:/var/run/mdadm:g' *.[ch] Makefile || die
- epatch "${FILESDIR}"/${PN}-3.2.x-udevdir.patch #430900
-}
-
-mdadm_emake() {
- emake \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- "$@"
-}
-
-src_compile() {
- use static && append-ldflags -static
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- into /
- dosbin mdassemble
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm
- newconfd "${FILESDIR}"/mdadm.confd mdadm
- newinitd "${FILESDIR}"/mdraid.rc mdraid
- newconfd "${FILESDIR}"/mdraid.confd mdraid
-}
-
-pkg_preinst() {
- if ! has_version ${CATEGORY}/${PN} ; then
- # Only inform people the first time they install.
- elog "If you're not relying on kernel auto-detect of your RAID"
- elog "devices, you need to add 'mdraid' to your 'boot' runlevel:"
- elog " rc-update add mdraid boot"
- fi
-}
diff --git a/sys-fs/mdadm/mdadm-3.3-r1.ebuild b/sys-fs/mdadm/mdadm-3.3-r1.ebuild
deleted file mode 100644
index 262949415a43..000000000000
--- a/sys-fs/mdadm/mdadm-3.3-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.3-r1.ebuild,v 1.1 2013/09/28 08:43:48 pacho Exp $
-
-EAPI="4"
-inherit multilib flag-o-matic systemd toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND="virtual/pkgconfig
- app-arch/xz-utils"
-RDEPEND=">=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-mdadm_emake() {
- emake \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- MAP_DIR=/run/mdadm \
- "$@"
-}
-
-src_compile() {
- use static && append-ldflags -static
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- SYSTEMD_DIR=$(systemd_get_unitdir) \
- install install-systemd
- into /
- dosbin mdassemble
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm
- newconfd "${FILESDIR}"/mdadm.confd mdadm
- newinitd "${FILESDIR}"/mdraid.rc mdraid
- newconfd "${FILESDIR}"/mdraid.confd mdraid
- systemd_dounit "${FILESDIR}"/mdadm.service
- systemd_newtmpfilesd "${FILESDIR}"/mdadm.tmpfiles.conf mdadm.conf
-}
-
-pkg_postinst() {
- if ! systemd_is_booted; then
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- # Only inform people the first time they install.
- elog "If you're not relying on kernel auto-detect of your RAID"
- elog "devices, you need to add 'mdraid' to your 'boot' runlevel:"
- elog " rc-update add mdraid boot"
- fi
- fi
-}
diff --git a/sys-fs/mdadm/mdadm-3.3.ebuild b/sys-fs/mdadm/mdadm-3.3.ebuild
deleted file mode 100644
index 82be64776663..000000000000
--- a/sys-fs/mdadm/mdadm-3.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.3.ebuild,v 1.1 2013/09/04 02:17:02 radhermit Exp $
-
-EAPI="4"
-inherit multilib flag-o-matic systemd toolchain-funcs
-
-DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
-HOMEPAGE="http://neil.brown.name/blog/mdadm"
-SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND="virtual/pkgconfig
- app-arch/xz-utils"
-RDEPEND=">=sys-apps/util-linux-2.16"
-
-# The tests edit values in /proc and run tests on software raid devices.
-# Thus, they shouldn't be run on systems with active software RAID devices.
-RESTRICT="test"
-
-mdadm_emake() {
- emake \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- MAP_DIR=/run/mdadm \
- "$@"
-}
-
-src_compile() {
- use static && append-ldflags -static
- mdadm_emake all mdassemble
-}
-
-src_test() {
- mdadm_emake test
-
- sh ./test || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- into /
- dosbin mdassemble
- dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
-
- insinto /etc
- newins mdadm.conf-example mdadm.conf
- newinitd "${FILESDIR}"/mdadm.rc mdadm
- newconfd "${FILESDIR}"/mdadm.confd mdadm
- newinitd "${FILESDIR}"/mdraid.rc mdraid
- newconfd "${FILESDIR}"/mdraid.confd mdraid
- systemd_dounit "${FILESDIR}"/mdadm.service
- systemd_newtmpfilesd "${FILESDIR}"/mdadm.tmpfiles.conf mdadm.conf
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- # Only inform people the first time they install.
- elog "If you're not relying on kernel auto-detect of your RAID"
- elog "devices, you need to add 'mdraid' to your 'boot' runlevel:"
- elog " rc-update add mdraid boot"
- fi
-}