From nobody Wed Jun 15 22:49:10 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BB3BB8424ED; Wed, 15 Jun 2022 22:49:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LNgTf4whlz4mlt; Wed, 15 Jun 2022 22:49:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655333350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8MR1bVAfMLNri7hxyh3RuejRs29dDYOzGFcn0FjlfG4=; b=B/JGzPe3n0fPm/u+nvBpNvjvLTZi6haOlCrPl7MjQRaunp1nnmQxJApogLQHDm/++0a0hN P9ZuTe6gjyi83+H12IzXymfg7nJpFrG2MG25QCkWPCJzaRpdvgfqpiBB15LpcgMTV3VScG L2obeQM/IA1FtK2Um3YV2ly+YuCm6JTzanRs2qqO0bYDCtZjSf0iTp4bEnxM7PlHQMwPKf U4hgKiISDfqNHuiNQ3ncMqIiGswPYWu1YarrnsYrSsYdDyi83FgBK9Zo4XdlseT4fcmzX9 tY1RWFRyAsk79UyuNCCwCzzjo8h7EWnrjjF0e+ifBn+23VQpxp12xK8eRW3EiQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8AFBA26FEB; Wed, 15 Jun 2022 22:49:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25FMnA8i066871; Wed, 15 Jun 2022 22:49:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25FMnAXc066870; Wed, 15 Jun 2022 22:49:10 GMT (envelope-from git) Date: Wed, 15 Jun 2022 22:49:10 GMT Message-Id: <202206152249.25FMnAXc066870@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 9209bd43dfe3 - main - security/lime: New Port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9209bd43dfe3b97a1ae123ef93220eb95242ff60 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655333350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8MR1bVAfMLNri7hxyh3RuejRs29dDYOzGFcn0FjlfG4=; b=UTPZDQknMaVUG5xz2JE65VSPFGeLLVTtfK0Oav32knzmKVyFRl4oHBtpF3zn4V5RaDW17F a0pH4QMTzKIuoNpoHZvxEF2d0rUB6yTZGH639b88iw6DVGXj/CNST95qZYexCfCT1w9X4R JuQBc51al7+7YBRhP+1KcZoQ5uzM5Gbz8X+guHdUqouilvAnEsJHE9tnMKEqruDfmvrCoG Mi60ClVsu9Rxayx8b41Jpe/vksaYNjOSggyhP1S6gP2kf34Hs/z7Mvd5VeIF8FO7qGrTAo o+YLNy8/H2WOxtTakSV21wqkxTMqaztig0pLWbTxcZJxprmZYO6AjOUqpXF3sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655333350; a=rsa-sha256; cv=none; b=C62LAGtDDMwsqrx401s/6WrL8PenrXcFvgw77veifb//Uri2EhwYIUwiqGkj3a+HpvEA5q OrUtaaBXjKzIg6rhbZP82G226lIyiH0uLveOTmE2qsxphi6B6RglYneZlZePG09hBYYH6k p4L1PrZJoB52EysDd185BtALw1e0/+8pxyEwwt/FtBjs/O1bOmGeOto33Q6J27QuGQVk8S nbjWo/061JwW5dkQ7SDao12H2KFJG/ycJRRFYHdgUFAROK+SUQS7sr6K9QMkRN8FHXWWR0 ziPGc9EdRgMpFwGcZF4VvpIPtuhlScZlSeZmkwi1Al+moqYwF4lb0om8CUwdIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9209bd43dfe3b97a1ae123ef93220eb95242ff60 commit 9209bd43dfe3b97a1ae123ef93220eb95242ff60 Author: Muhammad Moinur Rahman AuthorDate: 2022-06-15 22:48:30 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-06-15 22:48:30 +0000 security/lime: New Port LIME is an end-to-end encryption library for one-to-one and group instant messaging, allowing users to exchange messages privately and asynchronously. It uses modern ciphering curve X448 and double ratchet algorithm for perfect forward secrecy. LIME is composed of a portable client library coupled with a public key server developed by Belledonne Communications to allow end-to-end encryption for messaging, without having to exchange cryptographic keys simultaneously. The library exposes a C, C++, Python and Java API for easy integration in mobile and desktop environments. LIME supports multiple devices per user and multiple users per device. WWW: https://www.linphone.org/technical-corner/lime --- security/Makefile | 1 + security/lime/Makefile | 25 +++++++++++++++++++++++++ security/lime/distinfo | 3 +++ security/lime/pkg-descr | 16 ++++++++++++++++ security/lime/pkg-plist | 12 ++++++++++++ 5 files changed, 57 insertions(+) diff --git a/security/Makefile b/security/Makefile index 46f8b786c3cc..c0f28b886a9e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -314,6 +314,7 @@ SUBDIR += libxcrypt SUBDIR += libyubikey SUBDIR += libzrtpcppcore + SUBDIR += lime SUBDIR += linux-bitwarden-cli SUBDIR += linux-c7-cyrus-sasl2 SUBDIR += linux-c7-gnutls diff --git a/security/lime/Makefile b/security/lime/Makefile new file mode 100644 index 000000000000..66b66501df73 --- /dev/null +++ b/security/lime/Makefile @@ -0,0 +1,25 @@ +PORTNAME= lime +PORTVERSION= 5.0.8 +CATEGORIES= security + +MAINTAINER= bofh@FreeBSD.org +COMMENT= End-to-end encryption library for instant messaging + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \ + libbellesip.so:net/belle-sip \ + libsoci_sqlite3.so:databases/soci + +USES= cmake +USE_GITLAB= yes +GL_SITE= https://gitlab.linphone.org/BC +GL_ACCOUNT= public +GL_COMMIT= 242c5b26a62ccd8d9ecaa7efbd15aa7697fe027b + +CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE} \ + -DENABLE_STATIC=NO \ + -DENABLE_STRICT=NO + +.include diff --git a/security/lime/distinfo b/security/lime/distinfo new file mode 100644 index 000000000000..01f6ee384bbf --- /dev/null +++ b/security/lime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655332338 +SHA256 (public-lime-242c5b26a62ccd8d9ecaa7efbd15aa7697fe027b_GL0.tar.gz) = 611d7e42ba853b7d038ed137dc3b6a36ee816ee31b9866ebce7051be3ed0d375 +SIZE (public-lime-242c5b26a62ccd8d9ecaa7efbd15aa7697fe027b_GL0.tar.gz) = 526442 diff --git a/security/lime/pkg-descr b/security/lime/pkg-descr new file mode 100644 index 000000000000..a48748eae081 --- /dev/null +++ b/security/lime/pkg-descr @@ -0,0 +1,16 @@ +LIME is an end-to-end encryption library for one-to-one and group +instant messaging, allowing users to exchange messages privately and +asynchronously. It uses modern ciphering curve X448 and double ratchet +algorithm for perfect forward secrecy. + +LIME is composed of a portable client library coupled with a public key +server developed by Belledonne Communications to allow end-to-end +encryption for messaging, without having to exchange cryptographic keys +simultaneously. + +The library exposes a C, C++, Python and Java API for easy integration +in mobile and desktop environments. + +LIME supports multiple devices per user and multiple users per device. + +WWW: https://www.linphone.org/technical-corner/lime diff --git a/security/lime/pkg-plist b/security/lime/pkg-plist new file mode 100644 index 000000000000..04eed13c394e --- /dev/null +++ b/security/lime/pkg-plist @@ -0,0 +1,12 @@ +bin/lime_tester +include/lime/lime.hpp +lib/liblime.so +lib/liblime.so.0 +%%DATADIR%%/cmake/limeConfig.cmake +%%DATADIR%%/cmake/limeTargets-%%CMAKE_BUILD_TYPE%%.cmake +%%DATADIR%%/cmake/limeTargets.cmake +%%DATADIR%%_tester/data/cacert.pem +%%DATADIR%%_tester/data/pattern_getSelfIk.C25519.sqlite3 +%%DATADIR%%_tester/data/pattern_getSelfIk.C448.sqlite3 +%%DATADIR%%_tester/data/sip5.linphone.org.selfsigned-cert.pem +%%DATADIR%%_tester/data/x3dh-cert.pem