1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

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
This commit is contained in:
Daniel Engberg 2022-08-30 15:06:33 +00:00 committed by Felix Palmen
parent 6805cb43f5
commit d7813e3aeb
5 changed files with 55 additions and 0 deletions

View File

@ -39,6 +39,7 @@
SUBDIR += aws-c-cal
SUBDIR += aws-iam-authenticator
SUBDIR += aws-vault
SUBDIR += axc
SUBDIR += barnyard2
SUBDIR += barnyard2-sguil
SUBDIR += bastillion

32
security/axc/Makefile Normal file
View File

@ -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 <bsd.port.mk>

7
security/axc/distinfo Normal file
View File

@ -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

8
security/axc/pkg-descr Normal file
View File

@ -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

7
security/axc/pkg-plist Normal file
View File

@ -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