1 |
radhermit 13/12/25 07:04:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: multipath-tools-0.5.0-r1.ebuild |
5 |
Removed: multipath-tools-0.5.0.ebuild |
6 |
Log: |
7 |
Add systemd use flag. |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.60 sys-fs/multipath-tools/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.60&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.60&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/ChangeLog?r1=1.59&r2=1.60 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v |
21 |
retrieving revision 1.59 |
22 |
retrieving revision 1.60 |
23 |
diff -u -r1.59 -r1.60 |
24 |
--- ChangeLog 25 Dec 2013 06:48:30 -0000 1.59 |
25 |
+++ ChangeLog 25 Dec 2013 07:04:09 -0000 1.60 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-fs/multipath-tools |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.59 2013/12/25 06:48:30 radhermit Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.60 2013/12/25 07:04:09 radhermit Exp $ |
31 |
+ |
32 |
+*multipath-tools-0.5.0-r1 (25 Dec 2013) |
33 |
+ |
34 |
+ 25 Dec 2013; Tim Harder <radhermit@g.o> -multipath-tools-0.5.0.ebuild, |
35 |
+ +multipath-tools-0.5.0-r1.ebuild: |
36 |
+ Add systemd use flag. |
37 |
|
38 |
*multipath-tools-0.5.0 (25 Dec 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: multipath-tools-0.5.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 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.5.0-r1.ebuild,v 1.1 2013/12/25 07:04:09 radhermit Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit eutils toolchain-funcs udev |
56 |
|
57 |
DESCRIPTION="Device mapper target autoconfig" |
58 |
HOMEPAGE="http://christophe.varoqui.free.fr/" |
59 |
SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="systemd" |
65 |
|
66 |
RDEPEND=">=sys-fs/lvm2-2.02.45 |
67 |
>=virtual/udev-171 |
68 |
dev-libs/libaio |
69 |
sys-libs/readline |
70 |
systemd? ( sys-apps/systemd )" |
71 |
DEPEND="${RDEPEND} |
72 |
virtual/pkgconfig" |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${P}-makefile.patch |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
# LIBDM_API_FLUSH involves grepping files in /usr/include, |
80 |
# so force the test to go the way we want #411337. |
81 |
emake LIBDM_API_FLUSH=1 CC="$(tc-getCC)" SYSTEMD=$(usex systemd 1 "") |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
local udevdir="$(udev_get_udevdir)" |
86 |
|
87 |
dodir /sbin /usr/share/man/man8 |
88 |
emake \ |
89 |
DESTDIR="${D}" \ |
90 |
SYSTEMD=$(usex systemd 1 "") \ |
91 |
libudevdir='${prefix}'/"${udevdir}" \ |
92 |
install |
93 |
|
94 |
insinto /etc |
95 |
newins "${S}"/multipath.conf.annotated multipath.conf |
96 |
# /etc/udev is reserved for user modified rules! |
97 |
mv "${D}"/etc/udev/rules.d "${D}/${udevdir}"/ || die |
98 |
fperms 644 "${udevdir}"/rules.d/66-kpartx.rules |
99 |
newinitd "${FILESDIR}"/rc-multipathd multipathd |
100 |
newinitd "${FILESDIR}"/multipath.rc multipath |
101 |
|
102 |
dodoc multipath.conf.* AUTHOR ChangeLog FAQ |
103 |
docinto kpartx |
104 |
dodoc kpartx/ChangeLog kpartx/README |
105 |
} |
106 |
|
107 |
pkg_postinst() { |
108 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
109 |
elog "If you need multipath on your system, you must" |
110 |
elog "add 'multipath' into your boot runlevel!" |
111 |
fi |
112 |
} |