diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-03 12:58:17 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-03 12:58:17 +0000 |
commit | ff1d1566bb45945867f40363d6a47e4f7bf34225 (patch) | |
tree | 1848e9f163c97e950b19865abde6a2c957ee7875 /sys-libs/libchipcard | |
parent | Version bump (diff) | |
download | gentoo-2-ff1d1566bb45945867f40363d6a47e4f7bf34225.tar.gz gentoo-2-ff1d1566bb45945867f40363d6a47e4f7bf34225.tar.bz2 gentoo-2-ff1d1566bb45945867f40363d6a47e4f7bf34225.zip |
Version bump wrt #343941 by Sebastian Lüttich.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libchipcard')
-rw-r--r-- | sys-libs/libchipcard/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libchipcard/files/libchipcard-5.0.0-pcsc-lite-1.6.2.patch | 33 | ||||
-rw-r--r-- | sys-libs/libchipcard/libchipcard-5.0.0.ebuild | 50 |
3 files changed, 90 insertions, 1 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index b5ec2ffd33b3..e578b13602e9 100644 --- a/sys-libs/libchipcard/ChangeLog +++ b/sys-libs/libchipcard/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libchipcard # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.89 2010/08/30 17:58:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.90 2010/11/03 12:58:17 ssuominen Exp $ + +*libchipcard-5.0.0 (03 Nov 2010) + + 03 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> + +libchipcard-5.0.0.ebuild, +files/libchipcard-5.0.0-pcsc-lite-1.6.2.patch: + Version bump wrt #343941 by Sebastian Lüttich. 30 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org> libchipcard-4.2.9.ebuild: diff --git a/sys-libs/libchipcard/files/libchipcard-5.0.0-pcsc-lite-1.6.2.patch b/sys-libs/libchipcard/files/libchipcard-5.0.0-pcsc-lite-1.6.2.patch new file mode 100644 index 000000000000..c6109dc753a8 --- /dev/null +++ b/sys-libs/libchipcard/files/libchipcard-5.0.0-pcsc-lite-1.6.2.patch @@ -0,0 +1,33 @@ +http://cvs.pld-linux.org/cgi-bin/cvsweb/packages/libchipcard/libchipcard-pcsc.patch?rev=1.1 + +--- src/lib/client/base/client_p.h ++++ src/lib/client/base/client_p.h +@@ -42,7 +42,7 @@ + SCARDCONTEXT scardContext; + + int pnpAvailable; +- SCARD_READERSTATE_A readerStates[MAX_READERS]; ++ SCARD_READERSTATE readerStates[MAX_READERS]; + int readerCount; + int lastUsedReader; + LPSTR readerList; +--- src/lib/client/base/client.c ++++ src/lib/client/base/client.c +@@ -865,7 +865,7 @@ + DBG_INFO(LC_LOGDOMAIN, "Creating reader \"%s\"", p); + i=cl->readerCount; + /* preset */ +- memset((void*) &(cl->readerStates[i]), 0, sizeof(SCARD_READERSTATE_A)); ++ memset((void*) &(cl->readerStates[i]), 0, sizeof(SCARD_READERSTATE)); + cl->readerStates[i].szReader=p; + cl->readerStates[i].dwCurrentState=SCARD_STATE_UNAWARE; + /* reader added */ +@@ -941,7 +941,7 @@ + assert(cl); + + /* clear reader list and reader status list */ +- memset((void*) &cl->readerStates, 0, sizeof(SCARD_READERSTATE_A)*MAX_READERS); ++ memset((void*) &cl->readerStates, 0, sizeof(SCARD_READERSTATE)*MAX_READERS); + cl->readerCount=0; + free(cl->readerList); + cl->readerList=NULL; diff --git a/sys-libs/libchipcard/libchipcard-5.0.0.ebuild b/sys-libs/libchipcard/libchipcard-5.0.0.ebuild new file mode 100644 index 000000000000..54fe05bbbaab --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-5.0.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-5.0.0.ebuild,v 1.1 2010/11/03 12:58:17 ssuominen Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." +HOMEPAGE="http://www.aquamaniac.de/aqbanking/" +SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=02&release=24&file=01&dummy=${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND=">=sys-libs/gwenhywfar-4.0.1 + >=sys-apps/pcsc-lite-1.6.2 + sys-libs/zlib + virtual/libintl" +DEPEND="${RDEPEND} + sys-devel/gettext + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-pcsc-lite-1.6.2.patch +} + +src_configure() { + econf \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --disable-static \ + $(use_enable doc full-doc) \ + --with-docpath=/usr/share/doc/${PF}/apidoc +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README TODO \ + doc/{CERTIFICATES,CONFIG,IPCCOMMANDS} + + if use examples; then + docinto tutorials + dodoc tutorials/*.{c,h,xml} tutorials/README + fi + + find "${D}" -name '*.la' -exec rm -f '{}' + +} |