summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/lurch/Makefile28
-rw-r--r--net-im/lurch/distinfo3
-rw-r--r--net-im/lurch/pkg-descr4
4 files changed, 36 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index fcc834bdcb3e..5dc94eb8ff7f 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -67,6 +67,7 @@
SUBDIR += libsignon-glib
SUBDIR += libstrophe
SUBDIR += loudmouth
+ SUBDIR += lurch
SUBDIR += matterbridge
SUBDIR += matterhorn
SUBDIR += matterircd
diff --git a/net-im/lurch/Makefile b/net-im/lurch/Makefile
new file mode 100644
index 000000000000..da140f39c9b8
--- /dev/null
+++ b/net-im/lurch/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= lurch
+DISTVERSION= 0.7.0
+CATEGORIES= net-im security
+MASTER_SITES= https://github.com/gkdr/lurch/releases/download/v${DISTVERSION}/
+EXTRACT_SUFX= -src.tar.gz
+
+MAINTAINER= micadeyeye@gmail.com
+COMMENT= OMEMO Encryption Library for libpurple (plugin)
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libaxc.so:security/axc \
+ libomemo.so:security/libomemo \
+ libpurple.so:net-im/libpurple \
+ libsignal-protocol-c.so:net/libsignal-protocol-c
+
+USES= gmake gnome pkgconfig
+USE_GNOME= glib20
+
+MAKE_ARGS= USE_DYNAMIC_LIBS=1
+LDFLAGS+= -Wl,--as-needed
+
+PLIST_FILES= lib/purple-2/lurch.so
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/purple-2/lurch.so
+
+.include <bsd.port.mk>
diff --git a/net-im/lurch/distinfo b/net-im/lurch/distinfo
new file mode 100644
index 000000000000..9867fc439bc2
--- /dev/null
+++ b/net-im/lurch/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661579780
+SHA256 (lurch-0.7.0-src.tar.gz) = 1ff595407f72deaa3b83e07d9695c64a4310e1bf38f86811e8b524a7bc7c5a8d
+SIZE (lurch-0.7.0-src.tar.gz) = 401110
diff --git a/net-im/lurch/pkg-descr b/net-im/lurch/pkg-descr
new file mode 100644
index 000000000000..e9677bc79ae9
--- /dev/null
+++ b/net-im/lurch/pkg-descr
@@ -0,0 +1,4 @@
+This plugin brings Axolotl, by now renamed to double ratchet, to libpurple
+applications such as Pidgin by implementing the XEP-0384: OMEMO Encryption.
+
+WWW: https://research.ngportal.com/lurch