debian/0000755000000000000000000000000012033610265007164 5ustar debian/changelog0000644000000000000000000000353112033610264011037 0ustar smartcardpp (0.3.0-0ubuntu7) quantal; urgency=low * Include in CardBase.cpp for sleep(). * Make sure to include "compat_getopt.h" after anything that might include . -- Colin Watson Fri, 05 Oct 2012 17:54:11 +0100 smartcardpp (0.3.0-0ubuntu6) precise; urgency=low * Reintroduce CDBS list-missing only for common-binary-post-install-arch. -- Martin-Éric Racine Fri, 27 Jan 2012 18:04:14 +0200 smartcardpp (0.3.0-0ubuntu5) precise; urgency=low * Replace CDBS utils.mk list-missing with dh_install --fail-missing. - Removed: include /usr/share/cdbs/1/rules/utils.mk, common-binary-post-install-arch common-binary-post-install-indep:: + Added: DEB_DH_INSTALL_ARGS += --fail-missing --list-missing -- Martin-Éric Racine Thu, 26 Jan 2012 21:53:16 +0200 smartcardpp (0.3.0-0ubuntu4) precise; urgency=low * Changed Maintainer to MOTU and moved others to XSBC-Original-Maintainer. * Moved /usr/bin/card-test to libsmartcardpp-dev. -- Martin-Éric Racine Sat, 21 Jan 2012 07:15:27 +0200 smartcardpp (0.3.0-0ubuntu3) precise; urgency=low * debian/copyright: Added the copyright info for md5.[cpp|h] -- Martin-Éric Racine Wed, 18 Jan 2012 00:19:59 +0200 smartcardpp (0.3.0-0ubuntu2) precise; urgency=low * libsmartcardpp1: Depends upon pcscd. Otherwise, how are we supposed to actually access the card? -- Martin-Éric Racine Tue, 17 Jan 2012 22:41:18 +0200 smartcardpp (0.3.0-0ubuntu1) precise; urgency=low * Initial release for Ubuntu (LP: #916303). Based upon initial packaging by Kalev Lember, with further improvements by Guido Tabbernuk, then packaging review by Martin-Éric Racine. -- Martin-Éric Racine Sat, 14 Jan 2012 01:52:42 +0200 debian/rules0000755000000000000000000000107611710545367010263 0ustar #!/usr/bin/make -f # [debian/rules] for smartcardpp # # COPYRIGHT © 2012 Martin-Éric Racine # # LICENSE # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/cmake.mk common-binary-post-install-arch:: list-missing #EOF debian/watch0000644000000000000000000000015511703434551010223 0ustar version=3 http://esteid.googlecode.com/files/smartcardpp-([\d\.]+)\.tar\.bz2 \ debian uupdate --no-symlink debian/compat0000644000000000000000000000000211452677376010406 0ustar 7 debian/libsmartcardpp1.install0000644000000000000000000000003511706444503013650 0ustar debian/tmp/usr/lib/lib*.so.* debian/source/0000755000000000000000000000000011703425504010467 5ustar debian/source/format0000644000000000000000000000001411703425504011675 0ustar 3.0 (quilt) debian/control0000644000000000000000000000265511707457766010625 0ustar Source: smartcardpp Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Guido Tabbernuk , Martin-Éric Racine Build-Depends: cdbs, debhelper (>= 7), cmake, pkg-config, libpcsclite-dev Standards-Version: 3.9.2 Homepage: http://code.google.com/p/esteid/ Package: libsmartcardpp1 Architecture: any Depends: pcscd, ${misc:Depends}, ${shlibs:Depends} Description: C++ library for accessing Smart Cards smartcardpp is a set of C++ classes to manage Smart Card communications and to implement basic command primitives. . This package provides the runtime libraries. Package: libsmartcardpp1-dbg Section: debug Priority: extra Architecture: any Depends: libsmartcardpp1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: smartcardpp debugging symbols smartcardpp is a set of C++ classes to manage Smart Card communications and to implement basic command primitives. . This package provides the debugging symbols. Package: libsmartcardpp-dev Section: libdevel Architecture: any Depends: libsmartcardpp1 (= ${binary:Version}), libpcsclite-dev, ${misc:Depends}, ${shlibs:Depends} Description: smartcardpp development files smartcardpp is a set of C++ classes to manage Smart Card communications and to implement basic command primitives. . This package provides the development headers and testing tools. debian/patches/0000755000000000000000000000000012033610240010604 5ustar debian/patches/02_CardBase_cpp_unistd.patch0000644000000000000000000000067112033607762016045 0ustar Description: Include in CardBase.cpp for sleep() Author: Colin Watson Forwarded: no Last-Update: 2012-10-05 Index: b/CardBase.cpp =================================================================== --- a/CardBase.cpp +++ b/CardBase.cpp @@ -20,6 +20,8 @@ #include #include #include +#else + #include #endif #define NULLWSTR(a) (a == NULL ? L"" : a) debian/patches/series0000644000000000000000000000013312033610002012012 0ustar 01_CardBase_cpp_typo.patch 02_CardBase_cpp_unistd.patch 03_test_cpp_include_ordering.patch debian/patches/01_CardBase_cpp_typo.patch0000644000000000000000000000331611703433377015532 0ustar Description: fixes typos in the logging messages issued by the binary. Author: Martin-Éric Racine --- smartcardpp-0.3.0.orig/CardBase.cpp +++ smartcardpp-0.3.0/CardBase.cpp @@ -239,10 +239,10 @@ ByteVec CardBase::execute(ByteVec cmd, i } mManager.writeLog("[%s] [%d] Executing", __FUNCTION__, __LINE__); mManager.execCommand(mConnection, cmd, RecvBuffer, realLen); - mManager.writeLog("[%s] [%d] Recieved buffer size is: %i bytes", __FUNCTION__, __LINE__, realLen); + mManager.writeLog("[%s] [%d] Received buffer size is: %i bytes", __FUNCTION__, __LINE__, realLen); if(realLen < 2) { - mManager.writeLog("[%s] [%d] Recieved buffer size is less then two bytes: %i", __FUNCTION__, __LINE__, realLen); + mManager.writeLog("[%s] [%d] Received buffer size is less then two bytes: %i", __FUNCTION__, __LINE__, realLen); SW1 = 0x00; SW2 = 0x00; throw CardDataError("Zero-length input from cardmanager"); @@ -284,10 +284,10 @@ ByteVec CardBase::execute(ByteVec cmd, i mManager.writeLog("[%s] [%d] Executing...", __FUNCTION__, __LINE__); mManager.execCommand(mConnection, cmdReadVec, RecvBuffer, realLen); - mManager.writeLog("[%s] [%d] Recieved buffer size is: %i bytes", __FUNCTION__, __LINE__, realLen); + mManager.writeLog("[%s] [%d] Received buffer size is: %i bytes", __FUNCTION__, __LINE__, realLen); if(realLen < 2) { - mManager.writeLog("[%s] [%d] Recieved buffer size is less then two bytes: %i", __FUNCTION__, __LINE__, realLen); + mManager.writeLog("[%s] [%d] Received buffer size is less then two bytes: %i", __FUNCTION__, __LINE__, realLen); SW1 = 0x00; SW2 = 0x00; throw CardDataError("Zero-length input from cardmanager"); debian/patches/03_test_cpp_include_ordering.patch0000644000000000000000000000113712033610240017346 0ustar Description: Make sure to include "compat_getopt.h" last Including anything that might include after "compat_getopt.h" is a recipe for strange compiler errors. Author: Colin Watson Forwarded: no Last-Update: 2012-10-05 Index: b/test.cpp =================================================================== --- a/test.cpp +++ b/test.cpp @@ -14,8 +14,8 @@ #include #include #include "smartcardpp.h" -#include "compat_getopt.h" #include "compat_getpass.h" +#include "compat_getopt.h" void validateOnPinpad(); void readEstEidCard(EstEidCard &eid); debian/copyright0000644000000000000000000000231411705372013011120 0ustar smartcardpp -- C++ classes to manage smartcard communications This package was debianized by Martin-Éric Racine Thu, 12 Jan 2012 02:47:29 +0200 It was downloaded from Copyrights: smartcardpp: © 2010-2011 Kaido Kert © 2010-2011 Martin Paljak © 2010-2011 Jargo Kõster © 2010-2011 Anton Litovtsenko md5.cpp, md5.h: © Frank Thilo © 1991-1992 RSA Data Security, Inc. debian/*: © 2012 Martin-Éric Racine © 2011 Guido Tabbernuk © 2010 Kalev Lember License: This software is released under either the GNU Library General Public License (see LICENSE.LGPL) or the BSD License (see LICENSE.BSD). Note that the only valid version of the LGPL license as far as this project is concerned is the original GNU Library General Public License, version 2.1, February 1999. On Debian systems, the complete text of the GNU General Public License can be found in . debian/libsmartcardpp-dev.install0000644000000000000000000000016011706444547014352 0ustar debian/tmp/usr/bin/card-test debian/tmp/usr/lib/lib*.so debian/tmp/usr/lib/pkgconfig/* debian/tmp/usr/include/*