summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-11-03 12:58:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-11-03 12:58:17 +0000
commitb96e9da50f2c94956799bd3595abf61f3ffde8fd (patch)
tree187fbf36e213c910b52323cab6fdec5147a8cf5e /sys-libs
parentVersion bump (diff)
downloadhistorical-b96e9da50f2c94956799bd3595abf61f3ffde8fd.tar.gz
historical-b96e9da50f2c94956799bd3595abf61f3ffde8fd.tar.bz2
historical-b96e9da50f2c94956799bd3595abf61f3ffde8fd.zip
Version bump wrt #343941 by Sebastian Lüttich.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libchipcard/ChangeLog8
-rw-r--r--sys-libs/libchipcard/Manifest15
-rw-r--r--sys-libs/libchipcard/files/libchipcard-5.0.0-pcsc-lite-1.6.2.patch33
-rw-r--r--sys-libs/libchipcard/libchipcard-5.0.0.ebuild50
4 files changed, 94 insertions, 12 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/Manifest b/sys-libs/libchipcard/Manifest
index 3d205640d381..144e464b1982 100644
--- a/sys-libs/libchipcard/Manifest
+++ b/sys-libs/libchipcard/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX chipcardd4 526 RMD160 55db20bee2b11f7e514c116b384466129e18baab SHA1 5caedbdc7da94263bae45efc4d2b602584386c89 SHA256 14b93542aa1cb5d38c4a5e8cb9b474c5b670eb490bd5439daaec69daa5ba5872
+AUX libchipcard-5.0.0-pcsc-lite-1.6.2.patch 1159 RMD160 0631c570b1cd301244629444e00e8ee92900fc66 SHA1 549b0cb905a0d3a7529e5c1bdb6a87dd7016005c SHA256 44db1c05a754b74fddea4a2108b260964f15babfa65aaf18166f7d8ef294c4cf
DIST libchipcard-4.2.8.tar.gz 1059485 RMD160 1f7360a567351c94451610143ee9e69cde29c1b8 SHA1 878d56c33c7611ccbd64edf9514475419fc41c5f SHA256 0e6dd702a5f75ecb43c5a598a5a66de104541bd2ff8caeef2b59f18a803db12b
DIST libchipcard-4.2.9.tar.gz 1115280 RMD160 5b323ed4707361e255b20dc5f1e3f48d291642d9 SHA1 603d34a2243c8eae38bf0a3c5249482a74c6274d SHA256 2df61dd2a8dee80157791985f0b38754ca6142bf8ce1c31db36b6dc4068f6389
+DIST libchipcard-5.0.0.tar.gz 727280 RMD160 7d9e96870d495ad99a0deda814314bbf348f580a SHA1 e3611b6f3f2494c99bf257c99de8c45d51d3ec04 SHA256 deea8bd67bd6de558180142cee91f197fca239448f7fedfcafe05ce449c5c820
EBUILD libchipcard-4.2.8.ebuild 1163 RMD160 6e840f46437f0186851bff5d949d420d4b7f26e3 SHA1 4cb57e71e99a400b190b7fae54305e0617cc5553 SHA256 93ae8ac7a20c599cb711f9706a4773c9c0029b8db284a319a7f95d7afd0e0864
EBUILD libchipcard-4.2.9.ebuild 1258 RMD160 d2922280028ba55ee751c07e4e094ebd7513853b SHA1 c3ea0b07c0b63ff6985de1f5012c82cdb8338ba3 SHA256 0461923cf3a82163a81a4c625a9e465566f8ad4ca6b5c1382b786fa5a65722ce
-MISC ChangeLog 11806 RMD160 fac233f807a72b30cc534047106db4341aa03873 SHA1 6306360a9a9849ecf03f7f9098c7eb6ce9cb7723 SHA256 853f0009aba3914782466545d8b5383a37dd9ce5afd021aa24e7f684a5f719ed
+EBUILD libchipcard-5.0.0.ebuild 1328 RMD160 298bbbec5835dc4be42c61a37df0e8ebb9c0e641 SHA1 350b28f0bf6ffd12739c20a6cb7a33ff1848672c SHA256 066b53ddfef10cfe07668e2624254a898d3d72ce6162a441524da345388e8c7b
+MISC ChangeLog 12022 RMD160 ac413e8648e78d3fd7703a12d5d0bc7fef8f543d SHA1 1d16d1eaf6ad3c9e16c223c71f0ba2a73906a2a5 SHA256 7524f4d4d6f1e61c4744f361845214d12ad70cd0db35cae2d54ac0394b69eeec
MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkx78cEACgkQAiZjviIA2Xj8UQCdGrTNQ3P46dxDA/DrM0CHFc8W
-LKIAoOoutWlkpyRxp57WcOhMOL2B7oQb
-=Ls+D
------END PGP SIGNATURE-----
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 '{}' +
+}