Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28202 - Ebuilds to add OpenSC smartcard support
Summary: Ebuilds to add OpenSC smartcard support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: SpanKY
URL:
Whiteboard:
Keywords: EBUILD
: 41990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-08 12:15 UTC by Lars T. Mikkelsen
Modified: 2004-02-21 23:17 UTC (History)
1 user (show)

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


Attachments
BZ2 compressed ebuilds (opensc.tar.bz2,6.15 KB, application/octet-stream)
2003-09-08 12:16 UTC, Lars T. Mikkelsen
Details
Ebuild for OpenSC 0.8.1 (opensc-0.8.1.ebuild,1.10 KB, text/plain)
2004-01-14 13:51 UTC, Lars T. Mikkelsen
Details
Ebuild for OpenCT 0.5.0 (openct-0.5.0.ebuild,1.36 KB, text/plain)
2004-01-14 13:53 UTC, Lars T. Mikkelsen
Details
Merged Lars' openct-0.5.0.ebuild with my own (openct-0.5.0.ebuild,1.77 KB, text/plain)
2004-02-18 06:12 UTC, Peter Stuge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars T. Mikkelsen 2003-09-08 12:15:35 UTC
Three ebuilds to add smartcard support using OpenCT and OpenSC:
sys-apps/opensc/opensc-0.8.0.ebuild - OpenSC, SmartCard library and applications
sys-apps/openct/openct-0.1.0.ebuild - OpenCT, Middleware framework for smart
card terminals
net-misc/openssh/openssh-3.6.1_p2-r4.ebuild - smartcard support for OpenSSH
using OpenSC

Also included is a patch to introduce a new USE flag, opensc.

Reproducible: Always
Steps to Reproduce:
Comment 1 Lars T. Mikkelsen 2003-09-08 12:16:34 UTC
Created attachment 17270 [details]
BZ2 compressed ebuilds
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2003-12-11 12:07:03 UTC
Please redo your submission by following this document: http://emu.gentoo.org/~liquidx/ebuildmistakes.html

I do agree that the ebuild guide should link to this or incorporate this information.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-09 07:14:20 UTC
Sven, I think he's right -- liquidx's guide should either be linked or incorporated.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-09 07:28:22 UTC
It's on our TODO list (#37401)
Comment 5 Lars T. Mikkelsen 2004-01-14 13:51:46 UTC
Created attachment 23819 [details]
Ebuild for OpenSC 0.8.1
Comment 6 Lars T. Mikkelsen 2004-01-14 13:53:05 UTC
Created attachment 23820 [details]
Ebuild for OpenCT 0.5.0
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-02-18 05:21:29 UTC
*** Bug 41990 has been marked as a duplicate of this bug. ***
Comment 8 Peter Stuge 2004-02-18 06:12:55 UTC
Created attachment 25852 [details]
Merged Lars' openct-0.5.0.ebuild with my own

All right, sorry for not finding this dupe. :(

I've removed my useless hotplug USE flag in favor of the spiffier usb USE flag.


Adjusted indentation so it fits better for tab width 4.

Basically kept Lars' good stuff (sedmagic, use usb, good einfo) and added some
of my own (enewgroup for better security, add sed to DEPEND but not RDEPEND,
more good einfo) for everyone's pleasure.

I still think OpenCT (and probably OpenSC too) belongs in sys-libs rather than
sys-apps. After all, it's a development library that happens to use some
applications for the lowlevel API implementation.
Comment 9 Peter Stuge 2004-02-18 06:17:04 UTC
I'm unsure about the opensc ebuild, as it stands it depends on openct, which isn't really true. It's perfectly possible to run opensc without openct, although I personally (and I guess Lars as well) think OpenCT is much better than any of the alternatives (pcsc-lite, CTAPI).

Maybe OpenCT and pcsc-lite should provide virtual/smartcardreader, which OpenSC could depend on? On the other hand, pcsc-lite and OpenCT aren't mutually exclusive. Tough. I don't know. I'm new to all of this. :)
Comment 10 SpanKY gentoo-dev 2004-02-21 23:17:25 UTC
now in portage, thanks guys