[pkg-wpa-devel] Bug#612715: wpasupplicant: Remove dep to libpcsclite1
rousseau.list at free.fr
Thu Feb 10 21:03:43 UTC 2011
Le 10/02/11 08:15, Salvo Tomaselli a écrit :
> Package: wpasupplicant
> Version: 0.6.10-2.1
> Severity: normal
> I can't understand why wpasupplicant should depend on a library
> to use smart card readers.
> If in some very very rare configurations that is used, then it
> could be suggested or recommended but since wpasupplicant works
> without this library, it should not depend on it.
>> The Depends field should be used if the depended-on package is required for
>> the depending package to provide a significant amount of functionality.
wpasupplicant is linked against libpcsclite.so.1 so it must Depends: on it.
The best solution would be to change wpasupplicant to only use
libpcsclite.so.1 if needed or available using a dynamic loading at
runtime using dlopen().
libpcsclite1 would then just be a Suggests:
If this solution could be pushed upstream that would be great.
I have a patch for that in http://bugs.debian.org/531592
> Also i think it can be very confusing for non so expert users
> to be prompted a question asking to which serial port the reader
> is plugged and a selection allowing ttyS* to be chosen, when they have
> no smart card reader and no clue what apt is talking about.
libccid also contains a driver for a serial reader. I think I will just
remove it from the libccid package and then also remove the debconf
question about the serial port.
Thanks for noticing the problem.
Dr. Ludovic Rousseau
More information about the Pkg-wpa-devel