Re: git: 2164a8f56fd8 - main - devel/pcsc-lite: upgrade to 2.0.3.

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Mon, 04 Mar 2024 16:46:01 UTC
On 04/03/24 17:10, Gleb Popov wrote:
>> I think it's OpenSC that should depend on libccid.  libccid depends on
>> pcsc-lite so we can't add it as a dependency of pcsc-lite.
> 
> I thought the same at first, but it is pcscd that yields the warning:
> 
> No bundle files in pcsc drivers directory: /usr/local/lib/pcsc/drivers/
> hotplug_libusb.c:289:HPReadBundleValues() Disabling USB support for pcscd
> 
> Which made me think that there is indeed a circular dependency between
> pcsc-lite and ccid.
ccid is a driver for pcsc-lite, so it that sense the ccid port requires 
pcsc-lite as a dep. But from a logical point of view it's pcsc-lite that 
needs to use ccid  to interact with some tokens, so in that sense you 
can see a circular dep.
I don't think there is anything to be changed, OpenSC doesn't need ccid 
to work, it's the nature of your token that requires ccid drivers to 
allow pcsc-lite to work with it, I think it's correct to manually 
install ccid as an additional port.

-- 
Alex Dupre