Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 738907A271 for ; Thu, 4 Aug 2016 13:08:27 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id DCF0285E44; Thu, 4 Aug 2016 13:08:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6F10285E1A for ; Thu, 4 Aug 2016 13:08:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vuoajvSF_wf3 for ; Thu, 4 Aug 2016 13:08:25 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6620984CEE for ; Thu, 4 Aug 2016 13:08:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5CCFBFBB5; Thu, 4 Aug 2016 13:08:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_147031610562660" MIME-Version: 1.0 Date: Thu, 4 Aug 2016 13:08:25 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/security/opensc To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20160804130825.5CCFBFBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_147031610562660 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mef Date: Thu Aug 4 13:08:25 UTC 2016 Modified Files: pkgsrc/security/opensc: Makefile PLIST distinfo pkgsrc/security/opensc/patches: patch-aa patch-configure.ac patch-src_libopensc_log.c Removed Files: pkgsrc/security/opensc/patches: patch-src_pkcs11_pkcs11-global.c Log Message: Updated security/opensc to 0.16.0 -------------------------------- New in 0.16.0; 2016-05-15 * build link OpenSSL in static option: enable PKCS11 thread locking * configuration use one configuration file for all systems * tools: package revision as version ** pkcs11-tool keygen mechanism in pkcs11 tools write GOST public key fix CKA_SENSITIVE attribute of public keys ** opensc-explorer: added command find_tags allow ASN.1 decoding if the file seems incomplete ** pkcs15-tool: handle record-based files when doing file caching option to prine raw data ** sc-hsm-tool: status info support for SmartCard-HSM V2.0 ** doc: some missing options are documented, added documentation for gid tool * minidriver: support for ECC Windows x509 enrollment first implementation of CardDeleteContainer MD logs controlled by register and environment variable * reader-pcsc fixed unreleased locks with pcsc-lite honour PC/SC pt 10 dwMaxAPDUDataSize added call back for getting vendor/product id restrict access to card handles after fork SCardGetAttrib is used to initialize reader's metadata by default only short APDUs supported * pkcs11 no slot reserved for hot plug no more slot created 'per-applications' atomic operation (TODO: expand) export all C_* symbols metadata initialized from package info fix registering pkcs11 mechanisms multiple times sloppy initialization for C_GetSlotInfo * pkcs15 cache of on-card files extended to application paths configuration option to enable/disable application make file cache dir configurable in key info data type introduced 'auxiliary data' -- container for the non-pkc15 data. * OpenPGP support for Gnuk -- USB cryptographic token for GNU Privacy Guard build without OpenSSL implemented 'erase card' additional manufacturers * MyEID support for 521 bit ECC keys ATRs for the new cards * sc-hsm read/write support in minidriver * rtecp delete keys * GemSafeV1 support for European Patent Office smart card sign with SHA256 * Gids first support for Gids smart card * dnie * Feitian PKI card new ATRs * IsoApplet (fixes) * starcos initial support for STARCOS 3.4 (German D-Trust cards) * macosx install tokend to /Library/Security/ instead /System/Library/Security/ fixed locking issue in pcsc reader * PIV allow using of cards where default application in not PIV support for the Yubikey NEO * italian-CNS italian-cns reg file for minidriver To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 pkgsrc/security/opensc/Makefile cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/opensc/PLIST cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/opensc/distinfo cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/opensc/patches/patch-aa cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/opensc/patches/patch-configure.ac \ pkgsrc/security/opensc/patches/patch-src_libopensc_log.c cvs rdiff -u -r1.4 -r0 \ pkgsrc/security/opensc/patches/patch-src_pkcs11_pkcs11-global.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_147031610562660 Content-Disposition: inline Content-Length: 6879 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/opensc/Makefile diff -u pkgsrc/security/opensc/Makefile:1.24 pkgsrc/security/opensc/Makefile:1.25 --- pkgsrc/security/opensc/Makefile:1.24 Sat Mar 5 11:29:22 2016 +++ pkgsrc/security/opensc/Makefile Thu Aug 4 13:08:25 2016 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2016/03/05 11:29:22 jperkin Exp $ +# $NetBSD: Makefile,v 1.25 2016/08/04 13:08:25 mef Exp $ -OPENSC_PKG_VERSION= 0.15.0 +OPENSC_PKG_VERSION= 0.16.0 DISTNAME= opensc-${OPENSC_PKG_VERSION} -PKGREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opensc/OpenSC/opensc-0.13.0/} Index: pkgsrc/security/opensc/PLIST diff -u pkgsrc/security/opensc/PLIST:1.8 pkgsrc/security/opensc/PLIST:1.9 --- pkgsrc/security/opensc/PLIST:1.8 Mon Sep 7 19:59:42 2015 +++ pkgsrc/security/opensc/PLIST Thu Aug 4 13:08:25 2016 @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.8 2015/09/07 19:59:42 gdt Exp $ +@comment $NetBSD: PLIST,v 1.9 2016/08/04 13:08:25 mef Exp $ bin/cardos-tool bin/cryptoflex-tool bin/dnie-tool bin/eidenv +bin/gids-tool bin/iasecc-tool bin/netkey-tool bin/openpgp-tool @@ -27,6 +28,7 @@ man/man1/cardos-tool.1 man/man1/cryptoflex-tool.1 man/man1/dnie-tool.1 man/man1/eidenv.1 +man/man1/gids-tool.1 man/man1/iasecc-tool.1 man/man1/netkey-tool.1 man/man1/openpgp-tool.1 @@ -49,6 +51,7 @@ share/opensc/cyberflex.profile share/opensc/entersafe.profile share/opensc/epass2003.profile share/opensc/flex.profile +share/opensc/gids.profile share/opensc/gpk.profile share/opensc/ias_adele_admin1.profile share/opensc/ias_adele_admin2.profile Index: pkgsrc/security/opensc/distinfo diff -u pkgsrc/security/opensc/distinfo:1.13 pkgsrc/security/opensc/distinfo:1.14 --- pkgsrc/security/opensc/distinfo:1.13 Wed Nov 4 01:17:52 2015 +++ pkgsrc/security/opensc/distinfo Thu Aug 4 13:08:25 2016 @@ -1,14 +1,13 @@ -$NetBSD: distinfo,v 1.13 2015/11/04 01:17:52 agc Exp $ +$NetBSD: distinfo,v 1.14 2016/08/04 13:08:25 mef Exp $ -SHA1 (opensc-0.15.0.tar.gz) = 5bacb5814337af32ee85d49f420acc69ac961106 -RMD160 (opensc-0.15.0.tar.gz) = 90ff185bc82ab0d2b6487ca0fc00310609a674a5 -SHA512 (opensc-0.15.0.tar.gz) = 8d5f84206faa7f673be4ea559025b1317c69636bee0265c466f4fdc5a0a78c7f091df946f90d7622cc5497d57a782bce47edbc67b2c7338053dcd848708399ac -Size (opensc-0.15.0.tar.gz) = 2153075 bytes -SHA1 (patch-aa) = 6863c837654b4fde76fbc7a95fe7fdae33590a50 +SHA1 (opensc-0.16.0.tar.gz) = 8a5616ac514c4fbad50b0505dc61f082de3e479c +RMD160 (opensc-0.16.0.tar.gz) = f785df816560493baceb71e2197346c724fc0834 +SHA512 (opensc-0.16.0.tar.gz) = 15f7d62388dde6dad226acab3cd54f8e2f2f53684dc0cb976c6fc6fbdb4487be931ca69bf965ab07c51efd16be64d5411f10bacea11a07fc823c92dd7bb25139 +Size (opensc-0.16.0.tar.gz) = 1760418 bytes +SHA1 (patch-aa) = 8344b445def1b1b63519e97fd0185c5cf4b3b636 SHA1 (patch-ab) = c8a8a21ed7fe387aa93e6454e30d284d77ffd67c -SHA1 (patch-configure.ac) = 7cf3afaf292c89ec990935e5a5d64bd015a9b1ce +SHA1 (patch-configure.ac) = 9031a51162d883b3e3118820d400e07ef99dbad9 SHA1 (patch-doc_tools_Makefile.am) = bbfb4ae09bfeef5f4d2ca36da3efda6d1a699a0d SHA1 (patch-src_common_compat__getopt.h) = a9c4fad2d1fd73f5b2c245a364cfd37d838f51eb SHA1 (patch-src_common_compat__getopt__main.c) = 96d51499ea6d48bd53a17e3849c44ae4e0c9b669 -SHA1 (patch-src_libopensc_log.c) = eabe66dd52cedf81b3dffa01e5855a6b4a70416a -SHA1 (patch-src_pkcs11_pkcs11-global.c) = 3390c14a61f4b50d7903faa1c300b3677a4831ac +SHA1 (patch-src_libopensc_log.c) = 1f6107d56298bf3b88d22c627dee6a9840b7309a Index: pkgsrc/security/opensc/patches/patch-aa diff -u pkgsrc/security/opensc/patches/patch-aa:1.5 pkgsrc/security/opensc/patches/patch-aa:1.6 --- pkgsrc/security/opensc/patches/patch-aa:1.5 Mon Sep 7 19:59:42 2015 +++ pkgsrc/security/opensc/patches/patch-aa Thu Aug 4 13:08:25 2016 @@ -1,12 +1,12 @@ -$NetBSD: patch-aa,v 1.5 2015/09/07 19:59:42 gdt Exp $ +$NetBSD: patch-aa,v 1.6 2016/08/04 13:08:25 mef Exp $ Disable installation of config file, because pkgsrc installs config files as examples. ---- etc/Makefile.am.orig 2015-05-16 20:30:24.000000000 +0000 -+++ etc/Makefile.am -@@ -23,13 +23,5 @@ opensc.conf: opensc.conf.in force - -e 's|@DEBUG_FILE[@]|$(DEBUG_FILE)|g' \ +--- etc/Makefile.am.orig 2016-05-31 16:36:09.000000000 +0900 ++++ etc/Makefile.am 2016-08-04 21:48:05.000000000 +0900 +@@ -28,13 +28,5 @@ opensc.conf: opensc.conf.in force + -e 's|@PROFILE_DIR_DEFAULT[@]|$(PROFILE_DIR_DEFAULT)|g' \ < $< > $@ -install-exec-hook: opensc.conf Index: pkgsrc/security/opensc/patches/patch-configure.ac diff -u pkgsrc/security/opensc/patches/patch-configure.ac:1.2 pkgsrc/security/opensc/patches/patch-configure.ac:1.3 --- pkgsrc/security/opensc/patches/patch-configure.ac:1.2 Mon Sep 7 19:59:42 2015 +++ pkgsrc/security/opensc/patches/patch-configure.ac Thu Aug 4 13:08:25 2016 @@ -1,10 +1,10 @@ -$NetBSD: patch-configure.ac,v 1.2 2015/09/07 19:59:42 gdt Exp $ +$NetBSD: patch-configure.ac,v 1.3 2016/08/04 13:08:25 mef Exp $ This hunk has been in pkgsrc for a long time; it needs a comment! ---- configure.ac.orig 2015-05-16 20:30:24.000000000 +0000 -+++ configure.ac -@@ -344,17 +344,6 @@ if test "${WIN32}" = "no"; then +--- configure.ac.orig 2016-06-04 08:22:08.000000000 +0900 ++++ configure.ac 2016-08-04 21:50:22.000000000 +0900 +@@ -384,17 +384,6 @@ if test "${WIN32}" = "no"; then AC_SEARCH_LIBS([dlopen], [dl dld], [], [ AC_MSG_ERROR([unable to find the dlopen() function]) ]) @@ -21,4 +21,4 @@ This hunk has been in pkgsrc for a long - CC="${PTHREAD_CC}" fi - if test "${enable_minidriver}" = "yes"; then + if test "${enable_thread_locking}" = "yes"; then Index: pkgsrc/security/opensc/patches/patch-src_libopensc_log.c diff -u pkgsrc/security/opensc/patches/patch-src_libopensc_log.c:1.2 pkgsrc/security/opensc/patches/patch-src_libopensc_log.c:1.3 --- pkgsrc/security/opensc/patches/patch-src_libopensc_log.c:1.2 Mon Sep 7 19:59:42 2015 +++ pkgsrc/security/opensc/patches/patch-src_libopensc_log.c Thu Aug 4 13:08:25 2016 @@ -1,12 +1,12 @@ -$NetBSD: patch-src_libopensc_log.c,v 1.2 2015/09/07 19:59:42 gdt Exp $ +$NetBSD: patch-src_libopensc_log.c,v 1.3 2016/08/04 13:08:25 mef Exp $ ---- src/libopensc/log.c.orig 2015-05-16 20:30:24.000000000 +0000 -+++ src/libopensc/log.c +--- src/libopensc/log.c.orig 2016-05-31 16:36:09.000000000 +0900 ++++ src/libopensc/log.c 2016-08-04 21:52:53.000000000 +0900 @@ -91,7 +91,13 @@ static void sc_do_log_va(sc_context_t *c gettimeofday (&tv, NULL); tm = localtime (&tv.tv_sec); strftime (time_string, sizeof(time_string), "%H:%M:%S", tm); -- r = snprintf(p, left, "0x%lx %s.%03ld ", (unsigned long)pthread_self(), time_string, tv.tv_usec / 1000); +- r = snprintf(p, left, "0x%lx %s.%03ld ", (unsigned long)pthread_self(), time_string, (long)tv.tv_usec / 1000); + r = snprintf(p, left, "0x%lx %s.%03ld ", +#ifdef HAVE_PTHREAD + (unsigned long)pthread_self(), --_----------=_147031610562660--