diff --git a/security/Makefile b/security/Makefile index 7072397ea4be..1bf3109c8907 100644 --- a/security/Makefile +++ b/security/Makefile @@ -295,6 +295,7 @@ SUBDIR += libkpass SUBDIR += libksba SUBDIR += libmcrypt + SUBDIR += libnitrokey SUBDIR += libntlm SUBDIR += libotr SUBDIR += libotr3 diff --git a/security/libnitrokey/Makefile b/security/libnitrokey/Makefile new file mode 100644 index 000000000000..40e07db9c66d --- /dev/null +++ b/security/libnitrokey/Makefile @@ -0,0 +1,25 @@ +# Created by: Thibault Payet +# $FreeBSD$ + +PORTNAME= libnitrokey +DISTVERSIONPREFIX= v +DISTVERSION= 3.6-RC1 +CATEGORIES= security + +MAINTAINER= monwarez@mailoo.org +COMMENT= Libnitrokey is a project to communicate with Nitrokey devices + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libhidapi.so:comms/hidapi \ + libudev.so:devel/libudev-devd + +USES= cmake pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= Nitrokey + +USE_LDCONFIG= yes + +.include diff --git a/security/libnitrokey/distinfo b/security/libnitrokey/distinfo new file mode 100644 index 000000000000..acf6e29d3244 --- /dev/null +++ b/security/libnitrokey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1597945114 +SHA256 (Nitrokey-libnitrokey-v3.6-RC1_GH0.tar.gz) = 73e97a0be913f1ad5bdc91c24184bb7eb39cab938e652dd541371fc1b52c8b31 +SIZE (Nitrokey-libnitrokey-v3.6-RC1_GH0.tar.gz) = 97944 diff --git a/security/libnitrokey/pkg-descr b/security/libnitrokey/pkg-descr new file mode 100644 index 000000000000..af2234fb55b8 --- /dev/null +++ b/security/libnitrokey/pkg-descr @@ -0,0 +1,6 @@ +libnitrokey is a project to communicate with Nitrokey Pro and Storage devices +in a clean and easy manner. Written in C++14, testable with py.test +and Catch frameworks, with C API, Python access +(through CFFI and C API, in future with Pybind11). + +WWW: https://github.com/Nitrokey/libnitrokey diff --git a/security/libnitrokey/pkg-message b/security/libnitrokey/pkg-message new file mode 100644 index 000000000000..30f507d46146 --- /dev/null +++ b/security/libnitrokey/pkg-message @@ -0,0 +1,7 @@ +[ +{ type: install + message: <