RMD160 527d3d4a1028882c9f36126fdefd0bd71bf39028 files/openct.rc 591
SHA256 4004ac1d1046247b15e056fcc9bef6cc29b8bfbe7d2f2c2b31eec0e11f2b434f files/openct.rc 591
DIST openct-0.5.0.tar.gz 417742 RMD160 a8c70c699044124526dafb6424c02bf236b25c26 SHA1 f777f5ebca69a6d0fce62ae5385d63fcb3a52d09 SHA256 3e4f4d3b1b9df75fddc2af819a92cb314fd5d08d49130737409598801f4ac683
+DIST openct-0.6.10.tar.gz 670693 RMD160 4a3f68d95433c60c5b4eceffec873e5e2689437e SHA1 d3970203b92b1e55bcbdbbb5c08c6e14a8a55a31 SHA256 febfef88b93c876fbff1b59e3da4e1db4dd18e6d3af76594ca1e4cfbf5e178e2
DIST openct-0.6.6.tar.gz 563890 RMD160 cbeb9b594af1b83e721d550dc8de0a012a782433 SHA1 ba1137098e3357863a54aba44a4306567c5141c4 SHA256 73b57ac842a30b40507de2e2cad20efb84fcaf3aae49823dd96f2eaaec54132c
DIST openct-0.6.8.tar.gz 658965 RMD160 238f0e27b23ded0b8a1dfa104e76fc8e727c6c2d SHA1 eb1be8c412e2de616acffd039aa96cd0781205dd SHA256 d86faaf0ae847781a4ee9203bf16cb4b15b3dcb8c769ed8cd760f4a266562bd9
DIST openct-0.6.9.tar.gz 665513 RMD160 72f69b95e302f75ef54dd64f77f63767a03d8dd8 SHA1 d45f269f296487af13aa66771276eea20f141007 SHA256 878703c82cbc1caac996063f1efc54d1adc2b2b94a03dad97d813ca6691a6ef0
MD5 fca4f35107edc64cdc1c34a8e2c9c296 openct-0.5.0.ebuild 1747
RMD160 c5070a32c5ef39f9810a9f5ad5bd8fdf54d1f9eb openct-0.5.0.ebuild 1747
SHA256 9b4fea02c96203b13cae7eb075aac8a9e838f18eed47b1fb20baa2350bae3851 openct-0.5.0.ebuild 1747
+EBUILD openct-0.6.10.ebuild 2311 RMD160 5769778ec3bbd1605b29a143d5e5403ea2929e8f SHA1 7c883a43b85ed16afeb0dfcce3be1673c6c2fca5 SHA256 18065bc126f33b1eff10d2d13d250b6816ce217c211a95cb48cea0e177795f4d
+MD5 2ee9c558853fb686757c592ee8bc3467 openct-0.6.10.ebuild 2311
+RMD160 5769778ec3bbd1605b29a143d5e5403ea2929e8f openct-0.6.10.ebuild 2311
+SHA256 18065bc126f33b1eff10d2d13d250b6816ce217c211a95cb48cea0e177795f4d openct-0.6.10.ebuild 2311
EBUILD openct-0.6.6.ebuild 1957 RMD160 6c4d9f4a07cabdead5e473ab60d6a57dedced272 SHA1 bdf1f223e37af4df824e3a199f6276705148ea0e SHA256 e83805be0f434ca191160b42a5d43f5550347a29bc4cdf45fe07749593171deb
MD5 18ef5a8c3e474018b8298d1f20f86eb5 openct-0.6.6.ebuild 1957
RMD160 6c4d9f4a07cabdead5e473ab60d6a57dedced272 openct-0.6.6.ebuild 1957
MD5 8a93dae51ec5b031fce28e2dce46f7dd openct-0.6.9.ebuild 2302
RMD160 221829541aa82634c95ecc4c24c890b992897f46 openct-0.6.9.ebuild 2302
SHA256 eaf04073fabeb8d30367bfd1711f7a5996565cbd60b0282826f0ff5c47bac5cb openct-0.6.9.ebuild 2302
-MISC ChangeLog 3437 RMD160 116fc5fe69b2209a132331cf58e44bcacc15baaf SHA1 f372d22ae5dbb5d7e1ad86566ee8592eaba86b33 SHA256 838a240811a46ad50473c8a7a6b591e4faf52e3b71d0f3895507343ca1d0f435
-MD5 c8f41b0625bcc05d3a68d7b9da35dda6 ChangeLog 3437
-RMD160 116fc5fe69b2209a132331cf58e44bcacc15baaf ChangeLog 3437
-SHA256 838a240811a46ad50473c8a7a6b591e4faf52e3b71d0f3895507343ca1d0f435 ChangeLog 3437
+MISC ChangeLog 3553 RMD160 b32fadb8522137da2770ba35c45ba778d8f65c05 SHA1 8624dfe476f72f1fac0dfddce12ed9065eb15111 SHA256 ddcfbb1f50c8c337ef99f0fa7a4fec00375bbb7716e617a7bebed507f0dd68dd
+MD5 0a0f0f3db2bce249a9d78f26b2e0cd8c ChangeLog 3553
+RMD160 b32fadb8522137da2770ba35c45ba778d8f65c05 ChangeLog 3553
+SHA256 ddcfbb1f50c8c337ef99f0fa7a4fec00375bbb7716e617a7bebed507f0dd68dd ChangeLog 3553
MISC metadata.xml 252 RMD160 bf4ce48e9715a797c6b88e3ed79e6cd504d8fc5d SHA1 cd28dd899e3b8a21556ff4a9cf6b8a278f08268b SHA256 520ce41a7abd75c1dbdfe5656e52c400a45b95adf2826935d3dd86da086b850f
MD5 bf3888b8063f5cb7d3600a009cf59de6 metadata.xml 252
RMD160 bf4ce48e9715a797c6b88e3ed79e6cd504d8fc5d metadata.xml 252
MD5 abc940793c80f37e51d303e0f8e91f14 files/digest-openct-0.5.0 238
RMD160 f7830079c34dcdba5642f139dcca8e464b28eb76 files/digest-openct-0.5.0 238
SHA256 4e95a7bd62346513560deb882b335166d2a7cd535ec9d061873d16c006cb33ef files/digest-openct-0.5.0 238
+MD5 db35ee4f7ffba5cababfb069803ad497 files/digest-openct-0.6.10 241
+RMD160 fb3faed19f38f5ab0c5e9c4ace388cc0a57e7539 files/digest-openct-0.6.10 241
+SHA256 753d9bf396b11f538754797ebe45240861410185bd29861ab8aa98f3062c13fe files/digest-openct-0.6.10 241
MD5 e3ae8b7c1a0681dde546fe10a5449454 files/digest-openct-0.6.6 238
RMD160 344cec2a65122ae2d6e4e27749ad913293a1b8be files/digest-openct-0.6.6 238
SHA256 fe7efd3c4f5819c6d8a7e8e436b1a08b0100f82445e2d2ae006202fd14126a38 files/digest-openct-0.6.6 238
RMD160 28dc21c61c21888c887c6d9aa0fa34a82c806638 files/digest-openct-0.6.9 238
SHA256 8d3e016ed871cb964578f354c50b2f47dffe3600440f350e0f8c68d9747988f7 files/digest-openct-0.6.9 238
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFFTHYfamhnQswr0vIRAvO8AKCuEZT8gDZa6TPMh/OVBKoFw8/gcgCfabkw
-2EW5MUMWp77Cj4zGeYtibAE=
-=THGj
+iD8DBQFFVihHGSBEIeh4AEYRAtSFAJ4rXS9vcKGZzFxObkdz0E0mC+3XogCfc1KA
+WWm+bcBxvn6+PZxLBdg8N8c=
+=2Z4f
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.10.ebuild,v 1.1 2006/11/11 19:44:38 kaiowas Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="library for accessing smart card terminals"
+HOMEPAGE="http://www.opensc-project.org/openct/"
+SRC_URI="http://www.opensc-project.org/files/openct/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="usb udev"
+
+RDEPEND="usb? ( >=dev-libs/libusb-0.1.7 >=sys-apps/hotplug-20030805-r1 )"
+
+pkg_setup() {
+ enewgroup openct
+}
+
+src_compile() {
+ econf --localstatedir=/var || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ if use usb ; then
+ insinto /etc/hotplug/usb
+ doins etc/openct.usermap || die
+ exeinto /etc/hotplug/usb
+ newexe etc/openct_usb openct || die
+ fi
+
+ if use udev ; then
+ sed -i 's|RUN+="/lib/udev/|RUN+="/etc/udev/scripts/|' etc/openct.udev
+ insinto /etc/udev/rules.d/
+ newins etc/openct.udev 70-openct.rules || die
+ exeinto /etc/udev/scripts/
+ newexe etc/openct_pcmcia openct_pcmcia || die
+ newexe etc/openct_serial openct_serial || die
+ newexe etc/openct_usb openct_usb || die
+ fi
+
+ insinto /etc
+ doins etc/openct.conf || die
+
+ newinitd "${FILESDIR}"/openct.rc openct
+
+ diropts -m0750 -gopenct
+ keepdir /var/run/openct
+
+ dodoc NEWS TODO doc/README
+}
+
+pkg_preinst() {
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libopenct.so.0 ]] ; then
+ cp "${ROOT}"/usr/$(get_libdir)/libopenct.so.0 "${IMAGE}"/usr/lib/
+ fi
+}
+
+pkg_postinst() {
+ einfo "You need to edit /etc/openct.conf to enable serial readers."
+ einfo
+ einfo "To use hotplugging (USB readers) your kernel has to be compiled"
+ einfo "with CONFIG_HOTPLUG enabled and sys-apps/hotplug must be emerged."
+ einfo
+ einfo "You should add \"openct\" to your default runlevel. To do so"
+ einfo "type \"rc-update add openct default\"."
+ einfo
+ einfo "You need to be a member of the (newly created) group openct to"
+ einfo "access smart card readers connected to this system. Set users'"
+ einfo "groups with usermod -G. root always has access."
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libopenct.so.0 ]] ; then
+ echo
+ ewarn "Please run: revdep-rebuild --library libopenct.so.0"
+ echo
+ fi
+}