mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/nodejs to 16.6.2-1
This commit is contained in:
parent
12572be159
commit
6dd9e18f1f
2 changed files with 80 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
buildarch=28
|
||||
|
||||
pkgname=nodejs
|
||||
pkgver=16.6.1
|
||||
pkgver=16.6.2
|
||||
pkgrel=1
|
||||
pkgdesc='Evented I/O for V8 javascript'
|
||||
arch=('x86_64')
|
||||
|
@ -22,8 +22,14 @@ license=('MIT')
|
|||
depends=('openssl' 'zlib' 'icu' 'libuv' 'libnghttp2' 'c-ares') # 'http-parser' 'v8')
|
||||
makedepends=('python' 'procps-ng')
|
||||
optdepends=('npm: nodejs package manager')
|
||||
source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz")
|
||||
sha512sums=('2df8a88dbf4ed31ae64c85891c343c7920dd98857c0a157079002e77d401b5d604d006e197993c3faf8697f18b490c029eecf0ed27595245efcb4f348e20132a')
|
||||
source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz"
|
||||
system-c-ares.patch)
|
||||
sha512sums=('a520812f36005e1ed78dde956179e5c51e87070804ab6e0454056835119cd57cfb7e5d5a457609243452d3d50fab705d7b4af6695d3b54d4e61f005d04be6fc4'
|
||||
'bca85b5a4622b38f20f3787bdb2784db76cd4b213fadf8a5813a375080e7481c4aff7556712d59df3e19849a7eb6b2f048a69b4e2162cb717ab1b3a791d2558e')
|
||||
|
||||
prepare() {
|
||||
patch -d node-$pkgver -Rp1 < system-c-ares.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd node-$pkgver
|
||||
|
|
71
community/nodejs/system-c-ares.patch
Normal file
71
community/nodejs/system-c-ares.patch
Normal file
|
@ -0,0 +1,71 @@
|
|||
From 0bfb8ec19adf2106c505f3e0a97c99b81694524b Mon Sep 17 00:00:00 2001
|
||||
From: Beth Griggs <bgriggs@redhat.com>
|
||||
Date: Tue, 10 Aug 2021 10:10:09 +0100
|
||||
Subject: [PATCH] deps: update c-ares to 1.17.2
|
||||
|
||||
Refs: https://github.com/c-ares/c-ares/releases/tag/cares-1_17_2
|
||||
---
|
||||
deps/cares/RELEASE-NOTES | 121 +++--
|
||||
deps/cares/cares.gyp | 2 +-
|
||||
deps/cares/include/ares.h | 2 +-
|
||||
deps/cares/include/ares_version.h | 4 +-
|
||||
.../cares/src/lib/ares__parse_into_addrinfo.c | 16 +-
|
||||
deps/cares/src/lib/ares__sortaddrinfo.c | 4 +
|
||||
deps/cares/src/lib/ares_create_query.c | 17 +-
|
||||
deps/cares/src/lib/ares_expand_name.c | 137 ++++-
|
||||
deps/cares/src/lib/ares_expand_string.c | 7 +-
|
||||
deps/cares/src/lib/ares_free_hostent.c | 10 +-
|
||||
deps/cares/src/lib/ares_freeaddrinfo.c | 2 +
|
||||
deps/cares/src/lib/ares_getaddrinfo.c | 24 +-
|
||||
deps/cares/src/lib/ares_gethostbyaddr.c | 10 +-
|
||||
deps/cares/src/lib/ares_gethostbyname.c | 10 +-
|
||||
deps/cares/src/lib/ares_getnameinfo.c | 10 +-
|
||||
deps/cares/src/lib/ares_init.c | 88 +++-
|
||||
deps/cares/src/lib/ares_library_init.c | 9 +-
|
||||
deps/cares/src/lib/ares_library_init.h | 2 +-
|
||||
deps/cares/src/lib/ares_nameser.h | 482 ++++++++++++++++++
|
||||
deps/cares/src/lib/ares_parse_a_reply.c | 14 +-
|
||||
deps/cares/src/lib/ares_parse_aaaa_reply.c | 14 +-
|
||||
deps/cares/src/lib/ares_parse_caa_reply.c | 14 +-
|
||||
deps/cares/src/lib/ares_parse_mx_reply.c | 10 +-
|
||||
deps/cares/src/lib/ares_parse_naptr_reply.c | 15 +-
|
||||
deps/cares/src/lib/ares_parse_ns_reply.c | 16 +-
|
||||
deps/cares/src/lib/ares_parse_ptr_reply.c | 99 ++--
|
||||
deps/cares/src/lib/ares_parse_soa_reply.c | 24 +-
|
||||
deps/cares/src/lib/ares_parse_srv_reply.c | 15 +-
|
||||
deps/cares/src/lib/ares_parse_txt_reply.c | 10 +-
|
||||
deps/cares/src/lib/ares_private.h | 6 +-
|
||||
deps/cares/src/lib/ares_process.c | 11 +-
|
||||
deps/cares/src/lib/ares_query.c | 10 +-
|
||||
deps/cares/src/lib/ares_send.c | 10 +-
|
||||
deps/cares/src/lib/ares_setup.h | 5 +-
|
||||
deps/cares/src/lib/ares_strsplit.c | 4 +
|
||||
deps/cares/src/lib/inet_net_pton.c | 10 +-
|
||||
deps/cares/src/lib/inet_ntop.c | 10 +-
|
||||
deps/cares/src/lib/nameser.h | 218 --------
|
||||
src/cares_wrap.h | 10 +-
|
||||
39 files changed, 889 insertions(+), 593 deletions(-)
|
||||
create mode 100644 deps/cares/src/lib/ares_nameser.h
|
||||
delete mode 100644 deps/cares/src/lib/nameser.h
|
||||
|
||||
diff --git a/src/cares_wrap.h b/src/cares_wrap.h
|
||||
index aee46a935b3a..60f99e65edf3 100644
|
||||
--- a/src/cares_wrap.h
|
||||
+++ b/src/cares_wrap.h
|
||||
@@ -22,15 +22,7 @@
|
||||
# include <netdb.h>
|
||||
#endif // __POSIX__
|
||||
|
||||
-#if defined(__ANDROID__) || \
|
||||
- defined(__MINGW32__) || \
|
||||
- defined(__OpenBSD__) || \
|
||||
- defined(_MSC_VER)
|
||||
-
|
||||
-# include <nameser.h>
|
||||
-#else
|
||||
-# include <arpa/nameser.h>
|
||||
-#endif
|
||||
+# include <ares_nameser.h>
|
||||
|
||||
namespace node {
|
||||
namespace cares_wrap {
|
Loading…
Reference in a new issue