ports/net-im/libsignal-node/files/patch-node_binding.gyp
Mikael Urankar 342f6a12f5 net-im/libsignal-node: Add new port
libsignal contains platform-agnostic APIs used by the official Signal clients
and servers, exposed as a Java, Swift, or TypeScript library.
The underlying implementations are written in Rust:

 - libsignal-protocol: Implements the Signal protocol, including the
   Double Ratchet algorithm. A replacement for libsignal-protocol-java and
   libsignal-metadata-java.
 - signal-crypto: Cryptographic primitives such as AES-GCM. We use RustCrypto's
   where we can but sometimes have differing needs.
 - device-transfer: Support logic for Signal's device-to-device transfer
   feature.
 - attest: Functionality for remote attestation of SGX enclaves and
   server-side HSMs.
 - zkgroup: Functionality for zero-knowledge groups and related features
   available in Signal.
 - poksho: Utilities for implementing zero-knowledge proofs (such as those used
   by zkgroup); stands for "proof-of-knowledge, stateful-hash-object".

WWW: https://github.com/signalapp/libsignal
2022-06-23 13:38:17 +02:00

10 lines
600 B
Python

--- node/binding.gyp.orig 2022-02-25 14:33:26 UTC
+++ node/binding.gyp
@@ -6,6 +6,7 @@
{
'conditions': [
['OS=="mac"', {'variables': {'NODE_OS_NAME': 'darwin', 'CARGO_TARGET_SUFFIX': 'apple-darwin'}},
+ 'OS=="freebsd"', {'variables': {'NODE_OS_NAME': 'freebsd', 'CARGO_TARGET_SUFFIX': 'unknown-freebsd'}},
'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)'}}],