aboutsummaryrefslogtreecommitdiffstats
path: root/net/libsignal
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-05-23 01:47:24 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-05-23 01:47:24 +0800
commit4ceff8b0063e36f4442f2362422624f439b89392 (patch)
treeb6cb609b6e0fee5a6e1fce01ad5d64b489f0b183 /net/libsignal
parentf7787acef1c72813e35694db4beeaacd05e2990b (diff)
downloadfreebsd-ports-gnome-4ceff8b0063e36f4442f2362422624f439b89392.tar.gz
freebsd-ports-gnome-4ceff8b0063e36f4442f2362422624f439b89392.tar.zst
freebsd-ports-gnome-4ceff8b0063e36f4442f2362422624f439b89392.zip
Add libsignal 2.3.2
Signal Protocol is a ratcheting forward secrecy protocol that works in synchronous and asynchronous messaging environments. WWW: https://github.com/signalapp/libsignal-protocol-c
Diffstat (limited to 'net/libsignal')
-rw-r--r--net/libsignal/Makefile24
-rw-r--r--net/libsignal/distinfo3
-rw-r--r--net/libsignal/pkg-descr4
-rw-r--r--net/libsignal/pkg-plist23
4 files changed, 54 insertions, 0 deletions
diff --git a/net/libsignal/Makefile b/net/libsignal/Makefile
new file mode 100644
index 000000000000..15a200328a24
--- /dev/null
+++ b/net/libsignal/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libsignal
+PORTVERSION= 2.3.2
+DISTVERSIONPREFIX= v
+CATEGORIES= net
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Signal Protocol C Library
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS
+USES= cmake
+
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+
+GH_ACCOUNT= signalapp
+GH_PROJECT= libsignal-protocol-c
+USE_GITHUB= yes
+
+.include <bsd.port.mk>
diff --git a/net/libsignal/distinfo b/net/libsignal/distinfo
new file mode 100644
index 000000000000..40ab4462fbad
--- /dev/null
+++ b/net/libsignal/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526957760
+SHA256 (signalapp-libsignal-protocol-c-v2.3.2_GH0.tar.gz) = f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+SIZE (signalapp-libsignal-protocol-c-v2.3.2_GH0.tar.gz) = 271930
diff --git a/net/libsignal/pkg-descr b/net/libsignal/pkg-descr
new file mode 100644
index 000000000000..985d31f3306c
--- /dev/null
+++ b/net/libsignal/pkg-descr
@@ -0,0 +1,4 @@
+Signal Protocol is a ratcheting forward secrecy protocol that works in
+synchronous and asynchronous messaging environments.
+
+WWW: https://github.com/signalapp/libsignal-protocol-c
diff --git a/net/libsignal/pkg-plist b/net/libsignal/pkg-plist
new file mode 100644
index 000000000000..e0821f2fa212
--- /dev/null
+++ b/net/libsignal/pkg-plist
@@ -0,0 +1,23 @@
+include/signal/curve.h
+include/signal/device_consistency.h
+include/signal/fingerprint.h
+include/signal/group_cipher.h
+include/signal/group_session_builder.h
+include/signal/hkdf.h
+include/signal/key_helper.h
+include/signal/protocol.h
+include/signal/ratchet.h
+include/signal/sender_key.h
+include/signal/sender_key_record.h
+include/signal/sender_key_state.h
+include/signal/session_builder.h
+include/signal/session_cipher.h
+include/signal/session_pre_key.h
+include/signal/session_record.h
+include/signal/session_state.h
+include/signal/signal_protocol.h
+include/signal/signal_protocol_types.h
+lib/libsignal-protocol-c.so
+lib/libsignal-protocol-c.so.2
+lib/libsignal-protocol-c.so.%%PORTVERSION%%
+libdata/pkgconfig/libsignal-protocol-c.pc