From bb844779e95a477926d641de5949754be2b78878 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Wed, 1 Nov 2017 11:27:54 +0000 Subject: Unbreak support for Feitian ePass2003 token and fix the configure args. PR: 223353 Submitted by: Craig Leres --- security/opensc/Makefile | 21 ++++++++++++++------- security/opensc/distinfo | 4 +++- 2 files changed, 17 insertions(+), 8 deletions(-) (limited to 'security') diff --git a/security/opensc/Makefile b/security/opensc/Makefile index f177dc5aaadc..6f0ddf3de6fc 100644 --- a/security/opensc/Makefile +++ b/security/opensc/Makefile @@ -5,7 +5,11 @@ PORTNAME= opensc PORTVERSION= 0.17.0 PORTREVISION= 1 CATEGORIES= security devel -MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/0.17.0/ +MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/${PORTVERSION}/ + +PATCH_SITES= https://github.com/OpenSC/OpenSC/commit/ +PATCHFILES= 8d7346406d166a9db4afd239e6669df3e3b99f79.patch +PATCH_DIST_STRIP= -p1 MAINTAINER= ale@FreeBSD.org COMMENT= Libraries and utilities to access smart cards @@ -34,16 +38,19 @@ CONFIGURE_ENV= \ PORTDOCS= * -MANPAGES_CONFIGURE_ARGS_OFF=--disable-man +MANPAGES_CONFIGURE_ENABLE= man OPENCT_LIB_DEPENDS= libopenct.so:security/openct -OPENCT_CONFIGURE_ARGS= --enable-openct +OPENCT_CONFIGURE_ENABLE= openct PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite -PCSC_CONFIGURE_ARGS_OFF=--disable-pcsc -CTAPI_CONFIGURE_ARGS= --enable-ctapi -SM_CONFIGURE_ARGS_OFF= --disable-sm -DOCS_CONFIGURE_ARGS+= --enable-doc +PCSC_CONFIGURE_ENABLE= pcsc + +CTAPI_CONFIGURE_ENABLE= ctapi + +SM_CONFIGURE_ENABLE= sm + +DOCS_CONFIGURE_ENABLE= doc .include diff --git a/security/opensc/distinfo b/security/opensc/distinfo index 6586a9a5a2d2..279c14d2fcd0 100644 --- a/security/opensc/distinfo +++ b/security/opensc/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1509027157 +TIMESTAMP = 1509534561 SHA256 (opensc-0.17.0.tar.gz) = be73c6816867ab4721e6a9ae7dba8e890c5f169f0a2cbb4bf354e0f30a948300 SIZE (opensc-0.17.0.tar.gz) = 1950547 +SHA256 (8d7346406d166a9db4afd239e6669df3e3b99f79.patch) = 50cbf9fcb75755407bf4bca01d143e85f3f8df1888ac7c9557a48935d6332573 +SIZE (8d7346406d166a9db4afd239e6669df3e3b99f79.patch) = 15954 -- cgit v1.2.3