public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/
Date: Wed,  2 Aug 2017 06:35:14 +0000 (UTC)	[thread overview]
Message-ID: <1501655710.804a6c3487b13dc779ba0aa32f75b7937d16f6b1.polynomial-c@gentoo> (raw)

commit:     804a6c3487b13dc779ba0aa32f75b7937d16f6b1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 06:18:19 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 06:35:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804a6c34

sys-fs/multipath-tools: Bump to version 0.7.1

This also fixes bug #624884

Package-Manager: Portage-2.3.6, Repoman-2.3.3
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-fs/multipath-tools/Manifest                    |  1 +
 .../multipath-tools/multipath-tools-0.7.1.ebuild   | 89 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest
index 551033c2bc7..9eb429c8456 100644
--- a/sys-fs/multipath-tools/Manifest
+++ b/sys-fs/multipath-tools/Manifest
@@ -1,3 +1,4 @@
 DIST multipath-tools-0.5.0.tar.bz2 184024 SHA256 f13cf1eb84e94e83b2019e68f7965526903c13e94246db43965d181668a0a6f9 SHA512 dfad21c45d0f69e39041d30d203a582c8ee8329bf390c51cde10155b3de379e7ad8fead2ac4beb268a924fd7e7dc8e1cf538ea3c70d41479fd8786fa30ba22a9 WHIRLPOOL bc8a365d66d1c5f584de04304125949926d4a1576cba4a00acca0f1333eb13d83318da36d9d88c5dc92691a331d427ad6b99eb1f2983fbc387303dbfdbae11ff
 DIST multipath-tools-0.6.2.tar.gz 242413 SHA256 f5cec5d92d56ec99220fccc1e70b9d10bc8ff5039c809ebcc201ce34d7ee3095 SHA512 8a04302002bf778299495e4be2d4302c19350d8ec218da23c5f781233efa6d0b39208a676b0d770771d7f09d62fa2b1ce32c03f60662691f74afb111e918b639 WHIRLPOOL f040273bd188c30f2f3b87e21a403b5f5d3ce2f0918382890cc0750b803bf05f70ed6bf46a83c5b68137835bc9bcf6cbca14f6462cfbef660667118b59eafc7d
 DIST multipath-tools-0.6.4.tar.gz 285448 SHA256 1e2747883320f7db854201e5bfb97216e7518468f03503985382ce2c69e5558b SHA512 ec35c6c26c3b233ebece7136ea99dd4c0dff2927e7b543e7091219dc7065fe87e609a1eda9ab6d08399d44fe882d70c8dbe6be9ab175d154c5dd2d12ee1d86ea WHIRLPOOL 6138ba1cbb814bbf53e7a5113f50325d7a7d7088ff2b0f83f1e574f0644241e368cc6b5223eca039b414a0a459a52413d396ea214ff3eaa57f0681e8322b2d9d
+DIST multipath-tools-0.7.1.tar.gz 329008 SHA256 d788aaf3ea862b44b5aa07eaa0e5696061f972a1a46d0f469c4a4f4c477c1970 SHA512 81ceb3887250a691b94cb49b7141ace4fc1f69d7f8381e517560dfc7c51ee4c5a1f4f4e40a0b368cf5f7381697fa746b856cbade8990c1608cbcd77248946a82 WHIRLPOOL 2bcc7cc2f425ca3f3f634807cafb7817b54b83d82987a09c9dd530dca1375175a7d52f1854bdd6d5f37c3b1fcf7bc34d67fc2dcae5809dfae968b313c8c86cba

diff --git a/sys-fs/multipath-tools/multipath-tools-0.7.1.ebuild b/sys-fs/multipath-tools/multipath-tools-0.7.1.ebuild
new file mode 100644
index 00000000000..3c1f4dbdfca
--- /dev/null
+++ b/sys-fs/multipath-tools/multipath-tools-0.7.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info systemd toolchain-funcs udev vcs-snapshot toolchain-funcs
+
+DESCRIPTION="Device mapper target autoconfig"
+HOMEPAGE="http://christophe.varoqui.free.fr/"
+SRC_URI="http://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=${PV};sf=tgz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="systemd rbd"
+
+RDEPEND=">=sys-fs/lvm2-2.02.45
+	>=virtual/udev-171
+	dev-libs/libaio
+	dev-libs/userspace-rcu
+	sys-libs/readline:0=
+	rbd? ( sys-cluster/ceph )
+	systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+CONFIG_CHECK="~DM_MULTIPATH"
+
+get_systemd_pv() {
+	use systemd && \
+		$(tc-getPKG_CONFIG) --modversion systemd
+}
+
+pkg_pretend() {
+	linux-info_pkg_setup
+}
+
+pkg_setup() {
+	linux-info_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	# Fix for bug #624884
+	if grep -qF DM_TABLE_STATE kpartx/kpartx.rules ; then
+		sed '/DM_TABLE_STATE/d' -i kpartx/kpartx.rules || die
+	else
+		elog "DM_TABLE_STATE sed hack is no longer necessary."
+	fi
+
+	# The upstream lacks any way to configure the build at present
+	# and ceph is a huge dependency, so we're using sed to make it
+	# optional until the upstream has a proer configure system
+	if ! use rbd ; then
+		sed -i -e "s/libcheckrbd.so/# libcheckrbd.so/" libmultipath/checkers/Makefile
+		sed -i -e "s/-lrados//" libmultipath/checkers/Makefile
+	fi
+}
+
+src_compile() {
+	# LIBDM_API_FLUSH involves grepping files in /usr/include,
+	# so force the test to go the way we want #411337.
+	emake \
+		CC="$(tc-getCC)" \
+		LIBDM_API_FLUSH=1 SYSTEMD="$(get_systemd_pv)"
+}
+
+src_install() {
+	dodir /sbin /usr/share/man/man{5,8}
+	emake \
+		DESTDIR="${D}" \
+		SYSTEMD=$(get_systemd_pv) \
+		unitdir="$(systemd_get_systemunitdir)" \
+		libudevdir='${prefix}'/"$(get_udevdir)" \
+		install
+
+	newinitd "${FILESDIR}"/rc-multipathd multipathd
+	newinitd "${FILESDIR}"/multipath.rc multipath
+
+	einstalldocs
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog "If you need multipath on your system, you must"
+		elog "add 'multipath' into your boot runlevel!"
+	fi
+}


             reply	other threads:[~2017-08-02  6:35 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02  6:35 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-29 13:42 [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/ Sam James
2024-04-29 13:42 Sam James
2024-04-29  8:05 Arthur Zamarin
2024-04-29  7:51 Jakov Smolić
2024-04-29  7:51 Jakov Smolić
2024-03-18  4:45 Sam James
2024-03-18  4:45 Sam James
2024-03-17 12:57 Arthur Zamarin
2024-03-17 10:42 Sam James
2024-03-17  7:28 Sam James
2024-03-17  6:34 Sam James
2024-03-17  6:09 Arthur Zamarin
2024-03-17  6:00 Sam James
2024-03-17  6:00 Sam James
2024-01-18  0:28 Sam James
2024-01-17  6:34 Sam James
2024-01-17  5:55 Sam James
2024-01-17  5:50 Sam James
2023-08-03 10:28 Arthur Zamarin
2023-07-18 21:07 Sam James
2023-07-17 21:56 Sam James
2023-07-17  7:46 Jakov Smolić
2023-06-10 19:05 Sam James
2023-04-23 20:37 Sam James
2023-04-23 20:03 Sam James
2023-04-07 10:07 Sam James
2023-03-23 17:13 Mike Gilbert
2023-03-23 15:41 Mike Gilbert
2023-01-04  4:56 Sam James
2023-01-04  4:56 Sam James
2022-12-01 17:41 Sam James
2022-12-01 15:52 Jakov Smolić
2022-12-01 15:40 Jakov Smolić
2022-12-01  9:23 Jakov Smolić
2022-12-01  9:23 Jakov Smolić
2022-12-01  0:45 Sam James
2022-12-01  0:38 Sam James
2022-12-01  0:38 Sam James
2022-11-25  6:09 Sam James
2022-11-25  6:02 Sam James
2022-11-25  5:23 Sam James
2022-11-25  5:17 Sam James
2022-11-25  5:17 Sam James
2022-10-30 21:32 Sam James
2022-10-30  4:35 Robin H. Johnson
2022-10-30  4:35 Robin H. Johnson
2022-05-19 11:24 WANG Xuerui
2022-05-05  7:07 Jakov Smolić
2022-04-29 19:21 Sam James
2022-04-29 19:21 Sam James
2022-04-29  8:29 Jakov Smolić
2022-04-29  8:29 Jakov Smolić
2022-03-22 23:32 Sam James
2022-01-23  8:05 Yixun Lan
2022-01-01  4:29 Sam James
2021-12-05 18:39 Sam James
2021-12-05 18:31 Sam James
2021-12-05  3:45 Sam James
2021-09-04 17:35 David Seifert
2021-08-04  6:39 Agostino Sarubbo
2021-08-02  4:03 Agostino Sarubbo
2021-08-02  2:24 Sam James
2021-08-01 17:44 Sam James
2021-08-01  8:08 Agostino Sarubbo
2021-05-26  8:11 Sam James
2021-05-26  8:04 Sam James
2021-05-24  0:12 Sam James
2021-05-23 23:05 Agostino Sarubbo
2021-05-23 22:28 Agostino Sarubbo
2021-05-14 22:14 David Seifert
2021-04-21 18:51 Sam James
2021-04-06 10:17 Lars Wendler
2020-08-19 22:40 Sam James
2020-05-11 11:53 Lars Wendler
2020-05-04 13:31 Agostino Sarubbo
2020-05-04 13:29 Agostino Sarubbo
2020-05-04  6:43 Agostino Sarubbo
2020-05-04  6:42 Agostino Sarubbo
2019-07-08  8:22 Lars Wendler
2019-07-08  8:22 Lars Wendler
2019-04-23  8:10 Lars Wendler
2019-02-18  9:29 Lars Wendler
2019-02-18  9:29 Lars Wendler
2018-11-23 10:14 Tobias Klausmann
2018-11-23 10:08 Tobias Klausmann
2018-11-23  9:52 Tobias Klausmann
2018-11-23  9:08 Lars Wendler
2018-11-23  9:08 Lars Wendler
2018-10-26 18:57 Sven Wegener
2018-10-22 11:49 Lars Wendler
2018-10-22 11:49 Lars Wendler
2018-05-19 10:47 Sergei Trofimovich
2018-05-14 13:51 Lars Wendler
2018-05-14 13:51 Lars Wendler
2018-04-12 14:58 Lars Wendler
2018-04-12 14:58 Lars Wendler
2018-03-03 22:16 Sergei Trofimovich
2018-01-17 12:00 Lars Wendler
2017-12-19 21:19 Thomas Deutschmann
2017-11-30 19:02 Thomas Deutschmann
2017-11-20 17:23 Manuel Rüger
2017-10-13 19:53 Sergei Trofimovich
2017-08-08  7:21 Lars Wendler
2017-08-08  7:21 Lars Wendler
2017-08-02  6:35 Lars Wendler
2017-02-09 11:39 Tim Harder
2016-09-12 21:01 Matt Thode
2016-08-21 15:03 Tiziano Müller
2016-02-28  6:12 Matt Thode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1501655710.804a6c3487b13dc779ba0aa32f75b7937d16f6b1.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox