From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-mdns/
Date: Wed, 19 Jul 2023 13:06:08 +0000 (UTC) [thread overview]
Message-ID: <1689771958.8b7a3346b9f5a821d05d51f7ee878aeeac1d7d1d.pacho@gentoo> (raw)
commit: 8b7a3346b9f5a821d05d51f7ee878aeeac1d7d1d
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 19 13:04:54 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jul 19 13:05:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7a3346
sys-auth/nss-mdns: clarify how to append mdns to hosts line in nsswitch.conf
Closes: https://bugs.gentoo.org/885903
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild | 8 ++++----
sys-auth/nss-mdns/nss-mdns-9999.ebuild | 8 ++++----
2 files changed, 8 insertions(+), 8 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 6a7a14987621..13fffc2c4aae 100644
--- a/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
+++ b/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -46,9 +46,9 @@ pkg_postinst() {
ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts"
ewarn "and 169.254.x.x addresses."
ewarn
- ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf."
- ewarn "An example line looks like:"
- ewarn "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4"
+ ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf"
+ ewarn "before resolve and dns. An example line looks like:"
+ ewarn "hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns"
ewarn
ewarn "If you want to perform mDNS lookups for domains other than the ones"
ewarn "ending in .local, add them to /etc/mdns.allow."
diff --git a/sys-auth/nss-mdns/nss-mdns-9999.ebuild b/sys-auth/nss-mdns/nss-mdns-9999.ebuild
index 532c36ea0f69..14c19990761b 100644
--- a/sys-auth/nss-mdns/nss-mdns-9999.ebuild
+++ b/sys-auth/nss-mdns/nss-mdns-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -53,9 +53,9 @@ pkg_postinst() {
ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts"
ewarn "and 169.254.x.x addresses."
ewarn
- ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf."
- ewarn "An example line looks like:"
- ewarn "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4"
+ ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf"
+ ewarn "before resolve and dns. An example line looks like:"
+ ewarn "hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns"
ewarn
ewarn "If you want to perform mDNS lookups for domains other than the ones"
ewarn "ending in .local, add them to /etc/mdns.allow."
next reply other threads:[~2023-07-19 13:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 13:06 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-17 5:47 [gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-mdns/ Sam James
2021-08-31 19:03 Michał Górny
2021-08-31 17:39 Sam James
2021-08-30 7:26 Agostino Sarubbo
2021-08-30 1:27 Sam James
2021-07-18 4:55 Georgy Yakovlev
2021-07-18 4:55 Georgy Yakovlev
2021-05-11 7:56 Michał Górny
2020-01-03 8:48 Michał Górny
2019-12-31 14:02 Agostino Sarubbo
2019-12-31 8:15 Agostino Sarubbo
2019-12-30 16:14 Agostino Sarubbo
2019-10-04 16:09 Michał Górny
2019-10-04 16:09 Michał Górny
2018-07-12 0:02 Mikle Kolyada
2018-06-02 9:55 Mikle Kolyada
2018-05-29 11:17 Thomas Deutschmann
2018-02-19 15:28 Michał Górny
2018-02-19 15:28 Michał Górny
2018-02-13 9:51 Michał Górny
2018-02-13 9:51 Michał Górny
2018-01-23 8:28 Michał Górny
2016-11-26 8:05 Michał Górny
2016-11-26 8:05 Michał Górny
2016-05-29 18:58 Amy Winston
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=1689771958.8b7a3346b9f5a821d05d51f7ee878aeeac1d7d1d.pacho@gentoo \
--to=pacho@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