summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-11-11 15:58:48 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-11-11 15:59:15 +0300
commit2f9739240bcb1cfd0675bbe77c02b5f7c32219b1 (patch)
tree1055886a67869b77ae1c7c2f3722934153574ea6 /meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb
parentbf18570e7823c708c807889633686f17f4632e4a (diff)
downloadopenbmc-2f9739240bcb1cfd0675bbe77c02b5f7c32219b1.tar.xz
meta-openembedded: subtree update:e0daf6f8e0..3a9262866d
Adrian Bunk (1): xfce-polkit: Upgrade 0.2 -> 0.3 Alex Kiernan (2): ostree: Add support for ptest ostree: Upgrade 2019.4 -> 2019.5 Alistair Francis (1): openocd: Update to latest git version Anders Roxell (1): s-suite: install missing create_config.sh Andreas Müller (6): mm-common: upgrade 0.9.12 -> 1.0.0 / meson build / add SUMMARY mm-common: do really build with meson libpeas: upgrade 1.22.0 -> 1.24.1 xfce4-screenshooter: upgrade 1.9.6 -> 1.9.7 xfce4-time-out-plugin: upgrade 1.0.3 -> 1.1.0 xfce4-whiskermenu-plugin: upgrade 2.3.3 -> 2.3.4 Andreas Oberritter (4): haveged: Fix missing initscript when both systemd and sysvinit are enabled samba: fix installation for minimal build autofs: set some paths for configure script autofs: install sysvinit script manually if systemd is enabled André Draszik (8): jansson: allow to build a -native package cunit: allow to build a -native package libev: allow to build a -native package nghttp2: fix UPSTREAM_CHECK_URI nghttp2: update to 1.39.2 nghttp2: build more of this & fix packaging nghttp2: allow to build a -native package nodejs: allow use of system nghttp2 Hongxu Jia (10): python-pluggy: add python-importlib-metadata to RDEPENDS python-more-itertools.inc: fix python2 package not incorrectly generated python-more-itertools: downgrade 7.2.0 -> 5.0.0 python-importlib-metadata: add missing runtime depends python-pathlib2: add python-scandir and python-misc to runtime depends python-scandir: add version 1.10.0 python-contextlib2/python3-contextlib2: add version 0.6.0 python3-importlib-metadata: add python3-misc to runtime depends python-importlib-metadata: add python-compression to runtime depends python-configparser: add python-pkgutil to runtime depends Kai Kang (4): xfce4-genmon-plugin: 4.0.1 -> 4.0.2 xfce-panel-plugin.bbclass: correct SRC_URI with xfce_verdir xfce4-weather-plugin: 0.9.1 -> 0.10.0 xfce4-screensaver: 0.1.5 -> 0.1.8 Khem Raj (8): iwd: Fix installed-vs-shipped QA errors on systemd units iwd: Fix build race during documentation build ifplugd: Include stdint.h for uintXX_t netkit-rwho: Include stdint.h for int32_t libowfat: Fix parallel build grpc: Add dep on libnsl gtkwave: Upgrade to 3.3.102 syslog-ng: Do not install non-existing systemd file Ming Liu (2): python-jsonschema: RDEPENDS on python-importlib-metadata ostree: fix some invalid condition checking Oleksandr Kravchuk (1): iwd: update to 1.0 Stefan Agner (2): zstd: Upgrade 1.4.3 -> 1.4.4 zstd: move recipe to oe-core Yi Zhao (2): libldb: upgrade 1.5.5 -> 1.5.6 samba: upgrade 4.10.8 -> 4.10.10 Zang Ruochen (20): python-pyjks: upgrade 17.1.1 -> 19.0.0 python-pyjwt: upgrade 1.6.4 -> 1.7.1 python-pymisp: upgrade 2.4.93 -> 2.4.117.2 xorriso: upgrade 1.5.0 -> 1.5.3 python-cython: upgrade 0.29.13 -> 0.29.14 python-decorator: upgrade 4.4.0 -> 4.4.1 python-dominate: upgrade 2.3.1 -> 2.4.0 python-flask-babel: upgrade 0.11.2 -> 0.12.2 python-flask-migrate: upgrade 2.2.1 -> 2.5.2 python-flask-restful: upgrade 0.3.6 -> 0.3.7 python-flask-socketio: upgrade 3.3.2 -> 4.2.1 python-flask-sqlalchemy: upgrade 2.3.2 -> 2.4.1 python-paho-mqtt: upgrade 1.4.0 -> 1.5.0 python-pyroute2: upgrade 0.5.2 -> 0.5.7 python-pyrsistent: upgrade 0.15.4 -> 0.15.5 python-pysmi: upgrade 0.2.2 -> 0.3.4 python-pytest: upgrade 5.2.1 -> 5.2.2 python-serpent: upgrade 1.25 -> 1.28 python-smbus: upgrade 4.0 -> 4.1 python-snimpy: upgrade 0.8.12 -> 0.8.13 Zheng Ruoqin (19): mdns: upgrade 878.200.35 -> 878.260.1 ledmon: Modify the Upstream-Status to Submitted. byacc: upgrade 20190617 -> 20191103 ccid: upgrade 1.4.30 -> 1.4.31 dialog: upgrade 1.3-20190728 -> 1.3-20190808 cryptsetup: upgrade 2.2.1 -> 2.2.2 lvm2/libdevmapper: 2.03.05 -> 2.03.06 libssh2: upgrade 1.8.2 -> 1.9.0 mariadb: upgrade 10.3.16 -> 10.3.18 mcelog: upgrade 164 -> 165 mce-test: Update to latest git version postgresql: upgrade 11.5 -> 12.0 protobuf: upgrade 3.10.0 -> 3.10.1 sshfs-fuse: upgrade 3.5.2 -> 3.6.0 syslog-ng: upgrade 3.19.1 -> 3.24.1 tslib: upgrade 1.16 -> 1.21 xkbprint: upgrade 1.0.4 -> 1.0.5 xterm: upgrade 349 -> 350 zabbix: upgrade 4.2.7 -> 4.2.8 Zhixiong Chi (1): gtkwave: add the libtirpc dependence and config Change-Id: I7dd3609b2d3166e5ba2f977e26026f2b675dc108 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb')
-rw-r--r--meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb90
1 files changed, 90 insertions, 0 deletions
diff --git a/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb b/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb
new file mode 100644
index 0000000000..0178945316
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb
@@ -0,0 +1,90 @@
+SUMMARY = "Publishes & browses available services on a link according to the Zeroconf / Bonjour protocol"
+DESCRIPTION = "Bonjour, also known as zero-configuration networking, enables automatic discovery of computers, devices, and services on IP networks."
+HOMEPAGE = "http://developer.apple.com/networking/bonjour/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=31c50371921e0fb731003bbc665f29bf"
+
+COMPATIBLE_HOST_libc-musl = 'null'
+
+RPROVIDES_${PN} += "libdns_sd.so"
+
+SRC_URI = "https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz \
+ file://build.patch;patchdir=.. \
+ file://mdns.service \
+ "
+SRC_URI[md5sum] = "aeb92d838a4aa2402ef128ed501484eb"
+SRC_URI[sha256sum] = "3cc71582e8eee469c2de8ecae1d769e7f32b3468dfb7f2ca77f1dee1f30a7d1e"
+
+PARALLEL_MAKE = ""
+
+S = "${WORKDIR}/mDNSResponder-${PV}/mDNSPosix"
+
+EXTRA_OEMAKE += "os=linux DEBUG=0 'CC=${CC}' 'LD=${CCLD} ${LDFLAGS}'"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_install () {
+ install -d ${D}${sbindir}
+ install -m 0755 build/prod/mdnsd ${D}${sbindir}
+
+ install -d ${D}${libdir}
+ cp build/prod/libdns_sd.so ${D}${libdir}/libdns_sd.so.1
+ chmod 0644 ${D}${libdir}/libdns_sd.so.1
+ ln -s libdns_sd.so.1 ${D}${libdir}/libdns_sd.so
+
+ install -d ${D}${includedir}
+ install -m 0644 ../mDNSShared/dns_sd.h ${D}${includedir}
+
+ install -d ${D}${mandir}/man8
+ install -m 0644 ../mDNSShared/mDNSResponder.8 ${D}${mandir}/man8/mdnsd.8
+
+ install -d ${D}${bindir}
+ install -m 0755 ../Clients/build/dns-sd ${D}${bindir}
+
+ install -d ${D}${libdir}
+ oe_libinstall -C build/prod -so libnss_mdns-0.2 ${D}${libdir}
+ ln -s libnss_mdns-0.2.so ${D}${libdir}/libnss_mdns.so.2
+
+ install -d ${D}${sysconfdir}
+ install -m 0644 nss_mdns.conf ${D}${sysconfdir}
+
+ install -d ${D}${mandir}/man5
+ install -m 0644 nss_mdns.conf.5 ${D}${mandir}/man5
+
+ install -d ${D}${mandir}/man8
+ install -m 0644 libnss_mdns.8 ${D}${mandir}/man8
+
+ install -d ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/mdns.service ${D}${systemd_unitdir}/system/
+}
+
+pkg_postinst_${PN} () {
+ sed -e '/^hosts:/s/\s*\<mdns\>//' \
+ -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns\3\4\5/' \
+ -i $D/etc/nsswitch.conf
+}
+
+pkg_prerm_${PN} () {
+ sed -e '/^hosts:/s/\s*\<mdns\>//' \
+ -e '/^hosts:/s/\s*mdns//' \
+ -i $D/etc/nsswitch.conf
+}
+
+inherit systemd
+
+SYSTEMD_SERVICE_${PN} = "mdns.service"
+
+FILES_${PN} += "${systemd_unitdir}/system/mdns.service"
+FILES_${PN} += "${libdir}/libdns_sd.so.1 \
+ ${bindir}/dns-sd \
+ ${libdir}/libnss_mdns-0.2.so \
+ ${sysconfdir}/nss_mdns.conf"
+
+FILES_${PN}-dev += "${libdir}/libdns_sd.so \
+ ${includedir}/dns_sd.h "
+
+FILES_${PN}-man += "${mandir}/man8/mdnsd.8 \
+ ${mandir}/man5/nss_mdns.conf.5 \
+ ${mandir}/man8/libnss_mdns.8"
+
+PACKAGES = "${PN} ${PN}-dev ${PN}-man ${PN}-dbg"