diff options
author | Hanno Böck <hanno@gentoo.org> | 2005-07-12 21:47:05 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2005-07-12 21:47:05 +0000 |
commit | c6afbef35814beb04f639244566f2430f27bdf9a (patch) | |
tree | 7acb9f46547a7445e3847b4c8a30a43bf6dde59e /sys-libs | |
parent | gwenhywfar Version bump (diff) | |
download | gentoo-2-c6afbef35814beb04f639244566f2430f27bdf9a.tar.gz gentoo-2-c6afbef35814beb04f639244566f2430f27bdf9a.tar.bz2 gentoo-2-c6afbef35814beb04f639244566f2430f27bdf9a.zip |
libchipcard version bump
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libchipcard/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libchipcard/files/digest-libchipcard-1.9.12_beta | 1 | ||||
-rw-r--r-- | sys-libs/libchipcard/files/opensc.patch | 11 | ||||
-rw-r--r-- | sys-libs/libchipcard/libchipcard-1.9.12_beta.ebuild | 58 |
4 files changed, 77 insertions, 1 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index 02639ab1a40c..c76b76e34e11 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.23 2005/03/13 22:38:12 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.24 2005/07/12 21:47:05 hanno Exp $ + +*libchipcard-1.9.12_beta (12 Jul 2005) + + 12 Jul 2005; Hanno Boeck <hanno@gentoo.org> +files/opensc.patch, + +libchipcard-1.9.12_beta.ebuild: + Version bump. *libchipcard-1.9.11_beta (13 Mar 2005) diff --git a/sys-libs/libchipcard/files/digest-libchipcard-1.9.12_beta b/sys-libs/libchipcard/files/digest-libchipcard-1.9.12_beta new file mode 100644 index 000000000000..801e0cb68531 --- /dev/null +++ b/sys-libs/libchipcard/files/digest-libchipcard-1.9.12_beta @@ -0,0 +1 @@ +MD5 85e00f70e53f3533d8e5ababc852f06b libchipcard2-1.9.12beta.tar.gz 854125 diff --git a/sys-libs/libchipcard/files/opensc.patch b/sys-libs/libchipcard/files/opensc.patch new file mode 100644 index 000000000000..061b05d5b1c1 --- /dev/null +++ b/sys-libs/libchipcard/files/opensc.patch @@ -0,0 +1,11 @@ +--- libchipcard-old/configure 2005-07-02 10:34:27.599223456 +0200 ++++ libchipcard/configure 2005-07-02 10:35:56.705677216 +0200 +@@ -22426,7 +22426,7 @@ + opensc_versionstring="`$opensc_dir/bin/opensc-config --version`" + echo "$as_me:$LINENO: result: found $opensc_versionstring" >&5 + echo "${ECHO_T}found $opensc_versionstring" >&6 +- if test "$wantedversion" \< "${opensc_versionstring}"; then ++ if test "$wantedversion" \> "${opensc_versionstring}"; then + { { echo "$as_me:$LINENO: error: Your OpenSC version is too old. + Please update from http://www.opensc.org/" >&5 + echo "$as_me: error: Your OpenSC version is too old. diff --git a/sys-libs/libchipcard/libchipcard-1.9.12_beta.ebuild b/sys-libs/libchipcard/libchipcard-1.9.12_beta.ebuild new file mode 100644 index 000000000000..901eaeff561b --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-1.9.12_beta.ebuild @@ -0,0 +1,58 @@ +# 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.12_beta.ebuild,v 1.1 2005/07/12 21:47:05 hanno Exp $ + +inherit eutils + +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 ~amd64" + +IUSE="debug ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-1.7.2 + ssl? ( >=dev-libs/openssl-0.9.6b ) + usb? ( dev-libs/libusb ) + >=sys-fs/sysfsutils-1.2.0 " + + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/opensc.patch + + # Fix location of pid file + sed -i -e \ + 's:\${localstatedir}/run/chipcard2:/var/run:g' configure +} + +src_compile() { + 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 +} |