meta-openembedded: subtree update:c986cbed93..e0daf6f8e0

Adrian Bunk (19):
      lldpd: Upgrade 1.0.3 -> 1.0.4
      usrsctp: Upgrade to a more recent git snapshot
      cim-schema: Remove duplicate file
      dovecot: Upgrade 2.2.36.3 -> 2.2.36.4
      flashrom: Upgrade 1.0 -> 1.1
      doxygen: Upgrade 1.8.15 -> 1.8.16
      nodejs: Upgrade 10.16.3 -> 10.17.0
      php: Upgrade 7.3.9 -> 7.3.11
      libdivecomputer: Upgrade to 0.6.0
      libnss-nisplus: Upgrade to the latest upstream git
      pegtl: Upgrade 2.1.4 -> 2.8.1
      openwsman: Upgrade 2.6.9 -> 2.6.11
      cgdb: Upgrade 0.6.8 -> 0.7.1
      packagegroup-meta-networking: Exclude nonbuilding recipes with musl
      xf86-input-tslib: Upgrade 0.0.6 -> 0.0.7
      libmicrohttpd: Upgrade 0.9.66 -> 0.9.67
      poco: Upgrade 1.9.0 -> 1.9.4
      libgphoto2: Remove obsolete HAL files
      mdns: Mark as incompatible with musl

Andreas Müller (5):
      unicode-ucd: initial add 12.1.0
      unicode-ucd: Set correct SUMMARY and HOMEPAGE
      colord: initial add 1.4.4
      colord-gtk: initial add 0.2.0
      ibus: initial add 1.5.21

André Draszik (3):
      nodejs: allow use of system c-ares (and make default)
      libuv: update to 1.33.1
      nodejs: allow use of system libuv (and make default)

Carlos Rafael Giani (1):
      opencv: Enable pkg-config .pc file generation

Khem Raj (5):
      miniupnpd: Update to 2.1.20191006
      miniupnpd: Build config.h before full build
      poco: Fix build on risc-v
      python-docutils: Upgrade to 0.15.2
      iwd: Use python3 variant of docutils during build

Luca Boccassi (1):
      dbus-broker: build with libaudit if selinux is enabled

Martin Siegumfeldt (1):
      libiio: add python3 packageconfig

Paul Eggleton (1):
      python3-pillow: update to 6.2.1

Slater, Joseph (2):
      syslog-ng: add volatile directory init for systemd
      syslog-ng: change conf files to version 3.19

Trevor Gamblin (4):
      python-priority: add recipe
      python-h2: add recipe
      python-hyperframe: add recipe
      python-hpack: add recipe

Yi Zhao (1):
      freeradius: set CLEANBROKEN

Zang Ruochen (22):
      poppler: upgrade 0.80.0 -> 0.82.0
      gmime: upgrade 3.2.3 -> 3.2.4
      autofs: upgrade 5.1.5 -> 5.1.6
      python-simplejson: enable native and nativesdk
      python-dnspython: upgrade 1.15.0 -> 1.16.0
      python-engineio: upgrade 3.9.3 -> 3.10.0
      python-evdev: upgrade 0.7.0 -> 1.2.0
      python-future: upgrade 0.16.0 -> 0.18.2
      python-intervals: upgrade 1.5.4 -> 1.10.0
      python-isort: upgrade 4.3.4 -> 4.3.21
      python-javaobj-py3: upgrade 0.2.4 -> 0.3.0
      python-lazy-object-proxy: upgrade 1.3.1 -> 1.4.3
      python-parse: upgrade 1.8.4 -> 1.12.1
      python-pathlib2: upgrade 2.3.4 -> 2.3.5
      python-periphery: upgrade 1.1.1 -> 2.0.0
      python-pint: upgrade 0.8.1 -> 0.9
      python-progress: upgrade 1.4 -> 1.5
      python-prompt-toolkit: upgrade 2.0.4 -> 2.0.10
      python-pybind11: upgrade 2.2.3 -> 2.4.3
      python-pycryptodome: upgrade 3.4.11 -> 3.9.0
      python-pyexpect: upgrade 1.0.17 -> 1.0.19
      python-pyfirmata: upgrade 1.0.3 -> 1.1.0

Zheng Ruoqin (23):
      pure-ftpd: upgrade 1.0.47 -> 1.0.49
      grpc: upgrade 1.24.1 -> 1.24.3
      corosync: upgrade 2.4.4 -> 2.4.5
      dhcpcd: upgrade 8.0.2 -> 8.1.1
      iscsi-initiator-utils: upgrade 2.0.877 -> 2.0.878
      znc: upgrade 1.7.4 -> 1.7.5
      babeld: upgrade 1.8.4 -> 1.9.1
      htpdate: upgrade 1.2.1 -> 1.2.2
      nbd: upgrade 3.19 -> 3.20
      unbound: upgrade 1.9.2 -> 1.9.4
      wireshark: upgrade 3.0.3 -> 3.0.6
      mtr: upgrade 0.92 -> 0.93
      libowfat: upgrade 0.31 -> 0.32
      iozone3: upgrade 484 -> 487
      libhugetlbfs: upgrade 2.21 -> 2.22
      phoronix-test-suite: upgrade 8.8.1 -> 9.0.1
      lmsensors: upgrade 3.5.0 -> 3.6.0
      paho-mqtt-c: upgrade 1.3.0 -> 1.3.1
      rtorrent: upgrade 0.9.7 -> 0.9.8
      zabbix: upgrade 4.2.6 -> 4.2.7
      iwd: upgrade 0.20 -> 0.23
      libtorrent: upgrade 0.13.7 -> 0.13.8
      ledmon: upgrade to 0.93

Change-Id: I66f0f395da9087e46899cf882e36d9cc50718c62
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb b/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
new file mode 100644
index 0000000..4afe341
--- /dev/null
+++ b/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
@@ -0,0 +1,114 @@
+DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
+HOMEPAGE = "http://nodejs.org"
+LICENSE = "MIT & BSD & Artistic-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=be980eb7ccafe287cb438076a65e888c"
+
+DEPENDS = "openssl"
+DEPENDS_append_class-target = " nodejs-native"
+
+inherit pkgconfig
+
+COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
+COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
+COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
+
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
+
+SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
+           file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
+           file://0004-Make-compatibility-with-gcc-4.8.patch \
+           file://0005-Link-atomic-library.patch \
+           file://0006-Use-target-ldflags.patch \
+           "
+SRC_URI_append_class-target = " \
+           file://0002-Using-native-torque.patch \
+           "
+
+SRC_URI[md5sum] = "d5a56d0abf764a91f627f0690cd4b9f3"
+SRC_URI[sha256sum] = "412667d76bd5273c07cb69c215998109fd5bb35c874654f93e6a0132d666c58e"
+
+S = "${WORKDIR}/node-v${PV}"
+
+# v8 errors out if you have set CCACHE
+CCACHE = ""
+
+def map_nodejs_arch(a, d):
+    import re
+
+    if   re.match('i.86$', a): return 'ia32'
+    elif re.match('x86_64$', a): return 'x64'
+    elif re.match('aarch64$', a): return 'arm64'
+    elif re.match('(powerpc64|ppc64le)$', a): return 'ppc64'
+    elif re.match('powerpc$', a): return 'ppc'
+    return a
+
+ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)} \
+                 ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-arm-fpu=neon', \
+                    bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', '--with-arm-fpu=vfpv3-d16', \
+                    bb.utils.contains('TUNE_FEATURES', 'vfpv3', '--with-arm-fpu=vfpv3', \
+                    '--with-arm-fpu=vfp', d), d), d)}"
+GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
+ARCHFLAGS ?= ""
+
+PACKAGECONFIG ??= "ares icu libuv zlib"
+PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
+PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
+PACKAGECONFIG[libuv] = "--shared-libuv,,libuv"
+PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
+
+# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
+do_configure () {
+    rm -rf ${S}/deps/openssl
+    export LD="${CXX}"
+    GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
+    # $TARGET_ARCH settings don't match --dest-cpu settings
+   ./configure --prefix=${prefix} --without-snapshot --shared-openssl \
+               --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
+               --dest-os=linux \
+               ${ARCHFLAGS} \
+               ${PACKAGECONFIG_CONFARGS}
+}
+
+do_compile () {
+    export LD="${CXX}"
+    oe_runmake BUILDTYPE=Release
+}
+
+do_install () {
+    oe_runmake install DESTDIR=${D}
+}
+
+do_install_append_class-native() {
+    # use node from PATH instead of absolute path to sysroot
+    # node-v0.10.25/tools/install.py is using:
+    # shebang = os.path.join(node_prefix, 'bin/node')
+    # update_shebang(link_path, shebang)
+    # and node_prefix can be very long path to bindir in native sysroot and
+    # when it exceeds 128 character shebang limit it's stripped to incorrect path
+    # and npm fails to execute like in this case with 133 characters show in log.do_install:
+    # updating shebang of /home/jenkins/workspace/build-webos-nightly/device/qemux86/label/open-webos-builder/BUILD-qemux86/work/x86_64-linux/nodejs-native/0.10.15-r0/image/home/jenkins/workspace/build-webos-nightly/device/qemux86/label/open-webos-builder/BUILD-qemux86/sysroots/x86_64-linux/usr/bin/npm to /home/jenkins/workspace/build-webos-nightly/device/qemux86/label/open-webos-builder/BUILD-qemux86/sysroots/x86_64-linux/usr/bin/node
+    # /usr/bin/npm is symlink to /usr/lib/node_modules/npm/bin/npm-cli.js
+    # use sed on npm-cli.js because otherwise symlink is replaced with normal file and
+    # npm-cli.js continues to use old shebang
+    sed "1s^.*^#\!/usr/bin/env node^g" -i ${D}${exec_prefix}/lib/node_modules/npm/bin/npm-cli.js
+
+    # Install the native torque to provide it within sysroot for the target compilation
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/out/Release/torque ${D}${bindir}/torque
+}
+
+do_install_append_class-target() {
+    sed "1s^.*^#\!${bindir}/env node^g" -i ${D}${exec_prefix}/lib/node_modules/npm/bin/npm-cli.js
+}
+
+PACKAGES =+ "${PN}-npm"
+FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm ${bindir}/npx"
+RDEPENDS_${PN}-npm = "bash python-core python-shell python-datetime python-subprocess python-textutils \
+    python-compiler python-misc python-multiprocessing"
+
+PACKAGES =+ "${PN}-systemtap"
+FILES_${PN}-systemtap = "${datadir}/systemtap"
+
+
+BBCLASSEXTEND = "native"