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