diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-11-28 07:00:17 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-11-28 07:00:17 +0000 |
commit | 5ffe8f1d53ce85146aee41b84ef88ce799871a00 (patch) | |
tree | cf2aeb91e66c84e9f7d2ef5d848ff69cd5fa8c17 /security/opensc | |
parent | 3e3832132a947ad72eb33e52ba7d7798e24bfe94 (diff) | |
download | ports-5ffe8f1d53ce85146aee41b84ef88ce799871a00.tar.gz ports-5ffe8f1d53ce85146aee41b84ef88ce799871a00.zip |
Notes
Diffstat (limited to 'security/opensc')
-rw-r--r-- | security/opensc/Makefile | 28 | ||||
-rw-r--r-- | security/opensc/distinfo | 6 | ||||
-rw-r--r-- | security/opensc/pkg-plist | 5 |
3 files changed, 31 insertions, 8 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile index 254e9e8f395e..9fd914caeeb6 100644 --- a/security/opensc/Makefile +++ b/security/opensc/Makefile @@ -6,15 +6,17 @@ # PORTNAME= opensc -PORTVERSION= 0.11.1 +DISTVERSION= 0.11.2-pre3 CATEGORIES= security devel -MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ +MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ \ + http://www.opensc-project.org/files/${PORTNAME}/testing/ MAINTAINER= ale@FreeBSD.org COMMENT= Libraries and utilities to access smart cards OPTIONS= OPENCT "Install openct for direct OpenCT backend support" on \ - PCSC "Install pcsc-lite for PC/SC backend support" off + PCSC "Install pcsc-lite for PC/SC backend support" off \ + SIGNER "Install signer browser plugin" off USE_AUTOTOOLS= libltdl:15 USE_OPENSSL= yes @@ -23,14 +25,16 @@ GNU_CONFIGURE= yes USE_GNOME= gnomehack pkgconfig INSTALLS_SHLIB= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -I${X11BASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" +CONFIGURE_ARGS= --mandir=${PREFIX}/man + DOC_FILES= README *.sh *.xsl *.css *.html api html tools PORTDOCS= * @@ -71,6 +75,20 @@ LIB_DEPENDS+= openct.1:${PORTSDIR}/security/openct LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite .endif +.if defined(WITH_SIGNER) || exists(${LOCALBASE}/lib/libassuan.a) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan +PINENTRY?= ${LOCALBASE}/bin/pinentry +PINENTRY_PORT?= security/pinentry +RUN_DEPENDS+= pinentry:${PORTSDIR}/${PINENTRY_PORT} +USE_XLIB= yes +CONFIGURE_ARGS+=--with-libassuan-prefix=${LOCALBASE} \ + --with-plugin-dir=${LOCALBASE}/lib/browser_plugins \ + --with-pin-entry=${PINENTRY} +PLIST_SUB+= SIGNER="" +.else +PLIST_SUB+= SIGNER="@comment " +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/etc/opensc.conf ${PREFIX}/etc/opensc.conf-sample .ifndef(NOPORTDOCS) diff --git a/security/opensc/distinfo b/security/opensc/distinfo index 6c1c72d8e7fc..426250c6d1e3 100644 --- a/security/opensc/distinfo +++ b/security/opensc/distinfo @@ -1,3 +1,3 @@ -MD5 (opensc-0.11.1.tar.gz) = 94ce00a6bda38fac10ab06f5d5d1a8c3 -SHA256 (opensc-0.11.1.tar.gz) = 6c2285b6a838903e2da9d72e997d4f3f5a59c7a31d47c98f864b350b116d365c -SIZE (opensc-0.11.1.tar.gz) = 1263611 +MD5 (opensc-0.11.2-pre3.tar.gz) = 46a5ea72b3cc447f970de0a103e479e4 +SHA256 (opensc-0.11.2-pre3.tar.gz) = e2f9c0427e60e5487cdcb4847d080fbee06dc9c2a67edc4b791c7bfd63b484fc +SIZE (opensc-0.11.2-pre3.tar.gz) = 1302861 diff --git a/security/opensc/pkg-plist b/security/opensc/pkg-plist index e117833d0833..a5980ad9b72b 100644 --- a/security/opensc/pkg-plist +++ b/security/opensc/pkg-plist @@ -31,6 +31,10 @@ include/opensc/ui.h libdata/pkgconfig/libopensc.pc libdata/pkgconfig/libpkcs15init.pc libdata/pkgconfig/libscconf.pc +%%SIGNER%%lib/browser_plugins/opensc-signer.so +%%SIGNER%%lib/opensc-signer.a +%%SIGNER%%lib/opensc-signer.la +%%SIGNER%%lib/opensc-signer.so lib/libopensc.a lib/libopensc.la lib/libopensc.so @@ -56,6 +60,7 @@ lib/pkcs11-spy.so %%DATADIR%%/incrypto34.profile %%DATADIR%%/jcop.profile %%DATADIR%%/miocos.profile +%%DATADIR%%/muscle.profile %%DATADIR%%/oberthur.profile %%DATADIR%%/pkcs15.profile %%DATADIR%%/setcos.profile |