1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net-im/libsignal-node: Update to 0.22.0

Changes:
  https://github.com/signalapp/libsignal/releases/tag/v0.22.0
This commit is contained in:
Mikael Urankar 2023-02-17 09:30:47 +01:00
parent 6912a3fe17
commit c9c3c585cf
7 changed files with 619 additions and 484 deletions

View File

@ -1,15 +1,15 @@
PORTNAME= libsignal
DISTVERSIONPREFIX= v
DISTVERSION= 0.21.1
PORTREVISION= 3
DISTVERSION= 0.22.0
CATEGORIES= net-im
MASTER_SITES= https://nodejs.org/download/release/v${NODE_VERSION}/:node
PKGNAMESUFFIX= -node
DISTFILES= libsignal-node-${DISTVERSION}-yarn-cache.tar.gz:prefetch \
DISTFILES= libsignal-node-${DISTVERSION}-yarn-cache.tar.gz \
node-v${NODE_VERSION}-headers.tar.gz:node
MAINTAINER= mikael@FreeBSD.org
COMMENT= Platform-agnostic APIs used by the official Signal clients and servers
WWW= https://github.com/signalapp/libsignal
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
@ -48,6 +48,8 @@ CARGO_CRATES= addr2line-0.17.0 \
base64-0.13.0 \
bincode-1.3.3 \
bindgen-0.60.1 \
bit-set-0.5.3 \
bit-vec-0.6.3 \
bitflags-1.3.2 \
blake2-0.9.2 \
block-buffer-0.9.0 \
@ -88,6 +90,7 @@ CARGO_CRATES= addr2line-0.17.0 \
either-1.6.1 \
fastrand-1.7.0 \
fixedbitset-0.4.1 \
fnv-1.0.7 \
foreign-types-0.5.0 \
foreign-types-macros-0.2.2 \
foreign-types-shared-0.3.1 \
@ -158,10 +161,13 @@ CARGO_CRATES= addr2line-0.17.0 \
ppv-lite86-0.2.16 \
proc-macro-crate-1.1.3 \
proc-macro2-1.0.29 \
proptest-1.0.0 \
prost-0.9.0 \
prost-build-0.9.0 \
prost-derive-0.9.0 \
prost-types-0.9.0 \
quick-error-1.2.3 \
quick-error-2.0.1 \
quote-1.0.10 \
rand-0.7.3 \
rand-0.8.5 \
@ -170,6 +176,7 @@ CARGO_CRATES= addr2line-0.17.0 \
rand_core-0.5.1 \
rand_core-0.6.3 \
rand_hc-0.2.0 \
rand_xorshift-0.3.0 \
rayon-1.5.1 \
rayon-core-1.9.1 \
redox_syscall-0.2.11 \
@ -179,6 +186,7 @@ CARGO_CRATES= addr2line-0.17.0 \
rustc-demangle-0.1.21 \
rustc-hash-1.1.0 \
rustc_version-0.3.3 \
rusty-fork-0.3.0 \
ryu-1.0.9 \
same-file-1.0.6 \
scopeguard-1.1.0 \
@ -216,6 +224,7 @@ CARGO_CRATES= addr2line-0.17.0 \
uuid-1.1.2 \
variant_count-1.1.0 \
version_check-0.9.4 \
wait-timeout-0.2.0 \
walkdir-2.3.2 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.10.0+wasi-snapshot-preview1 \
@ -233,8 +242,8 @@ CARGO_CRATES= addr2line-0.17.0 \
x25519-dalek-1.1.1 \
zeroize-1.3.0 \
zeroize_derive-1.3.2 \
curve25519-dalek@git+https://github.com/signalapp/curve25519-dalek?branch=lizard2\#4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd \
boring,boring-sys@git+https://github.com/signalapp/boring?branch=libsignal\#b95cb545b97395cdf5da36814f7dfb6e3856a99c
boring,boring-sys@git+https://github.com/signalapp/boring?branch=libsignal\#25e1dd8fa519ae90772008fbd4a284582096fece \
curve25519-dalek@git+https://github.com/signalapp/curve25519-dalek?branch=lizard2\#4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd
MAKE_ENV= ELECTRON_OVERRIDE_DIST_PATH=${LOCALBASE}/share/electron21 \
ELECTRON_SKIP_BINARY_DOWNLOAD=1 \
@ -283,8 +292,8 @@ post-patch:
# Check hash here: https://github.com/signalapp/boring/tree/libsignal/boring-sys/deps
post-extract:
${MV} ${WRKDIR}/boringssl-f1c75347daa2ea81a941e953f2263e0a4d970c8d/* ${WRKDIR}/boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl
${MV} ${WRKDIR}/boringssl-ae223d6138807a13006342edfeef32e813246b39/* ${WRKDIR}/boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl-fips
${MV} ${WRKDIR}/boringssl-f1c75347daa2ea81a941e953f2263e0a4d970c8d/* ${WRKDIR}/boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl
${MV} ${WRKDIR}/boringssl-ae223d6138807a13006342edfeef32e813246b39/* ${WRKDIR}/boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl-fips
${MKDIR} ${WRKDIR}/.cache/node-gyp/${NODE_VERSION}
${MV} ${WRKDIR}/node-v${NODE_VERSION}/include ${WRKDIR}/.cache/node-gyp/${NODE_VERSION}

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1672674525
SHA256 (libsignal-node-0.21.1-yarn-cache.tar.gz) = 5888ccb3a4de59b34b1dce1bd34c0d2d19a34424a9e35adb8b624e19aec9d125
SIZE (libsignal-node-0.21.1-yarn-cache.tar.gz) = 21537796
TIMESTAMP = 1676368357
SHA256 (libsignal-node-0.22.0-yarn-cache.tar.gz) = 110074814e397bf89f918c3138a96da7619d87f5e5edad3293835a09a8d027b8
SIZE (libsignal-node-0.22.0-yarn-cache.tar.gz) = 22963764
SHA256 (node-v16.19.0-headers.tar.gz) = d0b02ce3d1198d41127daf64f204195252abff6a22da70830aaed846ba6ad864
SIZE (node-v16.19.0-headers.tar.gz) = 568145
SHA256 (rust/crates/addr2line-0.17.0.crate) = b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b
@ -41,6 +41,10 @@ SHA256 (rust/crates/bincode-1.3.3.crate) = b1f45e9417d87227c7a56d22e471c6206462c
SIZE (rust/crates/bincode-1.3.3.crate) = 28958
SHA256 (rust/crates/bindgen-0.60.1.crate) = 062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6
SIZE (rust/crates/bindgen-0.60.1.crate) = 207507
SHA256 (rust/crates/bit-set-0.5.3.crate) = 0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1
SIZE (rust/crates/bit-set-0.5.3.crate) = 14470
SHA256 (rust/crates/bit-vec-0.6.3.crate) = 349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb
SIZE (rust/crates/bit-vec-0.6.3.crate) = 19927
SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
SHA256 (rust/crates/blake2-0.9.2.crate) = 0a4e37d16930f5459780f5621038b6382b9bb37c19016f39fb6b5808d831f174
@ -121,6 +125,8 @@ SHA256 (rust/crates/fastrand-1.7.0.crate) = c3fcf0cee53519c866c09b5de1f6c56ff9d6
SIZE (rust/crates/fastrand-1.7.0.crate) = 11265
SHA256 (rust/crates/fixedbitset-0.4.1.crate) = 279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e
SIZE (rust/crates/fixedbitset-0.4.1.crate) = 15551
SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1
SIZE (rust/crates/fnv-1.0.7.crate) = 11266
SHA256 (rust/crates/foreign-types-0.5.0.crate) = d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965
SIZE (rust/crates/foreign-types-0.5.0.crate) = 7824
SHA256 (rust/crates/foreign-types-macros-0.2.2.crate) = c8469d0d40519bc608ec6863f1cc88f3f1deee15913f2f3b3e573d81ed38cccc
@ -261,6 +267,8 @@ SHA256 (rust/crates/proc-macro-crate-1.1.3.crate) = e17d47ce914bf4de440332250b0e
SIZE (rust/crates/proc-macro-crate-1.1.3.crate) = 8758
SHA256 (rust/crates/proc-macro2-1.0.29.crate) = b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d
SIZE (rust/crates/proc-macro2-1.0.29.crate) = 38772
SHA256 (rust/crates/proptest-1.0.0.crate) = 1e0d9cc07f18492d879586c92b485def06bc850da3118075cd45d50e9c95b0e5
SIZE (rust/crates/proptest-1.0.0.crate) = 189237
SHA256 (rust/crates/prost-0.9.0.crate) = 444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001
SIZE (rust/crates/prost-0.9.0.crate) = 25584
SHA256 (rust/crates/prost-build-0.9.0.crate) = 62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5
@ -269,6 +277,10 @@ SHA256 (rust/crates/prost-derive-0.9.0.crate) = f9cc1a3263e07e0bf68e96268f376652
SIZE (rust/crates/prost-derive-0.9.0.crate) = 15266
SHA256 (rust/crates/prost-types-0.9.0.crate) = 534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a
SIZE (rust/crates/prost-types-0.9.0.crate) = 27403
SHA256 (rust/crates/quick-error-1.2.3.crate) = a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0
SIZE (rust/crates/quick-error-1.2.3.crate) = 15066
SHA256 (rust/crates/quick-error-2.0.1.crate) = a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3
SIZE (rust/crates/quick-error-2.0.1.crate) = 14265
SHA256 (rust/crates/quote-1.0.10.crate) = 38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05
SIZE (rust/crates/quote-1.0.10.crate) = 29960
SHA256 (rust/crates/rand-0.7.3.crate) = 6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03
@ -285,6 +297,8 @@ SHA256 (rust/crates/rand_core-0.6.3.crate) = d34f1408f55294453790c48b2f1ebbb1c5b
SIZE (rust/crates/rand_core-0.6.3.crate) = 21938
SHA256 (rust/crates/rand_hc-0.2.0.crate) = ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c
SIZE (rust/crates/rand_hc-0.2.0.crate) = 11670
SHA256 (rust/crates/rand_xorshift-0.3.0.crate) = d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f
SIZE (rust/crates/rand_xorshift-0.3.0.crate) = 9121
SHA256 (rust/crates/rayon-1.5.1.crate) = c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90
SIZE (rust/crates/rayon-1.5.1.crate) = 160424
SHA256 (rust/crates/rayon-core-1.9.1.crate) = d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e
@ -303,6 +317,8 @@ SHA256 (rust/crates/rustc-hash-1.1.0.crate) = 08d43f7aa6b08d49f382cde6a7982047c3
SIZE (rust/crates/rustc-hash-1.1.0.crate) = 9331
SHA256 (rust/crates/rustc_version-0.3.3.crate) = f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee
SIZE (rust/crates/rustc_version-0.3.3.crate) = 12119
SHA256 (rust/crates/rusty-fork-0.3.0.crate) = cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f
SIZE (rust/crates/rusty-fork-0.3.0.crate) = 19881
SHA256 (rust/crates/ryu-1.0.9.crate) = 73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f
SIZE (rust/crates/ryu-1.0.9.crate) = 48391
SHA256 (rust/crates/same-file-1.0.6.crate) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
@ -377,6 +393,8 @@ SHA256 (rust/crates/variant_count-1.1.0.crate) = aae2faf80ac463422992abf4de23473
SIZE (rust/crates/variant_count-1.1.0.crate) = 2622
SHA256 (rust/crates/version_check-0.9.4.crate) = 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f
SIZE (rust/crates/version_check-0.9.4.crate) = 14895
SHA256 (rust/crates/wait-timeout-0.2.0.crate) = 9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6
SIZE (rust/crates/wait-timeout-0.2.0.crate) = 12441
SHA256 (rust/crates/walkdir-2.3.2.crate) = 808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56
SIZE (rust/crates/walkdir-2.3.2.crate) = 23516
SHA256 (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519
@ -411,12 +429,12 @@ SHA256 (rust/crates/zeroize-1.3.0.crate) = 4756f7db3f7b5574938c3eb1c117038b8e07f
SIZE (rust/crates/zeroize-1.3.0.crate) = 15913
SHA256 (rust/crates/zeroize_derive-1.3.2.crate) = 3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17
SIZE (rust/crates/zeroize_derive-1.3.2.crate) = 10299
SHA256 (signalapp-boring-25e1dd8fa519ae90772008fbd4a284582096fece_GH0.tar.gz) = aba4c6d2a03c4c239973c3ebe88e4d2809facc618ef93c06b10e47a2d6407691
SIZE (signalapp-boring-25e1dd8fa519ae90772008fbd4a284582096fece_GH0.tar.gz) = 206347
SHA256 (signalapp-curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd_GH0.tar.gz) = 658fc544410dbe3bdea94c42b73bfa02398fe61cebadee7a3253c4db5f73970f
SIZE (signalapp-curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd_GH0.tar.gz) = 533032
SHA256 (signalapp-boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c_GH0.tar.gz) = 0cc2ff4047e5d804bbe692cb79aeaa55a265a74aec578bfe39c1712621cff56c
SIZE (signalapp-boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c_GH0.tar.gz) = 204577
SHA256 (signalapp-libsignal-v0.21.1_GH0.tar.gz) = 1dd527ea0f5e7bb37c855b2e092d8b6d3ae496fd22f2c9684501c29c36c106cc
SIZE (signalapp-libsignal-v0.21.1_GH0.tar.gz) = 647662
SHA256 (signalapp-libsignal-v0.22.0_GH0.tar.gz) = fed130fe6192e7cb422d8278a5ee4a7451ea62f5cbfd68bbacd5350513e0bad8
SIZE (signalapp-libsignal-v0.22.0_GH0.tar.gz) = 676627
SHA256 (google-boringssl-f1c75347daa2ea81a941e953f2263e0a4d970c8d_GH0.tar.gz) = 4c90c1798d77873691c89e7d972f2dc933f99a8c37e8f36a8d619c7474b35f23
SIZE (google-boringssl-f1c75347daa2ea81a941e953f2263e0a4d970c8d_GH0.tar.gz) = 43377156
SHA256 (google-boringssl-ae223d6138807a13006342edfeef32e813246b39_GH0.tar.gz) = 06cb9d317001e026bde318d47a532a31651c68c7cf788ce0c30327f2d5e6b639

View File

@ -1,6 +1,6 @@
{
"name": "@signalapp/libsignal-client",
"version": "0.21.1",
"version": "0.22.2",
"license": "AGPL-3.0-only",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -33,23 +33,23 @@
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^5.2.7",
"@types/node": "*",
"@types/node": "16.18.3",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-more": "^1.0.0",
"mocha": "^9",
"node-gyp": "^8.4.1",
"prettier": "^1.19.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.1",
"source-map-support": "^0.5.19",
"typescript": "4.6.2"
"typescript": "4.9.3"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
--- ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/src/crypto/CMakeLists.txt.orig 2022-08-16 17:41:13.291238000 +0200
+++ ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/src/crypto/CMakeLists.txt 2022-08-16 17:41:48.826715000 +0200
--- ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/src/crypto/CMakeLists.txt.orig 2022-08-16 17:41:13.291238000 +0200
+++ ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/src/crypto/CMakeLists.txt 2022-08-16 17:41:48.826715000 +0200
@@ -264,6 +264,7 @@ add_library(
cipher_extra/tls_cbc.c
cmac/cmac.c
@ -8,8 +8,8 @@
cpu-aarch64-fuchsia.c
cpu-aarch64-linux.c
cpu-aarch64-win.c
--- ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/src/crypto/cpu-aarch64-freebsd.c.orig 2022-08-16 17:42:08.418245000 +0200
+++ ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/src/crypto/cpu-aarch64-freebsd.c 2022-08-16 17:40:34.409448000 +0200
--- ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/src/crypto/cpu-aarch64-freebsd.c.orig 2022-08-16 17:42:08.418245000 +0200
+++ ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/src/crypto/cpu-aarch64-freebsd.c 2022-08-16 17:40:34.409448000 +0200
@@ -0,0 +1,62 @@
+/* Copyright (c) 2016, Google Inc.
+ *

View File

@ -14,8 +14,8 @@ Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/51145
Reviewed-by: Adam Langley <agl@google.com>
--- ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/CMakeLists.txt.orig 2022-08-19 10:54:32.212105000 +0200
+++ ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/CMakeLists.txt 2022-08-19 10:55:12.577991000 +0200
--- ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/CMakeLists.txt.orig 2022-08-19 10:54:32.212105000 +0200
+++ ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/CMakeLists.txt 2022-08-19 10:55:12.577991000 +0200
@@ -21,8 +21,11 @@ endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fno-common -std=c11")
endif()

View File

@ -1,5 +1,5 @@
--- ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/CMakeLists.txt.orig 2021-09-03 00:17:34 UTC
+++ ../boring-b95cb545b97395cdf5da36814f7dfb6e3856a99c/boring-sys/deps/boringssl/CMakeLists.txt
--- ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/CMakeLists.txt.orig 2021-09-03 00:17:34 UTC
+++ ../boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl/CMakeLists.txt
@@ -86,7 +89,7 @@
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "mips")
# Just to avoid the “unknown processor” error.