summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetre Rodan <kaiowas@gentoo.org>2006-06-03 10:10:35 +0000
committerPetre Rodan <kaiowas@gentoo.org>2006-06-03 10:10:35 +0000
commit39fa0e9de1a870953bbf2cde9169fcb47bd84d2b (patch)
treef83ffea2dfa8fcacf271bf8607a8e5309f6e9635 /dev-libs
parent- add nptlonly to masking files also (diff)
downloadhistorical-39fa0e9de1a870953bbf2cde9169fcb47bd84d2b.tar.gz
historical-39fa0e9de1a870953bbf2cde9169fcb47bd84d2b.tar.bz2
historical-39fa0e9de1a870953bbf2cde9169fcb47bd84d2b.zip
version bump. changed HOMEPAGE SRC_URI LICENSE and dodoc, added fix for upstream bug #18
Package-Manager: portage-2.1_rc4
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openct/ChangeLog9
-rw-r--r--dev-libs/openct/files/digest-openct-0.5.02
-rw-r--r--dev-libs/openct/files/digest-openct-0.6.62
-rw-r--r--dev-libs/openct/files/digest-openct-0.6.73
-rw-r--r--dev-libs/openct/metadata.xml4
-rw-r--r--dev-libs/openct/openct-0.6.7.ebuild73
6 files changed, 92 insertions, 1 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog
index fed9a7a75d06..679b83bf94ea 100644
--- a/dev-libs/openct/ChangeLog
+++ b/dev-libs/openct/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/openct
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.13 2006/03/09 23:49:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.14 2006/06/03 10:10:35 kaiowas Exp $
+
+*openct-0.6.7 (03 Jun 2006)
+
+ 03 Jun 2006; Petre Rodan <kaiowas@gentoo.org> -files/usb.usermap,
+ metadata.xml, +openct-0.6.7.ebuild:
+ version bump. changed HOMEPAGE SRC_URI LICENSE and dodoc, added fix for
+ upstream bug #18
09 Mar 2006; Mike Frysinger <vapier@gentoo.org> openct-0.6.6.ebuild:
Use revdep-rebuild --library instead of revdep-rebuild --soname #125506 by
diff --git a/dev-libs/openct/files/digest-openct-0.5.0 b/dev-libs/openct/files/digest-openct-0.5.0
index 944bb76490df..35c5e100656a 100644
--- a/dev-libs/openct/files/digest-openct-0.5.0
+++ b/dev-libs/openct/files/digest-openct-0.5.0
@@ -1 +1,3 @@
MD5 5e6de721d22db8f5da060a1843bb3259 openct-0.5.0.tar.gz 417742
+RMD160 a8c70c699044124526dafb6424c02bf236b25c26 openct-0.5.0.tar.gz 417742
+SHA256 3e4f4d3b1b9df75fddc2af819a92cb314fd5d08d49130737409598801f4ac683 openct-0.5.0.tar.gz 417742
diff --git a/dev-libs/openct/files/digest-openct-0.6.6 b/dev-libs/openct/files/digest-openct-0.6.6
index 0b67c0c09063..305aecf7ec7d 100644
--- a/dev-libs/openct/files/digest-openct-0.6.6
+++ b/dev-libs/openct/files/digest-openct-0.6.6
@@ -1 +1,3 @@
MD5 a9de3bef8e5e2827b8d72a2a50d0bc66 openct-0.6.6.tar.gz 563890
+RMD160 cbeb9b594af1b83e721d550dc8de0a012a782433 openct-0.6.6.tar.gz 563890
+SHA256 73b57ac842a30b40507de2e2cad20efb84fcaf3aae49823dd96f2eaaec54132c openct-0.6.6.tar.gz 563890
diff --git a/dev-libs/openct/files/digest-openct-0.6.7 b/dev-libs/openct/files/digest-openct-0.6.7
new file mode 100644
index 000000000000..5f36d4335346
--- /dev/null
+++ b/dev-libs/openct/files/digest-openct-0.6.7
@@ -0,0 +1,3 @@
+MD5 1b33d319f364acafbcf130d7ba34ea4c openct-0.6.7.tar.gz 658443
+RMD160 7324f75b685a35cd189eb03c7e46b5df7dd0b5f4 openct-0.6.7.tar.gz 658443
+SHA256 454079f49642590b1fd7cf06525e242137253c09ee3fdc8a0262beca48059886 openct-0.6.7.tar.gz 658443
diff --git a/dev-libs/openct/metadata.xml b/dev-libs/openct/metadata.xml
index 20ce219711a2..b8b63b69c9c6 100644
--- a/dev-libs/openct/metadata.xml
+++ b/dev-libs/openct/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
+<maintainer>
+ <email>kaiowas@gentoo.org</email>
+ <name>Petre Rodan</name>
+</maintainer>
</pkgmetadata>
diff --git a/dev-libs/openct/openct-0.6.7.ebuild b/dev-libs/openct/openct-0.6.7.ebuild
new file mode 100644
index 000000000000..99040de9ede9
--- /dev/null
+++ b/dev-libs/openct/openct-0.6.7.ebuild
@@ -0,0 +1,73 @@
+# 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.7.ebuild,v 1.1 2006/06/03 10:10:35 kaiowas Exp $
+
+inherit eutils
+
+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-apps/hotplug-20030805-r1 )"
+
+pkg_setup() {
+ enewgroup openct
+}
+
+src_compile() {
+ econf --localstatedir=/var || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ # opensc ticket #18
+ sed -i 's|usb:\([0-9a-fA-F]\{4\}\):\([0-9a-fA-F]\{4\}\)|usb:\1/\2|' etc/openct.conf
+
+ 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 NEWS TODO doc/README
+}
+
+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 --library libopenct.so.0"
+ echo
+ fi
+}