Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/
Date: Fri, 23 Nov 2018 09:08:21
Message-Id: 1542964089.07b244d872bead635f8a0f0f5da96ab70542c6d3.polynomial-c@gentoo
1 commit: 07b244d872bead635f8a0f0f5da96ab70542c6d3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 23 09:07:55 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 23 09:08:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b244d8
7
8 sys-fs/multipath-tools: Removed old.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-fs/multipath-tools/Manifest | 1 -
14 .../multipath-tools/multipath-tools-0.7.7.ebuild | 94 ----------------------
15 2 files changed, 95 deletions(-)
16
17 diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest
18 index b596a4ab70e..9fd04cc7c00 100644
19 --- a/sys-fs/multipath-tools/Manifest
20 +++ b/sys-fs/multipath-tools/Manifest
21 @@ -1,5 +1,4 @@
22 DIST multipath-tools-0.5.0.tar.bz2 184024 BLAKE2B 1e1b0fdd52bf0aaea3ed281e0cd89d04aed58c03b9b42ac094173bebdf3b81e368d0c7efb23a8748d4598c99d1502fdf5f8b2c9b64a2be4ce7d6b30fa607984a SHA512 dfad21c45d0f69e39041d30d203a582c8ee8329bf390c51cde10155b3de379e7ad8fead2ac4beb268a924fd7e7dc8e1cf538ea3c70d41479fd8786fa30ba22a9
23 DIST multipath-tools-0.6.4.tar.gz 285448 BLAKE2B 1b63c4e712e682965c595ed988a6590e181abd4d37779b72b52f4e415d4caba33df518a1ea1e3b460d15b5a78f4db5a75c1066439eb40c503023007c1f70752a SHA512 ec35c6c26c3b233ebece7136ea99dd4c0dff2927e7b543e7091219dc7065fe87e609a1eda9ab6d08399d44fe882d70c8dbe6be9ab175d154c5dd2d12ee1d86ea
24 -DIST multipath-tools-0.7.7.tar.gz 398460 BLAKE2B 39ffa02d782858d1200080d11aafc341793b83e421a40207eaaf5084cffe5ef5e9e860d60cd03c828c1eb941be2f762b9ad9c2ea21e29b5f129fb26bd6090d22 SHA512 87458f3eb0aaac09b22972c4ff26e332d64841a3d19fefce69cae662f1e2ce2df778e1795d5b4089b1110ec5081c6021aadbb902eeaeb764f989031cbe7da825
25 DIST multipath-tools-0.7.8.tar.gz 415900 BLAKE2B 04c237e91f8e56484603d5b5ec7504da6be1caf9564d21a9fa4be7268fbb88089b8446c959b57f859eb9696f39cbb82bffdcd3d0a6716da6487bedd5c18c0d8b SHA512 500a51f9e8c5cc0ad04cc69c39f657e8058a08750d506b447c4a1131ad7308d43de19d79e98fa8254c56cd7eb1e832c8ccbc439ce94054db7eeebcdf2bf225cb
26 DIST multipath-tools-0.7.9.tar.gz 419377 BLAKE2B 29003b7ce2d673eb59d869e2165028654361ca31f49b8e810d90611db249a5183492959d3aef778b870df7c1d283004bda88f3cc6f760569247f1ccc61617379 SHA512 6b237f148c239938b9f46a1a8118fc070372d5f2cfe2021c26ad9ca15d37e8866390168b6a4f13adcc5538001354247e072559a0add33ce1fe8245ae64ed0a3c
27
28 diff --git a/sys-fs/multipath-tools/multipath-tools-0.7.7.ebuild b/sys-fs/multipath-tools/multipath-tools-0.7.7.ebuild
29 deleted file mode 100644
30 index 6d0be1d4eb2..00000000000
31 --- a/sys-fs/multipath-tools/multipath-tools-0.7.7.ebuild
32 +++ /dev/null
33 @@ -1,94 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="6"
38 -
39 -inherit linux-info systemd toolchain-funcs udev vcs-snapshot toolchain-funcs
40 -
41 -DESCRIPTION="Device mapper target autoconfig"
42 -HOMEPAGE="http://christophe.varoqui.free.fr/"
43 -SRC_URI="https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=${PV};sf=tgz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
48 -IUSE="systemd rbd"
49 -
50 -RDEPEND="
51 - dev-libs/json-c:=
52 - dev-libs/libaio
53 - dev-libs/userspace-rcu:=
54 - >=sys-fs/lvm2-2.02.45
55 - >=virtual/udev-171
56 - sys-libs/readline:0=
57 - rbd? ( sys-cluster/ceph )
58 - systemd? ( sys-apps/systemd )
59 -"
60 -DEPEND="
61 - ${RDEPEND}
62 - virtual/pkgconfig
63 -"
64 -
65 -CONFIG_CHECK="~DM_MULTIPATH"
66 -
67 -RESTRICT="test"
68 -
69 -PATCHES=( "${FILESDIR}"/${PN}-0.7.5-respect-flags.patch )
70 -
71 -get_systemd_pv() {
72 - use systemd && \
73 - $(tc-getPKG_CONFIG) --modversion systemd
74 -}
75 -
76 -pkg_pretend() {
77 - linux-info_pkg_setup
78 -}
79 -
80 -pkg_setup() {
81 - linux-info_pkg_setup
82 -}
83 -
84 -src_prepare() {
85 - default
86 -
87 - # The upstream lacks any way to configure the build at present
88 - # and ceph is a huge dependency, so we're using sed to make it
89 - # optional until the upstream has a proper configure system
90 - if ! use rbd ; then
91 - sed \
92 - -e "s/libcheckrbd.so/# libcheckrbd.so/" \
93 - -e "s/-lrados//" \
94 - -i libmultipath/checkers/Makefile \
95 - || die
96 - fi
97 -}
98 -
99 -src_compile() {
100 - # LIBDM_API_FLUSH involves grepping files in /usr/include,
101 - # so force the test to go the way we want #411337.
102 - emake \
103 - CC="$(tc-getCC)" \
104 - LIBDM_API_FLUSH=1 SYSTEMD="$(get_systemd_pv)"
105 -}
106 -
107 -src_install() {
108 - dodir /sbin /usr/share/man/man{5,8}
109 - emake \
110 - DESTDIR="${D}" \
111 - SYSTEMD=$(get_systemd_pv) \
112 - unitdir="$(systemd_get_systemunitdir)" \
113 - libudevdir='${prefix}'/"$(get_udevdir)" \
114 - install
115 -
116 - newinitd "${FILESDIR}"/rc-multipathd multipathd
117 - newinitd "${FILESDIR}"/multipath.rc multipath
118 -
119 - einstalldocs
120 -}
121 -
122 -pkg_postinst() {
123 - if [[ -z ${REPLACING_VERSIONS} ]]; then
124 - elog "If you need multipath on your system, you must"
125 - elog "add 'multipath' into your boot runlevel!"
126 - fi
127 -}