commit:     095e3f7cf391dc9dc8313faf677864943e4e8779
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 11 01:57:23 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 01:58:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095e3f7c

sys-fs/lvm2: dep tweaks to 2.03.37

Note that it could use newer sanlock features but the latest version it
does some autodetection of features for isn't yet packaged, so just
picked the latest we have (which matches one of the checks it does).

Bug: https://bugs.gentoo.org/969879
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/arch/alpha/package.use.mask |  4 ++++
 sys-fs/lvm2/lvm2-2.03.37.ebuild      | 15 ++++++++-------
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/profiles/arch/alpha/package.use.mask 
b/profiles/arch/alpha/package.use.mask
index 9e35c868f9da..9293a3c86094 100644
--- a/profiles/arch/alpha/package.use.mask
+++ b/profiles/arch/alpha/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2026-02-11)
+# sys-libs/libnvme not keyworded here
+sys-fs/lvm2 nvme
+
 # Eli Schwartz <[email protected]> (2025-11-27)
 # Needs dev-python/mypy for mypyc, not keyworded here
 dev-python/charset-normalizer native-extensions

diff --git a/sys-fs/lvm2/lvm2-2.03.37.ebuild b/sys-fs/lvm2/lvm2-2.03.37.ebuild
index 9a5d986eaf87..b25407950bf0 100644
--- a/sys-fs/lvm2/lvm2-2.03.37.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,23 +13,25 @@ S="${WORKDIR}/${PN^^}.${PV}"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 IUSE="lvm nvme readline sanlock selinux static static-libs systemd thin +udev 
valgrind"
 REQUIRED_USE="
-       static? ( !systemd !udev )
+       static? ( !systemd !udev !nvme )
        static-libs? ( static !udev )
        systemd? ( udev )
        thin? ( lvm )
 "
 
+# Doesn't strictly need >=sanlock-4.0.0 but autodetects features, so pick
+# the best we have for predictability. Ditto systemd.
 DEPEND_COMMON="
        udev? ( virtual/libudev:= )
        lvm? (
                dev-libs/libaio
-               sys-apps/util-linux
+               >=sys-apps/util-linux-2.24
                readline? ( sys-libs/readline:= )
-               sanlock? ( sys-cluster/sanlock )
-               systemd? ( sys-apps/systemd:= )
+               sanlock? ( >=sys-cluster/sanlock-4.0.0 )
+               systemd? ( >=sys-apps/systemd-234:= )
        )
 "
 # /run is now required for locking during early boot. /var cannot be assumed to
@@ -56,7 +58,6 @@ DEPEND="
                        dev-libs/libaio[static-libs]
                        readline? ( sys-libs/readline[static-libs] )
                )
-               nvme? ( sys-libs/libnvme[static-libs] )
                selinux? ( sys-libs/libselinux[static-libs] )
        )
        valgrind? ( >=dev-debug/valgrind-3.6 )

Reply via email to