commit: 8472742555e34b92cd01b6ecdc9e77e72f9e03c9
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 10 22:57:46 2026 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 12 21:15:17 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84727425
sys-auth/nss-mdns: update EAPI 7 -> 8
Add live switch to 9999.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild | 6 +++---
sys-auth/nss-mdns/nss-mdns-9999.ebuild | 18 +++++++++++-------
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
b/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
index 4733ff57c998..49b99ef9640d 100644
--- a/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
+++ b/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
inherit autotools multilib-minimal
DESCRIPTION="Name Service Switch module for Multicast DNS"
@@ -32,7 +33,6 @@ multilib_src_configure() {
local myconf=(
# $(localstatedir)/run/... is used to locate avahi-daemon socket
--localstatedir=/var
-
$(use_enable test tests)
)
diff --git a/sys-auth/nss-mdns/nss-mdns-9999.ebuild
b/sys-auth/nss-mdns/nss-mdns-9999.ebuild
index 14c19990761b..226d4a4e1bbf 100644
--- a/sys-auth/nss-mdns/nss-mdns-9999.ebuild
+++ b/sys-auth/nss-mdns/nss-mdns-9999.ebuild
@@ -1,18 +1,23 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-EGIT_REPO_URI="https://github.com/lathiat/nss-mdns"
-inherit autotools git-r3 multilib-minimal
+inherit autotools multilib-minimal
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/lathiat/nss-mdns"
+ inherit git-r3
+else
+
SRC_URI="https://github.com/lathiat/nss-mdns/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
+fi
DESCRIPTION="Name Service Switch module for Multicast DNS"
HOMEPAGE="https://github.com/lathiat/nss-mdns"
-SRC_URI=""
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RESTRICT="!test? ( test )"
@@ -29,7 +34,6 @@ multilib_src_configure() {
local myconf=(
# $(localstatedir)/run/... is used to locate avahi-daemon socket
--localstatedir=/var
-
$(use_enable test tests)
)