From nobody Mon Aug 29 15:56:59 2022 X-Original-To: dev-commits-ports-all@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 4MGZnR4kTrz4bPMR; Mon, 29 Aug 2022 15:56:59 +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 4MGZnR33Jcz3CxZ; Mon, 29 Aug 2022 15:56:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661788619; 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=7aeG/fiRAJaaCKe1S/tkHoAE24z4bS6+mkk4wHS2Ixc=; b=oj6plb/TXkRBCNiY1mKD/8i+E61TDRpvZnKiZimgdbdoSdaOzXgaTmRomh0pO5yDtmTa4t GZLG3aY6tNcNip+acNq1ONL99RKAWs77OtDyvbiOLFqCNnm1IGtNFtNXfcabQLqn9UOZar 1OCCIGtXUGeq1hgd+3UYOFSaqQu3ZUBUaIf7bc9AtHbDyNZuIIVyUZiDLkps/kmiq/TtlT mmD9tbVAHPOhKgt9gfVnLckE8j868O5u/DpFmvYqAijrAmmsVNj+Fis30XhOyW5n/ijiVv 8G2SmXidC8CerjJ0u7zKlI/Ucleh67CCUt7v1IyJmerRX1ov/iTrFmTdf7sViQ== 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 4MGZnR1kgDzTfW; Mon, 29 Aug 2022 15:56:59 +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 27TFux2p026340; Mon, 29 Aug 2022 15:56:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27TFux8U026339; Mon, 29 Aug 2022 15:56:59 GMT (envelope-from git) Date: Mon, 29 Aug 2022 15:56:59 GMT Message-Id: <202208291556.27TFux8U026339@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 2bf1fc52aa69 - main - security/libomemo: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2bf1fc52aa698ebd4909c4127ad20dc4b5cbd706 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661788619; 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=7aeG/fiRAJaaCKe1S/tkHoAE24z4bS6+mkk4wHS2Ixc=; b=X/hpEB3lTi+ekxwUJoQJ1abY5tHs6p5nMbASweaW0ksu1tdds/ALiKg1NJRKFWJUEYRxsy o/bIFsHvcnu57Qm/zBm24AMUGIpS0SZLJNfw5SZyagm8Y/9ZI6anToNDFVcwLV6Us2iIDo u9TWte0KfzYC3/vId2UbAQhC1uRgYH8dT3UKQnkpvyG7Ht47tqEdU8AhNNNsH2nOllb1ZJ 0ns6OyIjz2XG5iUiz1g9dRqNOYE/fFB+PTOqfVLgorvS4vk2I3j2DWBrZ4vpHbPvVHDTQc R75HRVwSr02EoohwiL+5/FkoFIEJvOuzZtyBoo06f7hLmPoCK3dg8uS5pwXQ3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661788619; a=rsa-sha256; cv=none; b=yuOOYL+gTRVIv+b0EKavTMwSMEIogXS0KWmjPHDddQOzHWl78FvWxHJcQDCogGmt67Pa7y NguytpFVEEzboB+ML0XY7R/XmynPQ3llH/OHWmGF/zhGMUt1+Nx5Z6KHpjjonK/fgosHFQ XnOAenA7D5OP7Bp5NC52nB/Xjj9ZUlD6nT4VOLjCBlpuWoHji9UZqtXGKPIHGlg7/oWvW8 B6n3rS8LCQaogBcdCaK5c5jJW1fjLXqx4xD5jou/mDpFYpSwUHlPmm5UtNlJYLxcVKTQY0 wowZ6DAUoTECNBi5PftIjPpv5tmWGVPsdjQZMfI97WoxC9HSOxoV0j3+mDDrSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bf1fc52aa698ebd4909c4127ad20dc4b5cbd706 commit 2bf1fc52aa698ebd4909c4127ad20dc4b5cbd706 Author: Cy Schubert AuthorDate: 2022-08-29 15:05:31 +0000 Commit: Cy Schubert CommitDate: 2022-08-29 15:56:44 +0000 security/libomemo: Add new port libomemo implements OMEMO (XEP-0384 v0.3.0) in C. For more information see https://github.com/gkdr/libomemo. PR: 265966 Submitted by: Michael A. Oshin Reported by: Michael A. Oshin --- security/Makefile | 1 + security/libomemo/Makefile | 26 ++++++++++++++++++++++++++ security/libomemo/distinfo | 3 +++ security/libomemo/pkg-descr | 7 +++++++ security/libomemo/pkg-plist | 7 +++++++ 5 files changed, 44 insertions(+) diff --git a/security/Makefile b/security/Makefile index d50a071ef994..c98246ee5b83 100644 --- a/security/Makefile +++ b/security/Makefile @@ -280,6 +280,7 @@ SUBDIR += libmcrypt SUBDIR += libnitrokey SUBDIR += libntlm + SUBDIR += libomemo SUBDIR += liboqs SUBDIR += libotr SUBDIR += libotr3 diff --git a/security/libomemo/Makefile b/security/libomemo/Makefile new file mode 100644 index 000000000000..f012d80d2b20 --- /dev/null +++ b/security/libomemo/Makefile @@ -0,0 +1,26 @@ +PORTNAME= libomemo +DISTVERSIONPREFIX= v +DISTVERSION= 0.8.1 +CATEGORIES= security + +MAINTAINER= micadeyeye@gmail.com +COMMENT= Implements OMEMO in C + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libmxml.so:textproc/mxml + +GH_ACCOUNT= gkdr + +USES= cmake gnome pkgconfig sqlite +USE_GITHUB= yes +USE_GNOME= glib20 +USE_LDCONFIG= yes + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= OMEMO_WITH_TESTS +LDFLAGS+= -L${LOCALBASE}/lib + +.include diff --git a/security/libomemo/distinfo b/security/libomemo/distinfo new file mode 100644 index 000000000000..7662467a1d8c --- /dev/null +++ b/security/libomemo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661585134 +SHA256 (gkdr-libomemo-v0.8.1_GH0.tar.gz) = b64d603f675774c922ae9b0c841dd4dbbb59c3780d6ac60bc40dbcf7b0428519 +SIZE (gkdr-libomemo-v0.8.1_GH0.tar.gz) = 28648 diff --git a/security/libomemo/pkg-descr b/security/libomemo/pkg-descr new file mode 100644 index 000000000000..4913ca55b74b --- /dev/null +++ b/security/libomemo/pkg-descr @@ -0,0 +1,7 @@ +Implements OMEMO (XEP-0384 v0.3.0) in C. + +Input and output are XML strings, so it does not force you to use a certain +XML lib. While the actual protocol functions do not depend on any kind of +storage, it comes with a basic implementation in SQLite. + +WWW: https://github.com/gkdr/libomemo diff --git a/security/libomemo/pkg-plist b/security/libomemo/pkg-plist new file mode 100644 index 000000000000..fe12234529e7 --- /dev/null +++ b/security/libomemo/pkg-plist @@ -0,0 +1,7 @@ +include/libomemo/libomemo.h +include/libomemo/libomemo_crypto.h +include/libomemo/libomemo_storage.h +lib/libomemo.so +lib/libomemo.so.0 +lib/libomemo.so.0.8.1 +libdata/pkgconfig/libomemo.pc