diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-networking/recipes-protocols/mdns | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/mdns')
| -rw-r--r-- | meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb b/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb index 60bc26bf17..c9bfef2d14 100644 --- a/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb +++ b/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb | |||
| @@ -4,9 +4,9 @@ HOMEPAGE = "http://developer.apple.com/networking/bonjour/" | |||
| 4 | LICENSE = "Apache-2.0 & BSD-3-Clause" | 4 | LICENSE = "Apache-2.0 & BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=31c50371921e0fb731003bbc665f29bf" | 5 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=31c50371921e0fb731003bbc665f29bf" |
| 6 | 6 | ||
| 7 | COMPATIBLE_HOST_libc-musl = 'null' | 7 | COMPATIBLE_HOST:libc-musl = 'null' |
| 8 | 8 | ||
| 9 | RPROVIDES_${PN} += "libdns_sd.so" | 9 | RPROVIDES:${PN} += "libdns_sd.so" |
| 10 | 10 | ||
| 11 | SRC_URI = "https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz \ | 11 | SRC_URI = "https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz \ |
| 12 | file://mdns.service \ | 12 | file://mdns.service \ |
| @@ -83,13 +83,13 @@ do_install () { | |||
| 83 | install -m 0644 ${WORKDIR}/mdns.service ${D}${systemd_unitdir}/system/ | 83 | install -m 0644 ${WORKDIR}/mdns.service ${D}${systemd_unitdir}/system/ |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | pkg_postinst_${PN} () { | 86 | pkg_postinst:${PN} () { |
| 87 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ | 87 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ |
| 88 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns\3\4\5/' \ | 88 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns\3\4\5/' \ |
| 89 | -i $D/etc/nsswitch.conf | 89 | -i $D/etc/nsswitch.conf |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | pkg_prerm_${PN} () { | 92 | pkg_prerm:${PN} () { |
| 93 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ | 93 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ |
| 94 | -e '/^hosts:/s/\s*mdns//' \ | 94 | -e '/^hosts:/s/\s*mdns//' \ |
| 95 | -i $D/etc/nsswitch.conf | 95 | -i $D/etc/nsswitch.conf |
| @@ -97,18 +97,18 @@ pkg_prerm_${PN} () { | |||
| 97 | 97 | ||
| 98 | inherit systemd | 98 | inherit systemd |
| 99 | 99 | ||
| 100 | SYSTEMD_SERVICE_${PN} = "mdns.service" | 100 | SYSTEMD_SERVICE:${PN} = "mdns.service" |
| 101 | 101 | ||
| 102 | FILES_${PN} += "${systemd_unitdir}/system/mdns.service" | 102 | FILES:${PN} += "${systemd_unitdir}/system/mdns.service" |
| 103 | FILES_${PN} += "${libdir}/libdns_sd.so.1 \ | 103 | FILES:${PN} += "${libdir}/libdns_sd.so.1 \ |
| 104 | ${bindir}/dns-sd \ | 104 | ${bindir}/dns-sd \ |
| 105 | ${libdir}/libnss_mdns-0.2.so \ | 105 | ${libdir}/libnss_mdns-0.2.so \ |
| 106 | ${sysconfdir}/nss_mdns.conf" | 106 | ${sysconfdir}/nss_mdns.conf" |
| 107 | 107 | ||
| 108 | FILES_${PN}-dev += "${libdir}/libdns_sd.so \ | 108 | FILES:${PN}-dev += "${libdir}/libdns_sd.so \ |
| 109 | ${includedir}/dns_sd.h " | 109 | ${includedir}/dns_sd.h " |
| 110 | 110 | ||
| 111 | FILES_${PN}-man += "${mandir}/man8/mdnsd.8 \ | 111 | FILES:${PN}-man += "${mandir}/man8/mdnsd.8 \ |
| 112 | ${mandir}/man5/nss_mdns.conf.5 \ | 112 | ${mandir}/man5/nss_mdns.conf.5 \ |
| 113 | ${mandir}/man8/libnss_mdns.8" | 113 | ${mandir}/man8/libnss_mdns.8" |
| 114 | 114 | ||
