1 |
commit: 4035f35583fab2b3f22c09d2f2894f4b8f20cee0 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 03:10:43 2022 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 04:35:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4035f355 |
7 |
|
8 |
sys-fs/multipath-tools: bump |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
Reference: https://bugs.gentoo.org/show_bug.cgi?id=878763 |
12 |
|
13 |
sys-fs/multipath-tools/Manifest | 1 + |
14 |
.../multipath-tools/multipath-tools-0.9.3.ebuild | 83 ++++++++++++++++++++++ |
15 |
2 files changed, 84 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest |
18 |
index 480f8d568d21..da55c0c395c3 100644 |
19 |
--- a/sys-fs/multipath-tools/Manifest |
20 |
+++ b/sys-fs/multipath-tools/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST multipath-tools-0.8.9.tar.gz 534866 BLAKE2B b5ebf3c393f6b60e85678ac07378ae07056b6777409fc1bc4f4133cdd3f8c75a3d76f6e9342208df7fed8fe7812b089eba8f6b769e47e1dd6c8b7fd321bdbd30 SHA512 25f2a5d436af6a343804988cef45ca1574d4a981655a2b91563ddb89138619158befdf5af92d836a17c95d6dcf901072b614473c2129274e5dcdb1a1d64edb4d |
23 |
DIST multipath-tools-0.9.0.tar.gz 537311 BLAKE2B e7d4958d24d1e19da2b80be23585ad37f6b0c1b66dc1377014d825ddd2be10ea3b8c30162cb7a23b120427bf0c957c6cad8560018e1cb058c284f37afd5d50d4 SHA512 6c417f6d1d116fa43bedb9f77769ece9cbb7b35b78a9b3558c41df2360e52a65a07314b12ab7e4a7bbc867b9755250de9db96a2f7eb4a6a37f0b0b3f0bbc840e |
24 |
+DIST multipath-tools-0.9.3.tar.gz 552442 BLAKE2B e2065119cdd68bd8c2b4420bd0de9ce370601597972dba32c076bfc4df6d0a1a65356454a2f96f95f27cf681387685edcbac2eb41258d4a7049a1ef62cdf0949 SHA512 4faa2ee5a96a9d5d752219931ebc885cb70ed6b022d45ede985ad7919c043a3aee166e6f126d32dffd187c5c32d5cbce91747d87d0b55557e2f7f68b279583da |
25 |
|
26 |
diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..937105680154 |
29 |
--- /dev/null |
30 |
+++ b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild |
31 |
@@ -0,0 +1,83 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit linux-info systemd toolchain-funcs udev |
38 |
+ |
39 |
+DESCRIPTION="Device mapper target autoconfig" |
40 |
+HOMEPAGE="http://christophe.varoqui.free.fr/" |
41 |
+SRC_URI="https://github.com/opensvc/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" |
46 |
+IUSE="systemd test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/json-c:= |
51 |
+ dev-libs/libaio |
52 |
+ dev-libs/userspace-rcu:= |
53 |
+ >=sys-fs/lvm2-2.02.45 |
54 |
+ >=virtual/libudev-232-r3 |
55 |
+ sys-libs/readline:= |
56 |
+ systemd? ( sys-apps/systemd )" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ test? ( dev-util/cmocka )" |
59 |
+BDEPEND="virtual/pkgconfig" |
60 |
+ |
61 |
+CONFIG_CHECK="~DM_MULTIPATH" |
62 |
+ |
63 |
+PATCHES=( ) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ # life is too short for some trivial patches |
68 |
+ sed -r -i -e '/^(CPPFLAGS|CFLAGS)/s,:=,+=,' \ |
69 |
+ "${S}"/Makefile.inc || die |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ tc-export CC |
74 |
+ |
75 |
+ # LIBDM_API_FLUSH involves grepping files in /usr/include, |
76 |
+ # so force the test to go the way we want #411337. |
77 |
+ emake \ |
78 |
+ prefix="${EPREFIX}" \ |
79 |
+ LIB="$(get_libdir)" \ |
80 |
+ LIBDM_API_FLUSH=1 \ |
81 |
+ PKGCONFIG="$(tc-getPKG_CONFIG)" |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ dodir /sbin /usr/share/man/man{3,5,8} |
86 |
+ emake \ |
87 |
+ DESTDIR="${D}" \ |
88 |
+ prefix="${EPREFIX}" \ |
89 |
+ LIB="$(get_libdir)" \ |
90 |
+ RUN=run \ |
91 |
+ unitdir="$(systemd_get_systemunitdir)" \ |
92 |
+ libudevdir='$(prefix)'/$(get_udevdir) \ |
93 |
+ pkgconfdir='$(prefix)/usr/$(LIB)/pkgconfig' \ |
94 |
+ install |
95 |
+ einstalldocs |
96 |
+ |
97 |
+ newinitd "${FILESDIR}"/multipathd-r1.rc multipathd |
98 |
+ newinitd "${FILESDIR}"/multipath.rc multipath |
99 |
+ |
100 |
+ find "${ED}" -type f -name '*.la' -delete || die |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ udev_reload |
105 |
+ |
106 |
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then |
107 |
+ elog "If you need multipath on your system, you must" |
108 |
+ elog "add 'multipath' into your boot runlevel!" |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+pkg_postrm() { |
113 |
+ udev_reload |
114 |
+} |