summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-14 03:05:13 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-14 03:05:13 +0000
commit50ebe5cd8e0478b921c699e857593cd3dd18ddcb (patch)
tree96716659fdc7312d11749ad4d36367186ec28f1e /dev-libs
parentNew release: 2.12.0 (diff)
downloadhistorical-50ebe5cd8e0478b921c699e857593cd3dd18ddcb.tar.gz
historical-50ebe5cd8e0478b921c699e857593cd3dd18ddcb.tar.bz2
historical-50ebe5cd8e0478b921c699e857593cd3dd18ddcb.zip
Version bump.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openct/ChangeLog7
-rw-r--r--dev-libs/openct/Manifest12
-rw-r--r--dev-libs/openct/files/digest-openct-0.6.61
-rw-r--r--dev-libs/openct/openct-0.6.6.ebuild74
4 files changed, 88 insertions, 6 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog
index 4f45c383dc93..dc7bb4c79884 100644
--- a/dev-libs/openct/ChangeLog
+++ b/dev-libs/openct/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/openct
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.11 2005/06/26 09:24:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.12 2005/09/14 03:05:13 vapier Exp $
+
+*openct-0.6.6 (14 Sep 2005)
+
+ 14 Sep 2005; Mike Frysinger <vapier@gentoo.org> +openct-0.6.6.ebuild:
+ Version bump.
*openct-0.6.5 (26 Jun 2005)
diff --git a/dev-libs/openct/Manifest b/dev-libs/openct/Manifest
index b68306751f90..2b233f69dae9 100644
--- a/dev-libs/openct/Manifest
+++ b/dev-libs/openct/Manifest
@@ -3,18 +3,20 @@ Hash: SHA1
MD5 fed1ac11d82c11784e6a95d428e1c840 openct-0.6.2.ebuild 1691
MD5 dda6f7cf8df1216911a1c05a082673d3 openct-0.5.0.ebuild 1739
+MD5 aef19db41c4cdaff9f65d474bce70da9 openct-0.6.6.ebuild 1955
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 e7df81f767edf57cd73b3da3cd1ae686 openct-0.6.5.ebuild 1955
-MD5 95a3e857800b0b3085d0804de291781a ChangeLog 1298
+MD5 ffe30d78366c03092b57a355bfdba6ed ChangeLog 1416
MD5 1c5deb2518b60e86d26532f43ca42885 files/usb.usermap 1062
+MD5 59c91f5e4bd9be3f0c6e28bbc9dae8b2 files/digest-openct-0.6.6 64
MD5 2a696bc8aef7e7b84c42314e41cb3730 files/digest-openct-0.5.0 64
MD5 f2097a725de8fa534add565065bd3e6c files/digest-openct-0.6.2 64
MD5 f0c5c525f3b6cecf937082e6a43622ed files/digest-openct-0.6.5 64
MD5 f9bb624a2f171539f67614d14137476f files/openct.rc 591
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFCvnRTgIKl8Uu19MoRAirvAKCAnNbHhr/7Uv7kRghwYbeIgwhr/gCfcbt+
-lgJuQqm1vhBlsWlYoYQd03E=
-=Wejc
+iD8DBQFDJ5N4gIKl8Uu19MoRAp1OAJ9fSlD+wKZ+VmQ6+bYO4nZq8WBnZgCfYg3V
+pzMISrICNKMudBIN8qtynt4=
+=36SI
-----END PGP SIGNATURE-----
diff --git a/dev-libs/openct/files/digest-openct-0.6.6 b/dev-libs/openct/files/digest-openct-0.6.6
new file mode 100644
index 000000000000..0b67c0c09063
--- /dev/null
+++ b/dev-libs/openct/files/digest-openct-0.6.6
@@ -0,0 +1 @@
+MD5 a9de3bef8e5e2827b8d72a2a50d0bc66 openct-0.6.6.tar.gz 563890
diff --git a/dev-libs/openct/openct-0.6.6.ebuild b/dev-libs/openct/openct-0.6.6.ebuild
new file mode 100644
index 000000000000..b8b4dde879ca
--- /dev/null
+++ b/dev-libs/openct/openct-0.6.6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.6.ebuild,v 1.1 2005/09/14 03:05:13 vapier Exp $
+
+inherit eutils
+
+MY_P=${P/_/-}
+DESCRIPTION="library for accessing smart card terminals"
+HOMEPAGE="http://opensc.org/"
+SRC_URI="http://opensc.org/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="usb"
+
+RDEPEND="usb? ( >=dev-libs/libusb-0.1.7 >=sys-apps/hotplug-20030805-r1 )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ enewgroup openct
+}
+
+src_compile() {
+ econf --localstatedir=/var || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ insinto /etc
+ doins etc/openct.conf || die
+ if use usb ; then
+ insinto /etc/hotplug/usb
+ doins etc/openct.usermap || die
+ exeinto /etc/hotplug/usb
+ newexe etc/hotplug.openct openct || die
+ fi
+
+ newinitd "${FILESDIR}"/openct.rc openct
+
+ diropts -m0750 -gopenct
+ keepdir /var/run/openct
+
+ dodoc ANNOUNCE AUTHORS NEWS README TODO
+ dohtml doc/openct.{html,css}
+}
+
+pkg_preinst() {
+ if [[ -e ${ROOT}/usr/lib/libopenct.so.0 ]] ; then
+ cp "${ROOT}"/usr/lib/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/lib/libopenct.so.0 ]] ; then
+ echo
+ ewarn "Please run: revdep-rebuild --soname libopenct.so.0"
+ echo
+ fi
+}