diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2025-02-01 17:28:43 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-05 12:49:55 +0000 |
| commit | 7a42e31654a32955da904ec86585a87f188d1998 (patch) | |
| tree | f6661ed6a826922fe2f02e597b019cd6c4d64f1e /meta/recipes-connectivity/libnss-mdns | |
| parent | e4e77b1f374f5d27d9f3dd231b7e929713ff8fb4 (diff) | |
| download | poky-7a42e31654a32955da904ec86585a87f188d1998.tar.gz | |
nss-mdns: Rename recipe to avahi-libnss-mdns
meta-networking has Apple's mDNSResponder which also delivers libnss-mdns
nsswitch plugin. Rename this recipe to avahi-libss-mdns and add an RPROVIDE so
that either than be chosen.
(From OE-Core rev: f9d10d6ac4b2a081d110ab58e7137aedddd960cb)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libnss-mdns')
| -rw-r--r-- | meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb deleted file mode 100644 index 0db609fc47..0000000000 --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | SUMMARY = "Name Service Switch module for Multicast DNS (zeroconf) name resolution" | ||
| 2 | HOMEPAGE = "https://github.com/lathiat/nss-mdns" | ||
| 3 | DESCRIPTION = "nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution via Multicast DNS (aka Zeroconf, aka Apple Rendezvous, aka Apple Bonjour), effectively allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local." | ||
| 4 | SECTION = "libs" | ||
| 5 | |||
| 6 | LICENSE = "LGPL-2.1-or-later" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
| 8 | |||
| 9 | DEPENDS = "avahi" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/lathiat/nss-mdns;branch=master;protocol=https \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRCREV = "4b3cfe818bf72d99a02b8ca8b8813cb2d6b40633" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit autotools pkgconfig | ||
| 19 | |||
| 20 | COMPATIBLE_HOST:libc-musl = 'null' | ||
| 21 | |||
| 22 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
| 23 | |||
| 24 | RDEPENDS:${PN} = "avahi-daemon" | ||
| 25 | |||
| 26 | pkg_postinst:${PN} () { | ||
| 27 | sed ' | ||
| 28 | /^hosts:/ !b | ||
| 29 | /\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b | ||
| 30 | s/\([[:blank:]]\+\)dns\>/\1mdns4_minimal [NOTFOUND=return] dns/g | ||
| 31 | ' -i $D${sysconfdir}/nsswitch.conf | ||
| 32 | } | ||
| 33 | |||
| 34 | pkg_prerm:${PN} () { | ||
| 35 | sed ' | ||
| 36 | /^hosts:/ !b | ||
| 37 | s/[[:blank:]]\+mdns\(4\|6\)\?\(_minimal\( \[NOTFOUND=return\]\)\?\)\?//g | ||
| 38 | ' -i $D${sysconfdir}/nsswitch.conf | ||
| 39 | } | ||
