From nobody Tue Sep 06 16:43:34 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 4MMWRV60ntz4c9rR; Tue, 6 Sep 2022 16:43:34 +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 4MMWRV5SFMz3NwQ; Tue, 6 Sep 2022 16:43:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662482614; 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=Vx4ceXyd+CQ7gU8oe4FAfHeAtnM7TqaSSedCVjdM4gc=; b=YZtFiF8KTET1iA+4t+2p773Y8N0uGrdTivAWHrLxuc+8d4F6fkI/khJOmj8lKmwpgI3LPF LG4il5N7u4sPrYrcm4tSs561q8QkwrpM25i9vmcCApcQsSS6SptXwGhahW/i6+nEz5vSdM IfKxlwiJPJLBNJPYO6siFjRHA9tCLxs9GdTu0wN4yWqrFlgpuhx5dfd3EFGOZRaC5eUQxK /c7FnBAPmjsaITRbd6x0rmGcsH/iQdiM/Xhe3DdfEfEm3jK4z5J39ZkyQX3WbFEenyTr3x 0mFuk+gk0iwovqKQrzB4cyNNIca6xYhd7+WhKqeXc6+szqJrlgaZ/jtV2XjDZQ== 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 4MMWRV4Sm2zDxr; Tue, 6 Sep 2022 16:43:34 +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 286GhYBe034421; Tue, 6 Sep 2022 16:43:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 286GhYk6034420; Tue, 6 Sep 2022 16:43:34 GMT (envelope-from git) Date: Tue, 6 Sep 2022 16:43:34 GMT Message-Id: <202209061643.286GhYk6034420@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: d7813e3aeb6d - main - security/axc: Add 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: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7813e3aeb6da2b982eeab6696b9090632c5e692 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662482614; 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=Vx4ceXyd+CQ7gU8oe4FAfHeAtnM7TqaSSedCVjdM4gc=; b=SQvWCUza1v52lZeXXD/qy3GjHMga1zzdwuCOLDzvGXXsBZ7HA3ca/K4nW7mEDeFUH/grEB xJeqdm7WSR7zdVIUcgj1MX6uUQMRKLVttqv1+mEvGt5liWPd1HCQQE6bRLE980rWWKzpxx 0wjJHpjiWDPFJmdgJuYJVdDH7dEy9RJcH1alwJsdaZYd5mCbRt++E1EfLrmsFwzksdrjal Mk8ztsygLYBhA1r+XKjCLGd7caasQYfaJuvoEsJxpq2+72KQTEj5Hp8xccEz5r77fg2tNZ yIEKQiV5cf/aBNEnkcm8gUW1YU1WKYN5JkOsXxeUXm9KEFrvXvhr3u9ocGilfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662482614; a=rsa-sha256; cv=none; b=AaHQSB6pC9005/T0NaOUq3ZS4rD+R2G4T47AtIKHi4AOfuNsmDWavounaC1JZjsPCAQ0Ie 2lO8ur2GxySuk+CWeyD3P3pl3kuJ+nf8DnYFo7V8X8p3KhNLp/evMR6qUzujaRl7vRKnBd w24s5hLYnp/xLD1ni+UR/DuIQPwm9qI7AVWQuwwSzGRi4W5kpOTCHjOVOURY0NiAHNs+aM jvOdTW40cvpCIp52GUzHSERZpmS+2rerBEhHeImEB0PKy9+QhRKzg3K4mJJTEZVWdeGJy+ Jyf7f79962Wq7G/0sF3D1LnISGrAHnIftU2ljOD/Y8lv0kIBLtxlY8esQV88og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7813e3aeb6da2b982eeab6696b9090632c5e692 commit d7813e3aeb6da2b982eeab6696b9090632c5e692 Author: Daniel Engberg AuthorDate: 2022-08-30 15:06:33 +0000 Commit: Felix Palmen CommitDate: 2022-09-06 16:42:12 +0000 security/axc: Add new port Client lib providing crypto interfaces for libsignal-protocol-c. PR: 266104 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36468 --- security/Makefile | 1 + security/axc/Makefile | 32 ++++++++++++++++++++++++++++++++ security/axc/distinfo | 7 +++++++ security/axc/pkg-descr | 8 ++++++++ security/axc/pkg-plist | 7 +++++++ 5 files changed, 55 insertions(+) diff --git a/security/Makefile b/security/Makefile index e536f5926a1b..b5b93b5e6c7c 100644 --- a/security/Makefile +++ b/security/Makefile @@ -39,6 +39,7 @@ SUBDIR += aws-c-cal SUBDIR += aws-iam-authenticator SUBDIR += aws-vault + SUBDIR += axc SUBDIR += barnyard2 SUBDIR += barnyard2-sguil SUBDIR += bastillion diff --git a/security/axc/Makefile b/security/axc/Makefile new file mode 100644 index 000000000000..e92c3884df5f --- /dev/null +++ b/security/axc/Makefile @@ -0,0 +1,32 @@ +PORTNAME= axc +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.7 +CATEGORIES= security net + +PATCH_SITES= https://github.com/gkdr/axc/commit/ +PATCHFILES= c287e25143fc54486c8a8a86f9abb64ce1753372.patch:-p1 \ + ba53eb408f793652495d7d73775c33487e6cc8d0.patch:-p1 + +MAINTAINER= micadeyeye@gmail.com +COMMENT= Crypto interfaces for libsignal-protocol-c + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libgpg-error.so:security/libgpg-error \ + libsignal-protocol-c.so:net/libsignal-protocol-c + +USES= cmake gnome localbase:ldflags pathfix pkgconfig sqlite +USE_GITHUB= yes +GH_ACCOUNT= gkdr +USE_GNOME= glib20 +USE_LDCONFIG= yes + +OPTIONS_DEFINE= TEST + +TEST_BUILD_DEPENDS= cmocka>=1.1.5:sysutils/cmocka +TEST_CMAKE_BOOL= AXC_WITH_TESTS +TEST_TEST_TARGET= test + +.include diff --git a/security/axc/distinfo b/security/axc/distinfo new file mode 100644 index 000000000000..7520b6f0e11f --- /dev/null +++ b/security/axc/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1661868709 +SHA256 (gkdr-axc-v0.3.7_GH0.tar.gz) = eb1fb85c29dd1f9edc2ac23d6c29220345d7679720ff3d6fb90b328898806fb8 +SIZE (gkdr-axc-v0.3.7_GH0.tar.gz) = 41742 +SHA256 (c287e25143fc54486c8a8a86f9abb64ce1753372.patch) = b4d12a0528524b42436776525d598f17a47d878cc74aa8e3b85444e0cbf9498b +SIZE (c287e25143fc54486c8a8a86f9abb64ce1753372.patch) = 1767 +SHA256 (ba53eb408f793652495d7d73775c33487e6cc8d0.patch) = a0de2c82a67768684bfcf27414e4612e374c0776565ded7efcb5062b73702256 +SIZE (ba53eb408f793652495d7d73775c33487e6cc8d0.patch) = 9545 diff --git a/security/axc/pkg-descr b/security/axc/pkg-descr new file mode 100644 index 000000000000..8cbb9d883250 --- /dev/null +++ b/security/axc/pkg-descr @@ -0,0 +1,8 @@ +Client lib for libsignal-c, implementing the needed database and crypto +interfaces using SQLite and gcrypt. + +Additionally it provides utility functions for common use cases like +encrypting and decrypting, ultimately making direct use of libsignal +unnecessary. + +WWW: https://github.com/gkdr/axc diff --git a/security/axc/pkg-plist b/security/axc/pkg-plist new file mode 100644 index 000000000000..26cc0016e94b --- /dev/null +++ b/security/axc/pkg-plist @@ -0,0 +1,7 @@ +include/axc/axc.h +include/axc/axc_crypto.h +include/axc/axc_store.h +lib/libaxc.so +lib/libaxc.so.0 +lib/libaxc.so.0.3.7 +libdata/pkgconfig/libaxc.pc