summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-08-30 19:06:27 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-08-30 19:06:27 +0000
commita310ad2021feb9f117622923119ca77a66adac01 (patch)
treea7b9f96407eaa43e237f355e92dd7fad8568a6ec /dev-libs/openct
parentInitial commit for bug 167183. (diff)
downloadgentoo-2-a310ad2021feb9f117622923119ca77a66adac01.tar.gz
gentoo-2-a310ad2021feb9f117622923119ca77a66adac01.tar.bz2
gentoo-2-a310ad2021feb9f117622923119ca77a66adac01.zip
Version bump, cleanups, take ownership
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-libs/openct')
-rw-r--r--dev-libs/openct/ChangeLog8
-rw-r--r--dev-libs/openct/files/digest-openct-0.6.143
-rw-r--r--dev-libs/openct/metadata.xml5
-rw-r--r--dev-libs/openct/openct-0.6.14.ebuild70
4 files changed, 81 insertions, 5 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog
index 09b11f302d15..3cc1ca559304 100644
--- a/dev-libs/openct/ChangeLog
+++ b/dev-libs/openct/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/openct
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.45 2007/08/29 18:58:36 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.46 2007/08/30 19:06:27 alonbl Exp $
+
+*openct-0.6.14 (30 Aug 2007)
+
+ 30 Aug 2007; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml,
+ +openct-0.6.14.ebuild:
+ Version bump, cleanups, take ownership
29 Aug 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing kaiowas from metadata due to his retirement (see #61930 for
diff --git a/dev-libs/openct/files/digest-openct-0.6.14 b/dev-libs/openct/files/digest-openct-0.6.14
new file mode 100644
index 000000000000..53b6215e19ff
--- /dev/null
+++ b/dev-libs/openct/files/digest-openct-0.6.14
@@ -0,0 +1,3 @@
+MD5 04a5c0c7dedcb1ca0d550b1970fbf3b7 openct-0.6.14.tar.gz 670510
+RMD160 bf7bf2b711b8e7d365749d36593114aba2fecf6d openct-0.6.14.tar.gz 670510
+SHA256 3df187f63eb6694652098238bdf967b304dad8f62e9219be4cf3b6d5ec5db58b openct-0.6.14.tar.gz 670510
diff --git a/dev-libs/openct/metadata.xml b/dev-libs/openct/metadata.xml
index 9f3fdee2246b..b02ffbb5d348 100644
--- a/dev-libs/openct/metadata.xml
+++ b/dev-libs/openct/metadata.xml
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- </maintainer>
+ <herd>crypto</herd>
</pkgmetadata>
diff --git a/dev-libs/openct/openct-0.6.14.ebuild b/dev-libs/openct/openct-0.6.14.ebuild
new file mode 100644
index 000000000000..425e9cd9a223
--- /dev/null
+++ b/dev-libs/openct/openct-0.6.14.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.14.ebuild,v 1.1 2007/08/30 19:06:27 alonbl Exp $
+
+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"
+
+RDEPEND="usb? (
+ >=dev-libs/libusb-0.1.7
+ || ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )
+ )"
+
+pkg_setup() {
+ enewgroup openct
+}
+
+src_compile() {
+ econf --localstatedir=/var || die
+ emake || die
+}
+
+src_install() {
+ emake 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
+
+ insinto /etc/udev/rules.d/
+ newins etc/openct.udev 70-openct.rules || die
+ exeinto /lib/udev
+ doexe etc/openct_pcmcia || die
+ doexe etc/openct_serial || die
+ doexe etc/openct_usb || die
+
+ 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_postinst() {
+ elog
+ elog "You need to edit /etc/openct.conf to enable serial readers."
+ elog
+ elog "To use hotplugging (USB readers) your kernel has to be compiled"
+ elog "with CONFIG_HOTPLUG enabled."
+ elog
+ elog "You should add \"openct\" to your default runlevel. To do so"
+ elog "type \"rc-update add openct default\"."
+ elog
+ elog "You need to be a member of the (newly created) group openct to"
+ elog "access smart card readers connected to this system. Set users'"
+ elog "groups with usermod -G. root always has access."
+ elog
+}