diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-18 14:06:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:35 +0000 |
commit | 7df632664b94d2b5df6e8734937eaefb91e6ff18 (patch) | |
tree | 0c3c6a51f6ef6eb8c267b8e834eb22985066589e /meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb | |
parent | 48332e8d214ace84c54f4924cb05f4b47d030cf7 (diff) | |
download | openembedded-core-contrib-7df632664b94d2b5df6e8734937eaefb91e6ff18.tar.gz |
libnss-dns: update to 0.14.1
Change SRC_URI to the new location, drop no longer
supported/unneeded options.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Diffstat (limited to 'meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb')
-rw-r--r-- | meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb new file mode 100644 index 0000000000..5e4460045b --- /dev/null +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb @@ -0,0 +1,38 @@ +SUMMARY = "Name Service Switch module for Multicast DNS (zeroconf) name resolution" +HOMEPAGE = "https://github.com/lathiat/nss-mdns" +SECTION = "libs" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1" + +DEPENDS = "avahi" + +SRC_URI = "git://github.com/lathiat/nss-mdns \ + " + +SRCREV = "41c9c5e78f287ed4b41ac438c1873fa71bfa70ae" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +COMPATIBLE_HOST_libc-musl = 'null' + +EXTRA_OECONF = "--libdir=${base_libdir}" + +RDEPENDS_${PN} = "avahi-daemon" + +pkg_postinst_${PN} () { + sed ' + /^hosts:/ !b + /\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b + s/\([[:blank:]]\+\)dns\>/\1mdns4_minimal [NOTFOUND=return] dns/g + ' -i $D${sysconfdir}/nsswitch.conf +} + +pkg_prerm_${PN} () { + sed ' + /^hosts:/ !b + s/[[:blank:]]\+mdns\(4\|6\)\?\(_minimal\( \[NOTFOUND=return\]\)\?\)\?//g + ' -i $D${sysconfdir}/nsswitch.conf +} |