Bug 223265

Summary: [PATCH] Update security/opensc to 0.17.0
Product: Ports & Packages Reporter: Emanuel Haupt <ehaupt>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (ale)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to update security/opensc to 0.17.0 none

Description Emanuel Haupt freebsd_committer freebsd_triage 2017-10-26 14:00:07 UTC
Created attachment 187500 [details]
Patch to update security/opensc to 0.17.0

Update security/opensc to 0.17.0.

The update also fixes the issue with the current broken bash completion installed with the port:

root@portjail:~ # pkg install -y security/opensc
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating portjail repository catalogue...
portjail repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        opensc: 0.16.0 [FreeBSD]

Number of packages to be installed: 1

The process will require 6 MiB more space.
1 MiB to be downloaded.
[portjail.home.critical.ch] [1/1] Fetching opensc-0.16.0.txz: 100%    1 MiB   1.3MB/s    00:01    
Checking integrity... done (0 conflicting)
[portjail.home.critical.ch] [1/1] Installing opensc-0.16.0...
[portjail.home.critical.ch] Extracting opensc-0.16.0: 100%
Message from opensc-0.16.0:
********************************************************
Before using OpenSC, you should create the configuration
file, by copying the installed sample.
********************************************************
root@portjail:~ # bash
bash: /usr/local/etc/bash_completion.d/cardos-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/cardos-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/cryptoflex-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/cryptoflex-tool: line 18: `                      )'
bash: /usr/local/etc/bash_completion.d/dnie-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/dnie-tool: line 18: `                    )'
bash: /usr/local/etc/bash_completion.d/eidenv: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/eidenv: line 18: `                       )'
bash: /usr/local/etc/bash_completion.d/gids-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/gids-tool: line 18: `                    )'
bash: /usr/local/etc/bash_completion.d/iasecc-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/iasecc-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/netkey-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/netkey-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/openpgp-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/openpgp-tool: line 18: `                 )'
bash: /usr/local/etc/bash_completion.d/opensc-explorer: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/opensc-explorer: line 18: `                      )'
bash: /usr/local/etc/bash_completion.d/opensc-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/opensc-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/piv-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/piv-tool: line 18: `                     )'
bash: /usr/local/etc/bash_completion.d/pkcs11-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/pkcs11-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/pkcs15-crypt: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/pkcs15-crypt: line 18: `                 )'
bash: /usr/local/etc/bash_completion.d/pkcs15-init: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/pkcs15-init: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/pkcs15-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/pkcs15-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/sc-hsm-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/sc-hsm-tool: line 18: `                  )'
bash: /usr/local/etc/bash_completion.d/westcos-tool: line 18: syntax error near unexpected token `)'
bash: /usr/local/etc/bash_completion.d/westcos-tool: line 18: `                 )'
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-10-26 14:26:23 UTC
A commit references this bug:

Author: ale
Date: Thu Oct 26 14:26:14 UTC 2017
New revision: 452922
URL: https://svnweb.freebsd.org/changeset/ports/452922

Log:
  Update to 0.17.0 release.

  PR:		223265
  Submitted by:	ehaupt

Changes:
  head/security/opensc/Makefile
  head/security/opensc/distinfo
  head/security/opensc/files/patch-etc_Makefile.in
  head/security/opensc/files/patch-src_libopensc_reader-tr03119.c
  head/security/opensc/files/patch-src_pkcs11_openssl.c
  head/security/opensc/pkg-plist