PKG_NPM_NAME:=aws-crt
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.12.0
+PKG_VERSION:=1.12.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=db664a38945be0bf6db5f3ecc420259c4731d370c9735c866a4274c14847c7cf
+PKG_HASH:=b155cf3e155007713f911c00ca4b20c69daf3b7baba137b3ead1b49af8b058c8
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
-PKG_USE_NINJA:=0
define Package/node-aws-crt
SUBMENU:=Node.js
$(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)/dist
$(CP) $(PKG_BUILD_DIR)/dist/{index.*,browser,common,native} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/dist
- $(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)/dist/bin/native
- $(CP) $(PKG_BUILD_DIR)/build/Release/aws-crt-nodejs.node \
- $(1)/usr/lib/node/$(PKG_NPM_NAME)/dist/bin/native/
+ $(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)/dist/bin/linux-$(NODEJS_CPU)
+ $(CP) $(PKG_BUILD_DIR)/build/linux-x64/Release/aws-crt-nodejs.node \
+ $(1)/usr/lib/node/$(PKG_NPM_NAME)/dist/bin/linux-$(NODEJS_CPU)/
$(INSTALL_DIR) $(1)/usr/lib/node_modules
$(LN) ../node/$(PKG_NPM_NAME) $(1)/usr/lib/node_modules/$(PKG_NPM_NAME)
endef
function rmRecursive(rmPath) {
let rmBasePath = path.basename(rmPath);
if (rmBasePath == "." || rmBasePath == "..") {
-@@ -104,6 +144,42 @@ function buildLocally() {
- CMAKE_JS_PLATFORM: os.platform,
- CMAKE_JS_ARCH: os.arch,
- BUILD_TESTING: 'OFF',
-+ CMAKE_CROSSCOMPILING: true,
-+ CMAKE_SYSTEM_NAME: `${CMAKE_SYSTEM_NAME}`,
-+ CMAKE_SYSTEM_VERSION: `${CMAKE_SYSTEM_VERSION}`,
-+ CMAKE_SYSTEM_PROCESSOR: `${CMAKE_SYSTEM_PROCESSOR}`,
-+ CMAKE_BUILD_TYPE: `${CMAKE_BUILD_TYPE}`,
-+ CMAKE_C_FLAGS_RELEASE: `${CMAKE_C_FLAGS_RELEASE}`,
-+ CMAKE_CXX_FLAGS_RELEASE: `${CMAKE_CXX_FLAGS_RELEASE}`,
-+ CMAKE_C_COMPILER_LAUNCHER: `${CMAKE_C_COMPILER_LAUNCHER}`,
-+ CMAKE_C_COMPILER: `${CMAKE_C_COMPILER}`,
-+ CMAKE_C_COMPILER_ARG1: `${CMAKE_C_COMPILER_ARG1}`,
-+ CMAKE_CXX_COMPILER_LAUNCHER: `${CMAKE_CXX_COMPILER_LAUNCHER}`,
-+ CMAKE_CXX_COMPILER: `${CMAKE_CXX_COMPILER}`,
-+ CMAKE_CXX_COMPILER_ARG1: `${CMAKE_CXX_COMPILER_ARG1}`,
-+ CMAKE_ASM_COMPILER: `${CMAKE_ASM_COMPILER}`,
-+ CMAKE_EXE_LINKER_FLAGS: `${CMAKE_EXE_LINKER_FLAGS}`,
-+ CMAKE_MODULE_LINKER_FLAGS: `${CMAKE_MODULE_LINKER_FLAGS}`,
-+ CMAKE_SHARED_LINKER_FLAGS: `${CMAKE_SHARED_LINKER_FLAGS}`,
-+ CMAKE_AR: `${CMAKE_AR}`,
-+ CMAKE_NM: `${CMAKE_NM}`,
-+ CMAKE_RANLIB: `${CMAKE_RANLIB}`,
-+ CMAKE_FIND_ROOT_PATH: `${CMAKE_FIND_ROOT_PATH}`,
-+ CMAKE_FIND_ROOT_PATH_MODE_PROGRAM: `${CMAKE_FIND_ROOT_PATH_MODE_PROGRAM}`,
-+ CMAKE_FIND_ROOT_PATH_MODE_LIBRARY: `${CMAKE_FIND_ROOT_PATH_MODE_LIBRARY}`,
-+ CMAKE_FIND_ROOT_PATH_MODE_INCLUDE: `${CMAKE_FIND_ROOT_PATH_MODE_INCLUDE}`,
-+ DL_LIBRARY: `${DL_LIBRARY}`,
-+ CMAKE_SKIP_RPATH: `${CMAKE_SKIP_RPATH}`,
-+ CMAKE_EXPORT_PACKAGE_REGISTRY: `${CMAKE_EXPORT_PACKAGE_REGISTRY}`,
-+ CMAKE_EXPORT_NO_PACKAGE_REGISTRY: `${CMAKE_EXPORT_NO_PACKAGE_REGISTRY}`,
-+ CMAKE_FIND_USE_PACKAGE_REGISTRY: `${CMAKE_FIND_USE_PACKAGE_REGISTRY}`,
-+ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY: `${CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY}`,
-+ CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY: `${CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY}`,
-+ CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY: `${CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY}`,
-+ CMAKE_SYSROOT: `${CMAKE_SYSROOT}`,
-+ CROSS_COMPILE: `${CROSS_COMPILE}`,
-+ CMAKE_OBJCOPY: `${TARGET_CROSS}objcopy`,
-+ CMAKE_STRIP: `${TARGET_CROSS}strip`,
- CMAKE_INSTALL_PREFIX: 'crt/install',
- CMAKE_PREFIX_PATH: 'crt/install',
- }
-@@ -119,6 +195,18 @@ function buildLocally() {
+@@ -118,6 +158,42 @@ function buildLocally() {
+ CMAKE_EXPORT_COMPILE_COMMANDS: true,
+ CMAKE_JS_PLATFORM: platform,
+ BUILD_TESTING: 'OFF',
++ CMAKE_CROSSCOMPILING: true,
++ CMAKE_SYSTEM_NAME: `${CMAKE_SYSTEM_NAME}`,
++ CMAKE_SYSTEM_VERSION: `${CMAKE_SYSTEM_VERSION}`,
++ CMAKE_SYSTEM_PROCESSOR: `${CMAKE_SYSTEM_PROCESSOR}`,
++ CMAKE_BUILD_TYPE: `${CMAKE_BUILD_TYPE}`,
++ CMAKE_C_FLAGS_RELEASE: `${CMAKE_C_FLAGS_RELEASE}`,
++ CMAKE_CXX_FLAGS_RELEASE: `${CMAKE_CXX_FLAGS_RELEASE}`,
++ CMAKE_C_COMPILER_LAUNCHER: `${CMAKE_C_COMPILER_LAUNCHER}`,
++ CMAKE_C_COMPILER: `${CMAKE_C_COMPILER}`,
++ CMAKE_C_COMPILER_ARG1: `${CMAKE_C_COMPILER_ARG1}`,
++ CMAKE_CXX_COMPILER_LAUNCHER: `${CMAKE_CXX_COMPILER_LAUNCHER}`,
++ CMAKE_CXX_COMPILER: `${CMAKE_CXX_COMPILER}`,
++ CMAKE_CXX_COMPILER_ARG1: `${CMAKE_CXX_COMPILER_ARG1}`,
++ CMAKE_ASM_COMPILER: `${CMAKE_ASM_COMPILER}`,
++ CMAKE_EXE_LINKER_FLAGS: `${CMAKE_EXE_LINKER_FLAGS}`,
++ CMAKE_MODULE_LINKER_FLAGS: `${CMAKE_MODULE_LINKER_FLAGS}`,
++ CMAKE_SHARED_LINKER_FLAGS: `${CMAKE_SHARED_LINKER_FLAGS}`,
++ CMAKE_AR: `${CMAKE_AR}`,
++ CMAKE_NM: `${CMAKE_NM}`,
++ CMAKE_RANLIB: `${CMAKE_RANLIB}`,
++ CMAKE_FIND_ROOT_PATH: `${CMAKE_FIND_ROOT_PATH}`,
++ CMAKE_FIND_ROOT_PATH_MODE_PROGRAM: `${CMAKE_FIND_ROOT_PATH_MODE_PROGRAM}`,
++ CMAKE_FIND_ROOT_PATH_MODE_LIBRARY: `${CMAKE_FIND_ROOT_PATH_MODE_LIBRARY}`,
++ CMAKE_FIND_ROOT_PATH_MODE_INCLUDE: `${CMAKE_FIND_ROOT_PATH_MODE_INCLUDE}`,
++ DL_LIBRARY: `${DL_LIBRARY}`,
++ CMAKE_SKIP_RPATH: `${CMAKE_SKIP_RPATH}`,
++ CMAKE_EXPORT_PACKAGE_REGISTRY: `${CMAKE_EXPORT_PACKAGE_REGISTRY}`,
++ CMAKE_EXPORT_NO_PACKAGE_REGISTRY: `${CMAKE_EXPORT_NO_PACKAGE_REGISTRY}`,
++ CMAKE_FIND_USE_PACKAGE_REGISTRY: `${CMAKE_FIND_USE_PACKAGE_REGISTRY}`,
++ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY: `${CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY}`,
++ CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY: `${CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY}`,
++ CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY: `${CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY}`,
++ CMAKE_SYSROOT: `${CMAKE_SYSROOT}`,
++ CROSS_COMPILE: `${CROSS_COMPILE}`,
++ CMAKE_OBJCOPY: `${TARGET_CROSS}objcopy`,
++ CMAKE_STRIP: `${TARGET_CROSS}strip`,
+ CMAKE_INSTALL_PREFIX: 'crt/install',
+ CMAKE_PREFIX_PATH: 'crt/install',
+ }
+@@ -144,6 +220,18 @@ function buildLocally() {
// Enable parallel build (ignored by cmake older than 3.12)
process.env.CMAKE_BUILD_PARALLEL_LEVEL = `${Math.max(os.cpus().length, 1)}`;
+ });
+
// Run the build
- var buildSystem = new cmake.BuildSystem({
- target: "install",
+ var buildSystem = new cmake.BuildSystem(options);
+ return buildSystem.build();
PKG_NPM_NAME:=aws-iot-device-sdk-v2
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.8.0
+PKG_VERSION:=1.8.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=428444884a41717ecbedc63e1395e7b5ebb3cb9a75b86f7a1037e946b44d1c33
+PKG_HASH:=660f2575f8cde0ddc20cee4739ab2995fcdf29466c883c17f65c56ef59238755
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_NPM_NAME:=aws-sdk
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=2.1070.0
+PKG_VERSION:=2.1127.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=e5250c4d2476d80221c9a7977a9ca02184492c20b33a56d7ed20c51d6b07475f
+PKG_HASH:=16026dafb0efbcf78819f422f949bb6918437156207db72e1c965cfecb2e987e
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_NPM_SCOPE:=azure
PKG_NPM_NAME:=event-hubs
PKG_NAME:=node-$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=5.7.0
+PKG_VERSION:=5.8.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=0b3508a64ce4bba72cc70051f118ed0827c265bd560191e2df697965c62818cf
+PKG_HASH:=8ffe1e409a013cad4c9630d1a5bdf01d474a9cd6bc057c9cf659d3db3a76d9c7
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
--- a/package.json
+++ b/package.json
-@@ -120,66 +120,5 @@
+@@ -120,67 +120,5 @@
"uuid": "^8.3.0"
},
"devDependencies": {
- "@azure/dev-tool": "^1.0.0",
- "@azure/eslint-plugin-azure-sdk": "^3.0.0",
-- "@azure/identity": "2.0.0-beta.4",
-- "@azure/test-utils-perfstress": "^1.0.0",
-- "@microsoft/api-extractor": "7.7.11",
-- "@rollup/plugin-commonjs": "11.0.2",
+- "@azure/identity": "^2.0.1",
+- "@azure/mock-hub": "^1.0.0",
+- "@azure/test-utils": "^1.0.0",
+- "@azure/test-utils-perf": "^1.0.0",
+- "@microsoft/api-extractor": "7.18.11",
+- "@rollup/plugin-commonjs": "^21.0.1",
- "@rollup/plugin-inject": "^4.0.0",
- "@rollup/plugin-json": "^4.0.0",
- "@rollup/plugin-multi-entry": "^3.0.0",
-- "@rollup/plugin-node-resolve": "^8.0.0",
+- "@rollup/plugin-node-resolve": "^13.0.6",
- "@rollup/plugin-replace": "^2.2.0",
- "@types/async-lock": "^1.1.0",
- "@types/chai": "^4.1.6",
- "@types/chai-as-promised": "^7.1.0",
- "@types/chai-string": "^1.4.1",
- "@types/debug": "^4.1.4",
-- "@types/long": "^4.0.0",
+- "@types/long": "^4.0.1",
- "@types/mocha": "^7.0.2",
- "@types/node": "^12.0.0",
- "@types/sinon": "^9.0.4",
- "@types/uuid": "^8.0.0",
- "@types/ws": "^7.2.4",
-- "assert": "^1.4.1",
- "chai": "^4.2.0",
- "chai-as-promised": "^7.1.1",
- "chai-exclude": "^2.0.2",
- "chai-string": "^1.5.0",
+- "copyfiles": "^2.4.1",
- "cross-env": "^7.0.2",
- "debug": "^4.1.1",
- "dotenv": "^8.2.0",
-- "downlevel-dts": "~0.4.0",
+- "downlevel-dts": "^0.8.0",
- "eslint": "^7.15.0",
- "esm": "^3.2.18",
- "https-proxy-agent": "^5.0.0",
- "karma-mocha-reporter": "^2.2.5",
- "karma-sourcemap-loader": "^0.3.8",
- "mocha": "^7.1.1",
-- "mocha-junit-reporter": "^1.18.0",
+- "mocha-junit-reporter": "^2.0.0",
- "moment": "^2.24.0",
-- "nyc": "^14.0.0",
-- "prettier": "^1.16.4",
-- "puppeteer": "^3.3.0",
+- "nyc": "^15.0.0",
+- "prettier": "^2.5.1",
+- "puppeteer": "^13.5.1",
- "rimraf": "^3.0.0",
-- "rollup": "^1.16.3",
+- "rollup": "^2.0.0",
- "rollup-plugin-shim": "^1.0.0",
-- "rollup-plugin-sourcemaps": "^0.4.2",
+- "rollup-plugin-sourcemaps": "^0.6.3",
- "rollup-plugin-terser": "^5.1.1",
- "sinon": "^9.0.2",
-- "ts-node": "^9.0.0",
-- "typescript": "~4.2.0",
-- "ws": "^7.1.1",
-- "typedoc": "0.15.2"
+- "ts-node": "^10.0.0",
+- "typescript": "~4.6.0",
+- "ws": "^8.2.0"
}
}
PKG_NPM_NAME:=azure-iot-device-amqp
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.13.8
+PKG_VERSION:=1.14.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=d8e5788b0530b2e36d795619eb2aadfede186d5f4d8f633599b448456051a59b
+PKG_HASH:=cc17e7368da0d7709e462907b7c057c2080564de2e94186a487fc381c918d951
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=azure-iot-device-http
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.13.8
+PKG_VERSION:=1.14.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=6c76503b2267536a25a4d4900f0a582d9950eeb186428288b103f6ab1730d56c
+PKG_HASH:=7c0c3f1a6f865d6a14016603ecd04c5c3cd48d01106ae381b34587dbde17ef9b
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=azure-iot-device-mqtt
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.15.8
+PKG_VERSION:=1.16.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=35cf77dfa03bbb7e7a9f0ae130360ce269e446c42ffe5dfaf80a628c0de617ad
+PKG_HASH:=ffdcc1b583819647eb83aa6847f1957a716c862c2754d95424019a8eb6b93795
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=azure-iot-device
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.17.8
+PKG_VERSION:=1.18.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=bf682743eb4537d9ec74ea0810688a5eb5814223eddd676820e81e90a7b6bd6d
+PKG_HASH:=3de3f8c6c25c98bb3de094d2e9caa93c42c4180db2a79ca47e7d4576424ff9cb
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=azure-iothub
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.14.6
+PKG_VERSION:=1.15.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=82ebb65488089efa34bc86f3fee2beff5588ea605e13395044c2a2b821ad15f2
+PKG_HASH:=1f6886725eb76ffd9e5f2357345b6b9975425b8507444d717a0e861019d5879f
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=coap
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.0.4
+PKG_VERSION:=1.0.9
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=edd79120da1e86f6696349755b06aa1220dd902ff8aca92720a0ab3e242e7fed
+PKG_HASH:=4894efcd8679cfb2074f58119f52e5691a5bc77c1cfb13474e7674c5fc1b66ca
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=express
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=4.17.3
+PKG_VERSION:=4.18.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=2a5414ee2204cfb71d2cab0ade734d5e0af5b45919158e818c4b8683c272ec2b
+PKG_HASH:=8fc3ea14bf5b8670d828ed0b00ccbb00a57f7a8bacef507b4676be8bd8cfaa61
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-TARGET_CFLAGS+=$(FPIC) -I$(BUILD_DIR)/libffi-$(PKG_LIBFFI_VERSION)/$(GNU_TARGET_NAME)-gnu
+TARGET_CFLAGS+=$(FPIC)
TARGET_CPPFLAGS+=$(FPIC)
define Build/Compile
PKG_NPM_NAME:=ffmpeg-for-homebridge
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=0.0.10
+PKG_VERSION:=0.1.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=3ce774b5f87823023bae92745199f8f6f5c48bf1b45b580cc111554ec8151a68
+PKG_HASH:=ff319bb04d38f29c32bbc1fa36459231d6be75b922e8bcb1e63fd35319aeb173
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=none
PKG_NPM_NAME:=hap-nodejs
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=0.10.0
+PKG_VERSION:=0.10.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=7770451c527308101876445162cbf6a1292e3b3067873788188056ab5b7bc5f4
+PKG_HASH:=cdd1e49fc8d70a7c42b7fda84d6c596b81b02c4f663dd4a2f7bf49abbe7016eb
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_NPM_NAME:=homebridge-cmd4
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=6.1.2
+PKG_VERSION:=6.3.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=037069c16f6a3f4abd58c7e5086ad80a88bbe7358281cd0cce83cbcc75790517
+PKG_HASH:=9ead281c6423935ad16d6af00fbb458312719999407cfb1da52515555637fb36
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=homebridge-config-ui-x
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=4.42.0
+PKG_VERSION:=4.44.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=d81c3eefb1f6b4a092ee14036ed5568592bd962c327f5ac69a8eece421200adc
+PKG_HASH:=fc18c009fb1346d6fcfb55f8cb6f8bf96b8371025a033e2c3cd3cf055e8533cd
PKG_BUILD_DEPENDS:=node/host node-clean-modules/host
PKG_USE_MIPS16:=0
"fs-extra": "9.1.0",
"helmet": "4.4.1",
"node-cache": "^5.1.2",
-- "node-pty-prebuilt-multiarch": "^0.10.1-pre.4",
+- "node-pty-prebuilt-multiarch": "^0.10.1-pre.5",
"node-schedule": "^1.3.3",
"ora": "5.3.0",
"p-limit": "3.1.0",
PKG_NPM_NAME:=homebridge-z2m
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.7.0
+PKG_VERSION:=1.8.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=aeb021f7080a452936712ba8b9609a6811dee88796e9e6aea6f72d1e301ed3e5
+PKG_HASH:=399938e1910409a09cd9fdb731d72627ae472d4bae03bc871fe6b107706f7070
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_NPM_NAME:=homebridge
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.4.0
+PKG_VERSION:=1.4.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=7aaf4341737aaccd2e170bd44af5f68cb289442cfe88b10ed788528057f0657a
+PKG_HASH:=53d9a9c7f00ea3b40b266f5d03e67f60eb24f2ef69e875891473c4593dda0045
PKG_BUILD_DEPENDS:=node/host
PKG_USE_MIPS16:=0
chown homebridge:homebridge /usr/share/homebridge
}
procd_open_instance
+ procd_set_param env HOME=/usr/share/homebridge
procd_set_param command /usr/bin/homebridge -U /usr/share/homebridge
procd_set_param user homebridge
procd_set_param stdout 1
PKG_NPM_NAME:=lwm2m-node-lib
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.3.0
-PKG_RELEASE:=4
+PKG_VERSION:=1.4.0
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=8982693429b014bb2cd93f7b93f8521a274ec5d7afeadae505b5c49a0fc16306
+PKG_HASH:=ea73956ecfd07b5d44c453f06ec5ffc90348e6c2a4f52dc3f64fdfb0ee538f20
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=AGPL-3.0
PKG_NPM_NAME:=mocha
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=9.2.2
+PKG_VERSION:=10.0.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=829065fecd9d6eb25c755a05d5ca748da3ad775e6d30d24abba5791039218492
+PKG_HASH:=91c4b9e3d052d73b7cdf297d296e698e8db1137724dd4391cdc5b93ad543283f
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
$(1)/usr/lib/node/$(PKG_NPM_NAME)/
$(CP) $(PKG_BUILD_DIR)/{*.css,*.md,*.js} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/
- $(CP) $(PKG_BUILD_DIR)/{node_modules,bin} \
- $(1)/usr/lib/node/$(PKG_NPM_NAME)/
- $(CP) $(PKG_BUILD_DIR)/{assets,lib} \
+ $(CP) $(PKG_BUILD_DIR)/{node_modules,bin,lib} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/
$(INSTALL_DIR) $(1)/usr/bin
$(LN) ../lib/node/$(PKG_NPM_NAME)/bin/mocha $(1)/usr/bin/mocha
$(1)/lib/node_modules/$(PKG_NPM_NAME)/
$(CP) $(HOST_BUILD_DIR)/{*.css,*.md,*.js} \
$(1)/lib/node_modules/$(PKG_NPM_NAME)/
- $(CP) $(HOST_BUILD_DIR)/{node_modules,bin} \
- $(1)/lib/node_modules/$(PKG_NPM_NAME)/
- $(CP) $(HOST_BUILD_DIR)/{assets,lib} \
+ $(CP) $(HOST_BUILD_DIR)/{node_modules,bin,lib} \
$(1)/lib/node_modules/$(PKG_NPM_NAME)/
$(INSTALL_DIR) $(1)/bin
$(LN) ../lib/node_modules/$(PKG_NPM_NAME)/bin/mocha $(1)/bin/mocha
PKG_NPM_NAME:=nconf
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=0.11.3
+PKG_VERSION:=0.12.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=8bcc08dd23a12d5e4c82161fb084baafdea2abd95960d28b8b251b57952a0934
+PKG_HASH:=9a2d4ce59e6d4f889ea8bf537d9c7129f03466666cfe229a0b38b50ad52957ca
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=npm-check-updates
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=12.5.5
+PKG_VERSION:=12.5.11
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=727956afedd7bfbafdaa9bcac6ca49d7dc7ce58e891ac60abfdbffcd8dca597f
+PKG_HASH:=275036c9ee9a03dc0f803683180e3922885792c1bc390fab78c4d2c35a387a6b
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>, Patrik Laszlo <alabard@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_NPM_NAME:=node-pty-prebuilt-multiarch
PKG_NAME:=$(PKG_NPM_NAME)
-PKG_VERSION:=0.10.1-pre.4
-PKG_RELEASE:=2
+PKG_VERSION:=0.10.1-pre.5
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=657c7223e99bdd065f870b755d3a06cd0c6d53d466d577a714525fa8dd587c72
+PKG_HASH:=8d4536bb6626a8e8d92fb68d849a73de45e76f5e9578909987dbfcbca2610021
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_NAME:=node-red-contrib-web-of-things
-PKG_NAME:=$(PKG_NPM_NAME)
-PKG_VERSION:=1.2.4
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
- https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=42e7c54bc65bf66a67e63eb30734b45034c615bf62fecf5d0da96e1ae42d2fb3
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-red-contrib-web-of-things
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=Web of Things node for node-RED
- URL:=https://flows.nodered.org/node/node-red-contrib-web-of-things
- DEPENDS:=+node +node-red +node-wot-core +node-wot-binding-http +node-wot-binding-coap \
- +node-wot-binding-mqtt +node-wot-binding-opcua +node-wot-binding-modbus \
- +node-wot-binding-websockets
-endef
-
-define Package/node-red-contrib-web-of-things/description
- A Node-RED package of nodes for the Web of Things.
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-red-contrib-web-of-things/install
- $(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/$(PKG_NPM_NAME)/
- $(CP) $(PKG_BUILD_DIR)/src \
- $(1)/usr/lib/node/$(PKG_NPM_NAME)/
- $(INSTALL_DIR) $(1)/usr/lib/node_modules
- $(LN) ../node/$(PKG_NPM_NAME) $(1)/usr/lib/node_modules/$(PKG_NPM_NAME)
-endef
-
-define Package/node-red-contrib-web-of-things/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/node-red-contrib-web-of-things || true
-rm -rf /usr/lib/node/node-red-contrib-web-of-things || true
-endef
-
-$(eval $(call BuildPackage,node-red-contrib-web-of-things))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -24,14 +24,5 @@
- "wot-action": "src/wot-action.js",
- "wot-event": "src/wot-event.js"
- }
-- },
-- "dependencies": {
-- "@node-wot/core": "0.7.7",
-- "@node-wot/binding-http": "0.7.7",
-- "@node-wot/binding-websockets": "0.7.7",
-- "@node-wot/binding-coap": "0.7.7",
-- "@node-wot/binding-mqtt": "0.7.7",
-- "@node-wot/binding-opcua": "0.7.7",
-- "@node-wot/binding-modbus": "0.7.7"
- }
- }
PKG_NPM_NAME:=node-red-dashboard
PKG_NAME:=$(PKG_NPM_NAME)
-PKG_VERSION:=3.1.6
+PKG_VERSION:=3.1.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=a8f3260104f7cec52f268ca6b5fa9edc72daf3568ea980687f06d2cba26d83b1
+PKG_HASH:=e46a3ad9056160e8d2cfdb3b359d63a695f145e4efe06482fe0b401992bd4c17
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
config_get_bool log_stdout "common" log_stdout "0"
procd_open_instance
+ procd_set_param env HOME=/root
procd_set_param command /usr/bin/node-red
procd_append_param command --port "$port"
[ "$verbose" = "1" ] && procd_append_param command --verbose
PKG_NPM_NAME:=socket.io-client
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=4.4.1
+PKG_VERSION:=4.5.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=19d867c2e55124ef3d336e252fac19734133bbd49183c5cca8d694fd1b5692fe
+PKG_HASH:=55f2a05ee639f07abb850a4ceb54e38baf29556270e7c971c10bfa81b0138520
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=socket.io
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=4.4.1
+PKG_VERSION:=4.5.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=53b734d7200d684509bb427e6a423d08fd1f6c2f18740a4de90ed18573070190
+PKG_HASH:=6ba9ae4593df6510c79466c198f1e7ca29b0fcb2c9efa04c04a23943182e2c64
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=sqlite3
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=5.0.2
-PKG_RELEASE:=2
+PKG_VERSION:=5.0.8
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=c2d364341eff7c6ae1c57ad62cfea3bb3e2cd7a3ae1eddbdde701e9ed52f2f39
+PKG_HASH:=fe701c378336347574530a63eeeddd9ee5aa25b8b950bd0df5c4d2aa047c1336
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=BSD-3-Clause
endef
define Package/node-sqlite3/description
- Node.js package to access serial ports for reading and writing OR Welcome your robotic JavaScript overlords. Better yet, program them!
+ Asynchronous, non-blocking SQLite3 bindings for Node.js
endef
TAR_OPTIONS+= --strip-components 1
define Package/node-sqlite3/install
$(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md,*.js} \
+ $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/
$(CP) $(PKG_BUILD_DIR)/{node_modules,LICENSE,lib} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/
--- /dev/null
+--- a/package.json
++++ b/package.json
+@@ -9,7 +9,7 @@
+ },
+ "binary": {
+ "module_name": "node_sqlite3",
+- "module_path": "./lib/binding/napi-v{napi_build_version}-{platform}-{libc}-{arch}",
++ "module_path": "./lib/binding/napi-v{napi_build_version}",
+ "host": "https://github.com/TryGhost/node-sqlite3/releases/download/",
+ "remote_path": "v{version}",
+ "package_name": "napi-v{napi_build_version}-{platform}-{libc}-{arch}.tar.gz",
PKG_NPM_NAME:=twilio
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=3.76.0
+PKG_VERSION:=3.77.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=dfd4076e80593820b24490dcf723415684fcdeeb0eed1a9652bea9792990946f
+PKG_HASH:=851766120f8424b6a4236c2d7b75aa58892b15d99be0fce56d804ce10fa1ad94
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=typescript
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=4.6.3
+PKG_VERSION:=4.6.4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=70d5d30a8ee92004e529c41fc05d5c7993f7a4ddea33b4c0909896936230964d
+PKG_HASH:=fe327fcd837f908d2124b27ec3efe043339b31eb3a2446403bc2c4951c2b0383
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_NPM_NAME:=uglify-js
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=3.15.3
+PKG_VERSION:=3.15.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=aacbd5ced3bebc93ba91b39776a010627a2ffa55f79037ef445361c1577e70d6
+PKG_HASH:=13e58396218c79c49965aea4495cc0200e27f0c50cce49d69077097052ceb471
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=BSD-2-Clause
PKG_NPM_NAME:=usb
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=2.2.0
+PKG_VERSION:=2.4.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=a5902b706bc11513d9ddee7e8970b1ef3532b885ea31d4c6048d9213b2a8429b
+PKG_HASH:=b80cc571a080501aea1189ffc50b512449b7b532e6293a20790cc6ec2a92b83d
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
--- /dev/null
+--- a/src/node_usb.h
++++ b/src/node_usb.h
+@@ -4,6 +4,7 @@
+ #include <assert.h>
+ #include <string>
+ #include <map>
++#include <atomic>
+
+ #ifdef _WIN32
+ #include <WinSock2.h>
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-coap
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=d0fa53277efac80cebda87401681e994f7a5f20e4f4eddf624b734b43611fe88
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-coap
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=CoAP Protocol Binding of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/binding-coap
- DEPENDS:=+node +node-wot-core +node-wot-td-tools
-endef
-
-define Package/node-wot-binding-coap/description
-Eclipse Thingweb node-wot CoAP client & server protocol binding
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-coap/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-coap/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-coap || true
-rm -rf /usr/lib/node/@node-wot/binding-coap || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-coap))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -34,8 +34,6 @@
- "typescript-standard": "^0.3.36"
- },
- "dependencies": {
-- "@node-wot/core": "0.8.0",
-- "@node-wot/td-tools": "0.8.0",
- "@types/node": "16.4.13",
- "coap": "^1.0.3",
- "node-coap-client": "1.0.8",
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-file
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=1fba4f85c5f1eb33f2a6f01e6f3bd990c40aa60a342de526e442b5b0b7c5fa08
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-file
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=File Binding of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/binding-file
- DEPENDS:=+node +node-wot-core
-endef
-
-define Package/node-wot-binding-file/description
- Eclipse Thingweb node-wot File client protocol binding
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-file/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/dist \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-file/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-file || true
-rm -rf /usr/lib/node/@node-wot/binding-file || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-file))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -30,9 +30,6 @@
- "typescript-standard": "^0.3.36",
- "wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
- },
-- "dependencies": {
-- "@node-wot/core": "0.8.0"
-- },
- "scripts": {
- "build": "tsc -b",
- "test": "",
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-http
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=6f94f744772040102dd25eb3756176667817b54a4f3e8446a5a0297e876931fa
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-http
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=HTTP Protocol Binding of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/binding-http
- DEPENDS:=+node +node-wot-core +node-wot-td-tools
-endef
-
-define Package/node-wot-binding-http/description
- Eclipse Thingweb node-wot HTTP client & server protocol binding
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-http/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-http/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-http || true
-rm -rf /usr/lib/node/@node-wot/binding-http || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-http))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -48,8 +48,6 @@
- "wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
- },
- "dependencies": {
-- "@node-wot/core": "0.8.0",
-- "@node-wot/td-tools": "0.8.0",
- "@types/eventsource": "^1.1.2",
- "accept-language-parser": "1.5.0",
- "basic-auth": "2.0.1",
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-modbus
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=c049421291224835c4d59f5c41a435ef43267242b9ef3bcf955023abf1d0ae5b
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-modbus
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=Modbus Client Protocol Binding
- URL:=https://www.npmjs.com/package/@node-wot/binding-modbus
- DEPENDS:=+node +node-wot-core +node-wot-td-tools +node-modbus-serial
-endef
-
-define Package/node-wot-binding-modbus/description
- W3C Web of Things (WoT) Protocol Binding for Modbus TCP RFC. This package uses modbus-serial as a low level client for Modbus TCP.
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-modbus/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-modbus/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-modbus || true
-rm -rf /usr/lib/node/@node-wot/binding-modbus || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-modbus))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -40,9 +40,6 @@
- "typescript-standard": "^0.3.36"
- },
- "dependencies": {
-- "@node-wot/core": "0.8.0",
-- "@node-wot/td-tools": "0.8.0",
-- "modbus-serial": "^8.0.3",
- "rxjs": "5.5.11",
- "wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
- },
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-mqtt
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=cb61d301187a9debe51ef701ff8f2cd12af5acecea4b3f4d25207d7f0ea709dc
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-mqtt
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=MQTT binding for node-wot
- URL:=https://www.npmjs.com/package/@node-wot/binding-mqtt
- DEPENDS:=+node +node-wot-core +node-wot-td-tools +node-mqtt
-endef
-
-define Package/node-wot-binding-mqtt/description
- Eclipse Thingweb node-wot MQTT Binding
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-mqtt/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-mqtt/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-mqtt || true
-rm -rf /usr/lib/node/@node-wot/binding-mqtt || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-mqtt))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -35,10 +35,7 @@
- "wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
- },
- "dependencies": {
-- "@node-wot/core": "0.8.0",
-- "@node-wot/td-tools": "0.8.0",
- "aedes": "^0.46.2",
-- "mqtt": "^4.2.8",
- "rxjs": "5.5.11"
- },
- "scripts": {
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-opcua
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=ecdca2cb31b448603da16c1ab8939e6b85418ee804457112861acc51f63b0002
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-opcua
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=OPC UA Client Protocol Binding
- URL:=https://www.npmjs.com/package/@node-wot/binding-opcua
- DEPENDS:=+node +node-wot-core +node-wot-td-tools
-endef
-
-define Package/node-wot-binding-opcua/description
- W3C Web of Things (WoT) Protocol Binding for OPC UA
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-opcua/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-opcua/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-opcua || true
-rm -rf /usr/lib/node/@node-wot/binding-opcua || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-opcua))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -40,8 +40,6 @@
- "dependencies": {
- "ajv": "^7.0.4",
- "ajv-formats": "^2.1.1",
-- "@node-wot/core": "0.8.0",
-- "@node-wot/td-tools": "0.8.0",
- "node-opcua": "2.65.1",
- "node-opcua-json": "0.19.0",
- "node-opcua-pubsub-client": "0.19.0",
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=binding-websockets
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=28104a42da5ac78e0d43d490a0a58092c971831c0ebe6269c78959dd35477e3b
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-binding-websockets
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=Websockets Protocol Binding of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/binding-websockets
- DEPENDS:=+node +node-wot-core +node-wot-td-tools +node-wot-binding-http +node-ws
-endef
-
-define Package/node-wot-binding-websockets/description
- Eclipse Thingweb node-wot WebSockets client & server protocol binding
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-binding-websockets/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/package.json \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-binding-websockets/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/binding-websockets || true
-rm -rf /usr/lib/node/@node-wot/binding-websockets || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-binding-websockets))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -37,11 +37,7 @@
- "wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
- },
- "dependencies": {
-- "@node-wot/binding-http": "0.8.0",
-- "@node-wot/core": "0.8.0",
-- "@node-wot/td-tools": "0.8.0",
-- "slugify": "^1.4.5",
-- "ws": "^7.5.4"
-+ "slugify": "^1.4.5"
- },
- "scripts": {
- "build": "tsc -b",
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=cli
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=599f8bbe9f5a401d03baa763035e003b1317ca4883273370618f113807957b93
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-cli
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=Command-line interface of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/cli
- DEPENDS:=+node +node-wot-core +node-wot-binding-coap +node-wot-binding-file \
- +node-wot-binding-http +node-wot-binding-websockets +node-wot-binding-mqtt
-endef
-
-define Package/node-wot-cli/description
- Eclipse Thingweb node-wot servient command line interface
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-cli/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-cli/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/cli || true
-rm -rf /usr/lib/node/@node-wot/cli || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-cli))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -38,12 +38,6 @@
- "ts-node": "10.1.0"
- },
- "dependencies": {
-- "@node-wot/binding-coap": "0.8.0",
-- "@node-wot/binding-file": "0.8.0",
-- "@node-wot/binding-http": "0.8.0",
-- "@node-wot/binding-mqtt": "0.8.0",
-- "@node-wot/binding-websockets": "0.8.0",
-- "@node-wot/core": "0.8.0",
- "dotenv": "^8.6.0"
- },
- "scripts": {
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=core
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=3cd17aee021f557cf09a4d76145b35109063b8e985d77d1a9d5cf6b66a23b912
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-core
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=Core of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/core
- DEPENDS:=+node +node-wot-td-tools
-endef
-
-define Package/node-wot-core/description
- W3C Web of Things (WoT) Servient framework
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-core/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-core/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/core || true
-rm -rf /usr/lib/node/@node-wot/core || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-core))
+++ /dev/null
---- a/package.json
-+++ b/package.json
-@@ -43,7 +43,6 @@
- "wot-typescript-definitions": "^0.8.0-SNAPSHOT.22"
- },
- "dependencies": {
-- "@node-wot/td-tools": "0.8.0",
- "@petamoriken/float16": "^3.1.1",
- "ajv": "^7.0.4",
- "rxjs": "5.5.11",
+++ /dev/null
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NPM_SCOPE:=node-wot
-PKG_NPM_NAME:=td-tools
-PKG_NAME:=$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=0.8.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=ed8518125896a41c4b5ac58b29bd48af9176e60ef64f95fcb495a359eda6eb38
-
-PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
-PKG_LICENSE:=EPL-2.0 OR W3C-20150513
-PKG_LICENSE_FILES:=
-
-PKG_BUILD_DEPENDS:=node/host
-PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/node-wot-td-tools
- SUBMENU:=Node.js
- SECTION:=lang
- CATEGORY:=Languages
- TITLE:=TD (ThingDescription) tools of node-wot
- URL:=https://www.npmjs.com/package/@node-wot/td-tools
- DEPENDS:=+node
-endef
-
-define Package/node-wot-td-tools/description
- W3C Web of Things (WoT) Thing Description parser, serializer, and other tools
-endef
-
-TAR_OPTIONS+= --strip-components 1
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
-NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
-TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
-
-TARGET_CFLAGS+=$(FPIC)
-TARGET_CPPFLAGS+=$(FPIC)
-
-define Build/Compile
- cd $(PKG_BUILD_DIR); \
- $(MAKE_VARS) \
- $(MAKE_FLAGS) \
- npm_config_nodedir=$(STAGING_DIR)/usr/ \
- npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
- npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
- npm install --production --global-style --no-save --omit=dev --no-package-lock
- rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
- rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
- rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
- find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
-endef
-
-define Package/node-wot-td-tools/install
- $(INSTALL_DIR) $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{package.json,*.md} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(CP) $(PKG_BUILD_DIR)/{node_modules,dist} \
- $(1)/usr/lib/node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
- $(INSTALL_DIR) $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)
- $(LN) ../../node/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME) \
- $(1)/usr/lib/node_modules/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)
-endef
-
-define Package/node-wot-td-tools/postrm
-#!/bin/sh
-rm /usr/lib/node_modules/@node-wot/td-tools || true
-rm -rf /usr/lib/node/@node-wot/td-tools || true
-rmdir /usr/lib/node_modules/@node-wot || true
-rmdir /usr/lib/node/@node-wot || true
-endef
-
-$(eval $(call BuildPackage,node-wot-td-tools))
PKG_NPM_NAME:=ws
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=8.5.0
+PKG_VERSION:=8.6.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=9d52458248130579982aef601f0fb927f192fe9891a6556f9a15fc432250e969
+PKG_HASH:=b5a5404f97c149137840605b118e2f015a7889562fe277979f16acf5593b2139
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
PKG_NPM_NAME:=zigbee2mqtt
PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.24.0
+PKG_VERSION:=1.25.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \
https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=e1678416c3f473ba599bd3aad438d4be846793d9878c86e38372845ec3c0ec23
+PKG_HASH:=30c7017961c64a728dce1177d55335e1a58cd9ccfd174621254fca1647e859e4
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=GPL-3.0
start_service()
{
procd_open_instance
- procd_set_param env ZIGBEE2MQTT_DATA=/etc/zigbee2mqtt/ NODE_PATH=/opt/zigbee2mqtt/node_modules/winston/node_modules:/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules
+ procd_set_param env HOME=/root ZIGBEE2MQTT_DATA=/etc/zigbee2mqtt/ NODE_PATH=/opt/zigbee2mqtt/node_modules/winston/node_modules:/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules
procd_set_param command /usr/bin/npm start --prefix /opt/zigbee2mqtt
+ procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
PATCH_DIR:=./patches/v16.x
else
ifeq ($(CONFIG_NODEJS_14),y)
-PKG_VERSION:=v14.19.1
+PKG_VERSION:=v14.19.3
PKG_RELEASE:=1
-PKG_HASH:=e1ae09dd861ab39af04483bb5c0fa54ddd82b6b15543be9a27ea6704a8ba9dd9
+PKG_HASH:=5cf45b1f1aca77523acf36240c1d53a999279070a7711eabf23346f88b0cc994
PATCH_DIR:=./patches/v14.x
else
-PKG_VERSION:=v12.22.12
+PKG_VERSION:=v18.2.0
PKG_RELEASE:=1
-PKG_HASH:=bc42b7f8495b9bfc7f7850dd180bb02a5bdf139cc232b8c6f02a6967e20714f2
-PATCH_DIR:=./patches/v12.x
+PKG_HASH:=2305b15ebf5547474e905b5002f9ba99c7eeef01d7394dfe6f3846cc6bcad66d
+PATCH_DIR:=./patches/v18.x
endif
endif
URL:=https://nodejs.org/
DEPENDS:=@HAS_FPU @(i386||x86_64||arm||aarch64||mipsel) \
+libstdcpp +libopenssl +zlib +libnghttp2 +libuv \
- +libatomic +NODEJS_ICU_SYSTEM:icu +NODEJS_ICU_SYSTEM:icu-full-data
+ +libcares +libatomic +NODEJS_ICU_SYSTEM:icu +NODEJS_ICU_SYSTEM:icu-full-data
endef
define Package/node/description
help
Select node.js version.
- config NODEJS_12
- bool "12.x Maintenance LTS"
-
config NODEJS_14
bool "14.x Maintenance LTS"
config NODEJS_16
bool "16.x Active LTS"
+
+ config NODEJS_18
+ bool "18.x Current"
endchoice
choice
MAKE_VARS+= \
DESTCPU=$(NODEJS_CPU) \
- NO_LOAD='cctest.target.mk embedtest.target.mk node_mksnapshot.target.mk' \
+ NO_LOAD='cctest.target.mk embedtest.target.mk node_mksnapshot.target.mk overlapped-checker.target.mk mkcodecache.target.mk' \
LD_LIBRARY_PATH=$(STAGING_DIR_HOSTPKG)/share/icu/current/lib
-HOST_MAKE_VARS+=NO_LOAD='cctest.target.mk embedtest.target.mk'
+HOST_MAKE_VARS+=NO_LOAD='cctest.target.mk embedtest.target.mk overlapped-checker.target.mk'
CONFIGURE_VARS:= \
CC="$(TARGET_CC) $(TARGET_OPTIMIZATION)" \
--shared-openssl \
--shared-nghttp2 \
--shared-libuv \
+ --shared-cares \
--with-intl=$(if $(CONFIG_NODEJS_ICU_SMALL),small-icu,$(if $(CONFIG_NODEJS_ICU_SYSTEM),system-icu,none)) \
$(if $(findstring +neon,$(CONFIG_CPU_TYPE)),--with-arm-fpu=neon) \
$(if $(findstring +vfp",$(CONFIG_CPU_TYPE)),--with-arm-fpu=vfp) \
+++ /dev/null
---- a/lib/internal/modules/cjs/loader.js
-+++ b/lib/internal/modules/cjs/loader.js
-@@ -1109,7 +1109,8 @@ Module._initPaths = function() {
- path.resolve(process.execPath, '..') :
- path.resolve(process.execPath, '..', '..');
-
-- let paths = [path.resolve(prefixDir, 'lib', 'node')];
-+ let paths = [path.resolve(prefixDir, 'lib', 'node'),
-+ path.resolve(prefixDir, 'lib', 'node_modules')];
-
- if (homeDir) {
- paths.unshift(path.resolve(homeDir, '.node_libraries'));
+++ /dev/null
-From 7c69553d7275bbcaa88fada8ccd0d2d9f787e1ad Mon Sep 17 00:00:00 2001
-From: Martin Bark <martin@barkynet.com>
-Date: Sat, 4 Mar 2017 20:41:40 +0000
-Subject: [PATCH] check if uclibc has backtrace support
-
-Signed-off-by: Martin Bark <martin@barkynet.com>
----
- deps/v8/src/base/debug/stack_trace_posix.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/deps/v8/src/base/debug/stack_trace_posix.cc
-+++ b/deps/v8/src/base/debug/stack_trace_posix.cc
-@@ -25,7 +25,7 @@
- #include <string>
- #include <vector>
-
--#if V8_LIBC_GLIBC || V8_LIBC_BSD || V8_LIBC_UCLIBC || V8_OS_SOLARIS
-+#if V8_LIBC_GLIBC || V8_LIBC_BSD || ( V8_LIBC_UCLIBC && __UCLIBC_HAS_BACKTRACE__ ) || V8_OS_SOLARIS
- #define HAVE_EXECINFO_H 1
- #endif
-
+++ /dev/null
---- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
-+++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
-@@ -151,6 +151,32 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOL
- quiet_cmd_link = LINK($(TOOLSET)) $@
- cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group
-
-+define xargs
-+ $(1) $(wordlist 1,100,$(2))
-+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
-+endef
-+
-+define write-to-file
-+ @echo >$(1)
-+ $(call xargs,printf "%s\\n" >>$(1),$(2))
-+endef
-+
-+OBJ_FILE_LIST_SFX := ar-file-list
-+
-+define create_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
-+define create_thin_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
- # We support two kinds of shared objects (.so):
- # 1) shared_library, which is just bundling together many dependent libraries
- # into a link line.
-@@ -195,6 +221,32 @@ cmd_alink = rm -f $@ && $(AR.$(TOOLSET))
- quiet_cmd_alink_thin = AR($(TOOLSET)) $@
- cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
-
-+define xargs
-+ $(1) $(wordlist 1,100,$(2))
-+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
-+endef
-+
-+define write-to-file
-+ @echo >$(1)
-+ $(call xargs,printf "%s\\n" >>$(1),$(2))
-+endef
-+
-+OBJ_FILE_LIST_SFX := ar-file-list
-+
-+define create_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
-+define create_thin_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
- # Due to circular dependencies between libraries :(, we wrap the
- # special "figure out circular dependencies" flags around the entire
- # input list during linking.
-@@ -1612,11 +1664,17 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)
- "Spaces in alink input filenames not supported (%s)" % link_dep)
- if (self.flavor not in ('mac', 'openbsd', 'netbsd', 'win') and not
- self.is_standalone_static_library):
-- self.WriteDoCmd([self.output_binary], link_deps, 'alink_thin',
-- part_of_all, postbuilds=postbuilds)
-+ if self.flavor in ('linux', 'android'):
-+ self.WriteMakeRule([self.output_binary], link_deps, actions = ['$(call create_thin_archive,$@,$^)'])
-+ else:
-+ self.WriteDoCmd([self.output_binary], link_deps, 'alink_thin',
-+ part_of_all, postbuilds=postbuilds)
- else:
-- self.WriteDoCmd([self.output_binary], link_deps, 'alink', part_of_all,
-- postbuilds=postbuilds)
-+ if self.flavor in ('linux', 'android'):
-+ self.WriteMakeRule([self.output_binary], link_deps, actions = ['$(call create_archive,$@,$^)'])
-+ else:
-+ self.WriteDoCmd([self.output_binary], link_deps, 'alink', part_of_all,
-+ postbuilds=postbuilds)
- elif self.type == 'shared_library':
- self.WriteLn('%s: LD_INPUTS := %s' % (
- QuoteSpaces(self.output_binary),
---- a/tools/gyp/pylib/gyp/generator/make.py
-+++ b/tools/gyp/pylib/gyp/generator/make.py
-@@ -151,6 +151,32 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOL
- quiet_cmd_link = LINK($(TOOLSET)) $@
- cmd_link = $(LINK.$(TOOLSET)) -o $@ $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group
-
-+define xargs
-+ $(1) $(wordlist 1,100,$(2))
-+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
-+endef
-+
-+define write-to-file
-+ @echo >$(1)
-+ $(call xargs,printf "%s\\n" >>$(1),$(2))
-+endef
-+
-+OBJ_FILE_LIST_SFX := ar-file-list
-+
-+define create_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
-+define create_thin_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
- # We support two kinds of shared objects (.so):
- # 1) shared_library, which is just bundling together many dependent libraries
- # into a link line.
-@@ -195,6 +221,32 @@ cmd_alink = rm -f $@ && $(AR.$(TOOLSET))
- quiet_cmd_alink_thin = AR($(TOOLSET)) $@
- cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
-
-+define xargs
-+ $(1) $(wordlist 1,100,$(2))
-+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
-+endef
-+
-+define write-to-file
-+ @echo >$(1)
-+ $(call xargs,printf "%s\\n" >>$(1),$(2))
-+endef
-+
-+OBJ_FILE_LIST_SFX := ar-file-list
-+
-+define create_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
-+define create_thin_archive
-+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
-+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
-+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
-+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
-+endef
-+
- # Due to circular dependencies between libraries :(, we wrap the
- # special "figure out circular dependencies" flags around the entire
- # input list during linking.
-@@ -1612,11 +1664,17 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)
- "Spaces in alink input filenames not supported (%s)" % link_dep)
- if (self.flavor not in ('mac', 'openbsd', 'netbsd', 'win') and not
- self.is_standalone_static_library):
-- self.WriteDoCmd([self.output_binary], link_deps, 'alink_thin',
-- part_of_all, postbuilds=postbuilds)
-+ if self.flavor in ('linux', 'android'):
-+ self.WriteMakeRule([self.output_binary], link_deps, actions = ['$(call create_thin_archive,$@,$^)'])
-+ else:
-+ self.WriteDoCmd([self.output_binary], link_deps, 'alink_thin',
-+ part_of_all, postbuilds=postbuilds)
- else:
-- self.WriteDoCmd([self.output_binary], link_deps, 'alink', part_of_all,
-- postbuilds=postbuilds)
-+ if self.flavor in ('linux', 'android'):
-+ self.WriteMakeRule([self.output_binary], link_deps, actions = ['$(call create_archive,$@,$^)'])
-+ else:
-+ self.WriteDoCmd([self.output_binary], link_deps, 'alink', part_of_all,
-+ postbuilds=postbuilds)
- elif self.type == 'shared_library':
- self.WriteLn('%s: LD_INPUTS := %s' % (
- QuoteSpaces(self.output_binary),
+++ /dev/null
---- a/deps/npm/lib/config/defaults.js
-+++ b/deps/npm/lib/config/defaults.js
-@@ -175,7 +175,7 @@ Object.defineProperty(exports, 'defaults
- 'legacy-bundling': false,
- link: false,
- 'local-address': undefined,
-- loglevel: 'notice',
-+ loglevel: 'info',
- logstream: process.stderr,
- 'logs-max': 10,
- long: false,
-@@ -231,7 +231,7 @@ Object.defineProperty(exports, 'defaults
- 'sign-git-tag': false,
- 'sso-poll-frequency': 500,
- 'sso-type': 'oauth',
-- 'strict-ssl': true,
-+ 'strict-ssl': false,
- tag: 'latest',
- 'tag-version-prefix': 'v',
- timing: false,
+++ /dev/null
-From cdb02b95ed9b12f82620ae1652cba20464c2ccf0 Mon Sep 17 00:00:00 2001
-From: Arturo Rinaldi <arty.net2@gmail.com>
-Date: Wed, 1 Nov 2017 14:51:43 +0100
-Subject: [PATCH] npm: overriding unsafe-perm setting to install packages
- globally
-
----
- deps/npm/lib/config/defaults.js | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/deps/npm/lib/config/defaults.js
-+++ b/deps/npm/lib/config/defaults.js
-@@ -243,7 +243,7 @@ Object.defineProperty(exports, 'defaults
- process.getgid && process.setgid) ||
- process.getuid() !== 0,
- 'update-notifier': true,
-- usage: false,
-+ usage: true,
- user: (process.platform === 'win32' || os.type() === 'OS400') ? 0 : 'nobody',
- userconfig: path.resolve(home, '.npmrc'),
- umask: process.umask ? process.umask() : umask.fromString('022'),
+++ /dev/null
-Description: upstream mips fix
-Origin: https://github.com/nodejs/node/issues/31118
-Last-Update: 2020-05-30
-
---- a/deps/v8/AUTHORS
-+++ b/deps/v8/AUTHORS
-@@ -106,6 +106,7 @@ James Pike <g00gle@chilon.net>
- James M Snell <jasnell@gmail.com>
- Jianghua Yang <jianghua.yjh@alibaba-inc.com>
- Jiawen Geng <technicalcute@gmail.com>
-+Jiaxun Yang <jiaxun.yang@flygoat.com>
- Joel Stanley <joel@jms.id.au>
- Johan Bergström <johan@bergstroem.nu>
- Jonathan Liu <net147@gmail.com>
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.cc
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.cc
-@@ -94,10 +94,6 @@ void PlatformEmbeddedFileWriterAIX::Decl
-
- void PlatformEmbeddedFileWriterAIX::DeclareFunctionEnd(const char* name) {}
-
--int PlatformEmbeddedFileWriterAIX::HexLiteral(uint64_t value) {
-- return fprintf(fp_, "0x%" PRIx64, value);
--}
--
- void PlatformEmbeddedFileWriterAIX::FilePrologue() {}
-
- void PlatformEmbeddedFileWriterAIX::DeclareExternalFilename(
-@@ -120,12 +116,6 @@ DataDirective PlatformEmbeddedFileWriter
- return kLong;
- }
-
--int PlatformEmbeddedFileWriterAIX::WriteByteChunk(const uint8_t* data) {
-- DCHECK_EQ(ByteChunkDataDirective(), kLong);
-- const uint32_t* long_ptr = reinterpret_cast<const uint32_t*>(data);
-- return HexLiteral(*long_ptr);
--}
--
- #undef SYMBOL_PREFIX
-
- } // namespace internal
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.h
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.h
-@@ -37,8 +37,6 @@ class PlatformEmbeddedFileWriterAIX : pu
- void DeclareFunctionBegin(const char* name) override;
- void DeclareFunctionEnd(const char* name) override;
-
-- int HexLiteral(uint64_t value) override;
--
- void Comment(const char* string) override;
-
- void FilePrologue() override;
-@@ -48,7 +46,6 @@ class PlatformEmbeddedFileWriterAIX : pu
- int IndentedDataDirective(DataDirective directive) override;
-
- DataDirective ByteChunkDataDirective() const override;
-- int WriteByteChunk(const uint8_t* data) override;
-
- private:
- void DeclareSymbolGlobal(const char* name);
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc
-@@ -24,6 +24,10 @@ DataDirective PointerSizeDirective() {
- }
- }
-
-+int PlatformEmbeddedFileWriterBase::HexLiteral(uint64_t value) {
-+ return fprintf(fp_, "0x%" PRIx64, value);
-+}
-+
- int DataDirectiveSize(DataDirective directive) {
- switch (directive) {
- case kByte:
-@@ -39,24 +43,37 @@ int DataDirectiveSize(DataDirective dire
- }
-
- int PlatformEmbeddedFileWriterBase::WriteByteChunk(const uint8_t* data) {
-- DCHECK_EQ(ByteChunkDataDirective(), kOcta);
--
-- static constexpr size_t kSize = kInt64Size;
--
-- uint64_t part1, part2;
-- // Use memcpy for the reads since {data} is not guaranteed to be aligned.
-+ size_t kSize = DataDirectiveSize(ByteChunkDataDirective());
-+ size_t kHalfSize = kSize / 2;
-+ uint64_t high = 0, low = 0;
-+
-+ switch (kSize) {
-+ case 1:
-+ low = *data;
-+ break;
-+ case 4:
-+ low = *reinterpret_cast<const uint32_t*>(data);
-+ break;
-+ case 8:
-+ low = *reinterpret_cast<const uint64_t*>(data);
-+ break;
-+ case 16:
- #ifdef V8_TARGET_BIG_ENDIAN
-- memcpy(&part1, data, kSize);
-- memcpy(&part2, data + kSize, kSize);
-+ memcpy(&high, data, kHalfSize);
-+ memcpy(&low, data + kHalfSize, kHalfSize);
- #else
-- memcpy(&part1, data + kSize, kSize);
-- memcpy(&part2, data, kSize);
-+ memcpy(&high, data + kHalfSize, kHalfSize);
-+ memcpy(&low, data, kHalfSize);
- #endif // V8_TARGET_BIG_ENDIAN
-+ break;
-+ default:
-+ UNREACHABLE();
-+ }
-
-- if (part1 != 0) {
-- return fprintf(fp(), "0x%" PRIx64 "%016" PRIx64, part1, part2);
-+ if (high != 0) {
-+ return fprintf(fp(), "0x%" PRIx64 "%016" PRIx64, high, low);
- } else {
-- return fprintf(fp(), "0x%" PRIx64, part2);
-+ return fprintf(fp(), "0x%" PRIx64, low);
- }
- }
-
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h
-@@ -67,7 +67,7 @@ class PlatformEmbeddedFileWriterBase {
- virtual void DeclareFunctionEnd(const char* name) = 0;
-
- // Returns the number of printed characters.
-- virtual int HexLiteral(uint64_t value) = 0;
-+ virtual int HexLiteral(uint64_t value);
-
- virtual void Comment(const char* string) = 0;
- virtual void Newline() { fprintf(fp_, "\n"); }
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
-@@ -112,10 +112,6 @@ void PlatformEmbeddedFileWriterGeneric::
-
- void PlatformEmbeddedFileWriterGeneric::DeclareFunctionEnd(const char* name) {}
-
--int PlatformEmbeddedFileWriterGeneric::HexLiteral(uint64_t value) {
-- return fprintf(fp_, "0x%" PRIx64, value);
--}
--
- void PlatformEmbeddedFileWriterGeneric::FilePrologue() {}
-
- void PlatformEmbeddedFileWriterGeneric::DeclareExternalFilename(
-@@ -142,6 +138,18 @@ int PlatformEmbeddedFileWriterGeneric::I
- return fprintf(fp_, " %s ", DirectiveAsString(directive));
- }
-
-+DataDirective PlatformEmbeddedFileWriterGeneric::ByteChunkDataDirective()
-+ const {
-+#if defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64)
-+ // MIPS uses a fixed 4 byte instruction set, using .long
-+ // to prevent any unnecessary padding.
-+ return kLong;
-+#else
-+ // Other ISAs just listen to the base
-+ return PlatformEmbeddedFileWriterBase::ByteChunkDataDirective();
-+#endif
-+}
-+
- #undef SYMBOL_PREFIX
-
- } // namespace internal
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.h
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.h
-@@ -39,8 +39,6 @@ class PlatformEmbeddedFileWriterGeneric
- void DeclareFunctionBegin(const char* name) override;
- void DeclareFunctionEnd(const char* name) override;
-
-- int HexLiteral(uint64_t value) override;
--
- void Comment(const char* string) override;
-
- void FilePrologue() override;
-@@ -49,6 +47,8 @@ class PlatformEmbeddedFileWriterGeneric
-
- int IndentedDataDirective(DataDirective directive) override;
-
-+ DataDirective ByteChunkDataDirective() const override;
-+
- private:
- void DeclareSymbolGlobal(const char* name);
-
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.cc
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.cc
-@@ -87,10 +87,6 @@ void PlatformEmbeddedFileWriterMac::Decl
-
- void PlatformEmbeddedFileWriterMac::DeclareFunctionEnd(const char* name) {}
-
--int PlatformEmbeddedFileWriterMac::HexLiteral(uint64_t value) {
-- return fprintf(fp_, "0x%" PRIx64, value);
--}
--
- void PlatformEmbeddedFileWriterMac::FilePrologue() {}
-
- void PlatformEmbeddedFileWriterMac::DeclareExternalFilename(
---- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.h
-+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.h
-@@ -37,8 +37,6 @@ class PlatformEmbeddedFileWriterMac : pu
- void DeclareFunctionBegin(const char* name) override;
- void DeclareFunctionEnd(const char* name) override;
-
-- int HexLiteral(uint64_t value) override;
--
- void Comment(const char* string) override;
-
- void FilePrologue() override;
--- /dev/null
+--- a/lib/internal/modules/cjs/loader.js
++++ b/lib/internal/modules/cjs/loader.js
+@@ -1240,7 +1240,8 @@ Module._initPaths = function() {
+ path.resolve(process.execPath, '..') :
+ path.resolve(process.execPath, '..', '..');
+
+- const paths = [path.resolve(prefixDir, 'lib', 'node')];
++ const paths = [path.resolve(prefixDir, 'lib', 'node'),
++ path.resolve(prefixDir, 'lib', 'node_modules')];
+
+ if (homeDir) {
+ ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries'));
--- a/deps/v8/src/base/platform/condition-variable.cc
+++ b/deps/v8/src/base/platform/condition-variable.cc
-@@ -16,7 +16,7 @@ namespace base {
+@@ -20,7 +20,7 @@ namespace base {
ConditionVariable::ConditionVariable() {
#if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
// On Free/Net/OpenBSD and Linux with glibc we can change the time
// source for pthread_cond_timedwait() to use the monotonic clock.
pthread_condattr_t attr;
-@@ -92,7 +92,7 @@ bool ConditionVariable::WaitFor(Mutex* m
+@@ -96,7 +96,7 @@ bool ConditionVariable::WaitFor(Mutex* m
&native_handle_, &mutex->native_handle(), &ts);
#else
#if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
result = clock_gettime(CLOCK_MONOTONIC, &ts);
--- a/deps/v8/src/base/platform/platform-posix.cc
+++ b/deps/v8/src/base/platform/platform-posix.cc
-@@ -772,7 +772,7 @@ bool Thread::Start() {
- #if V8_OS_MACOSX
+@@ -1066,7 +1066,7 @@ bool Thread::Start() {
+ #if V8_OS_DARWIN
// Default on Mac OS X is 512kB -- bump up to 1MB
stack_size = 1 * 1024 * 1024;
-#elif V8_OS_AIX
#endif
--- a/deps/v8/src/codegen/external-reference-table.cc
+++ b/deps/v8/src/codegen/external-reference-table.cc
-@@ -9,7 +9,7 @@
+@@ -10,7 +10,7 @@
#include "src/ic/stub-cache.h"
#include "src/logging/counters.h"
+#if defined(DEBUG) && defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID) && defined(V8_LIBC_GLIBC)
#define SYMBOLIZE_FUNCTION
#include <execinfo.h>
- #include <vector>
+
--- a/tools/gyp/pylib/gyp/generator/make.py
+++ b/tools/gyp/pylib/gyp/generator/make.py
-@@ -176,7 +176,7 @@ cmd_solink_module = $(LINK.$(TOOLSET)) -
+@@ -205,7 +205,7 @@ cmd_solink_module = $(LINK.$(TOOLSET)) -
LINK_COMMANDS_MAC = """\
quiet_cmd_alink = LIBTOOL-STATIC $@
--- /dev/null
+--- a/deps/npm/lib/utils/config/definitions.js
++++ b/deps/npm/lib/utils/config/definitions.js
+@@ -1218,7 +1218,7 @@ define('lockfile-version', {
+ })
+
+ define('loglevel', {
+- default: 'notice',
++ default: 'info',
+ type: [
+ 'silent',
+ 'error',
+@@ -2000,7 +2000,7 @@ define('strict-peer-deps', {
+ })
+
+ define('strict-ssl', {
+- default: true,
++ default: false,
+ type: Boolean,
+ description: `
+ Whether or not to do SSL key validation when making requests to the
--- a/tools/icu/icu-generic.gyp
+++ b/tools/icu/icu-generic.gyp
-@@ -517,6 +517,7 @@
+@@ -419,6 +419,7 @@
'target_name': 'genrb',
'type': 'executable',
'toolsets': [ 'host' ],
'dependencies': [ 'icutools' ],
'sources': [
'<@(icu_src_genrb)'
-@@ -533,6 +534,7 @@
+@@ -435,6 +436,7 @@
'target_name': 'iculslocs',
'toolsets': [ 'host' ],
'type': 'executable',
'dependencies': [ 'icutools' ],
'sources': [
'iculslocs.cc',
-@@ -545,6 +547,7 @@
+@@ -447,6 +449,7 @@
'target_name': 'icupkg',
'toolsets': [ 'host' ],
'type': 'executable',
'dependencies': [ 'icutools' ],
'sources': [
'<@(icu_src_icupkg)',
-@@ -556,6 +559,7 @@
+@@ -458,6 +461,7 @@
'target_name': 'genccode',
'toolsets': [ 'host' ],
'type': 'executable',
'<@(icu_src_genccode)',
--- a/tools/v8_gypfiles/v8.gyp
+++ b/tools/v8_gypfiles/v8.gyp
-@@ -1255,6 +1255,7 @@
+@@ -1391,6 +1391,7 @@
{
'target_name': 'bytecode_builtins_list_generator',
'type': 'executable',
'conditions': [
['want_separate_host_toolset', {
'toolsets': ['host'],
-@@ -1278,6 +1279,8 @@
+@@ -1415,6 +1416,8 @@
{
'target_name': 'mksnapshot',
'type': 'executable',
'dependencies': [
'v8_base_without_compiler',
'v8_compiler_for_mksnapshot',
-@@ -1300,6 +1303,7 @@
+@@ -1436,6 +1439,7 @@
{
'target_name': 'torque',
'type': 'executable',
'dependencies': [
'torque_base',
# "build/win:default_exe_manifest",
-@@ -1338,6 +1342,7 @@
+@@ -1474,6 +1478,7 @@
{
'target_name': 'torque-language-server',
'type': 'executable',
'conditions': [
['want_separate_host_toolset', {
'toolsets': ['host'],
-@@ -1365,6 +1370,8 @@
+@@ -1501,6 +1506,8 @@
{
'target_name': 'gen-regexp-special-case',
'type': 'executable',
--- /dev/null
+--- a/deps/zlib/zlib.gyp
++++ b/deps/zlib/zlib.gyp
+@@ -43,10 +43,12 @@
+ 'zutil.c',
+ 'zutil.h',
+ ],
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '.',
+ ],
+ 'direct_dependent_settings': {
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '.',
+ ],
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -60,6 +60,7 @@
+ ],
+ 'hard_dependency': 1,
+ 'direct_dependent_settings': {
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+@@ -181,6 +182,7 @@
+ '<@(torque_outputs_cc)',
+ '<@(torque_outputs_inc)',
+ ],
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+@@ -202,6 +204,7 @@
+ 'sources': [
+ '<(generate_bytecode_builtins_list_output)',
+ ],
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(generate_bytecode_output_root)',
+ '<(SHARED_INTERMEDIATE_DIR)',
+@@ -249,9 +252,11 @@
+ 'v8_base_without_compiler',
+ 'v8_shared_internal_headers',
+ ],
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ '<(generate_bytecode_output_root)',
++ '<!@(echo "$STAGING_DIR"/usr/../usr/include)',
+ ],
+ 'sources': [
+ '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_initializers.*?sources = ")',
+@@ -769,6 +774,7 @@
+ ],
+ 'includes': ['inspector.gypi'],
+ 'direct_dependent_settings': {
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(generate_bytecode_output_root)',
+ '<(SHARED_INTERMEDIATE_DIR)',
+@@ -1371,6 +1377,7 @@
+ }],
+ ],
+ 'direct_dependent_settings': {
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(V8_ROOT)/include',
+ ],
+@@ -1723,6 +1730,7 @@
+ }],
+ ],
+ 'direct_dependent_settings': {
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(V8_ROOT)/include',
+ ],
+@@ -1903,15 +1911,19 @@
+ }],
+ ],
+ 'direct_dependent_settings': {
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(V8_ROOT)/third_party/zlib',
+ '<(V8_ROOT)/third_party/zlib/google',
++ '<!@(echo "$STAGING_DIR"/usr/../usr/include)',
+ ],
+ },
+ 'defines': [ 'ZLIB_IMPLEMENTATION' ],
++ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
+ 'include_dirs': [
+ '<(V8_ROOT)/third_party/zlib',
+ '<(V8_ROOT)/third_party/zlib/google',
++ '<!@(echo "$STAGING_DIR"/usr/../usr/include)',
+ ],
+ 'sources': [
+ '<(V8_ROOT)/third_party/zlib/adler32.c',
--- /dev/null
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -714,6 +714,7 @@
+ 'v8_shared_internal_headers',
+ ],
+ 'sources': ['<@(v8_compiler_sources)'],
++ 'include_dirs': [ '<!@(echo "$STAGING_DIR"/usr/../usr/include)' ],
+ 'conditions': [
+ ['OS=="win" and _toolset=="target"', {
+ 'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
--- /dev/null
+--- a/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
++++ b/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
+@@ -4101,7 +4101,7 @@ void CodeGenerator::AssembleReturn(Instr
+ } else if (FLAG_debug_code) {
+ __ Assert(eq, AbortReason::kUnexpectedAdditionalPopValue,
+ g.ToRegister(additional_pop_count),
+- Operand(static_cast<int64_t>(0)));
++ Operand(static_cast<int32_t>(0)));
+ }
+ }
+ // Functions with JS linkage have at least one parameter (the receiver).
--- a/tools/icu/icu-generic.gyp
+++ b/tools/icu/icu-generic.gyp
-@@ -181,6 +181,7 @@
- '<(icu_path)/source/i18n/uspoof_wsconf.h',
- ]}],
- ],
+@@ -107,6 +107,7 @@
+ 'sources': [
+ '<@(icu_src_i18n)'
+ ],
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
'include_dirs': [
'<(icu_path)/source/i18n',
],
-@@ -189,6 +190,7 @@
+@@ -115,6 +116,7 @@
],
'dependencies': [ 'icuucx', 'icu_implementation', 'icu_uconfig', 'icu_uconfig_target' ],
'direct_dependent_settings': {
'include_dirs': [
'<(icu_path)/source/i18n',
],
-@@ -274,6 +276,7 @@
- # full data - just build the full data file, then we are done.
- 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icudt<(icu_ver_major)_dat.c' ],
+@@ -201,6 +203,7 @@
+ # full data - no trim needed
+ 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icudt<(icu_ver_major)_dat.<(icu_asm_ext)' ],
'dependencies': [ 'genccode#host', 'icupkg#host', 'icu_implementation#host', 'icu_uconfig' ],
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
'include_dirs': [
'<(icu_path)/source/common',
],
-@@ -354,6 +357,7 @@
+@@ -285,6 +288,7 @@
# This file contains the small ICU data
- 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icusmdt<(icu_ver_major)_dat.c' ],
+ 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icusmdt<(icu_ver_major)_dat.<(icu_asm_ext)' ],
# for umachine.h
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
'include_dirs': [
'<(icu_path)/source/common',
],
-@@ -370,6 +374,7 @@
+@@ -301,6 +305,7 @@
'sources': [
'<@(icu_src_stubdata)'
],
'include_dirs': [
'<(icu_path)/source/common',
],
-@@ -438,6 +443,7 @@
+@@ -340,6 +345,7 @@
'_XOPEN_SOURCE_EXTENDED=0',
]}],
],
'include_dirs': [
'<(icu_path)/source/common',
],
-@@ -447,6 +453,7 @@
+@@ -349,6 +355,7 @@
'cflags_c': ['-std=c99'],
'export_dependent_settings': [ 'icu_uconfig', 'icu_uconfig_target' ],
'direct_dependent_settings': {
'include_dirs': [
'<(icu_path)/source/common',
],
-@@ -477,6 +484,7 @@
+@@ -379,6 +386,7 @@
'<(icu_path)/source/tools/toolutil/dbgutil.cpp',
'<(icu_path)/source/tools/toolutil/dbgutil.h',
],
'include_dirs': [
'<(icu_path)/source/common',
'<(icu_path)/source/i18n',
-@@ -496,6 +504,7 @@
+@@ -398,6 +406,7 @@
}]
],
'direct_dependent_settings': {
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
-@@ -1028,13 +1029,6 @@ function lookupAndConnect(self, options)
+@@ -1067,13 +1068,6 @@ function lookupAndConnect(self, options)
hints: options.hints || 0
};