summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2003-10-11 12:03:21 +0000
committerHanno Böck <hanno@gentoo.org>2003-10-11 12:03:21 +0000
commit4bb9155e06ecc707288731289a555a8f7f0711b6 (patch)
tree9962ca793fc5766ecdd3bc8b54a0af4b9ad9f337 /sys-libs
parentFixed ebuild to install documentation. (diff)
downloadgentoo-2-4bb9155e06ecc707288731289a555a8f7f0711b6.tar.gz
gentoo-2-4bb9155e06ecc707288731289a555a8f7f0711b6.tar.bz2
gentoo-2-4bb9155e06ecc707288731289a555a8f7f0711b6.zip
fixes for libchipcard
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libchipcard/ChangeLog8
-rw-r--r--sys-libs/libchipcard/Manifest14
-rw-r--r--sys-libs/libchipcard/files/chipcardd16
-rw-r--r--sys-libs/libchipcard/files/digest-libchipcard-0.9.1-r11
-rw-r--r--sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild38
-rw-r--r--sys-libs/libchipcard/metadata.xml6
6 files changed, 77 insertions, 6 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog
index 7eeb608f6379..6b25be0aa750 100644
--- a/sys-libs/libchipcard/ChangeLog
+++ b/sys-libs/libchipcard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libchipcard
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.7 2003/07/08 09:44:07 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.8 2003/10/11 12:03:16 hanno Exp $
+
+*libchipcard-0.9.1-r1 (11 Oct 2003)
+
+ 11 Oct 2003; Hanno Boeck <hanno@gentoo.org> libchipcard-0.9.1-r1.ebuild,
+ files/chipcardd:
+ Fix location of config-files to be /etc and add init-skript.
*libchipcard-0.9.1 (08 Jul 2003)
diff --git a/sys-libs/libchipcard/Manifest b/sys-libs/libchipcard/Manifest
index 0032aacc6732..c45f1682b44d 100644
--- a/sys-libs/libchipcard/Manifest
+++ b/sys-libs/libchipcard/Manifest
@@ -1,11 +1,15 @@
-MD5 28dba81e08fed59b6b20b19f4d6d9aa8 ChangeLog 1197
-MD5 36c7729a4382b8c9b576b350cb61ebf9 libchipcard-0.6.ebuild 898
-MD5 bf32cfd478890a58d45d61710e4f556c libchipcard-0.8.ebuild 973
+MD5 002f17d9e3f2f7fdb8d7accf3bdf21a5 libchipcard-0.9.1-r1.ebuild 1024
MD5 8ebdad6bfda7183156462393c59c3eea libchipcard-0.8.5.ebuild 832
+MD5 36c7729a4382b8c9b576b350cb61ebf9 libchipcard-0.6.ebuild 898
MD5 0c655926b7ef41c1d5500a3a313cbfc0 libchipcard-0.9.ebuild 831
+MD5 e8a5e36bd5f440b8d32da4ecc144f536 ChangeLog 1392
MD5 ed873652bc7bf8e1501dd4693b29faed libchipcard-0.9.1.ebuild 831
-MD5 1c38820f0f82edc810497665e67c9784 files/digest-libchipcard-0.6 67
+MD5 bf32cfd478890a58d45d61710e4f556c libchipcard-0.8.ebuild 973
+MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217
+MD5 0892a3c6cc495651c10b01375950510f files/digest-libchipcard-0.9 67
MD5 153bb0640ed90550a33c0c842bfda300 files/digest-libchipcard-0.8 67
+MD5 da653eabc25fa87a8f1346fd864f14d4 files/chipcardd 514
MD5 2cea935f1f1af7a0b7feac476ee0816c files/digest-libchipcard-0.8.5 69
-MD5 0892a3c6cc495651c10b01375950510f files/digest-libchipcard-0.9 67
+MD5 604d568a90ef59070dc8955956f898f7 files/digest-libchipcard-0.9.1-r1 69
+MD5 1c38820f0f82edc810497665e67c9784 files/digest-libchipcard-0.6 67
MD5 604d568a90ef59070dc8955956f898f7 files/digest-libchipcard-0.9.1 69
diff --git a/sys-libs/libchipcard/files/chipcardd b/sys-libs/libchipcard/files/chipcardd
new file mode 100644
index 000000000000..76dcc6c5608d
--- /dev/null
+++ b/sys-libs/libchipcard/files/chipcardd
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/files/chipcardd,v 1.1 2003/10/11 12:03:16 hanno Exp $
+
+start() {
+ ebegin "Starting libchipcard daemon"
+ start-stop-daemon --start --quiet --exec /usr/sbin/chipcardd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping libchipcard daemon"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/chipcardd
+ eend $?
+}
diff --git a/sys-libs/libchipcard/files/digest-libchipcard-0.9.1-r1 b/sys-libs/libchipcard/files/digest-libchipcard-0.9.1-r1
new file mode 100644
index 000000000000..4bfe1a400db8
--- /dev/null
+++ b/sys-libs/libchipcard/files/digest-libchipcard-0.9.1-r1
@@ -0,0 +1 @@
+MD5 9de5833b693a5221a046d4fe7efcc4c6 libchipcard-0.9.1.tar.gz 724733
diff --git a/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild b/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..fbf01ecd89b9
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild,v 1.1 2003/10/11 12:03:16 hanno Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)."
+SRC_URI="mirror://sourceforge/libchipcard/${P}.tar.gz"
+HOMEPAGE="http://www.libchipcard.de/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="ssl"
+
+DEPEND="virtual/glibc
+ ssl? ( dev-libs/openssl )"
+
+src_compile() {
+ sed -i -e 's:$prefix/etc:/etc:g' \
+ -e 's:${prefix}/etc:/etc:g' \
+ -e 's:$prefix/var:/var:g' \
+ -e 's:${prefix}/var:/var:g' \
+ configure
+
+ local myconf
+ myconf="--disable-pcsc"
+ use ssl || myconf="${myconf} --disable-ssl"
+ use ssl || myconf="${myconf} --disable-ssl"
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} chroot_dir=${D} install || die
+ rm -r ${D}/var
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/chipcardd
+}
diff --git a/sys-libs/libchipcard/metadata.xml b/sys-libs/libchipcard/metadata.xml
new file mode 100644
index 000000000000..efa54454de71
--- /dev/null
+++ b/sys-libs/libchipcard/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>