diff options
author | Hanno Boeck <hanno@gentoo.org> | 2004-12-21 19:17:37 +0000 |
---|---|---|
committer | Hanno Boeck <hanno@gentoo.org> | 2004-12-21 19:17:37 +0000 |
commit | 64fa85d207a94f60476f037b4b09ddae69aeed4c (patch) | |
tree | 9aca0dae305f7b54e36f56fdef474b0c52253cf8 /sys-libs | |
parent | Fixed Xv linking bug #75123. (diff) | |
download | historical-64fa85d207a94f60476f037b4b09ddae69aeed4c.tar.gz historical-64fa85d207a94f60476f037b4b09ddae69aeed4c.tar.bz2 historical-64fa85d207a94f60476f037b4b09ddae69aeed4c.zip |
added chipcard-server ebuild
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/chipcard-client/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/chipcard-server/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/chipcard-server/Manifest | 5 | ||||
-rw-r--r-- | sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild | 46 | ||||
-rw-r--r-- | sys-libs/chipcard-server/files/chipcardd2 | 16 | ||||
-rw-r--r-- | sys-libs/chipcard-server/files/digest-chipcard-server-1.9.6_beta | 1 | ||||
-rw-r--r-- | sys-libs/chipcard-server/metadata.xml | 6 |
7 files changed, 85 insertions, 0 deletions
diff --git a/sys-libs/chipcard-client/Manifest b/sys-libs/chipcard-client/Manifest new file mode 100644 index 000000000000..414935251e19 --- /dev/null +++ b/sys-libs/chipcard-client/Manifest @@ -0,0 +1,4 @@ +MD5 ef3a47cfbec17c17e97312bc7992b6ec chipcard-client-1.9.4_beta.ebuild 939 +MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217 +MD5 486b98713f4a704a37a6e7df29b1b0f0 ChangeLog 423 +MD5 70afb989678e71e9cda593d13bfd18a3 files/digest-chipcard-client-1.9.4_beta 78 diff --git a/sys-libs/chipcard-server/ChangeLog b/sys-libs/chipcard-server/ChangeLog new file mode 100644 index 000000000000..c1a838608f5a --- /dev/null +++ b/sys-libs/chipcard-server/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for sys-libs/chipcard-server +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/chipcard-server/ChangeLog,v 1.1 2004/12/21 19:17:37 hanno Exp $ + + 21 Dec 2004; Hanno Boeck <hanno@gentoo.org> : + Initial commit (thanks to Florian Mueller in bug #66870). + diff --git a/sys-libs/chipcard-server/Manifest b/sys-libs/chipcard-server/Manifest new file mode 100644 index 000000000000..0aac94e4da2d --- /dev/null +++ b/sys-libs/chipcard-server/Manifest @@ -0,0 +1,5 @@ +MD5 bad536539c7f385b5d9ae3ebe6466b23 chipcard-server-1.9.6_beta.ebuild 1193 +MD5 2d10097075aa96b562302f68ebbe3538 ChangeLog 329 +MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217 +MD5 81d0b8af2f172c076b844e52ef76eade files/chipcardd2 498 +MD5 8701d7e6bf40cb3ccbc2b5b2d318e478 files/digest-chipcard-server-1.9.6_beta 78 diff --git a/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild b/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild new file mode 100644 index 000000000000..ed8e182ed033 --- /dev/null +++ b/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild,v 1.1 2004/12/21 19:17:37 hanno Exp $ + +MY_P="chipcard2_server-${PV/_/}" +DESCRIPTION="2nd generation of the chipcard-reader-utility" +HOMEPAGE="http://www.libchipcard.de" +SRC_URI="mirror://sourceforge/libchipcard/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="debug ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-1.2.1 + 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 + doinitd ${FILESDIR}/chipcardd2 + dodoc INSTALL COPYING AUTHORS ChangeLog README + insinto /etc/chipcard2-server + doins ${S}/doc/chipcardd2.conf.example + doins ${S}/doc/chipcardd2.conf.minimal + cp ${D}/etc/chipcard2-server/chipcardd2.conf.minimal \ + ${D}/etc/chipcard2-server/chipcardd2.conf +} diff --git a/sys-libs/chipcard-server/files/chipcardd2 b/sys-libs/chipcard-server/files/chipcardd2 new file mode 100644 index 000000000000..15a342cc6300 --- /dev/null +++ b/sys-libs/chipcard-server/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/chipcard-server/files/chipcardd2,v 1.1 2004/12/21 19:17:37 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/chipcard-server/files/digest-chipcard-server-1.9.6_beta b/sys-libs/chipcard-server/files/digest-chipcard-server-1.9.6_beta new file mode 100644 index 000000000000..5bceaa85d129 --- /dev/null +++ b/sys-libs/chipcard-server/files/digest-chipcard-server-1.9.6_beta @@ -0,0 +1 @@ +MD5 818237dacc4b383552ed8fc4dcd1c634 chipcard2_server-1.9.6beta.tar.gz 548654 diff --git a/sys-libs/chipcard-server/metadata.xml b/sys-libs/chipcard-server/metadata.xml new file mode 100644 index 000000000000..efa54454de71 --- /dev/null +++ b/sys-libs/chipcard-server/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> |