summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libnss-mdns
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libnss-mdns')
-rw-r--r--meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb (renamed from meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb)15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb
index 5e4460045b..0db609fc47 100644
--- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb
+++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb
@@ -1,28 +1,29 @@
1SUMMARY = "Name Service Switch module for Multicast DNS (zeroconf) name resolution" 1SUMMARY = "Name Service Switch module for Multicast DNS (zeroconf) name resolution"
2HOMEPAGE = "https://github.com/lathiat/nss-mdns" 2HOMEPAGE = "https://github.com/lathiat/nss-mdns"
3DESCRIPTION = "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."
3SECTION = "libs" 4SECTION = "libs"
4 5
5LICENSE = "LGPLv2.1+" 6LICENSE = "LGPL-2.1-or-later"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
7 8
8DEPENDS = "avahi" 9DEPENDS = "avahi"
9 10
10SRC_URI = "git://github.com/lathiat/nss-mdns \ 11SRC_URI = "git://github.com/lathiat/nss-mdns;branch=master;protocol=https \
11 " 12 "
12 13
13SRCREV = "41c9c5e78f287ed4b41ac438c1873fa71bfa70ae" 14SRCREV = "4b3cfe818bf72d99a02b8ca8b8813cb2d6b40633"
14 15
15S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
16 17
17inherit autotools pkgconfig 18inherit autotools pkgconfig
18 19
19COMPATIBLE_HOST_libc-musl = 'null' 20COMPATIBLE_HOST:libc-musl = 'null'
20 21
21EXTRA_OECONF = "--libdir=${base_libdir}" 22EXTRA_OECONF = "--libdir=${base_libdir}"
22 23
23RDEPENDS_${PN} = "avahi-daemon" 24RDEPENDS:${PN} = "avahi-daemon"
24 25
25pkg_postinst_${PN} () { 26pkg_postinst:${PN} () {
26 sed ' 27 sed '
27 /^hosts:/ !b 28 /^hosts:/ !b
28 /\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b 29 /\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b
@@ -30,7 +31,7 @@ pkg_postinst_${PN} () {
30 ' -i $D${sysconfdir}/nsswitch.conf 31 ' -i $D${sysconfdir}/nsswitch.conf
31} 32}
32 33
33pkg_prerm_${PN} () { 34pkg_prerm:${PN} () {
34 sed ' 35 sed '
35 /^hosts:/ !b 36 /^hosts:/ !b
36 s/[[:blank:]]\+mdns\(4\|6\)\?\(_minimal\( \[NOTFOUND=return\]\)\?\)\?//g 37 s/[[:blank:]]\+mdns\(4\|6\)\?\(_minimal\( \[NOTFOUND=return\]\)\?\)\?//g