1 |
radhermit 10/10/28 06:28:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: multipath-tools-0.4.9.ebuild |
5 |
Log: |
6 |
Version bump (bug #321331 by Krzysiek). Update build patch and remove patches applied upstream, remove -j1 limitation, and use emake instead of make. |
7 |
|
8 |
(Portage version: 2.2_rc98/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.34 sys-fs/multipath-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.34&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.34&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?r1=1.33&r2=1.34 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v |
20 |
retrieving revision 1.33 |
21 |
retrieving revision 1.34 |
22 |
diff -u -r1.33 -r1.34 |
23 |
--- ChangeLog 13 Nov 2009 01:01:06 -0000 1.33 |
24 |
+++ ChangeLog 28 Oct 2010 06:28:41 -0000 1.34 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sys-fs/multipath-tools |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.33 2009/11/13 01:01:06 josejx Exp $ |
29 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.34 2010/10/28 06:28:41 radhermit Exp $ |
31 |
+ |
32 |
+*multipath-tools-0.4.9 (28 Oct 2010) |
33 |
+ |
34 |
+ 28 Oct 2010; Tim Harder <radhermit@g.o> |
35 |
+ +multipath-tools-0.4.9.ebuild, +files/multipath-tools-0.4.9-build.patch: |
36 |
+ Version bump (bug #321331 by Krzysiek). Update build patch and remove |
37 |
+ patches applied upstream, remove -j1 limitation, and use emake instead of |
38 |
+ make. |
39 |
|
40 |
13 Nov 2009; Joseph Jezak <josejx@g.o> |
41 |
multipath-tools-0.4.8-r1.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 sys-fs/multipath-tools/multipath-tools-0.4.9.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: multipath-tools-0.4.9.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9.ebuild,v 1.1 2010/10/28 06:28:41 radhermit Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
inherit eutils toolchain-funcs |
58 |
|
59 |
DESCRIPTION="Device mapper target autoconfig" |
60 |
HOMEPAGE="http://christophe.varoqui.free.fr/" |
61 |
SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
RDEPEND="|| ( |
69 |
>=sys-fs/lvm2-2.02.45 |
70 |
>=sys-fs/device-mapper-1.00.19-r1 |
71 |
) |
72 |
>=sys-fs/udev-124 |
73 |
sys-fs/sysfsutils |
74 |
dev-libs/libaio" |
75 |
DEPEND="${RDEPEND}" |
76 |
|
77 |
S="${WORKDIR}" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}"/${P}-build.patch |
81 |
# kpartx fails on extended partitions |
82 |
epatch "${FILESDIR}"/${PN}-0.4.8-kparted-ext-partitions.patch |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
emake CC="$(tc-getCC)" || die "emake failed" |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
dodir /sbin /usr/share/man/man8 |
91 |
emake DESTDIR="${D}" install || die "emake install failed" |
92 |
|
93 |
insinto /etc |
94 |
newins "${S}"/multipath.conf.annotated multipath.conf |
95 |
fperms 644 /etc/udev/rules.d/65-multipath.rules |
96 |
fperms 644 /etc/udev/rules.d/66-kpartx.rules |
97 |
# This is the monitoring daemon |
98 |
newinitd "${FILESDIR}"/rc-multipathd multipathd |
99 |
# This is the init script that fires the multipath addon for baselayout2 |
100 |
newinitd "${FILESDIR}"/init.d-multipath-0.4.8-r1 multipath |
101 |
# Handle early-boot startup as well as shutdown of multipath devices |
102 |
insinto /lib/rcscripts/addons |
103 |
doins "${FILESDIR}"/multipath-start.sh |
104 |
doins "${FILESDIR}"/multipath-stop.sh |
105 |
|
106 |
dodoc multipath.conf.* |
107 |
dodoc AUTHOR ChangeLog FAQ README TODO |
108 |
docinto kpartx; dodoc kpartx/ChangeLog kpartx/README |
109 |
} |
110 |
|
111 |
pkg_preinst() { |
112 |
# The dev.d script was previously wrong and is now removed (the udev rules |
113 |
# file does the job instead), but it won't be removed from live systems due |
114 |
# to cfgprotect. |
115 |
# This should help out a little... |
116 |
if [[ -e ${ROOT}/etc/dev.d/block/multipath.dev ]] ; then |
117 |
mkdir -p "${D}"/etc/dev.d/block |
118 |
echo "# Please delete this file. It is obsoleted by /etc/udev/rules.d/65-multipath.rules" \ |
119 |
> "${D}"/etc/dev.d/block/multipath.dev |
120 |
fi |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
elog "If you need multipath on your system, you should ensure that a" |
125 |
elog "'multipath' entry is present in your RC_VOLUME_ORDER variable!" |
126 |
elog "If you use baselayout2, you must add 'multipath' into" |
127 |
elog "your boot runlevel!" |
128 |
} |