git: f7947a9fba0e - main - net-im/libsignal-node: Update to 0.52.3

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 19 Jul 2024 15:55:21 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f7947a9fba0ee9f6fe68693950c15fc6f402bad6

commit f7947a9fba0ee9f6fe68693950c15fc6f402bad6
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-07-19 13:18:53 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-07-19 15:55:06 +0000

    net-im/libsignal-node: Update to 0.52.3
---
 net-im/libsignal-node/Makefile                     | 18 ++++------
 net-im/libsignal-node/Makefile.crates              | 14 ++++++--
 net-im/libsignal-node/distinfo                     | 38 +++++++++++++++-------
 net-im/libsignal-node/files/node/package.json      |  6 ++--
 net-im/libsignal-node/files/node/yarn.lock         | 10 +++---
 .../files/powerpc64-patch-node_binding.gyp         | 15 ---------
 .../files/powerpc64le-patch-node_binding.gyp       | 15 ---------
 7 files changed, 53 insertions(+), 63 deletions(-)

diff --git a/net-im/libsignal-node/Makefile b/net-im/libsignal-node/Makefile
index 3c5efeec7d5c..25dfb27a0372 100644
--- a/net-im/libsignal-node/Makefile
+++ b/net-im/libsignal-node/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libsignal
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.51.1
+DISTVERSION=	0.52.3
 CATEGORIES=	net-im
 PKGNAMESUFFIX=	-node
 DISTFILES=	libsignal-node-${DISTVERSION}-yarn-cache.tar.gz
@@ -47,21 +47,13 @@ USE_LDCONFIG=	yes
 PLIST_FILES=	lib/libsignal_node.so
 
 NODEJS_VERSION=	20
-NODE_ARCH=	${ARCH:S/aarch64/arm64/:S/amd64/x64/:S/i386/ia32/:C/powerpc64.*/ppc64/}
-NPM_RINGRTC_DIR=	npm-@signalapp-ringrtc-2.36.0-67d1b48bd4c1ea31c155ea14a0bd28f04e46eff5-integrity
-NPM_SIGNAL_DIR=		npm-@signalapp-libsignal-client-0.39.1-15b41f15c516ae3eecf8a098a9c9c7aac00444d7-integrity
-NPM_SQLITE3_DIR=	npm-@signalapp-better-sqlite3-8.6.0-0413f4d0626b99838cd64ad09c88720aa2bec6ed-integrity
-RUST_ARCH=	${ARCH:S/amd64/x86_64/:S/i386/i686/}
-SQLCIPHER=		sqlcipher-4.5.5-fts5-fix--3.0.7--0.2.1-ef53ea45ed92b928ecfd33c552d8d405263e86e63dec38e1ec63e1b0193b630b
+NODE_ARCH=	${ARCH:S/aarch64/arm64/:S/amd64/x64/}
+RUST_ARCH=	${ARCH:S/amd64/x86_64/}
 
 YARN_TIMESTAMP=	1661146515
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH:Mpowerpc64*}
-EXTRA_PATCHES=	${FILESDIR}/${ARCH}-patch-node_binding.gyp
-.endif
-
 pre-fetch:
 	if [ ! -f ${DISTDIR}/libsignal-node-${DISTVERSION}-yarn-cache.tar.gz ]; \
 		then ${MKDIR} ${WRKDIR}; \
@@ -85,7 +77,7 @@ post-patch:
 		${WRKSRC}/node/binding.gyp
 
 # to get the hash:
-# fetch -o - https://raw.githubusercontent.com/signalapp/libsignal/v0.45.0/Cargo.lock | grep https://github.com/signalapp/boring
+# fetch -o - https://raw.githubusercontent.com/signalapp/libsignal/v0.52.3/Cargo.lock | grep https://github.com/signalapp/boring
 post-extract:
 	${MV} ${WRKDIR}/boringssl-44b3df6f03d85c901767250329c571db405122d5/* ${WRKDIR}/boring-signal-v4.6.0/boring-sys/deps/boringssl
 	${MV} ${WRKDIR}/boringssl-853ca1ea1168dff08011e5d42d94609cc0ca2e27/* ${WRKDIR}/boring-signal-v4.6.0/boring-sys/deps/boringssl-fips
@@ -97,6 +89,8 @@ do-build:
 	${ECHO_CMD} 'nodedir "${LOCALBASE}"' >> ${WRKSRC}/.yarnrc
 	cd ${WRKSRC}/node && \
 		${SETENV} ${MAKE_ENV} yarn install --frozen-lockfile --ignore-optional --offline
+	cd ${WRKSRC}/node && \
+		${SETENV} ${MAKE_ENV} yarn node-gyp rebuild
 	cd ${WRKSRC}/node && \
 		${SETENV} ${MAKE_ENV} yarn tsc
 
diff --git a/net-im/libsignal-node/Makefile.crates b/net-im/libsignal-node/Makefile.crates
index b9580c8b3db1..46afee3e6191 100644
--- a/net-im/libsignal-node/Makefile.crates
+++ b/net-im/libsignal-node/Makefile.crates
@@ -43,7 +43,6 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		breakpad-symbols-0.20.0 \
 		bstr-1.9.1 \
 		bumpalo-3.16.0 \
-		bytemuck-1.16.0 \
 		byteorder-1.5.0 \
 		bytes-1.6.0 \
 		cachemap2-0.2.0 \
@@ -100,7 +99,7 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		digest-0.10.7 \
 		dir-test-0.2.1 \
 		dir-test-macros-0.2.1 \
-		displaydoc-0.2.4 \
+		displaydoc-0.2.5 \
 		doc-comment-0.3.3 \
 		downcast-rs-1.2.1 \
 		dunce-1.0.4 \
@@ -150,6 +149,7 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		headers-core-0.2.0 \
 		heck-0.3.3 \
 		heck-0.4.1 \
+		heck-0.5.0 \
 		hermit-abi-0.3.9 \
 		hex-0.4.3 \
 		hex-literal-0.4.1 \
@@ -187,6 +187,7 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		jni-sys-0.3.0 \
 		jobserver-0.1.31 \
 		js-sys-0.3.69 \
+		json5-0.4.1 \
 		lazy_static-1.4.0 \
 		lazycell-1.3.0 \
 		libc-0.2.155 \
@@ -245,6 +246,10 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		peeking_take_while-0.1.2 \
 		pem-3.0.4 \
 		percent-encoding-2.3.1 \
+		pest-2.7.10 \
+		pest_derive-2.7.10 \
+		pest_generator-2.7.10 \
+		pest_meta-2.7.10 \
 		petgraph-0.6.5 \
 		phf-0.10.1 \
 		phf_codegen-0.10.0 \
@@ -344,7 +349,7 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		static_assertions-1.1.0 \
 		strsim-0.10.0 \
 		strum-0.26.2 \
-		strum_macros-0.26.2 \
+		strum_macros-0.26.4 \
 		subtle-2.5.0 \
 		syn-1.0.109 \
 		syn-2.0.66 \
@@ -385,6 +390,7 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		try-lock-0.2.5 \
 		tungstenite-0.21.0 \
 		typenum-1.17.0 \
+		ucd-trie-0.1.6 \
 		unarray-0.1.4 \
 		unicase-2.7.0 \
 		unicode-bidi-0.3.15 \
@@ -449,6 +455,8 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		winnow-0.5.40 \
 		x25519-dalek-2.0.1 \
 		yasna-0.5.2 \
+		zerocopy-0.7.34 \
+		zerocopy-derive-0.7.34 \
 		zeroize-1.7.0 \
 		zeroize_derive-1.4.2 \
 		curve25519-dalek,curve25519-dalek-derive@git+https://github.com/signalapp/curve25519-dalek?tag=signal-curve25519-4.1.3\#7c6d34756355a3566a704da84dce7b1c039a6572 \
diff --git a/net-im/libsignal-node/distinfo b/net-im/libsignal-node/distinfo
index a8b8544f042a..0bc3e71aa4ae 100644
--- a/net-im/libsignal-node/distinfo
+++ b/net-im/libsignal-node/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1720025305
-SHA256 (libsignal-node-0.51.1-yarn-cache.tar.gz) = 2df81c38f9b2c749dab34a6734785dab5f0e04b9d4740894d72abbf1c26786c7
-SIZE (libsignal-node-0.51.1-yarn-cache.tar.gz) = 26872928
+TIMESTAMP = 1721308555
+SHA256 (libsignal-node-0.52.3-yarn-cache.tar.gz) = 0474bd3908df9f50e22ec44f192869e3893a0b1c8c2b8cbb8a5b1a33fc4105e2
+SIZE (libsignal-node-0.52.3-yarn-cache.tar.gz) = 26548112
 SHA256 (rust/crates/addr2line-0.21.0.crate) = 8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb
 SIZE (rust/crates/addr2line-0.21.0.crate) = 40807
 SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
@@ -91,8 +91,6 @@ SHA256 (rust/crates/bstr-1.9.1.crate) = 05efc5cfd9110c8416e471df0e96702d58690178
 SIZE (rust/crates/bstr-1.9.1.crate) = 380305
 SHA256 (rust/crates/bumpalo-3.16.0.crate) = 79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c
 SIZE (rust/crates/bumpalo-3.16.0.crate) = 85677
-SHA256 (rust/crates/bytemuck-1.16.0.crate) = 78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5
-SIZE (rust/crates/bytemuck-1.16.0.crate) = 48015
 SHA256 (rust/crates/byteorder-1.5.0.crate) = 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b
 SIZE (rust/crates/byteorder-1.5.0.crate) = 23288
 SHA256 (rust/crates/bytes-1.6.0.crate) = 514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9
@@ -205,8 +203,8 @@ SHA256 (rust/crates/dir-test-0.2.1.crate) = 6fc943f4c1320fad6dbfe6a00070d88480c4
 SIZE (rust/crates/dir-test-0.2.1.crate) = 3115
 SHA256 (rust/crates/dir-test-macros-0.2.1.crate) = 8cce5926e6ae92adcff7412e08ad0268d7eab7d15c1be1da34b7e9469a2dacb9
 SIZE (rust/crates/dir-test-macros-0.2.1.crate) = 3335
-SHA256 (rust/crates/displaydoc-0.2.4.crate) = 487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d
-SIZE (rust/crates/displaydoc-0.2.4.crate) = 23200
+SHA256 (rust/crates/displaydoc-0.2.5.crate) = 97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0
+SIZE (rust/crates/displaydoc-0.2.5.crate) = 24219
 SHA256 (rust/crates/doc-comment-0.3.3.crate) = fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10
 SIZE (rust/crates/doc-comment-0.3.3.crate) = 4123
 SHA256 (rust/crates/downcast-rs-1.2.1.crate) = 75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2
@@ -305,6 +303,8 @@ SHA256 (rust/crates/heck-0.3.3.crate) = 6d621efb26863f0e9924c6ac577e8275e5e6b774
 SIZE (rust/crates/heck-0.3.3.crate) = 10260
 SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
 SIZE (rust/crates/heck-0.4.1.crate) = 11567
+SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
+SIZE (rust/crates/heck-0.5.0.crate) = 11517
 SHA256 (rust/crates/hermit-abi-0.3.9.crate) = d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024
 SIZE (rust/crates/hermit-abi-0.3.9.crate) = 16165
 SHA256 (rust/crates/hex-0.4.3.crate) = 7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70
@@ -379,6 +379,8 @@ SHA256 (rust/crates/jobserver-0.1.31.crate) = d2b099aaa34a9751c5bf0878add70444e1
 SIZE (rust/crates/jobserver-0.1.31.crate) = 27306
 SHA256 (rust/crates/js-sys-0.3.69.crate) = 29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d
 SIZE (rust/crates/js-sys-0.3.69.crate) = 81083
+SHA256 (rust/crates/json5-0.4.1.crate) = 96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1
+SIZE (rust/crates/json5-0.4.1.crate) = 15678
 SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
 SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
 SHA256 (rust/crates/lazycell-1.3.0.crate) = 830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55
@@ -495,6 +497,14 @@ SHA256 (rust/crates/pem-3.0.4.crate) = 8e459365e590736a54c3fa561947c84837534b8e9
 SIZE (rust/crates/pem-3.0.4.crate) = 13040
 SHA256 (rust/crates/percent-encoding-2.3.1.crate) = e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e
 SIZE (rust/crates/percent-encoding-2.3.1.crate) = 10235
+SHA256 (rust/crates/pest-2.7.10.crate) = 560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8
+SIZE (rust/crates/pest-2.7.10.crate) = 123707
+SHA256 (rust/crates/pest_derive-2.7.10.crate) = 26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459
+SIZE (rust/crates/pest_derive-2.7.10.crate) = 36221
+SHA256 (rust/crates/pest_generator-2.7.10.crate) = 3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687
+SIZE (rust/crates/pest_generator-2.7.10.crate) = 18411
+SHA256 (rust/crates/pest_meta-2.7.10.crate) = d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd
+SIZE (rust/crates/pest_meta-2.7.10.crate) = 41550
 SHA256 (rust/crates/petgraph-0.6.5.crate) = b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db
 SIZE (rust/crates/petgraph-0.6.5.crate) = 710970
 SHA256 (rust/crates/phf-0.10.1.crate) = fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259
@@ -693,8 +703,8 @@ SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f0
 SIZE (rust/crates/strsim-0.10.0.crate) = 11355
 SHA256 (rust/crates/strum-0.26.2.crate) = 5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29
 SIZE (rust/crates/strum-0.26.2.crate) = 7189
-SHA256 (rust/crates/strum_macros-0.26.2.crate) = c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946
-SIZE (rust/crates/strum_macros-0.26.2.crate) = 27056
+SHA256 (rust/crates/strum_macros-0.26.4.crate) = 4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be
+SIZE (rust/crates/strum_macros-0.26.4.crate) = 27531
 SHA256 (rust/crates/subtle-2.5.0.crate) = 81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc
 SIZE (rust/crates/subtle-2.5.0.crate) = 13909
 SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
@@ -775,6 +785,8 @@ SHA256 (rust/crates/tungstenite-0.21.0.crate) = 9ef1a641ea34f399a848dea702823bbe
 SIZE (rust/crates/tungstenite-0.21.0.crate) = 59858
 SHA256 (rust/crates/typenum-1.17.0.crate) = 42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825
 SIZE (rust/crates/typenum-1.17.0.crate) = 42849
+SHA256 (rust/crates/ucd-trie-0.1.6.crate) = ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9
+SIZE (rust/crates/ucd-trie-0.1.6.crate) = 45790
 SHA256 (rust/crates/unarray-0.1.4.crate) = eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94
 SIZE (rust/crates/unarray-0.1.4.crate) = 12895
 SHA256 (rust/crates/unicase-2.7.0.crate) = f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89
@@ -903,6 +915,10 @@ SHA256 (rust/crates/x25519-dalek-2.0.1.crate) = c7e468321c81fb07fa7f4c636c3972b9
 SIZE (rust/crates/x25519-dalek-2.0.1.crate) = 87820
 SHA256 (rust/crates/yasna-0.5.2.crate) = e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd
 SIZE (rust/crates/yasna-0.5.2.crate) = 34859
+SHA256 (rust/crates/zerocopy-0.7.34.crate) = ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087
+SIZE (rust/crates/zerocopy-0.7.34.crate) = 151177
+SHA256 (rust/crates/zerocopy-derive-0.7.34.crate) = 15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b
+SIZE (rust/crates/zerocopy-derive-0.7.34.crate) = 37907
 SHA256 (rust/crates/zeroize-1.7.0.crate) = 525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d
 SIZE (rust/crates/zeroize-1.7.0.crate) = 19039
 SHA256 (rust/crates/zeroize_derive-1.4.2.crate) = ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69
@@ -911,8 +927,8 @@ SHA256 (signalapp-curve25519-dalek-signal-curve25519-4.1.3_GH0.tar.gz) = 8dd338d
 SIZE (signalapp-curve25519-dalek-signal-curve25519-4.1.3_GH0.tar.gz) = 808022
 SHA256 (signalapp-boring-signal-v4.6.0_GH0.tar.gz) = 40060cff155786d542ad260ffe034c5e62482b661615e3c07a2d8394a9e349ae
 SIZE (signalapp-boring-signal-v4.6.0_GH0.tar.gz) = 320386
-SHA256 (signalapp-libsignal-v0.51.1_GH0.tar.gz) = da01d542f8117cbabeff93c1293d757ffbbc1204442123c89ddedd9e4c099205
-SIZE (signalapp-libsignal-v0.51.1_GH0.tar.gz) = 1481541
+SHA256 (signalapp-libsignal-v0.52.3_GH0.tar.gz) = 79bc920e8ca67af8164ab09a8d54a87a2184a53a6cc5192bf8dd8076395a002a
+SIZE (signalapp-libsignal-v0.52.3_GH0.tar.gz) = 1506427
 SHA256 (google-boringssl-44b3df6f03d85c901767250329c571db405122d5_GH0.tar.gz) = 9567b43de39f66e57b895ee814135adc5ddf7f2c895964269b6b13b388158982
 SIZE (google-boringssl-44b3df6f03d85c901767250329c571db405122d5_GH0.tar.gz) = 46106995
 SHA256 (google-boringssl-853ca1ea1168dff08011e5d42d94609cc0ca2e27_GH0.tar.gz) = 61e85d6eaecf1706be0420a9104b66ff01bd04301b5fad323970685f942108ed
diff --git a/net-im/libsignal-node/files/node/package.json b/net-im/libsignal-node/files/node/package.json
index c58c9593632d..da11be0e0668 100644
--- a/net-im/libsignal-node/files/node/package.json
+++ b/net-im/libsignal-node/files/node/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@signalapp/libsignal-client",
-  "version": "0.51.1",
+  "version": "0.52.3",
   "license": "AGPL-3.0-only",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
     "prebuilds/*/*.node"
   ],
   "scripts": {
-    "install": "node-gyp-build",
+    "install": "echo Use \\`npx node-gyp rebuild\\` to build the native library from scratch if needed",
     "build": "node-gyp build",
     "build-with-debug-level-logs": "npx --libsignal-debug-level-logs node-gyp build",
     "tsc": "tsc -b",
@@ -39,7 +39,7 @@
     "@types/chai-as-promised": "^7.1.3",
     "@types/chance": "^1.1.3",
     "@types/mocha": "^5.2.7",
-    "@types/node": "~18.15.0",
+    "@types/node": "~20.11.0",
     "@types/sinon": "^17.0.3",
     "@types/sinon-chai": "^3.2.12",
     "@types/uuid": "^8.3.0",
diff --git a/net-im/libsignal-node/files/node/yarn.lock b/net-im/libsignal-node/files/node/yarn.lock
index cf1ebd0aad25..399edf4b941b 100644
--- a/net-im/libsignal-node/files/node/yarn.lock
+++ b/net-im/libsignal-node/files/node/yarn.lock
@@ -211,10 +211,12 @@
   dependencies:
     undici-types "~5.26.4"
 
-"@types/node@~18.15.0":
-  version "18.15.13"
-  resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.13.tgz#f64277c341150c979e42b00e4ac289290c9df469"
-  integrity sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==
+"@types/node@~20.11.0":
+  version "20.11.30"
+  resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.30.tgz#9c33467fc23167a347e73834f788f4b9f399d66f"
+  integrity sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==
+  dependencies:
+    undici-types "~5.26.4"
 
 "@types/semver@^7.3.12":
   version "7.5.6"
diff --git a/net-im/libsignal-node/files/powerpc64-patch-node_binding.gyp b/net-im/libsignal-node/files/powerpc64-patch-node_binding.gyp
deleted file mode 100644
index 792299ec4618..000000000000
--- a/net-im/libsignal-node/files/powerpc64-patch-node_binding.gyp
+++ /dev/null
@@ -1,15 +0,0 @@
---- node/binding.gyp.orig	2022-05-13 21:30:30 UTC
-+++ node/binding.gyp
-@@ -6,11 +6,12 @@
- {
-     'conditions': [
-         ['OS=="mac"', {'variables': {'NODE_OS_NAME': 'darwin', 'CARGO_TARGET_SUFFIX': 'apple-darwin'}},
-          'OS=="win"', {'variables': {'NODE_OS_NAME': 'win32', 'CARGO_TARGET_SUFFIX': 'pc-windows-msvc'}},
-          'OS=="linux"', {'variables': {'NODE_OS_NAME': 'linux', 'CARGO_TARGET_SUFFIX': 'unknown-linux-gnu'}},
-          {'variables': {'NODE_OS_NAME': '<(OS)'}}],
-         ['target_arch=="ia32"', {'variables': {'CARGO_ARCH': 'i686'}},
-          'target_arch=="x64"', {'variables': {'CARGO_ARCH': 'x86_64'}},
-+         'target_arch=="ppc64"', {'variables': {'CARGO_ARCH': 'powerpc64'}},
-          'target_arch=="arm64"', {'variables': {'CARGO_ARCH': 'aarch64'}}]
-     ],
-     'targets': [
diff --git a/net-im/libsignal-node/files/powerpc64le-patch-node_binding.gyp b/net-im/libsignal-node/files/powerpc64le-patch-node_binding.gyp
deleted file mode 100644
index d4a1ffe0b623..000000000000
--- a/net-im/libsignal-node/files/powerpc64le-patch-node_binding.gyp
+++ /dev/null
@@ -1,15 +0,0 @@
---- node/binding.gyp.orig	2022-05-13 21:30:30 UTC
-+++ node/binding.gyp
-@@ -6,11 +6,12 @@
- {
-     'conditions': [
-         ['OS=="mac"', {'variables': {'NODE_OS_NAME': 'darwin', 'CARGO_TARGET_SUFFIX': 'apple-darwin'}},
-          'OS=="win"', {'variables': {'NODE_OS_NAME': 'win32', 'CARGO_TARGET_SUFFIX': 'pc-windows-msvc'}},
-          'OS=="linux"', {'variables': {'NODE_OS_NAME': 'linux', 'CARGO_TARGET_SUFFIX': 'unknown-linux-gnu'}},
-          {'variables': {'NODE_OS_NAME': '<(OS)'}}],
-         ['target_arch=="ia32"', {'variables': {'CARGO_ARCH': 'i686'}},
-          'target_arch=="x64"', {'variables': {'CARGO_ARCH': 'x86_64'}},
-+         'target_arch=="ppc64"', {'variables': {'CARGO_ARCH': 'powerpc64le'}},
-          'target_arch=="arm64"', {'variables': {'CARGO_ARCH': 'aarch64'}}]
-     ],
-     'targets': [