[arch-commits] Commit in nodejs-lts-fermium/repos/community-x86_64 (5 files)

Bruno Pagani archange at gemini.archlinux.org
Thu Dec 2 21:16:32 UTC 2021


    Date: Thursday, December 2, 2021 @ 21:16:32
  Author: archange
Revision: 1062569

archrelease: copy trunk to community-x86_64

Added:
  nodejs-lts-fermium/repos/community-x86_64/PKGBUILD
    (from rev 1062568, nodejs-lts-fermium/trunk/PKGBUILD)
  nodejs-lts-fermium/repos/community-x86_64/libnghttp1.45.1_compat.patch
    (from rev 1062568, nodejs-lts-fermium/trunk/libnghttp1.45.1_compat.patch)
Deleted:
  nodejs-lts-fermium/repos/community-x86_64/PKGBUILD
  nodejs-lts-fermium/repos/community-x86_64/ares_compat.patch
  nodejs-lts-fermium/repos/community-x86_64/libnghttp1.45.1_compat.patch

------------------------------+
 PKGBUILD                     |  131 ++++++++++++++++++++---------------------
 ares_compat.patch            |   19 -----
 libnghttp1.45.1_compat.patch |   44 ++++++-------
 3 files changed, 86 insertions(+), 108 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 21:16:03 UTC (rev 1062568)
+++ PKGBUILD	2021-12-02 21:16:32 UTC (rev 1062569)
@@ -1,67 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=nodejs-lts-fermium
-pkgver=14.18.1
-pkgrel=2
-pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
-arch=(x86_64)
-url="https://nodejs.org/"
-license=(MIT)
-depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
-makedepends=(python procps-ng)
-optdepends=('npm: nodejs package manager')
-provides=("nodejs=$pkgver")
-conflicts=(nodejs)
-source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz
-        ares_compat.patch
-        libnghttp1.45.1_compat.patch)
-# https://nodejs.org/download/release/latest-fermium/SHASUMS256.txt.asc
-sha256sums=(3fa1d71adddfab2f5e3e41874b4eddbdf92b65cade4a43922fb1e437afcf89ed
-            59098e466c4e438cc77ac438e7ec78ec8e508ea067ba0db1894420dc4e3154e4
-            81f8a060b40786c02de400620da4060483d910fe7a6b68d8328f3747caf54619)
-validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins <mylesborins at google.com>
-              77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock <gibfahn at gmail.com>
-              B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas <evanlucas at me.com>
-              DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg <rod at vagg.org>
-              B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr <shelley.vohr at gmail.com>
-              4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs <Bethany.Griggs at uk.ibm.com>
-              C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C  # Richard Lau <rlau at redhat.com>
-              74F12602B6F1C4E913FAA37AD3A89613643B6201) # Danielle Adams <adamzdanielle at gmail.com>
-
-prepare() {
-  cd node-v${pkgver}
-  patch -p1 < ../ares_compat.patch
-  patch -p1 < ../libnghttp1.45.1_compat.patch
-}
-
-build() {
-  cd node-v${pkgver}
-
-  ./configure \
-    --prefix=/usr \
-    --with-intl=system-icu \
-    --without-npm \
-    --shared-openssl \
-    --shared-zlib \
-    --shared-libuv \
-    --experimental-http-parser \
-    --shared-cares \
-    --shared-brotli \
-    --shared-nghttp2
-    # --shared-v8
-    # --shared-http-parser
-
-  make
-}
-
-check() {
-  cd node-v${pkgver}
-  make test-only
-}
-
-package() {
-  cd node-v${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: nodejs-lts-fermium/repos/community-x86_64/PKGBUILD (from rev 1062568, nodejs-lts-fermium/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 21:16:32 UTC (rev 1062569)
@@ -0,0 +1,64 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=nodejs-lts-fermium
+pkgver=14.18.2
+pkgrel=1
+pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
+arch=(x86_64)
+url="https://nodejs.org/"
+license=(MIT)
+depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
+makedepends=(python procps-ng)
+optdepends=('npm: nodejs package manager')
+provides=("nodejs=$pkgver")
+conflicts=(nodejs)
+source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz
+        libnghttp1.45.1_compat.patch)
+# https://nodejs.org/download/release/latest-fermium/SHASUMS256.txt.asc
+sha256sums=(3e8a9ce10f8bcd3628eb6dd049f7f03c84ba9219be6f9743e2221154b9cc680b
+            81f8a060b40786c02de400620da4060483d910fe7a6b68d8328f3747caf54619)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins <mylesborins at google.com>
+              77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock <gibfahn at gmail.com>
+              B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas <evanlucas at me.com>
+              DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg <rod at vagg.org>
+              B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr <shelley.vohr at gmail.com>
+              4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs <Bethany.Griggs at uk.ibm.com>
+              C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C  # Richard Lau <rlau at redhat.com>
+              74F12602B6F1C4E913FAA37AD3A89613643B6201) # Danielle Adams <adamzdanielle at gmail.com>
+
+prepare() {
+  cd node-v${pkgver}
+  patch -p1 < ../libnghttp1.45.1_compat.patch
+}
+
+build() {
+  cd node-v${pkgver}
+
+  ./configure \
+    --prefix=/usr \
+    --with-intl=system-icu \
+    --without-npm \
+    --shared-openssl \
+    --shared-zlib \
+    --shared-libuv \
+    --experimental-http-parser \
+    --shared-cares \
+    --shared-brotli \
+    --shared-nghttp2
+    # --shared-v8
+    # --shared-http-parser
+
+  make
+}
+
+check() {
+  cd node-v${pkgver}
+  make test-only
+}
+
+package() {
+  cd node-v${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}

Deleted: ares_compat.patch
===================================================================
--- ares_compat.patch	2021-12-02 21:16:03 UTC (rev 1062568)
+++ ares_compat.patch	2021-12-02 21:16:32 UTC (rev 1062569)
@@ -1,19 +0,0 @@
---- a/src/cares_wrap.h
-+++ b/src/cares_wrap.h
-@@ -22,7 +22,15 @@
- # include <netdb.h>
- #endif  // __POSIX__
- 
--# include <ares_nameser.h>
-+#if defined(__ANDROID__) || \
-+    defined(__MINGW32__) || \
-+    defined(__OpenBSD__) || \
-+    defined(_MSC_VER)
-+
-+# include <nameser.h>
-+#else
-+# include <arpa/nameser.h>
-+#endif
- 
- namespace node {
- namespace cares_wrap {

Deleted: libnghttp1.45.1_compat.patch
===================================================================
--- libnghttp1.45.1_compat.patch	2021-12-02 21:16:03 UTC (rev 1062568)
+++ libnghttp1.45.1_compat.patch	2021-12-02 21:16:32 UTC (rev 1062569)
@@ -1,22 +0,0 @@
---- a/test/parallel/test-http2-methods.js
-+++ b/test/parallel/test-http2-methods.js
-@@ -8,7 +8,7 @@ const h2 = require('http2');
- 
- const server = h2.createServer();
- 
--const methods = [undefined, 'GET', 'POST', 'PATCH', 'FOO', 'A B C'];
-+const methods = ['GET', 'POST', 'PATCH', 'FOO', 'A_B_C'];
- let expected = methods.length;
- 
- // We use the lower-level API here
---- a/test/parallel/test-http2-multiplex.js
-+++ b/test/parallel/test-http2-multiplex.js
-@@ -29,7 +29,7 @@ server.listen(0, common.mustCall(() => {
-   });
- 
-   function doRequest() {
--    const req = client.request({ ':method': 'POST ' });
-+    const req = client.request({ ':method': 'POST' });
- 
-     let data = '';
-     req.setEncoding('utf8');

Copied: nodejs-lts-fermium/repos/community-x86_64/libnghttp1.45.1_compat.patch (from rev 1062568, nodejs-lts-fermium/trunk/libnghttp1.45.1_compat.patch)
===================================================================
--- libnghttp1.45.1_compat.patch	                        (rev 0)
+++ libnghttp1.45.1_compat.patch	2021-12-02 21:16:32 UTC (rev 1062569)
@@ -0,0 +1,22 @@
+--- a/test/parallel/test-http2-methods.js
++++ b/test/parallel/test-http2-methods.js
+@@ -8,7 +8,7 @@ const h2 = require('http2');
+ 
+ const server = h2.createServer();
+ 
+-const methods = [undefined, 'GET', 'POST', 'PATCH', 'FOO', 'A B C'];
++const methods = ['GET', 'POST', 'PATCH', 'FOO', 'A_B_C'];
+ let expected = methods.length;
+ 
+ // We use the lower-level API here
+--- a/test/parallel/test-http2-multiplex.js
++++ b/test/parallel/test-http2-multiplex.js
+@@ -29,7 +29,7 @@ server.listen(0, common.mustCall(() => {
+   });
+ 
+   function doRequest() {
+-    const req = client.request({ ':method': 'POST ' });
++    const req = client.request({ ':method': 'POST' });
+ 
+     let data = '';
+     req.setEncoding('utf8');



More information about the arch-commits mailing list