debian/0000755000000000000000000000000012156155232007170 5ustar debian/source/0000755000000000000000000000000012156155153010472 5ustar debian/source/format0000644000000000000000000000001412156155153011700 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000005212156155153012105 0ustar unapply-patches abort-on-upstream-changes debian/patches/0000755000000000000000000000000012156155153010621 5ustar debian/patches/FTBFS-gcc-4.7.patch0000644000000000000000000000067212156155153013553 0ustar From: Frank Neuber Date: Wed, 11 Apr 2012 16:09:34 +0200 Subject: [PATCH] Fix Bug#667319 gcc-4.7 support diff --git a/libcyberjack/checksuite/cm_distri.cpp b/libcyberjack/checksuite/cm_distri.cpp index 65d837b..1563561 100644 --- a/libcyberjack/checksuite/cm_distri.cpp +++ b/libcyberjack/checksuite/cm_distri.cpp @@ -19,6 +19,7 @@ #include #include #include +#include debian/patches/series0000644000000000000000000000013112156155153012031 0ustar FTBFS-gcc-4.7.patch use-pkg-config.patch unbreak-libtoolize.patch enable-maintainer-mode debian/patches/use-pkg-config.patch0000644000000000000000000001245712156155153014471 0ustar Author: Frank Neuber diff --git a/configure.ac b/configure.ac index 1e14623..2a701f6 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,7 @@ AC_PROG_AWK AC_CHECK_PROG(SED,sed,sed) ACX_PTHREAD +PKG_PROG_PKG_CONFIG ###------------------------------------------------------------------------- @@ -322,40 +323,62 @@ AC_SUBST(hal_includes) # --------------------------------------------------------------------------- # check for PC/SC # - AQ_CHECK_PCSC AM_CONDITIONAL(USE_PCSC, [test "$have_pcsc" = "yes"]) -if test "$have_pcsc" != "yes"; then - pcsc_includes="-I\$(top_srcdir)/include -I\$(top_srcdir)/include/PCSC" -else - AC_DEFINE(HAVE_PCSC, 1, [if PC/SC is available]) -fi +# check pcsc-lite version +PCSC_NEEDED_VERSION="1.4.0" +PKG_CHECK_EXISTS([libpcsclite], + [PKG_CHECK_MODULES(PCSC, libpcsclite >= $PCSC_NEEDED_VERSION, + [ + AC_DEFINE(HAVE_PCSC, 1, [if PC/SC is available]) + pcsc_includes="$PCSC_CFLAGS" + pcsc_libraries="$PCSC_LIBS" + pcsc_lib="$PCSC_LIBS" + cyberjack_ifd_filename="libifd-cyberjack.so" + cyberjack_ifd_dropdir=`pkg-config --variable=usbdropdir libpcsclite` + AC_SUBST(pcsc_includes) + AC_SUBST(pcsc_libraries) + AC_SUBST(pcsc_lib) + ], + [ + AC_MSG_ERROR([install pcsc-lite $PCSC_NEEDED_VERSION or later]) + ] + )], + [ + AC_MSG_WARN([libpcsclite not found by pkg-config so we try m4]) + if test "$have_pcsc" != "yes"; then + AC_MSG_ERROR([install pcsc-lite $PCSC_NEEDED_VERSION or later]) + else + AC_DEFINE(HAVE_PCSC, 1, [if PC/SC is available]) + + case "$OSYSTEM" in + osx) + cyberjack_ifd_filename="libifd-cyberjack.dylib" + cyberjack_ifd_dropdir="/usr/libexec/SmartCardServices/drivers" + # use our own PC/SC headers for MacOSX + pcsc_includes="-I\$(top_srcdir)/include/macosx -I\$(top_srcdir)/include/macosx/PCSC" + + if test "x$enable_mac_universal" = "xyes" ; then + #mac_version_min="-mmacosx-version-min=10.5" + mac_arches="-arch i386" + #mac_arches="-arch i386 -arch x86_64" + #mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.6.sdk" + #LDFLAGS="$LDFLAGS $mac_arches $mac_sysroot $mac_version_min" + #CFLAGS="$CFLAGS $CFLAGS $mac_arches $mac_sysroot $mac_version_min" + LDFLAGS="$LDFLAGS $mac_arches" + CFLAGS="$CFLAGS $CFLAGS $mac_arches" + CXXFLAGS="$CXXFLAGS $mac_arches" + fi + ;; + linux) + cyberjack_ifd_filename="libifd-cyberjack.so" + cyberjack_ifd_dropdir="\$(libdir)/pcsc/drivers" + ;; + esac + fi + ] - -case "$OSYSTEM" in - osx) - cyberjack_ifd_filename="libifd-cyberjack.dylib" - cyberjack_ifd_dropdir="/usr/libexec/SmartCardServices/drivers" - # use our own PC/SC headers for MacOSX - pcsc_includes="-I\$(top_srcdir)/include/macosx -I\$(top_srcdir)/include/macosx/PCSC" - - if test "x$enable_mac_universal" = "xyes" ; then - #mac_version_min="-mmacosx-version-min=10.5" - mac_arches="-arch i386" - #mac_arches="-arch i386 -arch x86_64" - #mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.6.sdk" - #LDFLAGS="$LDFLAGS $mac_arches $mac_sysroot $mac_version_min" - #CFLAGS="$CFLAGS $CFLAGS $mac_arches $mac_sysroot $mac_version_min" - LDFLAGS="$LDFLAGS $mac_arches" - CFLAGS="$CFLAGS $CFLAGS $mac_arches" - CXXFLAGS="$CXXFLAGS $mac_arches" - fi - ;; - linux) - cyberjack_ifd_filename="libifd-cyberjack.so" - cyberjack_ifd_dropdir="\$(libdir)/pcsc/drivers" - ;; -esac +) AC_ARG_WITH(usbdropdir, [ --with-usbdropdir pcsc bundle location], @@ -529,6 +552,8 @@ else fi USE_HOTPLUG=0 USE_UDEV=0 +USE_HAL=0 +CONFIGURE_HAL="no" UDEV_RULES_FILE="rules.new" RPM_PCSC_DROPDIR="%{_libdir}/readers" @@ -540,6 +565,11 @@ if test -n "${RPM_COMMAND}"; then # RPM_DIST_VER="`rpm -q --queryformat='%{VERSION}' mandriva-release 2>/dev/null`" read v1 v2 v3 v4 v5 Wed, 12 Jun 2013 19:32:06 +0200 pcsc-cyberjack (3.99.5final.sp03-1) unstable; urgency=low * new upstream version 3.99.5final.SP03 (closes: #657343). New upstream fixes: - fix FEATURE_MCT_READERDIRECT reader disconnect on pinpad - add support for cyberJack compact -fix speed problem pinpad <--> seccos6 card * Fixed by adding support for pkg-config in configure.ac (closes: #666661) * Fix compile errors using gcc-4.7 (closes: Bug#667319) -- Frank Neuber Thu, 12 Apr 2012 10:11:58 +0200 pcsc-cyberjack (3.99.5final.SP02-1) unstable; urgency=low * Upload to unstable (Closes: #637742) * Add myself to Uploaders -- Reinhard Tartler Sun, 07 Aug 2011 21:03:23 +0200 pcsc-cyberjack (3.99.5final.SP02) stable; urgency=low * released 3.99.5final.SP02 * PinVerify/Modify-Problem Responsecode 0x6b80 fixed -- Frank Neuber Tue, 14 Jun 2011 09:53:20 +0200 pcsc-cyberjack (3.99.5final.SP01) stable; urgency=low * released 3.99.5final.SP01 * new version numbering 3.99.5final.SPXX * return the PackageVersion 3.99.5 over APDU: FF 9A 01 07 00 * fix pin change/modify problem on pinpad * remove the cyberjack group dependency -- Frank Neuber Wed, 01 Jun 2011 17:36:03 +0200 pcsc-cyberjack (3.99.5final) stable; urgency=low * released 3.99.5final * make sure that tue pcscd is restarted after installation on suse and on ubuntu -- Frank Neuber Thu, 12 May 2011 13:27:28 +0200 pcsc-cyberjack (3.99.5stable) stable; urgency=low * released 3.99.5stable * code merge with main driver sources at Reiner SCT from Mon, 9 May 2011 15:02:38 +0200 -- Frank Neuber Wed, 11 May 2011 15:21:34 +0200 pcsc-cyberjack (3.99.6rc5) stable; urgency=low * released 3.99.6rc5 * fix usb init context problem on osx 10.6 64 bit * add support building universal binarys on osx -- Frank Neuber Wed, 13 Apr 2011 11:48:25 +0200 pcsc-cyberjack (3.99.6rc4) stable; urgency=low * released 3.99.6rc4 * add support for newer pcscd which pass the interface number in the usb descriptor * add support for libudev which is used in pcscd 1.7.0 -- Frank Neuber Tue, 05 Apr 2011 14:28:42 +0200 pcsc-cyberjack (3.99.6rc3) stable; urgency=low * released 3.99.6rc3 * chance driver version to 3.99 APDU ff9a010700 * add reader name APDU ff9a010300 * fix buffer length (tested with GET CHALLENGE command APDU 00840000ff) -- Frank Neuber Mon, 04 Apr 2011 12:16:17 +0200 pcsc-cyberjack (3.99.6rc2) stable; urgency=low * released 3.99.6rc2 * merge 3.99.6beta into 3.99.5rc2 * add support for FEATURE_EXECUTE_PACE only for readers with RSCT_READER_HARDWARE_MASK_PACE flag -- Frank Neuber Thu, 24 Mar 2011 11:43:53 +0100 pcsc-cyberjack (3.99.5rc1) stable; urgency=low * released 3.99.5rc1 * add support for FEATURE_EXECUTE_PACE -- Frank Neuber Fri, 18 Mar 2011 10:35:44 +0100 libifd-cyberjack6 (3.99.6beta-1) stable; urgency=low * released 3.99.6beta * compiles on OpenSuSE 11.4 -- Martin Preuss Sat, 18 Mar 2011 23:58:00 +0200 libifd-cyberjack6 (3.99.5beta-1) stable; urgency=low * released 3.99.5beta * merged with main driver sources at Reiner SCT -- Martin Preuss Mon, 14 Feb 2011 19:46:00 +0200 libifd-cyberjack6 (3.99.4beta-1) stable; urgency=low * released 3.99.4beta * merged with main driver sources at Reiner SCT * added support for new 0x501er readers -- Martin Preuss Thu, 10 Feb 2011 18:15:00 +0200 libifd-cyberjack6 (3.99.3beta-1) stable; urgency=low * released 3.99.3beta * merged with main driver sources at Reiner SCT * added support for 0x300er readers -- Martin Preuss Wed, 02 Feb 2011 22:16:00 +0200 libifd-cyberjack6 (3.99.1beta-1) stable; urgency=low * released 3.99.1beta * reorganized driver to only support the IFD API * merged with main driver sources at Reiner SCT * removed support for old 0x100er readers * temporarily removed support for 0x300er readers (support for those readers in the new driver is not yet finished) -- Martin Preuss Sat, 04 Dec 2010 13:35:00 +0200 debian/compat0000644000000000000000000000000212156155153010370 0ustar 8 debian/libifd-cyberjack6.dirs0000644000000000000000000000037612156155153013335 0ustar usr/bin usr/lib usr/lib/pcsc usr/lib/pcsc/drivers usr/lib/pcsc/drivers/libifd-cyberjack.bundle usr/lib/pcsc/drivers/libifd-cyberjack.bundle usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux debian/copyright0000644000000000000000000000434112156155153011127 0ustar This package was debianized by Martin Preuss on Thu, 10 Aug 2006 21:43:31 +0200. It was downloaded from http://www.reiner-sct.de/ Package maintenance was taken over by Frank Neuber and Reinhard Tartler . Both hold copyrights on changes files matching debian/* Upstream Author: Copyright: 2001, 2004-2007 REINER SCT Matthias Bruestle, Harald Welte Martin Preuss (support@reiner-sct.com) 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. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA The Debian packaging is (C) 2006, Martin Preuss and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. The files matching ./doc/verifypin_*.c are not used during package build. Both carry the following copyright notice: scardcontrol.c: sample code to use/test SCardControl() API Copyright (C) 2004-2005 Ludovic Rousseau This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA debian/libifd-cyberjack6.udev0000644000000000000000000000146312156155153013335 0ustar # If not adding the device, go away ACTION!="add", GOTO="cyberjack_rules_end" SUBSYSTEM!="usb", GOTO="cyberjack_rules_end" ENV{DEVTYPE}!="usb_device", GOTO="cyberjack_rules_end" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0100", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0300", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0400", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0401", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0500", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0501", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0502", MODE="660", GROUP="pcscd" ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0504", MODE="660", GROUP="pcscd" # All done LABEL="cyberjack_rules_end" debian/libifd-cyberjack6.install0000644000000000000000000000010412156155153014027 0ustar usr/lib/pcsc/drivers usr/bin/cyberjack usr/lib/cyberjack/getdist.sh debian/fxcyberjack.install0000644000000000000000000000002412156155153013051 0ustar usr/bin/fxcyberjack debian/libifd-cyberjack6.examples0000644000000000000000000000003312156155153014200 0ustar etc/cyberjack.conf.default debian/docs0000644000000000000000000000004012156155153010037 0ustar doc/README.txt doc/LIESMICH.txt debian/rules0000755000000000000000000000102312156155153010246 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ --parallel --with autoreconf override_dh_clean: dh_clean rm -rf autom4te.cache/ override_dh_auto_configure: dh_auto_configure -- --sysconfdir=/etc/cyberjack override_dh_install: mkdir -p debian/libifd-cyberjack6/etc/cyberjack cp -v etc/cyberjack.conf.default \ debian/libifd-cyberjack6/etc/cyberjack/cyberjack.conf find debian/tmp -name '*.la' -exec sed -i "/dependency_libs/ s/'.*'/''/" {} + dh_install override_dh_installchangelogs: dh_installchangelogs ChangeLog debian/control0000644000000000000000000000225412156155153010600 0ustar Source: pcsc-cyberjack Section: misc Priority: optional Maintainer: Frank Neuber Uploaders: Reinhard Tartler Build-Depends: autotools-dev, debhelper (>= 8), dh-autoreconf, libfox-1.6-dev, libpcsclite-dev, libusb-1.0-0-dev, libxml2-dev Standards-Version: 3.9.4 Homepage: http://www.reiner-sct.com/ Vcs-Git: git://git.debian.org/git/collab-maint/pcsc-cyberjack.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pcsc-cyberjack.git Package: libifd-cyberjack6 Architecture: any Depends: pcscd, ${misc:Depends}, ${shlibs:Depends} Provides: pcsc-ifd-handler Suggests: pcsc-tools Recommends: Description: REINER SCT cyberJack USB chipcard reader user space driver This package includes the IFD driver for the cyberJack contactless (RFID) and contact USB chipcard reader. Package: fxcyberjack Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: libifd-cyberjack6 Description: Graphical diagnostics and maintenance tool for Reiner SCT Cyberjacks This package contains the graphical tool which allows diagnosing typical driver setup problems. It is also able to flash new software to current cyberJack readers.