1 |
robbat2 07/10/03 11:58:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mdadm-2.6.3-r2.ebuild |
5 |
Log: |
6 |
Add udev rules per bug #182960. Add support for partitioned md devices per #123380. Rip out the old raidtools support since raidtools is long gone. |
7 |
(Portage version: 2.1.3.11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.82 sys-fs/mdadm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/ChangeLog?rev=1.82&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/ChangeLog?rev=1.82&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/ChangeLog?r1=1.81&r2=1.82 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v |
19 |
retrieving revision 1.81 |
20 |
retrieving revision 1.82 |
21 |
diff -u -r1.81 -r1.82 |
22 |
--- ChangeLog 2 Oct 2007 22:02:23 -0000 1.81 |
23 |
+++ ChangeLog 3 Oct 2007 11:58:45 -0000 1.82 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for sys-fs/mdadm |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.81 2007/10/02 22:02:23 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.82 2007/10/03 11:58:45 robbat2 Exp $ |
29 |
+ |
30 |
+*mdadm-2.6.3-r2 (03 Oct 2007) |
31 |
+ |
32 |
+ 03 Oct 2007; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/64-md-raid.rules-2.6.3-r2, +files/raid-start.sh-2.6.3-r2, |
34 |
+ +files/raid-stop.sh-2.6.3-r2, +mdadm-2.6.3-r2.ebuild: |
35 |
+ Add udev rules per bug #182960. Add support for partitioned md devices per |
36 |
+ #123380. Rip out the old raidtools support since raidtools is long gone. |
37 |
+ Also make the addon scripts be /bin/sh compatible now. |
38 |
|
39 |
*mdadm-2.6.3-r1 (02 Oct 2007) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-fs/mdadm/mdadm-2.6.3-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: mdadm-2.6.3-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2007 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.3-r2.ebuild,v 1.1 2007/10/03 11:58:45 robbat2 Exp $ |
54 |
|
55 |
inherit eutils flag-o-matic |
56 |
|
57 |
DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools" |
58 |
HOMEPAGE="http://cgi.cse.unsw.edu.au/~neilb/mdadm" |
59 |
SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="static" |
65 |
|
66 |
src_unpack() { |
67 |
unpack ${A} |
68 |
cd "${S}" |
69 |
epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch |
70 |
epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch |
71 |
use static && append-ldflags -static |
72 |
} |
73 |
|
74 |
src_compile() { |
75 |
emake \ |
76 |
CROSS_COMPILE=${CHOST}- \ |
77 |
CWFLAGS="-Wall" \ |
78 |
CXFLAGS="${CFLAGS}" \ |
79 |
|| die "emake failed" |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
emake DESTDIR="${D}" install || die "make install failed" |
84 |
exeinto /$(get_libdir)/rcscripts/addons |
85 |
newexe "${FILESDIR}"/raid-start.sh-2.6.3-r2 raid-start.sh || die "addon failed" |
86 |
newexe "${FILESDIR}"/raid-stop.sh-2.6.3-r2 raid-stop.sh || die "addon failed" |
87 |
dodoc INSTALL TODO "ANNOUNCE-${PV}" |
88 |
|
89 |
insinto /etc |
90 |
newins mdadm.conf-example mdadm.conf |
91 |
newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed" |
92 |
newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed" |
93 |
newinitd "${FILESDIR}"/mdraid.rc mdraid || die "installing mdraid.rc failed" |
94 |
|
95 |
insinto /etc/udev/rules.d/ |
96 |
newins "${FILESDIR}"/64-md-raid.rules-2.6.3-r2 64-md-raid.rules || die |
97 |
} |
98 |
|
99 |
pkg_postinst() { |
100 |
elog "If using baselayout-2 and not relying on kernel auto-detect" |
101 |
elog "of your RAID devices, you need to add 'mdraid' to your 'boot'" |
102 |
elog "runlevel. Run the following command:" |
103 |
elog "rc-update add mdraid boot" |
104 |
} |
105 |
|
106 |
|
107 |
|
108 |
-- |
109 |
gentoo-commits@g.o mailing list |