diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-06-28 16:31:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-06-28 16:31:02 +0000 |
commit | c541feaeb69dced3f28ecf366d7dd054b566e657 (patch) | |
tree | 5e2297fe97dc09316c78f3c8b7c0339e8b79ff31 /sys-fs | |
parent | Version bump. (diff) | |
download | historical-c541feaeb69dced3f28ecf366d7dd054b566e657.tar.gz historical-c541feaeb69dced3f28ecf366d7dd054b566e657.tar.bz2 historical-c541feaeb69dced3f28ecf366d7dd054b566e657.zip |
old
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25 x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mdadm/Manifest | 21 | ||||
-rw-r--r-- | sys-fs/mdadm/files/mdraid.rc | 26 | ||||
-rw-r--r-- | sys-fs/mdadm/files/mdraid.rc-2.6.3-r3 | 26 | ||||
-rwxr-xr-x | sys-fs/mdadm/files/raid-start.sh | 55 | ||||
-rw-r--r-- | sys-fs/mdadm/files/raid-start.sh-2.6.3-r2 | 51 | ||||
-rw-r--r-- | sys-fs/mdadm/files/raid-start.sh-2.6.3-r4 | 51 | ||||
-rw-r--r-- | sys-fs/mdadm/files/raid-stop.sh | 28 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.2.ebuild | 42 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.3-r1.ebuild | 50 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.3-r2.ebuild | 54 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.3-r3.ebuild | 54 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.3-r4.ebuild | 54 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.3.ebuild | 42 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.6.4.ebuild | 54 |
14 files changed, 3 insertions, 605 deletions
diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest index ca1258f696f4..0897876e1037 100644 --- a/sys-fs/mdadm/Manifest +++ b/sys-fs/mdadm/Manifest @@ -7,33 +7,18 @@ AUX mdadm-2.6-syslog-updates.patch 1117 RMD160 c7de674fc76eb444d1d5f97a5a4c59c95 AUX mdadm-2.6.4-mdassemble.patch 465 RMD160 4abcfcd75242d552f674a850ea116835a8f56aea SHA1 609161b594c51644f30de98a7a74473361bdb98b SHA256 015321cbb219f80444c9d56d01bde36f828d2814c57712a7655bdbae811ff8c4 AUX mdadm.confd 205 RMD160 9b4af661ef05e6dbab9ead55506a1ef0670a9076 SHA1 46d75372ecfcfcb34b1576bd994c22cae24f2a79 SHA256 ec55674955af7a31da51b8b72b599e8519809287dad796a9b16155bcba471b79 AUX mdadm.rc 574 RMD160 69640d0b1fbd11bd7078c0e7791d247420653b73 SHA1 39044e7d6ad63c44669baf9775230670f04b201c SHA256 3073b14619cb7b2c99c33f2d6cfd1e59ce5557899bffebaa65fa52f3caffadc7 -AUX mdraid.rc 616 RMD160 641fec8593582abd37a2da203328651d25cb533f SHA1 4c4daae5e84f1e5f60d826845a094ed61b9e0443 SHA256 a4dc3068ba0c8ebbb05a5c03bfec24c4e1f67e007fa2e8ff9d21dce5ab37b1e6 -AUX mdraid.rc-2.6.3-r3 621 RMD160 0e503933c4123174166055d6938f988093140a31 SHA1 e3e5b84c6ca0ddda1f1680ebca80a7d7bf6262df SHA256 76766572a93c1b22618131a20ad0d6d12f3671d1cb1fb860cbce19a18679aa84 AUX mdraid.rc-2.6.3-r4 637 RMD160 6cd883833e8327256b61567eef3372c0b539824f SHA1 083569014fad29efdf23ca5522163cec31623853 SHA256 c460a68a9ceed95d9ddd3c862c0c58f482a289e074c37dc6ab82f564e04f70ec -AUX raid-start.sh 1606 RMD160 8adf7b5a60bb3b7e69fcd317b7866072acb9c3c9 SHA1 03daf3b0a4b0f64f6b35b7f6596b7edc2725db10 SHA256 bd6923697c571e29cbbbba7f36a71993f7af30579e1ee176303c3ced39ff16f6 -AUX raid-start.sh-2.6.3-r2 1510 RMD160 a4b717beca02df3ea17a4257b34933c1f6f9a1a6 SHA1 2eabe12927f434219820860021bd51e87a3f1933 SHA256 c05603b77c94d4d340d7cfc4a66d91f5ce36b3489196daad748d3e4ecbc85d37 -AUX raid-start.sh-2.6.3-r4 1500 RMD160 b91366a621fb298fe2f89c2b64a707c69d803895 SHA1 b653d7591928da38f0bd82a61e5b2cf5f811c183 SHA256 0815e7e48f0c90e78cbc0976ba0acf0926b9a7606f6127ea63aefd6b66503a6b AUX raid-start.sh-2.6.4 1470 RMD160 c779e6f5ff5fb74c46c8d590a87bc07d97f21943 SHA1 4cd319c799b2ff9c186b89d16a80da64506e7b02 SHA256 f9a65d5947053bc7c6930f2b011b7e4b3a37f1f390beac7a72f0ac3a54d0d174 -AUX raid-stop.sh 895 RMD160 ffffe626fd7e6251e34686a96e831f1bb4075884 SHA1 386e8317a7b2285264fb30137694a9c90e980754 SHA256 d785f81e30cda8d0eb78ac503520284c85c96de0f44e44f69a32a8d2d1e4af1c AUX raid-stop.sh-2.6.3-r2 655 RMD160 4510677c8f6efc3d7ab4fb76e50da38f67e6f3b2 SHA1 5f598576c13be9eb16afeba3c980d822293d5b1a SHA256 5548ff921f980918323cf86060c0b3360522a034b020edd7dd4aa8df60976366 -DIST mdadm-2.6.2.tar.bz2 151082 RMD160 04f7598019b28dadcb7ca35c630910e65a036cdf SHA1 623d5462c41fac7b95e641a8bb8587c933d025d9 SHA256 b026731babd23013277d7a0e087d2233ff044deb616c51851dc3adffaae32a55 -DIST mdadm-2.6.3.tar.bz2 151822 RMD160 236f38c021d92e387cf00f66a28d1a35d160740b SHA1 b4c40340efc70b7d79a4cca1471e23661f903111 SHA256 5da1da7e2e9df39071016e6914769f685574dc50d94b6b2bbfaec18e376c070c DIST mdadm-2.6.4.tar.bz2 152401 RMD160 dcd17d2f4c42061de44c27f3bf80cf5fee6aaab3 SHA1 efcd1ef9a5fc5fbce30d03d371cbd6997a4e2c40 SHA256 1d39f110eda550b9e7dbe9d1e56098ef77197029cb8c5f5d638d2c255feaf23d -EBUILD mdadm-2.6.2.ebuild 1242 RMD160 42a33cf93b617f96afa76a5719381f6d19218acb SHA1 1714ed9eaade4ade9653b535c34eb55e9766dc9a SHA256 863f2968c780c1dfed442e6e6efd47285d1d4cd245585202be5689a077c629a1 -EBUILD mdadm-2.6.3-r1.ebuild 1626 RMD160 c990da75b65f60c9d1252c0cc0dab9b2bd122069 SHA1 460b1fdd01dfd0fdf6b5aceec82905c284d4a292 SHA256 7016b7bbc33260d8735ab8447074d65a2f5fe9a921bd8951047d4a4a11dfde8d -EBUILD mdadm-2.6.3-r2.ebuild 1826 RMD160 785d03732eb62c68f916947e8c8f6b8874c80ae9 SHA1 833de439364350ca7a89cd5a13741576fba54e0c SHA256 f360b4e0e3db5f01c544ddac7083ca74090b51c456e2dfecb1349abaedd471e7 -EBUILD mdadm-2.6.3-r3.ebuild 1832 RMD160 95dc27da94a6d1143a9025b69acac9ef657557bf SHA1 10081ebddd27a452401b7eaee02bdc025652da39 SHA256 43f2a0f93bf68471dd987fb2b1325ffd2abf723dd20b2f42ce3a2357ab55ce65 -EBUILD mdadm-2.6.3-r4.ebuild 1833 RMD160 78519c3d4710e1c6628415916b748b8099244abb SHA1 a6b4c7bb1713f7b2a48ee2638f94ca7c6191d75c SHA256 02361f63ce5c1db0139bfba54a6db426f58fc5232c96141d3c6b7255b1a1b03c -EBUILD mdadm-2.6.3.ebuild 1247 RMD160 f53ae47db3ee0540384c848adf1828127372f71f SHA1 ffab0c6351454cef193582f598a977a37661a2e4 SHA256 460b31566602f886f18593598edd0a11278caaba12aa069a7b6dc515981026d8 EBUILD mdadm-2.6.4-r1.ebuild 1831 RMD160 2a9bdbc4477d53f0d0e26d483e4c4eb5817b4986 SHA1 19fa1ec9062ec1d740537c7abe6f50d3ba40cc17 SHA256 afc43c25768c875b6abbc525403ea9431e960acb71854edf3aba0bccd71a8a2b EBUILD mdadm-2.6.4-r2.ebuild 1952 RMD160 12c1d6d62bf8fcae0916e6ea3caa2701522b1315 SHA1 a3c425a3e39821801ba2d12a47a911cb676d2833 SHA256 c046744e777c09afefb648459b2154b29dfbed4073ba1e0fc58338ed449dc2f9 -EBUILD mdadm-2.6.4.ebuild 1816 RMD160 41833b3875a129fe244552c9be722c6114cbb250 SHA1 5e116dec286bcccf1eb0839d317edbfe85af84d8 SHA256 f16ae9f4454234b8e5e31d16ba177f39c67333a59098b182db4ba7dfdc37311a MISC ChangeLog 15507 RMD160 f8b387b10d884df4386d5fe21717f47e8c66eb17 SHA1 6c26c64cb356153f769b2d1a538ef2a89ac3198a SHA256 abaae720cd9e2491e33fc6186b7a24655434e6f2ed69e8b62ec946fb9ac50fd6 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkgoZawACgkQkKaRLQcq0GJAOACfZfl6d83SFsu664ax/o16OgYK -d6QAn1TDHywJX4L/lb6rROAeEVj8tVlg -=Al21 +iEYEARECAAYFAkhmZ0wACgkQ67wieSYcaxfE9QCeI7Ak3aqck6+y4gwvTui2+sbU +Wd4An0JQA468IHI+tb2dZThdEkz/rRLf +=exeP -----END PGP SIGNATURE----- diff --git a/sys-fs/mdadm/files/mdraid.rc b/sys-fs/mdadm/files/mdraid.rc deleted file mode 100644 index 0b53664f3103..000000000000 --- a/sys-fs/mdadm/files/mdraid.rc +++ /dev/null @@ -1,26 +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,v 1.2 2008/02/01 12:42:12 flameeyes Exp $ - -depend() { - if [ -e /lib/librc.so ]; then - # on baselayout-1 this could cause - # dependency-cycles with checkroot (before *) - before checkfs fsck lvm - 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 -} diff --git a/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3 b/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3 deleted file mode 100644 index dab6b70d18e7..000000000000 --- a/sys-fs/mdadm/files/mdraid.rc-2.6.3-r3 +++ /dev/null @@ -1,26 +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-2.6.3-r3,v 1.2 2008/02/01 12:42:12 flameeyes Exp $ - -depend() { - if [ -e /lib/librc.so ]; then - # on baselayout-1 this could cause - # dependency-cycles with checkroot (before *) - before checkfs fsck - 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 -} diff --git a/sys-fs/mdadm/files/raid-start.sh b/sys-fs/mdadm/files/raid-start.sh deleted file mode 100755 index 0ada6a8bf0a2..000000000000 --- a/sys-fs/mdadm/files/raid-start.sh +++ /dev/null @@ -1,55 +0,0 @@ -# /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot -# 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-start.sh,v 1.5 2006/11/10 00:27:07 vapier Exp $ - -[[ -f /proc/mdstat ]] || exit 0 - -# We could make this dynamic, but eh -#[[ -z ${MAJOR} ]] && export MAJOR=$(awk '$2 == "md" { print $1 }' /proc/devices) -MAJOR=9 - -# Try to make sure the devices exist before we use them -create_devs() { - local node dir minor - for node in $@ ; do - [[ ${node} != /dev/* ]] && node=/dev/${node} - [[ -e ${node} ]] && continue - - dir=${node%/*} - [[ ! -d ${dir} ]] && mkdir -p "${dir}" - - minor=${node##*/} - mknod "${node}" b ${MAJOR} ${minor##*md} &> /dev/null - done -} - -# Start software raid with raidtools (old school) -if [[ -x /sbin/raidstart && -f /etc/raidtab ]] ; then - devs=$(awk '/^[[:space:]]*raiddev/ { print $2 }' /etc/raidtab) - if [[ -n ${devs} ]] ; then - create_devs ${devs} - ebegin "Starting up RAID devices (raidtools)" - output=$(raidstart -aq 2>&1) - ret=$? - [[ ${ret} -ne 0 ]] && echo "${output}" - eend ${ret} - fi -fi - -# Start 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 && -f ${mdadm_conf} ]] ; then - devs=$(awk '/^[[:space:]]*ARRAY/ { print $2 }' ${mdadm_conf}) - if [[ -n ${devs} ]] ; then - create_devs ${devs} - ebegin "Starting up RAID devices (mdadm)" - output=$(mdadm -As 2>&1) - ret=$? - [[ ${ret} -ne 0 ]] && echo "${output}" - eend ${ret} - fi -fi - -# vim:ts=4 diff --git a/sys-fs/mdadm/files/raid-start.sh-2.6.3-r2 b/sys-fs/mdadm/files/raid-start.sh-2.6.3-r2 deleted file mode 100644 index 0f8060df93b8..000000000000 --- a/sys-fs/mdadm/files/raid-start.sh-2.6.3-r2 +++ /dev/null @@ -1,51 +0,0 @@ -# /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot -# 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-start.sh-2.6.3-r2,v 1.1 2007/10/03 11:58:45 robbat2 Exp $ - -[ -f /proc/mdstat ] || exit 0 - -# We could make this dynamic, but eh -#[ -z ${MAJOR} ] && export MAJOR=$(awk '$2 == "md" { print $1 }' /proc/devices) -MAJOR=9 - -# Try to make sure the devices exist before we use them -create_devs() { - local node dir minor - for node in $@ ; do - [ "${node#/dev}" != "${node}" ] && node="/dev/${node}" - [ -e "${node}" ] && continue - - dir="${node%/*}" - [ ! -d "${dir}" ] && mkdir -p "${dir}" - - minor="${node##*/}" - mknod "${node}" b ${MAJOR} "${minor##*md}" &> /dev/null - done -} - -# Start 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 - devs="$(awk '/^[[:space:]]*ARRAY/ { print $2 }' ${mdadm_conf})" - if [ -n "${devs}" ]; then - create_devs ${devs} - ebegin "Starting up RAID devices (mdadm)" - output=$(mdadm -As 2>&1) - ret=$? - [ ${ret} -ne 0 ] && echo "${output}" - eend ${ret} - fi -fi - -partitioned_devs="$(find /dev -maxdepth 1 -name 'md_d*')" -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 - -# vim:ts=4 diff --git a/sys-fs/mdadm/files/raid-start.sh-2.6.3-r4 b/sys-fs/mdadm/files/raid-start.sh-2.6.3-r4 deleted file mode 100644 index 96c29952ef3a..000000000000 --- a/sys-fs/mdadm/files/raid-start.sh-2.6.3-r4 +++ /dev/null @@ -1,51 +0,0 @@ -# /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot -# 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-start.sh-2.6.3-r4,v 1.1 2007/10/08 21:07:07 robbat2 Exp $ - -[ -f /proc/mdstat ] || exit 0 - -# We could make this dynamic, but eh -#[ -z ${MAJOR} ] && export MAJOR=$(awk '$2 == "md" { print $1 }' /proc/devices) -MAJOR=9 - -# Try to make sure the devices exist before we use them -create_devs() { - local node dir minor - for node in $@ ; do - [ "${node#/dev}" != "${node}" ] && node="/dev/${node}" - [ -e "${node}" ] && continue - - dir="${node%/*}" - [ ! -d "${dir}" ] && mkdir -p "${dir}" - - minor="${node##*/}" - mknod "${node}" b ${MAJOR} "${minor##*md}" &> /dev/null - done -} - -# Start 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 - devs="$(awk '/^[[:space:]]*ARRAY/ { print $2 }' ${mdadm_conf})" - if [ -n "${devs}" ]; then - create_devs ${devs} - ebegin "Starting up RAID devices (mdadm)" - output=$(mdadm -As 2>&1) - ret=$? - [ ${ret} -ne 0 ] && echo "${output}" - eend ${ret} - fi -fi - -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 - -# 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 79ca0a8e9a94..000000000000 --- a/sys-fs/mdadm/files/raid-stop.sh +++ /dev/null @@ -1,28 +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.2 2006/11/10 00:27:07 vapier Exp $ - -[[ -f /proc/mdstat ]] || exit 0 - -# Stop software raid with raidtools (old school) -if [[ -x /sbin/raidstop && -f /etc/raidtab ]] ; then - ebegin "Shutting down RAID devices (raidtools)" - output=$(raidstop -a 2>&1) - ret=$? - [[ ${ret} -ne 0 ]] && echo "${output}" - eend ${ret} -fi - -# 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 && -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-2.6.2.ebuild b/sys-fs/mdadm/mdadm-2.6.2.ebuild deleted file mode 100644 index ca99ec7322d2..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.2.ebuild,v 1.9 2007/07/01 11:53:06 dertobi123 Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" -HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - doexe "${FILESDIR}"/raid-{start,stop}.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die - newconfd "${FILESDIR}"/mdadm.confd mdadm || die -} diff --git a/sys-fs/mdadm/mdadm-2.6.3-r1.ebuild b/sys-fs/mdadm/mdadm-2.6.3-r1.ebuild deleted file mode 100644 index 2b74d104cea3..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.3-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r1.ebuild,v 1.1 2007/10/02 22:02:23 cardoe Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" -HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - doexe "${FILESDIR}"/raid-{start,stop}.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed" - newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed" - newinitd "${FILESDIR}"/mdraid.rc mdraid || die "installing mdraid.rc failed" -} - -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-2.6.3-r2.ebuild b/sys-fs/mdadm/mdadm-2.6.3-r2.ebuild deleted file mode 100644 index 1f1470f2b0f7..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.3-r2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r2.ebuild,v 1.2 2007/10/03 18:23:14 mr_bones_ Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" -HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - newexe "${FILESDIR}"/raid-start.sh-2.6.3-r2 raid-start.sh || die "addon failed" - newexe "${FILESDIR}"/raid-stop.sh-2.6.3-r2 raid-stop.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed" - newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed" - newinitd "${FILESDIR}"/mdraid.rc mdraid || die "installing mdraid.rc failed" - - insinto /etc/udev/rules.d/ - newins "${FILESDIR}"/64-md-raid.rules-2.6.3-r2 64-md-raid.rules || die -} - -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-2.6.3-r3.ebuild b/sys-fs/mdadm/mdadm-2.6.3-r3.ebuild deleted file mode 100644 index 5dd856be430a..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.3-r3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r3.ebuild,v 1.1 2007/10/04 14:27:23 cardoe Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" -HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - newexe "${FILESDIR}"/raid-start.sh-2.6.3-r2 raid-start.sh || die "addon failed" - newexe "${FILESDIR}"/raid-stop.sh-2.6.3-r2 raid-stop.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed" - newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed" - newinitd "${FILESDIR}"/mdraid.rc-2.6.3-r3 mdraid || die "installing mdraid.rc failed" - - insinto /etc/udev/rules.d/ - newins "${FILESDIR}"/64-md-raid.rules-2.6.3-r2 64-md-raid.rules || die -} - -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-2.6.3-r4.ebuild b/sys-fs/mdadm/mdadm-2.6.3-r4.ebuild deleted file mode 100644 index ba0835306d3a..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.3-r4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r4.ebuild,v 1.1 2007/10/08 21:07:06 robbat2 Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" -HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - newexe "${FILESDIR}"/raid-start.sh-2.6.3-r4 raid-start.sh || die "addon failed" - newexe "${FILESDIR}"/raid-stop.sh-2.6.3-r2 raid-stop.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed" - newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed" - newinitd "${FILESDIR}"/mdraid.rc-2.6.3-r4 mdraid || die "installing mdraid.rc failed" - - insinto /etc/udev/rules.d/ - newins "${FILESDIR}"/64-md-raid.rules-2.6.3-r2 64-md-raid.rules || die -} - -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-2.6.3.ebuild b/sys-fs/mdadm/mdadm-2.6.3.ebuild deleted file mode 100644 index 747717708a18..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3.ebuild,v 1.1 2007/09/01 03:52:40 vapier Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" -HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - doexe "${FILESDIR}"/raid-{start,stop}.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die - newconfd "${FILESDIR}"/mdadm.confd mdadm || die -} diff --git a/sys-fs/mdadm/mdadm-2.6.4.ebuild b/sys-fs/mdadm/mdadm-2.6.4.ebuild deleted file mode 100644 index 27b87b1dd733..000000000000 --- a/sys-fs/mdadm/mdadm-2.6.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.4.ebuild,v 1.8 2008/02/27 15:12:24 armin76 Exp $ - -inherit eutils flag-o-matic - -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" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch - epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch - use static && append-ldflags -static -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - CWFLAGS="-Wall" \ - CXFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /$(get_libdir)/rcscripts/addons - newexe "${FILESDIR}"/raid-start.sh-2.6.3-r4 raid-start.sh || die "addon failed" - newexe "${FILESDIR}"/raid-stop.sh-2.6.3-r2 raid-stop.sh || die "addon failed" - dodoc INSTALL TODO "ANNOUNCE-${PV}" - - insinto /etc - newins mdadm.conf-example mdadm.conf - newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed" - newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed" - newinitd "${FILESDIR}"/mdraid.rc-2.6.3-r4 mdraid || die "installing mdraid.rc failed" - - insinto /etc/udev/rules.d/ - newins "${FILESDIR}"/64-md-raid.rules-2.6.3-r2 64-md-raid.rules || die -} - -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" -} |