Re: git: 4c04b4155dcd - main - devel/pcsc-lite: Update to 2.3.0

From: Craig Leres <leres_at_freebsd.org>
Date: Thu, 15 Aug 2024 19:58:08 UTC
On 8/15/24 12:16, Gleb Popov wrote:
> On Thu, Aug 15, 2024 at 9:34 PM Craig Leres <leres@freebsd.org> wrote:
>>
>> On 8/14/24 04:22, Gleb Popov wrote:
>>> The branch main has been updated by arrowd:
>>>
>>> URL:https://cgit.FreeBSD.org/ports/commit/?id=4c04b4155dcdb6ac873a7e296bf401420583569b
>>>
>>> commit 4c04b4155dcdb6ac873a7e296bf401420583569b
>>> Author:     Älven<alster@vinterdalen.se>
>>> AuthorDate: 2024-08-14 11:03:21 +0000
>>> Commit:     Gleb Popov<arrowd@FreeBSD.org>
>>> CommitDate: 2024-08-14 11:22:04 +0000
>>>
>>>       devel/pcsc-lite: Update to 2.3.0
>>
>> This version doesn't work for me. I'm using a Feitian ePass2003. After
>> upgrading to 2.3.0, opensc-tool does not detect the token; a workaround
>> is to downgrade back to 2.2.2.
>>
>>                  Craig
>>
>> [with 2.3.0]
>> ice 256 % opensc-tool -l
>> No smart card readers found.
>>
>> [with 2.2.2]
>> ice 356 % opensc-tool -l
>> # Detected readers (pcsc)
>> Nr.  Card  Features  Name
>> 0    Yes             Feitian ePass2003 00 00
>>
> 
> Maybe opensc needs a PORTREVISION bump. Could you try rebuilding
> security/opensc against this new version?
> Another thing to try is updating/rebuilding devel/libccid

Actually it's simpler than that; all that's needed for opensc-tool to 
work after upgrading is to restart pcscd.

		Craig

ice 77 # opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             Feitian ePass2003 00 00
ice 78 # pkg info | fgrep pcsc-lite
pcsc-lite-2.2.2,2              Middleware library to access a smart card 
using SCard API (PC/SC)
ice 79 # pkg upgrade -y pcsc-lite
Updating pkg.lbl.gov repository catalogue...
pkg.lbl.gov repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
         pcsc-lite: 2.2.2,2 -> 2.3.0,2

Number of packages to be upgraded: 1

100 KiB to be downloaded.
[1/1] Fetching pcsc-lite-2.3.0,2.pkg: 100%  100 KiB 102.8kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Upgrading pcsc-lite from 2.2.2,2 to 2.3.0,2...
[1/1] Extracting pcsc-lite-2.3.0,2: 100%
ice 80 # opensc-tool -l
No smart card readers found.
ice 81 # service pcscd restart
pcscd not running?
Starting pcscd.
ice 82 # opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             Feitian ePass2003 00 00