include $(TOPDIR)/rules.mk
PKG_NAME:=node
-PKG_VERSION:=v8.11.3
+PKG_VERSION:=v8.12.0
PKG_RELEASE:=1
PKG_SOURCE:=node-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://nodejs.org/dist/${PKG_VERSION}
-PKG_HASH:=577c751fdca91c46c60ffd8352e5b465881373bfdde212c17c3a3c1bd2616ee0
+PKG_SOURCE_URL:=https://nodejs.org/dist/${PKG_VERSION}
+PKG_HASH:=5a9dff58016c18fb4bf902d963b124ff058a550ebcd9840c677757387bce419a
HOST_BUILD_DEPENDS:=python/host
PKG_BUILD_DEPENDS:=python/host
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>, Adrian Panella <ianchi74@outlook.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
+PKG_CPE_ID:=cpe:/a:nodejs:node.js
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
CATEGORY:=Languages
SUBMENU:=Node.js
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
- URL:=http://nodejs.org/
+ URL:=https://nodejs.org/
DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR) +libstdcpp +libopenssl +zlib +USE_UCLIBC:libpthread +USE_UCLIBC:librt +NODEJS_ICU:icu
endef
CATEGORY:=Languages
SUBMENU:=Node.js
TITLE:=NPM stands for Node Package Manager
- URL:=http://npmjs.com/
+ URL:=https://npmjs.com/
DEPENDS:=+node
endef
+++ /dev/null
-From 34825d50db18631a92902af3f51ddd27aa074c90 Mon Sep 17 00:00:00 2001
-From: Jeroen Roovers <jer-gentoo@users.noreply.github.com>
-Date: Fri, 13 Apr 2018 05:54:42 +0200
-Subject: [PATCH 2/2] Include cmath ...
-
-... instead of using the C implementations of isnan and isinf
----
- src/node_crypto.cc | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/node_crypto.cc b/src/node_crypto.cc
-index 7c0f65a5735..0aa4adbd467 100644
---- a/src/node_crypto.cc
-+++ b/src/node_crypto.cc
-@@ -36,9 +36,9 @@
- #include "v8.h"
-
- #include <algorithm>
-+#include <cmath>
- #include <errno.h>
- #include <limits.h> // INT_MAX
--#include <math.h>
- #include <stdlib.h>
- #include <string.h>
- #include <vector>