summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-14 03:33:31 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-14 03:33:31 +0000
commitdd09579bda13e541f05b55503c43fa83505c112c (patch)
treeef9dd3275d553572cf22f09fda7d23e112d86175 /dev-libs/openct
parentadded ~ppc64, bug #54807 (Manifest recommit) (diff)
downloadgentoo-2-dd09579bda13e541f05b55503c43fa83505c112c.tar.gz
gentoo-2-dd09579bda13e541f05b55503c43fa83505c112c.tar.bz2
gentoo-2-dd09579bda13e541f05b55503c43fa83505c112c.zip
ver bump #55828
Diffstat (limited to 'dev-libs/openct')
-rw-r--r--dev-libs/openct/ChangeLog7
-rw-r--r--dev-libs/openct/files/digest-openct-0.6.0_alpha1
-rw-r--r--dev-libs/openct/openct-0.6.0_alpha.ebuild66
3 files changed, 73 insertions, 1 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog
index ca8aeba454af..8d07bb6bd9f2 100644
--- a/dev-libs/openct/ChangeLog
+++ b/dev-libs/openct/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/openct
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.3 2004/07/02 04:53:17 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.4 2004/07/14 03:33:31 vapier Exp $
+
+*openct-0.6.0_alpha (13 Jul 2004)
+
+ 13 Jul 2004; Mike Frysinger <vapier@gentoo.org> +openct-0.6.0_alpha.ebuild:
+ Add an alpha version -* for Lars T. Mikkelsen #55828.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> openct-0.5.0.ebuild:
virtual/glibc -> virtual/libc
diff --git a/dev-libs/openct/files/digest-openct-0.6.0_alpha b/dev-libs/openct/files/digest-openct-0.6.0_alpha
new file mode 100644
index 000000000000..a162589a0b21
--- /dev/null
+++ b/dev-libs/openct/files/digest-openct-0.6.0_alpha
@@ -0,0 +1 @@
+MD5 5583357188679273bed7cbd522542be3 openct-0.6.0-alpha.tar.gz 462907
diff --git a/dev-libs/openct/openct-0.6.0_alpha.ebuild b/dev-libs/openct/openct-0.6.0_alpha.ebuild
new file mode 100644
index 000000000000..8b18e3118280
--- /dev/null
+++ b/dev-libs/openct/openct-0.6.0_alpha.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.0_alpha.ebuild,v 1.1 2004/07/14 03:33:31 vapier Exp $
+
+inherit eutils
+
+MY_P=${P/_/-}
+DESCRIPTION="OpenCT is a 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="-*" #~x86
+IUSE="usb"
+
+RDEPEND="virtual/libc
+ usb? ( >=dev-libs/libusb-0.1.7
+ >=sys-apps/hotplug-20030805-r1 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ econf --localstatedir=/var || die
+ emake || die
+}
+
+pkg_preinst() {
+ enewgroup openct
+}
+
+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
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/openct.rc openct || die
+
+ diropts -m0750 -gopenct
+ keepdir /var/run/openct
+
+ dodoc ANNOUNCE AUTHORS NEWS README TODO
+ dohtml doc/openct.{html,css}
+}
+
+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."
+}