Hello community,

here is the log from the commit of package pcsc-acr38 for openSUSE:12.2 checked 
in at 2012-07-23 12:09:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2/pcsc-acr38 (Old)
 and      /work/SRC/openSUSE:12.2/.pcsc-acr38.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcsc-acr38", Maintainer is "[email protected]"

Changes:
--------
New Changes file:

--- /dev/null   2012-07-06 19:40:38.919402255 +0200
+++ /work/SRC/openSUSE:12.2/.pcsc-acr38.new/pcsc-acr38.changes  2012-07-23 
12:09:54.000000000 +0200
@@ -0,0 +1,337 @@
+-------------------------------------------------------------------
+Wed Jul 11 22:53:18 CEST 2012 - [email protected]
+
+- Update to version 1.7.11:
+  * Add ACR38U-SAM support.
+  * Fix the problem when receiving a buffer(data+SW) of length in
+    times of 64 bytes.
+
+-------------------------------------------------------------------
+Sun Nov 20 06:27:34 UTC 2011 - [email protected]
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Mon Feb 15 11:12:21 CET 2010 - [email protected]
+
+- refresh patch to fix build (did this ever work?)
+
+-------------------------------------------------------------------
+Wed Oct  7 15:45:05 CEST 2009 - [email protected]
+
+- Updated to version 1.7.10:
+  * fixed special handling of PPS for old firmware
+  * support for ACS CryptoMate
+  * ported to libusb
+  * other fixes
+
+-------------------------------------------------------------------
+Wed Apr  8 15:27:48 CEST 2009 - [email protected]
+
+- Use modalias supplements instead of eID issuer locales.
+- Split according to shared library packaging policy.
+- Require pcsc-lite.
+
+-------------------------------------------------------------------
+Mon Sep 15 15:42:14 CEST 2008 - [email protected]
+
+- Fixed implicit declaration.
+
+-------------------------------------------------------------------
+Thu Jul 26 15:34:15 CEST 2007 - [email protected]
+
+- Applied patch changing PCSCLITE_USB_PATH (#259973).
+
+-------------------------------------------------------------------
+Thu May 31 13:09:39 CEST 2007 - [email protected]
+
+- Fixed module path.
+- Removed broken patch changing PCSCLITE_USB_PATH to /dev/bus/usb.
+  (#259973).
+
+-------------------------------------------------------------------
+Fri May 25 11:53:16 CEST 2007 - [email protected]
+
+- Updated to version 1.7.9:
+  * Fixed an error in the target location of libacr38ucontrol.pc
+  * Mac only release that includes Universal Binary
+  * Issue PPS in a loop to handle the case when PTS1=0x95 for
+    older ACR38
+- Fixes unplug-replug without restarting pcscd (#259973).
+- Added devel subpackage.
+- Use classic versioning schema (used in upstream ChangeLog).
+
+-------------------------------------------------------------------
+Mon Nov 27 11:59:22 CET 2006 - [email protected]
+
+- use /dev/bus/usb instead of /proc/bus/usb (#223740)
+
+-------------------------------------------------------------------
+Tue Nov  7 16:49:08 CET 2006 - [email protected]
+
+- fixed ucRead size [#186108]
+
+-------------------------------------------------------------------
+Sun Apr  2 00:11:42 CEST 2006 - [email protected]
+
+- added missing locale provides (Bug #161867) 
+
+-------------------------------------------------------------------
+Wed Jan 25 21:39:19 CET 2006 - [email protected]
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Tue Jan  3 08:59:37 CET 2006 - [email protected]
+
+- move to separate source package
+
+-------------------------------------------------------------------
+Mon Jan  2 07:29:48 CET 2006 - [email protected]
+
+- removed obsolete hotplug stuff for cyberjack
+- Updated pcsc-lite to version 1.2.9-beta9
+- Updated CCID driver to 0.9.4
+- Updated GemPC driver to 1.0.0
+- package pkgconfig files to be able to build drivers outside 
+  the package
+
+-------------------------------------------------------------------
+Tue Dec 20 16:08:24 CET 2005 - [email protected]
+
+- removed unpackaged man-page symlinks 
+
+-------------------------------------------------------------------
+Tue Nov 29 11:59:15 CET 2005 - [email protected]
+
+- remove keeper from nfb (unused) 
+
+-------------------------------------------------------------------
+Mon Oct 10 13:02:47 CEST 2005 - [email protected]
+
+- Updated towitoko driver to 2.0.7 and install USB bundle
+
+-------------------------------------------------------------------
+Wed Sep 21 22:17:12 CEST 2005 - [email protected]
+
+- Repackaged CCID as bundle for USB usage (#116497)
+
+-------------------------------------------------------------------
+Tue Sep 20 06:24:30 CEST 2005 - [email protected]
+
+- handle old reader.conf in upgrade case
+- compile with -fno-strict-aliasing
+- fixed missing return in ctapi-cyberjack
+
+-------------------------------------------------------------------
+Sat Sep 17 11:46:52 CEST 2005 - [email protected]
+
+- Updated pcsc-lite to version 1.2.9beta8 (#116497)
+  * use /etc/reader.conf.d/
+  * adapted init script to create /etc/reader.conf
+- Updated cyberjack driver to version 2.0.9
+  * use rpath for cyberjack tools
+- Updated ccid driver to version 0.9.3 (#116497)
+- Use RPM_OPT_FLAGS everywhere
+- Fixed serious compiler warnings
+
+-------------------------------------------------------------------
+Mon Sep  5 15:25:59 CEST 2005 - [email protected]
+
+- fix off-by-one error in hotplug_libusb.c [#112964]
+
+-------------------------------------------------------------------
+Mon Aug 29 15:35:33 CEST 2005 - [email protected]
+
+- Remove unnecessary files from pcsc-acr38 again [#112927]
+
+-------------------------------------------------------------------
+Mon Aug 29 14:33:44 CEST 2005 - [email protected]
+
+- package ACR38 driver in correct bundle format [#112927]
+- remove orphaned /var/run/pcscd.pub when necessary [#112928]
+- update ACR38u driver to version 100705 to fix crash when reader
+  is plugged in [#112964]
+
+-------------------------------------------------------------------
+Tue Aug 16 14:15:41 CEST 2005 - [email protected]
+
+- Updated ACR38u driver to version 100703
+
+-------------------------------------------------------------------
+Tue Jul 26 17:47:53 CEST 2005 - [email protected]
+
+- Added ACR38u driver
+
+-------------------------------------------------------------------
+Tue Jul 26 13:29:37 CEST 2005 - [email protected]
+
+- Updated description in init script (#79287)
+
+-------------------------------------------------------------------
+Thu Jun 16 17:12:15 CEST 2005 - [email protected]
+
+- use RPM_OPT_FLAGS in 1 more driver
+- added includes to avoid implict declaration of memcpy and similar.
+
+-------------------------------------------------------------------
+Mon Apr 18 18:12:49 CEST 2005 - [email protected]
+
+- make it build with gcc-4 
+
+-------------------------------------------------------------------
+Thu Mar 17 12:45:39 CET 2005 - [email protected]
+
+- Disable support for extended-apdus, it eats 32MB of memory (#73629)
+
+-------------------------------------------------------------------
+Thu Mar 10 11:49:25 CET 2005 - [email protected]
+
+- Fix default search location for USB bundles
+
+-------------------------------------------------------------------
+Fri Jan 21 15:11:43 CET 2005 - [email protected]
+
+- Updated to latest upstream version
+- Updated several drivers
+- Added CCID driver
++++ 140 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2/.pcsc-acr38.new/pcsc-acr38.changes

Old:
----
  _link

New:
----
  ACR38_Driver_Lnx_101_P.zip
  ACR38_LINUX_100705_P-usb.diff
  ACR38_LINUX_100710-automake-cleanup.patch
  pcsc-acr38.changes
  pcsc-acr38.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcsc-acr38.spec ++++++
#
# spec file for package pcsc-acr38
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           pcsc-acr38
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  libusb-devel
BuildRequires:  pcsc-lite-devel
BuildRequires:  pkg-config
BuildRequires:  unzip
Version:        1.7.11
Release:        0
%define envelope_tar_version 101_P
%define tar_version 100711_P
Url:            http://www.acs.com.hk/drivers-manual.php?driver=ACR38
Summary:        PC/SC IFD Handler for the ACR38 Smart Card Reader
License:        GPL-2.0+
Group:          Productivity/Security
# This source is a zip that contains two tar files with drivers, one for
# non-CCID devices, one for CCID devices.
Source:         ACR38_Driver_Lnx_%{envelope_tar_version}.zip
Patch2:         ACR38_LINUX_100705_P-usb.diff
Patch3:         ACR38_LINUX_100710-automake-cleanup.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       pcsc-lite
Supplements:    modalias(usb:v072Fp9000d*dc*dsc*dp*ic*isc*ip*)
Supplements:    modalias(usb:v072Fp90CFd*dc*dsc*dp*ic*isc*ip*)
Supplements:    modalias(usb:v072Fp9006d*dc*dsc*dp*ic*isc*ip*)
%define ifddir %(pkg-config libpcsclite --variable=usbdropdir)

%description
This package contains a driver for the ACR 38 smart card reader
produced by ACS.

This driver is meant to be used with the PCSC-Lite daemon from the
pcsc-lite package.

%package -n libacr38ucontrol0
Summary:        Library for PC/SC IFD Handler for the ACR38 Smart Card Reader
Group:          System/Libraries

%description -n libacr38ucontrol0
This package contains a driver for the ACR 38 smart card reader
produced by ACS.

This driver is meant to be used with the PCSC-Lite daemon from the
pcsc-lite package.

%package devel
Summary:        PC/SC IFD Handler for the ACR38 Smart Card Reader
Group:          Development/Libraries/C and C++
Requires:       libacr38ucontrol0 = %{version}
Requires:       pcsc-lite-devel

%description devel
This package contains a driver for the ACR 38 smart card reader
produced by ACS.

This driver is meant to be used with the PCSC-Lite daemon from the
pcsc-lite package.

%prep
%setup -q -c
cd non-ccid
tar -jxf ACR38_LINUX_%{tar_version}.tar.bz2
cd ACR38_LINUX_%{tar_version}
mv src/driver/Info.plist src/driver/Info.plist.in
%patch2
%patch3

%build
cd non-ccid/ACR38_LINUX_%{tar_version}
autoreconf -f -i
%configure\
        --disable-static
make %{?jobs:-j%jobs}

%install
cd non-ccid/ACR38_LINUX_%{tar_version}
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{ifddir}/*/*/*/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libacr38ucontrol0 -p /sbin/ldconfig

%postun -n libacr38ucontrol0 -p /sbin/ldconfig

%files
%defattr(-,root,root)
# NEWS is empty
%doc non-ccid/ACR38_LINUX_%{tar_version}/AUTHORS 
non-ccid/ACR38_LINUX_%{tar_version}/COPYING 
non-ccid/ACR38_LINUX_%{tar_version}/ChangeLog 
non-ccid/ACR38_LINUX_%{tar_version}/README
%{ifddir}/*

%files -n libacr38ucontrol0
%defattr(-,root,root)
%{_libdir}/libacr38ucontrol.so.0
%{_libdir}/libacr38ucontrol.so.0.*

%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%changelog
++++++ ACR38_LINUX_100705_P-usb.diff ++++++
Index: src/driver/usblinux.c
===================================================================
--- src/driver/usblinux.c       2006-06-23 10:04:00.000000000 +0200
+++ src/driver/usblinux.c       2012-07-11 22:20:37.608021190 +0200
@@ -17,7 +17,7 @@
 #include <usblinux.h>
 #include "config.h"
 
-#define PCSCLITE_USB_PATH      "/proc/bus/usb"
+#define PCSCLITE_USB_PATH      "/dev/bus/usb"
 
 
 int open_linux_usb_dev ( unsigned int manuID, unsigned int prodID, unsigned 
int lunNum )
++++++ ACR38_LINUX_100710-automake-cleanup.patch ++++++
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -7,9 +7,6 @@
 AC_CONFIG_AUX_DIR(build)
 AC_CONFIG_HEADER([config.h])
 
-# Default install dir
-AC_PREFIX_DEFAULT(/usr/local)
-
 # Include commands that automake needs
 AM_INIT_AUTOMAKE
 
@@ -73,32 +70,10 @@
        fi
 fi
 
-# removed by ZETES
-# AC_SUBST([PKG_PCSC_CONFIG_PATH],[$pcscdropdir/lib/pkgconfig])
-# removed by ZETES
-# AC_SUBST([PKG_PCSCLITE],[$pcscdropdir/lib/pkgconfig/libpcsclite.pc])
-
-# added by ZETES ...
-PKG_PCSCLITE="libpcsclite"
-# ... added by ZETES
-
 # Check if pkg-config exists
-AC_CHECK_PROG([PKGCONFIG], [pkg-config], [yes])
-if test "$PKGCONFIG" = "yes"; then
-       if ! `pkg-config --print-errors --atleast-version=1.2.0 $PKG_PCSCLITE`
-       then
-               AC_MSG_ERROR([install pcsc-lite 1.2.0 or later])
-       fi
-fi
-
-# Check for libusb 0.1.12
-PKG_LIBUSB="libusb"
-if test "$PKGCONFIG" = "yes"; then
-       if ! `pkg-config --print-errors --atleast-version=0.1.12 $PKG_LIBUSB`
-       then
-               AC_MSG_ERROR([install libusb 0.1.12 or later])
-       fi
-fi
+PKG_CHECK_MODULES([PCSCLITE], [libpcsclite >= 1.2.0])
+PKG_CHECK_MODULES([LIBUSB], [libusb >= 0.1.12],,
+       AC_MSG_ERROR([install libusb 0.1.12 or later]))
 
 # --enable-usbdropdir=DIR
 AC_ARG_ENABLE([usbdropdir],
@@ -108,20 +83,8 @@
                        [usbdropdir=false])
 
 if test "${usbdropdir}" = false ; then
-       if test "$PKGCONFIG" = yes ; then
-               usbdropdir=`pkg-config $PKG_PCSCLITE --variable=usbdropdir`
-       else
-               usbdropdir=""
-       fi
-       if test -z "$usbdropdir" ; then
-               if test "$prefix" = NONE ; then
-                       usbdropdir="$ac_default_prefix/pcsc/drivers"
-               else
-                       usbdropdir="$prefix/pcsc/drivers"
-               fi
-       fi
+               usbdropdir=`$PKG_CONFIG libpcsclite --variable=usbdropdir`
 fi
-
 AC_SUBST(usbdropdir)
 
 AC_MSG_RESULT([USB drop directory      : $usbdropdir])
@@ -143,42 +106,11 @@
 AC_PROG_CC
 AC_PROG_LIBTOOL
 
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lpcsclite':
-#AC_CHECK_LIB([pcsclite], [main])
-# FIXME: Replace `main' with a function in `-lpthread':
-#AC_CHECK_LIB([pthread], [main])
-
 # Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_CHECK_HEADERS([fcntl.h limits.h malloc.h memory.h stdlib.h string.h 
sys/ioctl.h syslog.h unistd.h])
 
-# Test if pcsclite-1.2.9betaX is installed
-#if test -d $pcsclite_inc/PCSC; then
-#      echo "PCSCLITE-1.2.9 or above is installed"
-#      pcsclite_inc="$pcsclite_inc/PCSC"
-#else
-#      echo "PCSCLITE-1.2.0 is installed"
-#fi
-
-# Setup the compiler and linker flag
-OLD_CFLAGS=$CFLAGS
-CFLAGS="$CFLAGS `pkg-config --cflags $PKG_PCSCLITE`"
-CFLAGS="$CFLAGS `pkg-config --cflags $PKG_LIBUSB`"
-
-# Check for pcsclite header files
-# removed by ZETES NO_PCSC_MSG="Please install PCSCLITE 1.2.0 or later before 
building the driver!!"
-# removed by ZETES 
AC_CHECK_HEADER([pcsclite.h],,[AC_MSG_ERROR([$NO_PCSC_MSG])],[#include 
<pcsclite.h>])
-
-# removed by ZETES CFLAGS=$OLD_CFLAGS
-
-AC_SUBST(LIBPCSCLITE)
-LIBPCSCLITE=`pkg-config --libs $PKG_PCSCLITE`
-
-AC_SUBST(LIBUSB)
-LIBUSB=`pkg-config --libs $PKG_LIBUSB`
-
 # Select OS specific versions of source files.
 AC_SUBST(BUNDLE_HOST)
 AC_SUBST(DYN_LIB_EXT)
@@ -218,6 +150,7 @@
 AC_CONFIG_FILES([Makefile
                  src/driver/Makefile
                  src/controllib/Makefile
-                 src/controllib/libacr38ucontrol.pc])
+                 src/controllib/libacr38ucontrol.pc
+                 src/driver/Info.plist])
 
 AC_OUTPUT
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -4,5 +4,7 @@
 #
 # Process this file with automake to produce a Makefile.in script.
 
 # -- Top-level Makefile.am --
 SUBDIRS = src/controllib src/driver
+
+DISTCHECK_CONFIGURE_FLAGS = --enable-usbdropdir=$$dc_install_base/pcsc/drivers
Index: src/controllib/Makefile.am
===================================================================
--- src/controllib/Makefile.am.orig
+++ src/controllib/Makefile.am
@@ -2,22 +2,19 @@
 # Copyright (c) 1994 - 2005 Advanced Card Systems Ltd
 # All rights reserved.
 #
 # Process this file with automake to produce a Makefile.in script.
 
-ACR38_CONTROLLIB = libacr38ucontrol.$(DYN_LIB_EXT)
-
-AM_CPPFLAGS = -I../driver `pkg-config libpcsclite --cflags` 
+AM_CPPFLAGS = -I $(top_srcdir)/src/driver $(PCSCLITE_CFLAGS)
 
 lib_LTLIBRARIES = libacr38ucontrol.la
 include_HEADERS = ACS38DrvTools.h
 noinst_HEADERS = ../driver/ACR38IOCtrl.h
 
 SRC_CONTROLLIB = ACS38DrvTools.c               \
                                 ACS38DrvTools.h
 
 libacr38ucontrol_la_SOURCES = $(SRC_CONTROLLIB)
-libacr38ucontrol_la_CFLAGS = `pkg-config libpcsclite --cflags`
+libacr38ucontrol_la_CFLAGS = $(PCSCLITE_LIBS)
 
-#pcdir= $(PKG_PCSC_CONFIG_PATH)
-pcdir= @prefix@/lib/pkgconfig
-pc_DATA = libacr38ucontrol.pc
+pkgconfigdir= $(libdir)/pkgconfig
+pkgconfig_DATA = libacr38ucontrol.pc
Index: src/driver/Makefile.am
===================================================================
--- src/driver/Makefile.am.orig
+++ src/driver/Makefile.am
@@ -5,15 +5,16 @@
 # Process this file with automake to produce a Makefile.in script.
 
 DRIVER_NAME = ACR38UDriver
-DRIVER_LIB_NAME = lib$(DRIVER_NAME).$(DYN_LIB_EXT)
 DRIVER_BUNDLE_DIR = $(DRIVER_NAME).bundle
-DRIVER_INSTALL_HOME_DIR = pcsc/drivers/$(DRIVER_LIB_NAME).bundle/Contents/Linux
 
-AM_CPPFLAGS = `pkg-config libpcsclite --cflags`
+driverdir=$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)
 
-EXTRA_DIST = Info.plist
+AM_CPPFLAGS = $(PCSCLITE_CFLAGS) $(LIBUSB_CFLAGS)
 
-lib_LTLIBRARIES = libACR38UDriver.la
+plistdir=$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents
+plist_DATA=Info.plist
+
+driver_LTLIBRARIES = ACR38UDriver.la
 
 SRC_DRV = ACR38IOCtrl.h \
        AdmHndlr.c \
@@ -33,14 +34,6 @@
 SRC_USB = usbserial_linux.c \
        usbserial_linux.h
 
-libACR38UDriver_la_SOURCES = $(SRC_DRV) $(SRC_USB)
-libACR38UDriver_la_LIBADD = @LIBPCSCLITE@ @LIBUSB@ @COREFOUNDATION@ @IOKIT@
-
-install: libACR38UDriver.la
-       $(mkinstalldirs) 
$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/
-       $(INSTALL) .libs/$(DRIVER_LIB_NAME) 
$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_NAME)
-       $(INSTALL) Info.plist $(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents
-#      chmod 755 
$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_LIB_NAME)
-
-uninstall:
-       rm -rf $(usbdropdir)/$(DRIVER_BUNDLE_DIR)
+ACR38UDriver_la_SOURCES = $(SRC_DRV) $(SRC_USB)
+ACR38UDriver_la_LIBADD = $(PCSCLITE_LIBS) $(LIBUSB_LIBS) $(COREFOUNDATION) 
$(IOKIT)
+ACR38UDriver_la_LDFLAGS = -module -avoid-version
Index: src/driver/Info.plist
===================================================================
--- src/driver/Info.plist.in.orig
+++ src/driver/Info.plist.in
@@ -20,7 +20,7 @@
        <string>0x00000001</string>
 
        <key>CFBundleExecutable</key>
-       <string>ACR38UDriver</string>
+       <string>ACR38UDriver.@DYN_LIB_EXT@</string>
 
        <key>ifdManufacturerString</key>
        <string>Advanced Card Systems Ltd.</string>
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to