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:42 +0000 |
commit | 5df56c70f4c9020b756408cfcd00bb9436c8a85c (patch) | |
tree | 1bdb2afcdc23af6045a24136227768a0ffe01e5c /meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.14.1.bb | |
parent | d085e70eeedb5f36a0d53f384f333ef2404a48bd (diff) | |
download | poky-5df56c70f4c9020b756408cfcd00bb9436c8a85c.tar.gz |
libnss-dns: update to 0.14.1
Change SRC_URI to the new location, drop no longer
supported/unneeded options.
(From OE-Core rev: 7df632664b94d2b5df6e8734937eaefb91e6ff18)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@ | |||
1 | SUMMARY = "Name Service Switch module for Multicast DNS (zeroconf) name resolution" | ||
2 | HOMEPAGE = "https://github.com/lathiat/nss-mdns" | ||
3 | SECTION = "libs" | ||
4 | |||
5 | LICENSE = "LGPLv2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
7 | |||
8 | DEPENDS = "avahi" | ||
9 | |||
10 | SRC_URI = "git://github.com/lathiat/nss-mdns \ | ||
11 | " | ||
12 | |||
13 | SRCREV = "41c9c5e78f287ed4b41ac438c1873fa71bfa70ae" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit autotools pkgconfig | ||
18 | |||
19 | COMPATIBLE_HOST_libc-musl = 'null' | ||
20 | |||
21 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
22 | |||
23 | RDEPENDS_${PN} = "avahi-daemon" | ||
24 | |||
25 | pkg_postinst_${PN} () { | ||
26 | sed ' | ||
27 | /^hosts:/ !b | ||
28 | /\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b | ||
29 | s/\([[:blank:]]\+\)dns\>/\1mdns4_minimal [NOTFOUND=return] dns/g | ||
30 | ' -i $D${sysconfdir}/nsswitch.conf | ||
31 | } | ||
32 | |||
33 | pkg_prerm_${PN} () { | ||
34 | sed ' | ||
35 | /^hosts:/ !b | ||
36 | s/[[:blank:]]\+mdns\(4\|6\)\?\(_minimal\( \[NOTFOUND=return\]\)\?\)\?//g | ||
37 | ' -i $D${sysconfdir}/nsswitch.conf | ||
38 | } | ||