diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-06-11 14:10:53 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-06-11 14:10:53 +0000 |
commit | 54f6fc22e96e51c68196acac65c04c5084a72e97 (patch) | |
tree | 61fa613a3c69e17fb94ce753fe3a2f079ebe6d6d /sys-libs | |
parent | gwenhywfar bump (diff) | |
download | gentoo-2-54f6fc22e96e51c68196acac65c04c5084a72e97.tar.gz gentoo-2-54f6fc22e96e51c68196acac65c04c5084a72e97.tar.bz2 gentoo-2-54f6fc22e96e51c68196acac65c04c5084a72e97.zip |
libchipcard bump
(Portage version: 2.1.5.4)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libchipcard/ChangeLog | 8 | ||||
-rwxr-xr-x | sys-libs/libchipcard/files/chipcardd4 | 16 | ||||
-rw-r--r-- | sys-libs/libchipcard/libchipcard-4.1.0.ebuild | 52 |
3 files changed, 75 insertions, 1 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index d3a5e4a96986..e0615ec075d9 100644 --- a/sys-libs/libchipcard/ChangeLog +++ b/sys-libs/libchipcard/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libchipcard # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.63 2008/02/05 16:35:28 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.64 2008/06/11 14:10:53 hanno Exp $ + +*libchipcard-4.1.0 (11 Jun 2008) + + 11 Jun 2008; Hanno Boeck <hanno@gentoo.org> +files/chipcardd4, + +libchipcard-4.1.0.ebuild: + Version bump. 05 Feb 2008; Markus Rothe <corsair@gentoo.org> libchipcard-3.0.4.ebuild: Added ~ppc64; fix dependencies for app-office/kmymoney2 diff --git a/sys-libs/libchipcard/files/chipcardd4 b/sys-libs/libchipcard/files/chipcardd4 new file mode 100755 index 000000000000..2f87d2372c34 --- /dev/null +++ b/sys-libs/libchipcard/files/chipcardd4 @@ -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/chipcardd4,v 1.1 2008/06/11 14:10:53 hanno Exp $ + +start() { + ebegin "Starting chipcard4 daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/chipcardd4 + eend $? +} + +stop() { + ebegin "Stopping chipcard4 daemon" + start-stop-daemon --stop --quiet --exec /usr/sbin/chipcardd4 + eend $? +} diff --git a/sys-libs/libchipcard/libchipcard-4.1.0.ebuild b/sys-libs/libchipcard/libchipcard-4.1.0.ebuild new file mode 100644 index 000000000000..ad1611cbf7f0 --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-4.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-4.1.0.ebuild,v 1.1 2008/06/11 14:10:53 hanno Exp $ + +DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." +HOMEPAGE="http://www.libchipcard.de" +SRC_URI="http://files.hboeck.de/aq/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +IUSE="debug doc ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-3.1.1 + ssl? ( >=dev-libs/openssl-0.9.6b ) + usb? ( dev-libs/libusb ) + >=sys-fs/sysfsutils-1.2.0" + +S="${WORKDIR}/${P}" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}/libchipcard-ccid-dir.diff" +} + +src_compile() { + econf \ + `use_enable ssl` \ + `use_enable debug` \ + `use_enable usb libusb` \ + --localstatedir=/var \ + --enable-pcsc || die + + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + keepdir /var/log/chipcard \ + /var/lib/chipcardd/newcerts \ + /usr/lib/chipcardd/server/lowlevel + + doinitd "${FILESDIR}/chipcardd4" || die + + dodoc AUTHORS ChangeLog README doc/CERTIFICATES doc/CONFIG doc/IPCCOMMANDS || die + if use doc ; then + docinto tutorials + dodoc tutorials/*.{c,h,xml} tutorials/README || die + fi +} |