aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/opensc/Makefile7
-rw-r--r--security/opensc/distinfo6
-rw-r--r--security/opensc/files/patch-configure11
3 files changed, 18 insertions, 6 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index b7a53db4b792..48457bf6dbb3 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= opensc
-DISTVERSION= 0.11.3
+DISTVERSION= 0.11.4
CATEGORIES= security devel
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ \
http://www.opensc-project.org/files/${PORTNAME}/testing/
@@ -16,7 +16,7 @@ COMMENT= Libraries and utilities to access smart cards
OPTIONS= OPENCT "Enable direct OpenCT backend support" on \
PCSC "Enable PC/SC backend support" off \
- SIGNER "Install signer browser plugin" off
+ SIGNER "Enable signer browser plugin" off
USE_AUTOTOOLS= libltdl:15
USE_OPENSSL= yes
@@ -77,7 +77,7 @@ LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
CONFIGURE_ARGS+=--disable-pcsc-lite
.endif
-.if defined(WITH_SIGNER) || exists(${LOCALBASE}/lib/libassuan.a)
+.if defined(WITH_SIGNER)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan
PINENTRY?= ${LOCALBASE}/bin/pinentry
PINENTRY_PORT?= security/pinentry
@@ -88,6 +88,7 @@ CONFIGURE_ARGS+=--with-libassuan-prefix=${LOCALBASE} \
--with-pin-entry=${PINENTRY}
PLIST_SUB+= SIGNER=""
.else
+CONFIGURE_ARGS+=--disable-nsplugin
PLIST_SUB+= SIGNER="@comment "
.endif
diff --git a/security/opensc/distinfo b/security/opensc/distinfo
index 60862e617197..e133bd04693c 100644
--- a/security/opensc/distinfo
+++ b/security/opensc/distinfo
@@ -1,3 +1,3 @@
-MD5 (opensc-0.11.3.tar.gz) = 10897652e1f8d08d3c953982a4237f2e
-SHA256 (opensc-0.11.3.tar.gz) = 4ef75dee81a71470911eaca0e0fd3a761c8a16cb53759e443f835137d530f197
-SIZE (opensc-0.11.3.tar.gz) = 1414740
+MD5 (opensc-0.11.4.tar.gz) = 2031aa617be609d50d014d5d370bb8a2
+SHA256 (opensc-0.11.4.tar.gz) = 8534e82dd53208c82a29961455f29d8f3b6350fa2be721e537463d8f6f9d6164
+SIZE (opensc-0.11.4.tar.gz) = 1410650
diff --git a/security/opensc/files/patch-configure b/security/opensc/files/patch-configure
new file mode 100644
index 000000000000..d70c83fdedda
--- /dev/null
+++ b/security/opensc/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2007-09-10 18:51:01.000000000 +0200
++++ configure 2007-09-10 18:51:56.000000000 +0200
+@@ -23559,7 +23559,7 @@
+ if test "x${ASSUAN_MSG}" != "xyes" -o "x${OPENSSL_MSG}" != "xyes"; then
+ ENABLE_NSPLUGIN="no"
+ fi
+-if test "x${ENABLE_NSPLUGIN}" == "xyes"; then
++if test "x${ENABLE_NSPLUGIN}" = "xyes"; then
+
+
+ if true; then