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