From 7939bacc7d9b0f5885c690ac00fe75551226c1ad Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 10 Sep 2009 11:38:56 +0000 Subject: More userfriendly default configuration. --- security/opensc/distinfo | 3 ++- security/opensc/patches/patch-ab | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 security/opensc/patches/patch-ab (limited to 'security/opensc') diff --git a/security/opensc/distinfo b/security/opensc/distinfo index 90906627356..cfb66506884 100644 --- a/security/opensc/distinfo +++ b/security/opensc/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2009/08/03 18:45:31 hasso Exp $ +$NetBSD: distinfo,v 1.5 2009/09/10 11:38:56 hasso Exp $ SHA1 (opensc-0.11.9.tar.gz) = 8e047d8bd02ad3c48de11be85e8a1349d36b4bfb RMD160 (opensc-0.11.9.tar.gz) = c2e9099b79106da447a4613bfdd19a5cd9fbae49 Size (opensc-0.11.9.tar.gz) = 1448948 bytes SHA1 (patch-aa) = 50d7f7a8320541d1d7286e4fd482d63eeb166e86 +SHA1 (patch-ab) = d21e3ba5e21090cea1389566a7ef2cd6ac4a1ac7 diff --git a/security/opensc/patches/patch-ab b/security/opensc/patches/patch-ab new file mode 100644 index 00000000000..2f56e22ac55 --- /dev/null +++ b/security/opensc/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1 2009/09/10 11:38:56 hasso Exp $ + +--- etc/opensc.conf.in.orig 2009-09-09 15:46:28 +0300 ++++ etc/opensc.conf.in 2009-09-09 15:49:29 +0300 +@@ -47,6 +47,7 @@ app default { + # last entry in reader_drivers list + # + # reader_drivers = openct, pcsc, ctapi; ++ reader_drivers = pcsc, ctapi; + + reader_driver ctapi { + # module /usr/local/towitoko/lib/libtowitoko.so { +@@ -87,7 +88,7 @@ app default { + # + # Enable pinpad if detected (PC/SC v2.0.2 Part 10) + # Default: false +- # enable_pinpad = true; ++ enable_pinpad = true; + # + # Use specific pcsc provider. + # Default: @DEFAULT_PCSC_PROVIDER@ +@@ -265,7 +266,7 @@ app default { + # Prefer pkcs15 emulation code before + # the normal pkcs15 processing. + # Default: no +- # try_emulation_first = yes; ++ try_emulation_first = yes; + # + # Enable builtin emulators. + # Default: yes -- cgit v1.2.3