Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310985 - dev-libs/openct: improve ifd (pcsc-lite) driver installation
Summary: dev-libs/openct: improve ifd (pcsc-lite) driver installation
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2010-03-23 21:10 UTC by Arne Flagge
Modified: 2012-12-15 10:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch improves the ifd driver installation (openct-0.6.20_pcsc-lite.patch,1.05 KB, patch)
2010-03-23 21:12 UTC, Arne Flagge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Flagge 2010-03-23 21:10:06 UTC
If installed with the pcsc-lite use flag, OpenCT installs an ifd driver, so that pcsc-lite can use this driver. Right now, the driver is only installed to /usr/lib. That is not enough for pcsc-lite to use this driver.

The driver has to be placed in an subfolder of /usr/lib/readers/usb with an Info.plist file. Also you need an entry in /etc/reader.conf.

Reproducible: Always

Steps to Reproduce:
Comment 1 Arne Flagge 2010-03-23 21:12:00 UTC
Created attachment 224943 [details, diff]
Patch improves the ifd driver installation

This patch creates the proper folders under /usr/lib/readers/usb, copies a Info.plist file and symlinks the ifd driver here. Also it copies a reader.conf file to /etc/reader.conf.d .
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-29 00:06:29 UTC
Honestly this is a bit too much especially considering that openct is deprecated upstream...
Comment 3 Arne Flagge 2012-11-29 10:17:31 UTC
Personally I don't care, because I only wrote this bug report, because I wrote an article for the german community wiki (http://de.gentoo-wiki.com/wiki/OpenCT; or now also: http://wiki.gentoo.org/wiki/OpenCT).

But I don't understand your reasoning. As long as openct is in the portage tree, why not make the existing feature work out of the box? The patch just copies shipped parts of the upstream tarball to the right places.

But, again, I don't care. If you won't want to apply the patch, then close the bug report.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-15 00:37:10 UTC
Any reason to install reader.conf and not just usb bundle?
Also, I think you have a typeo, as we need reader.conf and not reader.conf.in.
Comment 5 Arne Flagge 2012-12-15 10:16:10 UTC
I checked the changes since 2010 and retested it and it's works now out of the box. So resolved. Regards.