nodejs: Bump to 16.9.1

This commit is contained in:
Yaksh Bariya 2021-09-11 11:00:44 +05:30
parent 8979636e7e
commit d6dcb8dc77
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
3 changed files with 11 additions and 27 deletions

View File

@ -4,9 +4,9 @@ TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
# Note: package build may fail on Github Actions CI due to out-of-memory
# condition. It should be built locally instead.
TERMUX_PKG_VERSION=16.6.1
TERMUX_PKG_VERSION=16.9.1
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=79b1ea058cc67f2a69462cd5f2467a1efe08c64299c053da70384ce1a0e3e557
TERMUX_PKG_SHA256=97f50ec53c050e7ac97bdbe5586aaca380dd23064064c85a1f2017a35244131c
# Note that we do not use a shared libuv to avoid an issue with the Android
# linker, which does not use symbols of linked shared libraries when resolving
# symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462.

View File

@ -1,8 +1,8 @@
--- ./deps/uv/src/unix/process.c 2021-06-03 07:15:30.000000000 +0530
+++ ./deps/uv/src/unix/process.c.mod 2021-06-18 20:15:54.095642543 +0530
@@ -281,27 +281,6 @@
_exit(127);
}
--- ./deps/uv/src/unix/process.c 2021-09-10 22:55:12.000000000 +0530
+++ ./deps/uv/src/unix/process.c.mod 2021-09-11 10:27:22.239600280 +0530
@@ -283,23 +283,6 @@
if (options->cwd != NULL && chdir(options->cwd))
uv__write_errno(error_fd);
- if (options->flags & (UV_PROCESS_SETUID | UV_PROCESS_SETGID)) {
- /* When dropping privileges from root, the `setgroups` call will
@ -15,15 +15,11 @@
- SAVE_ERRNO(setgroups(0, NULL));
- }
-
- if ((options->flags & UV_PROCESS_SETGID) && setgid(options->gid)) {
- uv__write_int(error_fd, UV__ERR(errno));
- _exit(127);
- }
- if ((options->flags & UV_PROCESS_SETGID) && setgid(options->gid))
- uv__write_errno(error_fd);
-
- if ((options->flags & UV_PROCESS_SETUID) && setuid(options->uid)) {
- uv__write_int(error_fd, UV__ERR(errno));
- _exit(127);
- }
- if ((options->flags & UV_PROCESS_SETUID) && setuid(options->uid))
- uv__write_errno(error_fd);
-
if (options->env != NULL) {
environ = options->env;

View File

@ -1,12 +0,0 @@
--- ./src/cares_wrap.h 2021-06-03 07:15:32.000000000 +0530
+++ ./src/cares_wrap.h.mod 2021-06-19 08:34:10.153760365 +0530
@@ -22,8 +22,7 @@
# include <netdb.h>
#endif // __POSIX__
-#if defined(__ANDROID__) || \
- defined(__MINGW32__) || \
+#if defined(__MINGW32__) || \
defined(__OpenBSD__) || \
defined(_MSC_VER)