summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2005-02-01 23:26:35 +0000
committerHanno Boeck <hanno@gentoo.org>2005-02-01 23:26:35 +0000
commit0e251927756273a87a9d62b18a7cf5007db043b8 (patch)
tree79489975e9d24bdefed95273232d9ccd8c779ff5 /sys-libs/libchipcard
parentamd64 stable (diff)
downloadhistorical-0e251927756273a87a9d62b18a7cf5007db043b8.tar.gz
historical-0e251927756273a87a9d62b18a7cf5007db043b8.tar.bz2
historical-0e251927756273a87a9d62b18a7cf5007db043b8.zip
added libchipcard 2.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-libs/libchipcard')
-rw-r--r--sys-libs/libchipcard/ChangeLog8
-rw-r--r--sys-libs/libchipcard/Manifest5
-rw-r--r--sys-libs/libchipcard/files/chipcardd216
-rw-r--r--sys-libs/libchipcard/files/digest-libchipcard-1.9.9_beta1
-rw-r--r--sys-libs/libchipcard/libchipcard-1.9.9_beta.ebuild49
5 files changed, 77 insertions, 2 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog
index 4aec016ad206..3d96deec3aa7 100644
--- a/sys-libs/libchipcard/ChangeLog
+++ b/sys-libs/libchipcard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libchipcard
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.17 2005/01/30 22:55:01 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.18 2005/02/01 23:26:35 hanno Exp $
+
+*libchipcard-1.9.9_beta (02 Feb 2005)
+
+ 02 Feb 2005; Hanno Boeck <hanno@gentoo.org> +files/chipcardd2,
+ +libchipcard-1.9.9_beta.ebuild:
+ Added libchipcard2 (former packages chipcard-server and chipcard-client).
30 Jan 2005; Hanno Boeck <hanno@gentoo.org> libchipcard-0.9.1-r1.ebuild:
Added SLOT="1" to make parallel install with libchipcard2 possible.
diff --git a/sys-libs/libchipcard/Manifest b/sys-libs/libchipcard/Manifest
index fdda591ebb22..8106e82586ba 100644
--- a/sys-libs/libchipcard/Manifest
+++ b/sys-libs/libchipcard/Manifest
@@ -1,5 +1,8 @@
-MD5 7812b4a78a8c4d915892b4a79eb673ad ChangeLog 2306
+MD5 8b83ab1fb82f15080f08df9e666aeaf7 ChangeLog 2521
MD5 f67a98f6539f083284f95b32b6d24fdc libchipcard-0.9.1-r1.ebuild 1037
MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217
+MD5 18f9719765d302c39bac3920c00c9394 libchipcard-1.9.9_beta.ebuild 1301
MD5 0dd97ad441e61b3374622f7fe4372cb0 files/chipcardd 498
MD5 604d568a90ef59070dc8955956f898f7 files/digest-libchipcard-0.9.1-r1 69
+MD5 87d6efb54dea6ae07d1f3b884eecbf0f files/digest-libchipcard-1.9.9_beta 74
+MD5 ec257807a12a9e2af2decfb68e6337e8 files/chipcardd2 494
diff --git a/sys-libs/libchipcard/files/chipcardd2 b/sys-libs/libchipcard/files/chipcardd2
new file mode 100644
index 000000000000..31bc0207df41
--- /dev/null
+++ b/sys-libs/libchipcard/files/chipcardd2
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/files/chipcardd2,v 1.1 2005/02/01 23:26:35 hanno Exp $
+
+start() {
+ ebegin "Starting chipcard2 daemon"
+ start-stop-daemon --start --quiet --exec /usr/sbin/chipcardd2
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping chipcard2 daemon"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/chipcardd2
+ eend $?
+}
diff --git a/sys-libs/libchipcard/files/digest-libchipcard-1.9.9_beta b/sys-libs/libchipcard/files/digest-libchipcard-1.9.9_beta
new file mode 100644
index 000000000000..aceead964bca
--- /dev/null
+++ b/sys-libs/libchipcard/files/digest-libchipcard-1.9.9_beta
@@ -0,0 +1 @@
+MD5 8e515dddc8f01e75c57561a9dfb874f4 libchipcard2-1.9.9beta.tar.gz 759658
diff --git a/sys-libs/libchipcard/libchipcard-1.9.9_beta.ebuild b/sys-libs/libchipcard/libchipcard-1.9.9_beta.ebuild
new file mode 100644
index 000000000000..09383d8f76b9
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-1.9.9_beta.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-1.9.9_beta.ebuild,v 1.1 2005/02/01 23:26:35 hanno Exp $
+
+MY_P="${PN}2-${PV/_/}"
+DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)."
+HOMEPAGE="http://www.libchipcard.de"
+SRC_URI="mirror://sourceforge/libchipcard/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+
+IUSE="debug ssl usb"
+
+DEPEND=">=sys-libs/gwenhywfar-1.7.2
+ ssl? ( >=dev-libs/openssl-0.9.6b )
+ usb? ( dev-libs/libusb )"
+
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+
+ # Fix location of pid file
+ sed -i -e \
+ 's:\${localstatedir}/run/chipcard2:/var/run:g' configure
+
+ econf \
+ `use_enable ssl` \
+ `use_enable debug` \
+ `use_enable usb libusb` \
+ --enable-pcsc || die
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ # ctapi.h conflicts with towitoko-package
+ rm ${D}/usr/include/ctapi.h
+
+ doinitd ${FILESDIR}/chipcardd2
+ dodoc INSTALL COPYING AUTHORS ChangeLog README
+ cp ${D}/etc/chipcard2-client/chipcardc2.conf.example \
+ ${D}/etc/chipcard2-client/chipcardc2.conf
+ cp ${D}/etc/chipcard2-server/chipcardd2.conf.minimal \
+ ${D}/etc/chipcard2-server/chipcardd2.conf
+}