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:
Created attachment 17270 [details] BZ2 compressed ebuilds
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.
Sven, I think he's right -- liquidx's guide should either be linked or incorporated.
It's on our TODO list (#37401)
Created attachment 23819 [details] Ebuild for OpenSC 0.8.1
Created attachment 23820 [details] Ebuild for OpenCT 0.5.0
*** Bug 41990 has been marked as a duplicate of this bug. ***
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.
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. :)
now in portage, thanks guys