All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: koen@dominion.thruhere.net
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [RFC][PATCH] libnss-mdns: enable IPv6 as well as IPv4 mnds resolving
Date: Wed, 02 Jan 2013 19:14:37 -0800	[thread overview]
Message-ID: <50E4F79D.3050105@linux.intel.com> (raw)
In-Reply-To: <50df499d.02cb0e0a.2047.4ecf@mx.google.com>

On 12/29/2012 11:50 AM, koen@dominion.thruhere.net wrote:
> From: Koen Kooi <koen@dominion.thruhere.net>
>
>>From the docs: "libnss_mdns.so.2 resolves both IPv6 and IPv4 addresses, libnss_mdns4.so.2 only IPv4 addresses and libnss_mdns6.so.2 only IPv6 addresses."
>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>   .../libnss-mdns/libnss-mdns_0.10.bb                |   10 +++++-----
>   1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> index a1f2f9a..ae11487 100644
> --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
>
>   DEPENDS = "avahi"
>   RDEPENDS_${PN} = "avahi-daemon"
> -PR = "r5"
> +PR = "r6"
>
>   SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz"
>
> @@ -24,13 +24,13 @@ DEBIANNAME_${PN} = "libnss-mdns"
>   EXTRA_OECONF = "--libdir=${base_libdir} --disable-lynx --enable-avahi"
>
>   pkg_postinst_${PN} () {
> -if ! grep -q '^hosts:.*\<mdns4\>' $D/etc/nsswitch.conf; then
> -	sed -e 's/^hosts:.*/& mdns4/' -i $D/etc/nsswitch.conf
> +if ! grep -q '^hosts:.*\<mdns\>' $D/etc/nsswitch.conf; then
> +	sed -e 's/^hosts:.*/& mdns/' -i $D/etc/nsswitch.conf
>   fi
>   }
>
>   pkg_prerm_${PN} () {
> -if grep -q '^hosts:.*\<mdns4\>' /etc/nsswitch.conf; then
> -	sed -e '/^hosts:/s/\s\<mdns4\>//' -i /etc/nsswitch.conf
> +if grep -q '^hosts:.*\<mdns\>' /etc/nsswitch.conf; then
> +	sed -e '/^hosts:/s/\s\<mdns\>//' -i /etc/nsswitch.conf
There were some other changes made to this recently, can you please have 
a look at the current version, it now uses the mdns4_minimal

Thanks
	Sau!


>   fi
>   }
>



      reply	other threads:[~2013-01-03  3:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29 19:50 [RFC][PATCH] libnss-mdns: enable IPv6 as well as IPv4 mnds resolving koen
2013-01-03  3:14 ` Saul Wold [this message]

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=50E4F79D.3050105@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.