Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/
Date: Fri, 14 May 2021 22:14:15
Message-Id: 1621030418.1f470755f28d6fe4e606c40314db3cc5e9817c6b.soap@gentoo
1 commit: 1f470755f28d6fe4e606c40314db3cc5e9817c6b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 14 22:13:38 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri May 14 22:13:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f470755
7
8 sys-fs/multipath-tools: drop 0.8.5
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-fs/multipath-tools/Manifest | 1 -
13 .../multipath-tools/multipath-tools-0.8.5.ebuild | 91 ----------------------
14 2 files changed, 92 deletions(-)
15
16 diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest
17 index 5890da6bae6..752b9ac0800 100644
18 --- a/sys-fs/multipath-tools/Manifest
19 +++ b/sys-fs/multipath-tools/Manifest
20 @@ -1,3 +1,2 @@
21 DIST multipath-tools-0.8.3.tar.gz 465248 BLAKE2B 21a7a18c70150b4422bdd0ae02f26f491845eb06928ab74e631df8c6b3c110d10f43f75b9f8289a7134826c923b7ba58ce54c40497c3b7e6211e53902c8a1b5f SHA512 d9fdc2763f5a1efa15ee07c5d863008c9694623935f62a0e0b56f941df4e0d0ca3f86056fefc9b5ca828b47782127e3d55f2f925b1ed957e02b675bef36f4cae
22 -DIST multipath-tools-0.8.5.tar.gz 494750 BLAKE2B a42d17a47631107433a1d0a9da69a0bb10d2125cb242d2125d67da18f6bc6231c9233b163dc1d07d88dcba9f912830c047fdee5b42435f59ea2976598a72fd75 SHA512 f62a09107ccb18ffab97139fe2dba3dc22450836d8669c4381a8bce4072672a027a3a1e687f33e374429bffa49b3ba4a54d1e52294044d7bc1f82ed5d5aaf760
23 DIST multipath-tools-0.8.6.tar.gz 519405 BLAKE2B 5aed36550c76bbde0e874e37356b6c5a80a80b876b56dadb69ce09f0fb049a7097fd1c0aca5076f816848e2c2660f96680d7f16d56918a25299017b39f76f777 SHA512 82e5b7307e599ba6b059679c3987a442fb5be4885f0a27c260a99a07cb336b88d48e314b4ec951944e0200e4731522d8da043d98fa566857ecc6d100791c0e38
24
25 diff --git a/sys-fs/multipath-tools/multipath-tools-0.8.5.ebuild b/sys-fs/multipath-tools/multipath-tools-0.8.5.ebuild
26 deleted file mode 100644
27 index 963e074a5ac..00000000000
28 --- a/sys-fs/multipath-tools/multipath-tools-0.8.5.ebuild
29 +++ /dev/null
30 @@ -1,91 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="7"
35 -
36 -inherit linux-info systemd toolchain-funcs udev vcs-snapshot
37 -
38 -DESCRIPTION="Device mapper target autoconfig"
39 -HOMEPAGE="http://christophe.varoqui.free.fr/"
40 -SRC_URI="https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=${PV};sf=tgz -> ${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
45 -IUSE="systemd rbd"
46 -
47 -BDEPEND="virtual/pkgconfig"
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:0=
56 - rbd? ( sys-cluster/ceph )
57 - systemd? ( sys-apps/systemd )
58 -"
59 -
60 -DEPEND="${RDEPEND}"
61 -
62 -CONFIG_CHECK="~DM_MULTIPATH"
63 -
64 -RESTRICT="test"
65 -
66 -PATCHES=(
67 - "${FILESDIR}"/${PN}-0.8.5-respect-flags.patch
68 - "${FILESDIR}"/${PN}-0.8.3-no-gziped-docs.patch
69 -)
70 -
71 -get_systemd_pv() {
72 - use systemd && \
73 - $(tc-getPKG_CONFIG) --modversion systemd
74 -}
75 -
76 -src_prepare() {
77 - default
78 -
79 - # The upstream lacks any way to configure the build at present
80 - # and ceph is a huge dependency, so we're using sed to make it
81 - # optional until the upstream has a proper configure system
82 - if ! use rbd ; then
83 - sed \
84 - -e "s/libcheckrbd.so/# libcheckrbd.so/" \
85 - -e "s/-lrados//" \
86 - -i libmultipath/checkers/Makefile \
87 - || die
88 - fi
89 -}
90 -
91 -src_compile() {
92 - # LIBDM_API_FLUSH involves grepping files in /usr/include,
93 - # so force the test to go the way we want #411337.
94 - emake \
95 - CC="$(tc-getCC)" \
96 - LIBDM_API_FLUSH=1 SYSTEMD="$(get_systemd_pv)"
97 -}
98 -
99 -src_install() {
100 - dodir /sbin /usr/share/man/man{3,5,8}
101 - emake \
102 - DESTDIR="${D}" \
103 - RUN=run \
104 - SYSTEMD=$(get_systemd_pv) \
105 - unitdir="$(systemd_get_systemunitdir)" \
106 - libudevdir='${prefix}'/"$(get_udevdir)" \
107 - pkgconfdir='${prefix}'/usr/'${LIB}'/pkgconfig \
108 - install
109 -
110 - newinitd "${FILESDIR}"/multipathd-r1.rc multipathd
111 - newinitd "${FILESDIR}"/multipath.rc multipath
112 -
113 - einstalldocs
114 -}
115 -
116 -pkg_postinst() {
117 - if [[ -z ${REPLACING_VERSIONS} ]]; then
118 - elog "If you need multipath on your system, you must"
119 - elog "add 'multipath' into your boot runlevel!"
120 - fi
121 -}