summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xcrypto/libsignal/BUILD3
-rwxr-xr-xcrypto/libsignal/DEPENDS2
-rwxr-xr-xcrypto/libsignal/DETAILS15
-rw-r--r--crypto/libsignal/HISTORY2
5 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 668b3383cc..29109d3531 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2019-08-02 Vlad Glagolev <stealth@sourcemage.org>
+ * crypto/libsignal: new spell, Signal Protocol C Library
+
2019-08-01 Ismael Luceno <ismael@sourcemage.org>
* devel/pacc: new spell, a compiler-compiler
diff --git a/crypto/libsignal/BUILD b/crypto/libsignal/BUILD
new file mode 100755
index 0000000000..b23119c705
--- /dev/null
+++ b/crypto/libsignal/BUILD
@@ -0,0 +1,3 @@
+OPTS="-DBUILD_SHARED_LIBS=ON ${OPTS}" &&
+
+cmake_build
diff --git a/crypto/libsignal/DEPENDS b/crypto/libsignal/DEPENDS
new file mode 100755
index 0000000000..b4297b8f78
--- /dev/null
+++ b/crypto/libsignal/DEPENDS
@@ -0,0 +1,2 @@
+depends cmake &&
+depends SSL
diff --git a/crypto/libsignal/DETAILS b/crypto/libsignal/DETAILS
new file mode 100755
index 0000000000..45ac22a29c
--- /dev/null
+++ b/crypto/libsignal/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=libsignal
+ SPELLX=${SPELL}-protocol-c
+ VERSION=2.3.2
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://github.com/signalapp/${SPELLX}/archive/v${VERSION}.tar.gz
+ SOURCE_HASH=sha512:7c63c42b9a590ed1a60a6f0094668d9948aa04e5965d052c22ae22b176df7c5582b8ec5c0e6c01ad582dfe2b04067380b9734ad08c64785242e90abcdabdfb8d
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
+ WEB_SITE=https://signal.org/
+ LICENSE[0]=GPL
+ ENTERED=20190802
+ SHORT="Signal Protocol C Library"
+cat << EOF
+This is a ratcheting forward secrecy protocol that works in synchronous and
+asynchronous messaging environments.
+EOF
diff --git a/crypto/libsignal/HISTORY b/crypto/libsignal/HISTORY
new file mode 100644
index 0000000000..7be1d25484
--- /dev/null
+++ b/crypto/libsignal/HISTORY
@@ -0,0 +1,2 @@
+2019-08-02 Vlad Glagolev <stealth@sourcemage.org>
+ * DEPENDS, DETAILS, BUILD: created spell, version 2.3.2