Skip to content

Commit

Permalink
net-im/lurch: Add new port
Browse files Browse the repository at this point in the history
OMEMO Encryption Library for libpurple (plugin)

PR:			266105
  • Loading branch information
micadeyeye authored and Zirias committed Sep 7, 2022
1 parent b86221f commit 422c41d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-im/Makefile
Expand Up @@ -67,6 +67,7 @@
SUBDIR += libsignon-glib
SUBDIR += libstrophe
SUBDIR += loudmouth
SUBDIR += lurch
SUBDIR += matterbridge
SUBDIR += matterhorn
SUBDIR += matterircd
Expand Down
28 changes: 28 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
4 changes: 4 additions & 0 deletions 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

0 comments on commit 422c41d

Please sign in to comment.