1 |
vapier 11/11/30 04:30:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: multipath-tools-0.4.9-r3.ebuild |
5 |
Log: |
6 |
Add missing readline depepend, and drop ncurses linkage since it's only there for readline. |
7 |
|
8 |
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.38 sys-fs/multipath-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.38&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.38&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?r1=1.37&r2=1.38 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v |
20 |
retrieving revision 1.37 |
21 |
retrieving revision 1.38 |
22 |
diff -u -r1.37 -r1.38 |
23 |
--- ChangeLog 6 Aug 2011 08:12:30 -0000 1.37 |
24 |
+++ ChangeLog 30 Nov 2011 04:30:50 -0000 1.38 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-fs/multipath-tools |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.37 2011/08/06 08:12:30 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.38 2011/11/30 04:30:50 vapier Exp $ |
30 |
+ |
31 |
+*multipath-tools-0.4.9-r3 (30 Nov 2011) |
32 |
+ |
33 |
+ 30 Nov 2011; Mike Frysinger <vapier@g.o> |
34 |
+ +multipath-tools-0.4.9-r3.ebuild, files/multipath-tools-0.4.9-build.patch: |
35 |
+ Add missing readline depepend, and drop ncurses linkage since it's only |
36 |
+ there for readline. |
37 |
|
38 |
06 Aug 2011; Samuli Suominen <ssuominen@g.o> |
39 |
multipath-tools-0.4.8.ebuild, multipath-tools-0.4.8-r1.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-fs/multipath-tools/multipath-tools-0.4.9-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: multipath-tools-0.4.9-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.9-r3.ebuild,v 1.1 2011/11/30 04:30:50 vapier Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils toolchain-funcs |
57 |
|
58 |
DESCRIPTION="Device mapper target autoconfig" |
59 |
HOMEPAGE="http://christophe.varoqui.free.fr/" |
60 |
SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
65 |
IUSE="" |
66 |
|
67 |
RDEPEND="|| ( |
68 |
>=sys-fs/lvm2-2.02.45 |
69 |
>=sys-fs/device-mapper-1.00.19-r1 |
70 |
) |
71 |
>=sys-fs/udev-124 |
72 |
dev-libs/libaio |
73 |
sys-libs/readline |
74 |
!<sys-apps/baselayout-2" |
75 |
DEPEND="${RDEPEND}" |
76 |
|
77 |
S="${WORKDIR}" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}"/${PN}-0.4.9-build.patch |
81 |
epatch "${FILESDIR}"/${PN}-0.4.9-buffer-overflows.patch |
82 |
epatch "${FILESDIR}"/${PN}-0.4.8-kparted-ext-partitions.patch |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
emake CC="$(tc-getCC)" || die |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
dodir /sbin /usr/share/man/man8 |
91 |
emake DESTDIR="${D}" install || die |
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 |
newinitd "${FILESDIR}"/rc-multipathd multipathd || die |
98 |
newinitd "${FILESDIR}"/multipath.rc multipath || die |
99 |
|
100 |
dodoc multipath.conf.* AUTHOR ChangeLog FAQ README TODO |
101 |
docinto kpartx |
102 |
dodoc kpartx/ChangeLog kpartx/README |
103 |
} |
104 |
|
105 |
pkg_preinst() { |
106 |
# The dev.d script was previously wrong and is now removed (the udev rules |
107 |
# file does the job instead), but it won't be removed from live systems due |
108 |
# to cfgprotect. |
109 |
# This should help out a little... |
110 |
if [[ -e ${ROOT}/etc/dev.d/block/multipath.dev ]] ; then |
111 |
mkdir -p "${D}"/etc/dev.d/block |
112 |
echo "# Please delete this file. It is obsoleted by /etc/udev/rules.d/65-multipath.rules" \ |
113 |
> "${D}"/etc/dev.d/block/multipath.dev |
114 |
fi |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
elog "If you need multipath on your system, you must" |
119 |
elog "add 'multipath' into your boot runlevel!" |
120 |
} |