public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/
Date: Sat,  1 Jan 2022 04:29:05 +0000 (UTC)	[thread overview]
Message-ID: <1641011323.44f7577fa69164461cd3a07844fd0843d76f8c39.sam@gentoo> (raw)

commit:     44f7577fa69164461cd3a07844fd0843d76f8c39
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 04:23:52 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 04:28:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f7577f

sys-fs/multipath-tools: add 0.8.8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/multipath-tools/Manifest                    |  2 +
 .../multipath-tools/multipath-tools-0.8.8.ebuild   | 90 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest
index 0a206de7b658..d2ac6728b539 100644
--- a/sys-fs/multipath-tools/Manifest
+++ b/sys-fs/multipath-tools/Manifest
@@ -1,2 +1,4 @@
 DIST multipath-tools-0.8.6.tar.gz 519405 BLAKE2B 5aed36550c76bbde0e874e37356b6c5a80a80b876b56dadb69ce09f0fb049a7097fd1c0aca5076f816848e2c2660f96680d7f16d56918a25299017b39f76f777 SHA512 82e5b7307e599ba6b059679c3987a442fb5be4885f0a27c260a99a07cb336b88d48e314b4ec951944e0200e4731522d8da043d98fa566857ecc6d100791c0e38
 DIST multipath-tools-0.8.7.tar.gz 523535 BLAKE2B 3f59af86f5b9f9ea524bf0c36e4a4bc3e01f557f2e18486b5278fe10e3bcf10dbc7568768c0e95529885bcdca6bcf04021ad5261bd1e6a3aeae5eb95b9d54801 SHA512 c01aea837b13429d17688455b813947342ca1cabba19b22e13ce640c77e68335a6d410280a8298595e239131e6fcbb655fa6de5ff9857eac99aa175046a450cd
+DIST multipath-tools-0.8.8-no-compress-man-pages.patch.bz2 2493 BLAKE2B 08d77d6524861a590e07e3e9eedb1039c9b15b589becd912f17f37f728a751c7566699540c025aa1f8a0b2e04db551b0093d066f6e340a15309794fdde197483 SHA512 662f32ba5437be2a3cfffc5a466dccb7923668eeef5f23112b31d6c1b43eca2917579729e975cfbe4cd60ecfaf547f534d304626ac19d165bb2f1a3ae4bb1cc6
+DIST multipath-tools-0.8.8.tar.gz 527412 BLAKE2B 15e24a04ff1c41c8562033ca22214c015ab4c4a9e9833323830b665793c1964b6fcb7b710761bf501f0e99d461d6e6c7dfe80851a0ded4d99693a1561490598f SHA512 f09932da93b6ab06f0f911b09c605ea931fb8cb8b5530ef9999d21a41056fb48e944fc245dfe20096b2746ce1c9ebb5b548e1182079a3b52659d33263a441969

diff --git a/sys-fs/multipath-tools/multipath-tools-0.8.8.ebuild b/sys-fs/multipath-tools/multipath-tools-0.8.8.ebuild
new file mode 100644
index 000000000000..303eac62b7c9
--- /dev/null
+++ b/sys-fs/multipath-tools/multipath-tools-0.8.8.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit linux-info systemd toolchain-funcs udev
+
+DESCRIPTION="Device mapper target autoconfig"
+HOMEPAGE="http://christophe.varoqui.free.fr/"
+SRC_URI="https://github.com/opensvc/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.8.8-no-compress-man-pages.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="systemd rbd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/json-c:=
+	dev-libs/libaio
+	dev-libs/userspace-rcu:=
+	>=sys-fs/lvm2-2.02.45
+	>=virtual/libudev-232-r3
+	sys-libs/readline:0=
+	rbd? ( sys-cluster/ceph )
+	systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+	test? ( dev-util/cmocka )"
+BDEPEND="virtual/pkgconfig"
+
+CONFIG_CHECK="~DM_MULTIPATH"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.8.7-respect-flags.patch
+	"${WORKDIR}"/${PN}-0.8.8-no-compress-man-pages.patch
+)
+
+src_prepare() {
+	default
+
+	# 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 proper configure system
+	if ! use rbd ; then
+		sed \
+			-e "s/libcheckrbd.so/# libcheckrbd.so/" \
+			-e "s/-lrados//" \
+			-i libmultipath/checkers/Makefile \
+			|| die
+	fi
+}
+
+src_compile() {
+	tc-export CC
+
+	# LIBDM_API_FLUSH involves grepping files in /usr/include,
+	# so force the test to go the way we want #411337.
+	emake \
+		LIB="${EPREFIX}/$(get_libdir)" \
+		LIBDM_API_FLUSH=1 \
+		PKGCONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+	dodir /sbin /usr/share/man/man{3,5,8}
+	emake \
+		DESTDIR="${D}" \
+		LIB="${EPREFIX}/$(get_libdir)" \
+		RUN=run \
+		unitdir="$(systemd_get_systemunitdir)" \
+		libudevdir='${prefix}'/"$(get_udevdir)" \
+		pkgconfdir='${prefix}'/usr/'${LIB}'/pkgconfig \
+		install
+
+	newinitd "${FILESDIR}"/multipathd-r1.rc multipathd
+	newinitd "${FILESDIR}"/multipath.rc multipath
+
+	einstalldocs
+
+	find "${ED}" -type f -name "*.la" -delete || die
+}
+
+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:[~2022-01-01  4:29 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-01  4:29 Sam James [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
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-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=1641011323.44f7577fa69164461cd3a07844fd0843d76f8c39.sam@gentoo \
    --to=sam@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