diff --git a/security/Makefile b/security/Makefile index 253e104b564e..02495a5c6b8e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -178,6 +178,7 @@ SUBDIR += gnome-ssh-askpass SUBDIR += gnomint SUBDIR += gnupg + SUBDIR += gnupg-pkcs11-scd SUBDIR += gnupg1 SUBDIR += gnutls SUBDIR += go-cve-dictionary diff --git a/security/gnupg-pkcs11-scd/Makefile b/security/gnupg-pkcs11-scd/Makefile new file mode 100644 index 000000000000..422f3f50b720 --- /dev/null +++ b/security/gnupg-pkcs11-scd/Makefile @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= gnupg-pkcs11-scd +DISTVERSION= 0.9.2 +CATEGORIES= security +MASTER_SITES= https://github.com/alonbl/${PORTNAME}/releases/download/${DISTNAME}/ + +MAINTAINER= mat@FreeBSD.org +COMMENT= PKCS\#11 enabled gnupg scd + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libassuan.so:security/libassuan \ + libgcrypt.so:security/libgcrypt \ + libgnutls.so:security/gnutls \ + libgpg-error.so:security/libgpg-error \ + libpkcs11-helper.so:security/pkcs11-helper + +USES= pkgconfig ssl tar:bz2 + +GNU_CONFIGURE= yes + +CONFIGURE_ARGS= --with-libassuan-prefix=${LOCALBASE} \ + --with-libgcrypt-prefix=${LOCALBASE} \ + --with-libgpg-error-prefix=${LOCALBASE} \ + --without-docs \ + --without-openssl + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/gnupg-pkcs11-scd/gnupg-pkcs11-scd.conf.example \ + ${STAGEDIR}${EXAMPLESDIR}/gnupg-pkcs11-scd.conf + +.include diff --git a/security/gnupg-pkcs11-scd/distinfo b/security/gnupg-pkcs11-scd/distinfo new file mode 100644 index 000000000000..0c33d34b9a75 --- /dev/null +++ b/security/gnupg-pkcs11-scd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1580745692 +SHA256 (gnupg-pkcs11-scd-0.9.2.tar.bz2) = fddd798f8b5f9f960d2a7f6961b00ef7b49b00e8bf069c113a4d42b5e44fd0d5 +SIZE (gnupg-pkcs11-scd-0.9.2.tar.bz2) = 147337 diff --git a/security/gnupg-pkcs11-scd/pkg-descr b/security/gnupg-pkcs11-scd/pkg-descr new file mode 100644 index 000000000000..3ec383f2cbee --- /dev/null +++ b/security/gnupg-pkcs11-scd/pkg-descr @@ -0,0 +1,4 @@ +gnupg-pkcs11 is a project to implement a BSD-licensed smart-card daemon to +enable the use of PKCS#11 tokens with GnuPG. + +WWW: https://github.com/alonbl/gnupg-pkcs11-scd diff --git a/security/gnupg-pkcs11-scd/pkg-plist b/security/gnupg-pkcs11-scd/pkg-plist new file mode 100644 index 000000000000..bfe4390ad3b9 --- /dev/null +++ b/security/gnupg-pkcs11-scd/pkg-plist @@ -0,0 +1,3 @@ +bin/gnupg-pkcs11-scd +man/man1/gnupg-pkcs11-scd.1.gz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gnupg-pkcs11-scd.conf