diff options
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/node-red/node-red_0.15.3.bb | 59 | ||||
| -rw-r--r-- | recipes-devtools/nodejs/nodejs_10.16.2.bb | 9 | ||||
| -rw-r--r-- | recipes-devtools/nodejs/nodejs_10.4.0.bb | 9 | ||||
| -rw-r--r-- | recipes-devtools/nodejs/nodejs_10.inc | 98 | ||||
| -rw-r--r-- | recipes-devtools/nodejs/nodejs_12.8.0.bb | 9 | ||||
| -rw-r--r-- | recipes-devtools/nodejs/nodejs_12.inc | 98 | ||||
| -rw-r--r-- | recipes-devtools/opkg/files/0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch | 12 | ||||
| -rw-r--r-- | recipes-devtools/opkg/opkg_%.bbappend | 7 | ||||
| -rw-r--r-- | recipes-devtools/php/files/init.d.php-rpm.patch | 36 | ||||
| -rw-r--r-- | recipes-devtools/php/files/php-fpm.conf.patch | 30 | ||||
| -rw-r--r-- | recipes-devtools/php/files/php-fpm.default | 2 | ||||
| -rw-r--r-- | recipes-devtools/php/php_%.bbappend | 13 |
12 files changed, 0 insertions, 382 deletions
diff --git a/recipes-devtools/node-red/node-red_0.15.3.bb b/recipes-devtools/node-red/node-red_0.15.3.bb deleted file mode 100644 index bacf9fd..0000000 --- a/recipes-devtools/node-red/node-red_0.15.3.bb +++ /dev/null @@ -1,59 +0,0 @@ -DESCRIPTION = "Node-RED" -HOMEPAGE = "http://nodered.org" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" -DEPENDS = "nodejs nodejs-native" -RDEPENDS_${PN} += "bash" -PR = "r0" - -inherit npm-base - - -S = "${WORKDIR}" - -do_install() { - - # npm install locally - oe_runnpm install --prefix ./ node-red@0.15.3 - - # npm install more stuff - oe_runnpm install --prefix./node_modules/node-red nodemailer - # Build patched serialport. - # Original is https://registry.npmjs.org/serialport/-/serialport-1.7.4.tgz - oe_runnpm install --prefix ./node_modules/node-red http://multitech.net/mlinux/sources/node-red-serialport-1.7.4-mt1.tgz - - # modules needed for loragw - oe_runnpm install --prefix ./node_modules/node-red extend dissolve node-constants - - # install m2x node - oe_runnpm install --prefix ./node_modules/node-red node-red-m2x - - # remove dupe deps - oe_runnpm dedupe - - # remove Raspberry PI node - rm ./node_modules/node-red/nodes/core/hardware/36-rpi-gpio.html - rm ./node_modules/node-red/nodes/core/hardware/36-rpi-gpio.js - rm ./node_modules/node-red/nodes/core/hardware/nrgpio - rm ./node_modules/node-red/nodes/core/hardware/nrgpio.py - - # remove x86_64 serialport 0.0.5 - rm -rf ./node_modules/node-red/node_modules/node-red-node-serialport - - # install node-red - install -d ${D}/opt/node-red - cp -r ./node_modules/node-red/* ${D}/opt/node-red/ -} -pkg_preinst_${PN}() { - if grep 'Application Execution Platform with mLinux' /etc/issue ; then - ((aep=1)) - fi - ls /etc/init.d >/tmp/init.txt - - if ((aep == 1)) ; then - logger -t opkg -s -p user.error 'Application Execution Platform detected in /etc/issue -- this node-red package is for mLinux not AEP' - exit 1 - fi -} - -FILES_${PN} += "/opt/node-red" diff --git a/recipes-devtools/nodejs/nodejs_10.16.2.bb b/recipes-devtools/nodejs/nodejs_10.16.2.bb deleted file mode 100644 index 40c1bd2..0000000 --- a/recipes-devtools/nodejs/nodejs_10.16.2.bb +++ /dev/null @@ -1,9 +0,0 @@ -require nodejs_10.inc - -INC_PR = "r1" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=be980eb7ccafe287cb438076a65e888c" - -SRC_URI[src.md5sum] = "d3dcf975970fe080b1d00221b8070944" -SRC_URI[src.sha256sum] = "5936ef12ab3f0ce5fbb6751c1bb41f626b6058f414a297b3d8c5eb418a27e8fe" - diff --git a/recipes-devtools/nodejs/nodejs_10.4.0.bb b/recipes-devtools/nodejs/nodejs_10.4.0.bb deleted file mode 100644 index 8a85cc2..0000000 --- a/recipes-devtools/nodejs/nodejs_10.4.0.bb +++ /dev/null @@ -1,9 +0,0 @@ -require nodejs_10.inc - -INC_PR = "r1" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=b0267987d0755bce12779a100826ef97" - -SRC_URI[src.md5sum] = "db2fcfb40c4fe4049ad172cf3f99fd2f" -SRC_URI[src.sha256sum] = "88d9c8179bde19e057cd1d8b835b50726e4c94f8418c91472001e212da96d290" - diff --git a/recipes-devtools/nodejs/nodejs_10.inc b/recipes-devtools/nodejs/nodejs_10.inc deleted file mode 100644 index f8e36e9..0000000 --- a/recipes-devtools/nodejs/nodejs_10.inc +++ /dev/null @@ -1,98 +0,0 @@ -DESCRIPTION = "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE = "http://nodejs.org" - -LICENSE = "MIT" - -COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" -# COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" -COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*" - -INC_PR = "r1" -PR = "${INC_PR}.4" - -PROVIDES = "node" -RPROVIDES_${PN} = "node" - -SRC_URI = "https://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz;name=src \ - " - -S = "${WORKDIR}/node-v${PV}" - -# v8 errors out if you have set CCACHE -CCACHE = "" - -inherit nodejs-arch - -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)}" -ARCHFLAGS ?= "" - -CROSSCONF = "--cross-compiling" -CROSSCONF_virtclass-native ="--no-cross-compiling" - -GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' " - -PACKAGECONFIG ??= "zlib openssl" - -PACKAGECONFIG[zlib] = "--shared-zlib,,zlib," -PACKAGECONFIG[openssl] = "--shared-openssl,,openssl," -PACKAGECONFIG[v8-inspector] = ",--without-inspector,," - -DISABLE_STATIC = "" - -export CXX_host = "${BUILD_CXX}" -export CC_host = "${BUILD_CC}" -export CXXFLAGS_host = "${BUILD_CXXFLAGS}" -export CFLAGS_host = "${BUILD_CFLAGS}" - -do_configure () { - GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES - ./configure --prefix="${prefix}" \ - --dest-cpu="${@nodejs_map_dest_cpu(d.getVar('TARGET_ARCH', True), d)}" \ - --dest-os=linux ${ARCHFLAGS} \ - --with-intl=none \ - ${CROSSCONF} \ - ${PACKAGECONFIG_CONFARGS} -} - -do_compile () { - oe_runmake BUILDTYPE=Release -} - -do_install () { - oe_runmake install DESTDIR="${D}" -} - -do_install_append_class-native() { - # make sure we use node from PATH instead of absolute path to sysroot - sed "1s^.*^#\!/usr/bin/env node^g" -i ${D}${exec_prefix}/lib/node_modules/npm/bin/npm-cli.js -} - -do_install_append_class-nativesdk() { - # make sure we use node from PATH instead of absolute path to sysroot - sed "1s^.*^#\!/usr/bin/env node^g" -i ${D}${exec_prefix}/lib/node_modules/npm/bin/npm-cli.js - sed "1s^.*^#\!/usr/bin/env python^g" -i ${D}${exec_prefix}/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples -} - -do_install_append_class-target() { - # make sure we use node from PATH instead of absolute path to sysroot - 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" -RDEPENDS_${PN}-npm = "bash python-compiler python-shell python-datetime python-subprocess python-multiprocessing python-crypt python-textutils python-netclient python-misc" - -PACKAGES =+ "${PN}-dtrace" -FILES_${PN}-dtrace = "${exec_prefix}/lib/dtrace" - -PACKAGES =+ "${PN}-systemtap" -FILES_${PN}-systemtap = "${datadir}/systemtap" - -INSANE_SKIP_${PN} += "file-rdeps" -INSANE_SKIP_${PN}-dbg += "host-user-contaminated" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/nodejs/nodejs_12.8.0.bb b/recipes-devtools/nodejs/nodejs_12.8.0.bb deleted file mode 100644 index 422f88f..0000000 --- a/recipes-devtools/nodejs/nodejs_12.8.0.bb +++ /dev/null @@ -1,9 +0,0 @@ -require nodejs_12.inc - -INC_PR = "r2" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=f8efc912ac094c0792011f180755f415" - -SRC_URI[src.md5sum] = "f0ddf2d0b6ed3de579a111b39ca08f01" -SRC_URI[src.sha256sum] = "6f4e4ee7bcb52f782dce5a51d6951ff87151d9504be129d68d7aff469c0f7f36" - diff --git a/recipes-devtools/nodejs/nodejs_12.inc b/recipes-devtools/nodejs/nodejs_12.inc deleted file mode 100644 index f8e36e9..0000000 --- a/recipes-devtools/nodejs/nodejs_12.inc +++ /dev/null @@ -1,98 +0,0 @@ -DESCRIPTION = "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE = "http://nodejs.org" - -LICENSE = "MIT" - -COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" -# COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" -COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*" - -INC_PR = "r1" -PR = "${INC_PR}.4" - -PROVIDES = "node" -RPROVIDES_${PN} = "node" - -SRC_URI = "https://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz;name=src \ - " - -S = "${WORKDIR}/node-v${PV}" - -# v8 errors out if you have set CCACHE -CCACHE = "" - -inherit nodejs-arch - -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)}" -ARCHFLAGS ?= "" - -CROSSCONF = "--cross-compiling" -CROSSCONF_virtclass-native ="--no-cross-compiling" - -GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' " - -PACKAGECONFIG ??= "zlib openssl" - -PACKAGECONFIG[zlib] = "--shared-zlib,,zlib," -PACKAGECONFIG[openssl] = "--shared-openssl,,openssl," -PACKAGECONFIG[v8-inspector] = ",--without-inspector,," - -DISABLE_STATIC = "" - -export CXX_host = "${BUILD_CXX}" -export CC_host = "${BUILD_CC}" -export CXXFLAGS_host = "${BUILD_CXXFLAGS}" -export CFLAGS_host = "${BUILD_CFLAGS}" - -do_configure () { - GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES - ./configure --prefix="${prefix}" \ - --dest-cpu="${@nodejs_map_dest_cpu(d.getVar('TARGET_ARCH', True), d)}" \ - --dest-os=linux ${ARCHFLAGS} \ - --with-intl=none \ - ${CROSSCONF} \ - ${PACKAGECONFIG_CONFARGS} -} - -do_compile () { - oe_runmake BUILDTYPE=Release -} - -do_install () { - oe_runmake install DESTDIR="${D}" -} - -do_install_append_class-native() { - # make sure we use node from PATH instead of absolute path to sysroot - sed "1s^.*^#\!/usr/bin/env node^g" -i ${D}${exec_prefix}/lib/node_modules/npm/bin/npm-cli.js -} - -do_install_append_class-nativesdk() { - # make sure we use node from PATH instead of absolute path to sysroot - sed "1s^.*^#\!/usr/bin/env node^g" -i ${D}${exec_prefix}/lib/node_modules/npm/bin/npm-cli.js - sed "1s^.*^#\!/usr/bin/env python^g" -i ${D}${exec_prefix}/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples -} - -do_install_append_class-target() { - # make sure we use node from PATH instead of absolute path to sysroot - 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" -RDEPENDS_${PN}-npm = "bash python-compiler python-shell python-datetime python-subprocess python-multiprocessing python-crypt python-textutils python-netclient python-misc" - -PACKAGES =+ "${PN}-dtrace" -FILES_${PN}-dtrace = "${exec_prefix}/lib/dtrace" - -PACKAGES =+ "${PN}-systemtap" -FILES_${PN}-systemtap = "${datadir}/systemtap" - -INSANE_SKIP_${PN} += "file-rdeps" -INSANE_SKIP_${PN}-dbg += "host-user-contaminated" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/opkg/files/0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch b/recipes-devtools/opkg/files/0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch deleted file mode 100644 index 882bf54..0000000 --- a/recipes-devtools/opkg/files/0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naru old/libopkg/opkg_conf.h new/libopkg/opkg_conf.h ---- old/libopkg/opkg_conf.h 2019-07-25 15:03:02.900962077 -0500 -+++ new/libopkg/opkg_conf.h 2019-07-25 16:57:13.472759267 -0500 -@@ -40,7 +40,7 @@ - #define OPKG_CONF_DEFAULT_STATUS_FILE VARDIR "/lib/opkg/status" - #define OPKG_CONF_DEFAULT_CACHE_DIR VARDIR "/cache/opkg" - #define OPKG_CONF_DEFAULT_CONF_FILE_DIR SYSCONFDIR "/opkg" --#define OPKG_CONF_DEFAULT_LOCK_FILE "/run/opkg.lock" -+#define OPKG_CONF_DEFAULT_LOCK_FILE "/run/lock/opkg.lock" - - /* In case the config file defines no dest */ - #define OPKG_CONF_DEFAULT_DEST_NAME "root" diff --git a/recipes-devtools/opkg/opkg_%.bbappend b/recipes-devtools/opkg/opkg_%.bbappend deleted file mode 100644 index 7b45903..0000000 --- a/recipes-devtools/opkg/opkg_%.bbappend +++ /dev/null @@ -1,7 +0,0 @@ -PR .= ".mlinux1" - -SRC_URI += " file://0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch \ - " -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - - diff --git a/recipes-devtools/php/files/init.d.php-rpm.patch b/recipes-devtools/php/files/init.d.php-rpm.patch deleted file mode 100644 index 312f5d7..0000000 --- a/recipes-devtools/php/files/init.d.php-rpm.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Naru old/sapi/fpm/init.d.php-fpm.in new/sapi/fpm/init.d.php-fpm.in ---- old/sapi/fpm/init.d.php-fpm.in 2017-08-14 16:30:30.551436717 -0500 -+++ new/sapi/fpm/init.d.php-fpm.in 2017-08-14 16:51:21.963399670 -0500 -@@ -10,12 +10,13 @@ - # Description: starts the PHP FastCGI Process Manager daemon - ### END INIT INFO - --prefix=@prefix@ --exec_prefix=@exec_prefix@ -- --php_fpm_BIN=@sbindir@/php-fpm --php_fpm_CONF=@sysconfdir@/php-fpm.conf --php_fpm_PID=@localstatedir@/run/php-fpm.pid -+NAME="php-fpm" -+prefix=/usr -+exec_prefix=/usr -+ -+php_fpm_BIN=/usr/sbin/php-fpm -+php_fpm_CONF=/etc/php-fpm.conf -+php_fpm_PID=/var/run/php-fpm.pid - - - php_opts="--fpm-config $php_fpm_CONF --pid $php_fpm_PID" -@@ -52,6 +53,12 @@ - - case "$1" in - start) -+ [[ -f /etc/default/$NAME ]] && . /etc/default/"$NAME" -+ if [[ $ENABLED != "yes" ]]; then -+ echo "$NAME: disabled in /etc/default" -+ exit -+ fi -+ - echo -n "Starting php-fpm " - - $php_fpm_BIN --daemonize $php_opts diff --git a/recipes-devtools/php/files/php-fpm.conf.patch b/recipes-devtools/php/files/php-fpm.conf.patch deleted file mode 100644 index 6125b67..0000000 --- a/recipes-devtools/php/files/php-fpm.conf.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naru old/php-fpm.conf new/php-fpm.conf ---- old/php-fpm.conf 2017-06-21 12:52:47.597947428 -0500 -+++ new/php-fpm.conf 2017-06-21 13:10:03.225916769 -0500 -@@ -22,7 +22,7 @@ - ; Pid file - ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ - ; Default Value: none --;pid = run/php-fpm.pid -+pid = run/php-fpm.pid - - ; Error log file - ; If it's set to "syslog", log is sent to syslogd instead of being written -@@ -161,7 +161,7 @@ - ; (IPv6 and IPv4-mapped) on a specific port; - ; '/path/to/unix/socket' - to listen on a unix socket. - ; Note: This value is mandatory. --listen = 127.0.0.1:9000 -+listen = /var/run/php-fpm.socket - - ; Set listen(2) backlog. - ; Default Value: 65535 (-1 on FreeBSD and OpenBSD) -@@ -476,7 +476,7 @@ - ; Chdir to this directory at the start. - ; Note: relative path can be used. - ; Default Value: current directory or / when chroot --;chdir = /var/www -+;chdir = /www - - ; Redirect worker stdout and stderr into main error log. If not set, stdout and - ; stderr will be redirected to /dev/null according to FastCGI specs. diff --git a/recipes-devtools/php/files/php-fpm.default b/recipes-devtools/php/files/php-fpm.default deleted file mode 100644 index 0f92640..0000000 --- a/recipes-devtools/php/files/php-fpm.default +++ /dev/null @@ -1,2 +0,0 @@ -# set to "yes" or "no" to control starting on boot -ENABLED="no" diff --git a/recipes-devtools/php/php_%.bbappend b/recipes-devtools/php/php_%.bbappend deleted file mode 100644 index 004c0f8..0000000 --- a/recipes-devtools/php/php_%.bbappend +++ /dev/null @@ -1,13 +0,0 @@ -SRC_URI_append_class-target += "file://php-fpm.conf.patch;patchdir=.. \ - file://init.d.php-rpm.patch \ - file://php-fpm.default \ - " - -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - -do_install_append_class-target() { - install -d ${D}/${sysconfdir}/default - install -m 0644 ${WORKDIR}/php-fpm.default ${D}/${sysconfdir}/default/php-fpm -} - -FILES_${PN}-fpm += "${sysconfdir}/default"
\ No newline at end of file |
