aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-08 22:30:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-08 22:31:12 +0000
commitd103c6e96b8aa8a7fe28db2f48b8e7ff0e4cd686 (patch)
tree93dc38bb62688df762d7e02a0ed2ab2d8f1e34bc
parentb14fc437abacc82496ff9f347444eb0f5ebd2f3d (diff)
downloadaports-d103c6e96b8aa8a7fe28db2f48b8e7ff0e4cd686.tar.bz2
community/nodejs-current: upgrade to 11.1.0
-rw-r--r--community/nodejs-current/APKBUILD10
-rw-r--r--community/nodejs-current/dont-run-gyp-files-for-bundled-deps.patch20
2 files changed, 19 insertions, 11 deletions
diff --git a/community/nodejs-current/APKBUILD b/community/nodejs-current/APKBUILD
index c830aab..94ca508 100644
--- a/community/nodejs-current/APKBUILD
+++ b/community/nodejs-current/APKBUILD
@@ -12,8 +12,8 @@
#
pkgname=nodejs-current
# The current stable version, i.e. non-LTS.
-pkgver=9.11.1
-pkgrel=4
+pkgver=11.1.0
+pkgrel=0
pkgdesc="JavaScript runtime built on V8 engine - current stable version"
url="https://nodejs.org/"
arch="all"
@@ -21,7 +21,7 @@ license="MIT"
depends="ca-certificates"
depends_dev="libuv"
# gold is needed for mksnapshot
-makedepends="$depends_dev python2 openssl1.0-dev zlib-dev libuv-dev linux-headers
+makedepends="$depends_dev python2 openssl-dev zlib-dev libuv-dev linux-headers
paxmark binutils-gold http-parser-dev ca-certificates c-ares-dev"
subpackages="$pkgname-dev $pkgname-doc"
provides="nodejs"
@@ -78,5 +78,5 @@ package() {
rm "$pkgdir"/usr/bin/npm "$pkgdir"/usr/bin/npx
}
-sha512sums="6bdd0afa3bdcc633075bbaf1c3a9b8c1a914a881da2dc942ff1477a2b000930a8777c0498db5edcb1eeaa7f13cff942ab88bf0764e296d49e0d1a9a677a52bb0 node-v9.11.1.tar.gz
-ba95f21b1e80717ef63941854e7ed412f64a91da068c0dbf0d6d9697333ee266c9f4cd7bf1a01111eeb28aa66adefd8a58cfb3e82debb84b43e35e9dc914dd36 dont-run-gyp-files-for-bundled-deps.patch"
+sha512sums="ba4c3c895f69e01e76c900ae0ca92463d1ecdabbe567954dd84338c4786203716ce561bf4ae64057d4091b8032ae4a87f5d50d7e6e94784e282078dd44c97a12 node-v11.1.0.tar.gz
+9145a28bc3c2ebfc5e29e7416f8387a68808607eea4d87830a14a27c80628177a02ef4ed54b0efe2384c39fedf7356d12c267567d06d53d669c55d6211bfcf8a dont-run-gyp-files-for-bundled-deps.patch"
diff --git a/community/nodejs-current/dont-run-gyp-files-for-bundled-deps.patch b/community/nodejs-current/dont-run-gyp-files-for-bundled-deps.patch
index ba521dc..9d16d17 100644
--- a/community/nodejs-current/dont-run-gyp-files-for-bundled-deps.patch
+++ b/community/nodejs-current/dont-run-gyp-files-for-bundled-deps.patch
@@ -9,13 +9,21 @@ Node.js 7.2.0
--- a/Makefile
+++ b/Makefile
-@@ -72,8 +72,7 @@
- $(MAKE) -C out BUILDTYPE=Debug V=$(V)
- ln -fs out/Debug/$(NODE_EXE) $@
+@@ -121,14 +121,13 @@ with-code-cache:
+
+ .PHONY: test-code-cache
+ test-code-cache: with-code-cache
+ $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) code-cache
-out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \
- deps/zlib/zlib.gyp deps/v8/gypfiles/toolchain.gypi \
-+out/Makefile: common.gypi deps/v8/gypfiles/toolchain.gypi \
- deps/v8/gypfiles/features.gypi deps/v8/src/v8.gyp node.gyp \
- config.gypi
+- deps/v8/gypfiles/features.gypi deps/v8/gypfiles/v8.gyp node.gyp \
+- config.gypi
++out/Makefile: common.gypi \
++ deps/v8/gypfiles/toolchain.gypi deps/v8/gypfiles/features.gypi \
++ deps/v8/gypfiles/v8.gyp node.gyp config.gypi
$(PYTHON) tools/gyp_node.py -f make
+
+ config.gypi: configure configure.py
+ @if [ -x config.status ]; then \
+ ./config.status; \