From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/
Date: Sun, 30 Oct 2022 04:35:38 +0000 (UTC) [thread overview]
Message-ID: <1667104536.9199809d660b52e6f4e960fc1bea889bea15cdaa.robbat2@gentoo> (raw)
commit: 9199809d660b52e6f4e960fc1bea889bea15cdaa
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 04:35:20 2022 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 04:35:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9199809d
sys-fs/multipath-tools: bump
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Reference: https://bugs.gentoo.org/show_bug.cgi?id=878763
.../multipath-tools/multipath-tools-0.9.3.ebuild | 27 +++++++++++++++-------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
index 937105680154..74c4e010e73a 100644
--- a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
+++ b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit linux-info systemd toolchain-funcs udev
+inherit linux-info systemd toolchain-funcs udev tmpfiles
DESCRIPTION="Device mapper target autoconfig"
HOMEPAGE="http://christophe.varoqui.free.fr/"
@@ -34,7 +34,7 @@ PATCHES=( )
src_prepare() {
default
# life is too short for some trivial patches
- sed -r -i -e '/^(CPPFLAGS|CFLAGS)/s,:=,+=,' \
+ sed -r -i -e '/^(CPPFLAGS|CFLAGS)\>/s,^(CPPFLAGS|CFLAGS)\>[[:space:]]+:=,\1 := $(GENTOO_\1),' \
"${S}"/Makefile.inc || die
}
@@ -44,23 +44,33 @@ src_compile() {
# LIBDM_API_FLUSH involves grepping files in /usr/include,
# so force the test to go the way we want #411337.
emake \
- prefix="${EPREFIX}" \
+ prefix="${EPREFIX}/usr" \
LIB="$(get_libdir)" \
LIBDM_API_FLUSH=1 \
- PKGCONFIG="$(tc-getPKG_CONFIG)"
+ PKGCONFIG="$(tc-getPKG_CONFIG)" \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_CPPFLAGS="${CPPFLAGS}" \
+ FAKEVAR=1
}
src_install() {
- dodir /sbin /usr/share/man/man{3,5,8}
+ dodir /sbin
+ # upstream makefile has terrible $(prefix) choices
emake \
- DESTDIR="${D}" \
+ DESTDIR="${ED}" \
prefix="${EPREFIX}" \
LIB="$(get_libdir)" \
RUN=run \
unitdir="$(systemd_get_systemunitdir)" \
- libudevdir='$(prefix)'/$(get_udevdir) \
- pkgconfdir='$(prefix)/usr/$(LIB)/pkgconfig' \
+ libudevdir="${EPREFIX}/$(get_udevdir)" \
+ pkgconfdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_CPPFLAGS="${CPPFLAGS}" \
install
+ rmdir "${ED}"/usr/include
+ rmdir "${ED}"/usr/share
+ mv "${ED}"/include "${ED}"/usr/include || die
+ mv "${ED}"/share "${ED}"/usr/share || die
einstalldocs
newinitd "${FILESDIR}"/multipathd-r1.rc multipathd
@@ -70,6 +80,7 @@ src_install() {
}
pkg_postinst() {
+ tmpfiles_process /usr/lib/tmpfiles.d/multipath.conf
udev_reload
if [[ -z ${REPLACING_VERSIONS} ]] ; then
next reply other threads:[~2022-10-30 4:35 UTC|newest]
Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-30 4:35 Robin H. Johnson [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-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-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=1667104536.9199809d660b52e6f4e960fc1bea889bea15cdaa.robbat2@gentoo \
--to=robbat2@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