Hello community,
here is the log from the commit of package pcsc-lite
checked in at Thu Feb 15 18:27:22 CET 2007.
--------
--- pcsc-lite/pcsc-lite.changes 2007-01-17 14:45:34.000000000 +0100
+++ /mounts/work_src_done/STABLE/pcsc-lite/pcsc-lite.changes 2007-02-13 14:27:56.000000000 +0100
@@ -1,0 +2,16 @@
+Tue Feb 13 14:08:53 CET 2007 - sbrabec@suse.cz
+
+- Updated to version 1.3.3:
+ * Added -H --hotplug argument.
+ * Added support for IFD_GENERATE_HOTPLUG bit in driver Info.plist
+ ifdCapabilities.
+ * SCardConnect() & SCardDisconnect(): Wait until any transaction
+ finishes before going on.
+ * Removed tools installifd and formaticc.
+ * SCardControl(): do not limit cbSendLength to MAX_BUFFER_SIZE.
+ * implement SCardIsValidContext() PC/SC call.
+ * Other API changes and improvements.
+- Spec file cleanup.
+- Moved testpcsc to /usr/sbin.
+
+-------------------------------------------------------------------
Old:
----
pcsc-lite-1.3.2-overflow.patch
pcsc-lite-1.3.2.tar.bz2
New:
----
pcsc-lite-1.3.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pcsc-lite.spec ++++++
--- /var/tmp/diff_new_pack.x29993/_old 2007-02-15 18:27:16.000000000 +0100
+++ /var/tmp/diff_new_pack.x29993/_new 2007-02-15 18:27:16.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package pcsc-lite (Version 1.3.2)
+# spec file for package pcsc-lite (Version 1.3.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,38 +11,33 @@
# norootforbuild
Name: pcsc-lite
-BuildRequires: libusb pkgconfig readline-devel resmgr
-%define ifddir %{_prefix}/%{_lib}/readers
-%define auxbindir %{_prefix}/%{_lib}/pcsc-lite
-%define pcsc_version 1.3.2
-Version: 1.3.2
-Release: 23
+# FIXME: Maybe we should use /usr/lib/pcsc/drivers as others do:
+%define ifddir %{_libdir}/readers
+BuildRequires: libusb pkg-config readline-devel resmgr
+Version: 1.3.3
+Release: 1
PreReq: %{insserv_prereq} %{fillup_prereq}
+# For upgrade from <= SLES9:
+PreReq: coreutils
AutoReqProv: on
Group: System/Libraries
License: BSD License and BSD-like
-URL: http://www.linuxnet.com/
-Summary: The MUSCLE project SmartCards library
-Source0: %{name}-%{pcsc_version}.tar.bz2
+URL: http://pcsclite.alioth.debian.org/
+Summary: PCS Smart Cards Library
+Source0: %{name}-%{version}.tar.bz2
Source1: pcscd.init
Source2: README.SUSE
Source3: pre_checkin.sh
-Patch: %{name}-%{version}-overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%package devel
-Group: System/Libraries
-Summary: Development package for the MUSCLE project SmartCards library
-Requires: pcsc-lite glibc-devel
-Suggests: pkgconfig
%description
The purpose of PCSC Lite is to provide a Windows(R) SCard interface in
-a very small form factor for communicating with smartcards and readers.
-PCSC Lite can be compiled directly for a desired reader driver or can
-be used to dynamically allocate/deallocate reader drivers at runtime
-(the default behavior).
+a very small form factor for communicating with smart cards and
+readers. PCSC Lite can be compiled directly for a desired reader driver
+or can be used to dynamically allocate/deallocate reader drivers at
+runtime (the default behavior).
-PCSC Lite uses the same winscard api as used in Windows(R).
+PCSC Lite uses the same winscard API as used in Windows(R).
Security aware people should read the SECURITY file for possible
vulnerabilities to pcsclite, how you can fix them, and how some will be
@@ -59,7 +54,15 @@
Authors:
--------
David Corcoran
+ Ludovic Rousseau
+ Damien Sauveron
+ Carlos Prados
+ Antti Tapaninen
+%package devel
+Group: System/Libraries
+Summary: Development package for the MUSCLE project SmartCards library
+Requires: %{name} = %{version} pcsc-lite glibc-devel
%description devel
This package contains the development files for pcsc-lite. It allows to
@@ -72,103 +75,84 @@
David Corcoran
%prep
-%setup -q -n %{name}-%{pcsc_version}
-%patch
+%setup -q
%build
-%{suse_update_config -f}
-aclocal --force -I m4
-libtoolize --force
-autoconf --force
-autoheader --force
-automake -afc
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wall" \
- ./configure \
- --prefix=%{_prefix} \
- --bindir=%{_bindir} \
- --sbindir=%{_sbindir} \
- --libdir=%{_libdir} \
- --mandir=%{_mandir} \
- --includedir=%{_includedir} \
- --enable-usb \
- --enable-utils \
- --enable-syslog \
- --enable-daemon \
- --enable-usbdropdir=%{ifddir} \
- --sysconfdir=%{_sysconfdir}
-make
-make -C src testpcsc
-make -C src/utils
+ACLOCAL="aclocal -I m4" autoreconf -f -i
+%configure\
+ --enable-usbdropdir=%{ifddir}
+make %{?jobs:-j%jobs}
%install
-export DESTDIR=$RPM_BUILD_ROOT
-export PKG_CONFIG_PATH=$PWD/src
-install -d $DESTDIR/etc/init.d \
- $DESTDIR%ifddir \
- $DESTDIR%auxbindir \
- $DESTDIR%{_prefix}/bin/ \
- $DESTDIR%{_libdir} \
- $DESTDIR%{_libdir}/readers/
-make install DESTDIR=$DESTDIR
-touch $DESTDIR%{_sysconfdir}/reader.conf
-install -m 755 src/.libs/testpcsc $DESTDIR/%auxbindir
-install -m 755 %{S:1} $DESTDIR/etc/init.d/pcscd
-ln -sf ../../etc/init.d/pcscd $DESTDIR%_prefix/sbin/rcpcscd
-# set libraries as executable - prevent ldd from complaining
-chmod +x $DESTDIR%{_libdir}/*.so*
-# cleanup : remove unpackaged files
-# first two are in auxbindir
-rm -f $RPM_BUILD_ROOT/usr/doc/*
-rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/*
+%makeinstall
+touch $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf
+mkdir $RPM_BUILD_ROOT%{ifddir}
+# this program is noinst in the package
+install src/.libs/testpcsc $RPM_BUILD_ROOT%{_sbindir}/
+mkdir $RPM_BUILD_ROOT/etc/init.d
+install -m 755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/pcscd
+ln -sf ../../etc/init.d/pcscd $RPM_BUILD_ROOT%{_sbindir}/rcpcscd
+rm -r $RPM_BUILD_ROOT/usr/doc
+# formaticc is no more provided
+rm $RPM_BUILD_ROOT%{_mandir}/man1/formaticc.1*
+# For upgrade from <= SLES9:
+touch $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d/old-reader.conf
%clean
rm -rf $RPM_BUILD_ROOT
%pre
-# save old reader.conf in update case
+# save old reader.conf in case of upgrade from <= SLES9
if [ "$1" = "2" ]; then
- if [ ! -d /etc/reader.conf.d ]; then # update from old version
- mkdir -p /etc/reader.conf.d
- cp /etc/reader.conf /etc/reader.conf.d/old-reader.conf
+ if [ ! -d etc/reader.conf.d ]; then # update from old version
+ mkdir -p etc/reader.conf.d
+ cp etc/reader.conf etc/reader.conf.d/old-reader.conf
fi
fi
%post
-%{run_ldconfig}
+%run_ldconfig
%{fillup_and_insserv pcscd}
%postun
-%{run_ldconfig}
+%run_ldconfig
%{insserv_cleanup}
%files
-%defattr(444,root,root,755)
-%doc ChangeLog AUTHORS NEWS README SECURITY doc/README.DAEMON
-%doc doc/*.pdf DRIVERS
-%attr(555,root,root) /etc/init.d/pcscd
-%attr(555,root,root) %{_prefix}/sbin/rcpcscd
-%ghost %verify (not md5 mtime size) %{_sysconfdir}/reader.conf
-%attr(755,root,root) %dir %{_sysconfdir}/reader.conf.d
-%attr(644,root,root) %config %{_sysconfdir}/reader.conf.d/reader.conf
-%attr(555,root,root) %{_libdir}/lib*.so.*
-# .so must be in the main package
-%{_libdir}/lib*.so
-%attr(555,root,root) %{_prefix}/sbin/pcscd
-%attr(444,root,root) %{_mandir}/man?/*
-%attr(755,root,root) %dir %auxbindir
-%attr(555,root,root) %auxbindir/testpcsc
-%attr(555,root,root) %{_sbindir}/installifd
-%attr(555,root,root) %{_sbindir}/update-reader.conf
-%attr(555,root,root) %{_bindir}/formaticc
-%attr(755,root,root) %dir %ifddir
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog ChangeLog.svn COPYING DRIVERS HELP NEWS README SECURITY TODO doc/README.DAEMON doc/*.pdf doc/*.tex doc/*.bib
+%{_libdir}/*.so.*
+# .so must be in the main package (#235773):
+%{_libdir}/*.so
+%doc %{_mandir}/man?/*.*
+%{_sbindir}/*
+%ghost %{_sysconfdir}/reader.conf
+%dir %{_sysconfdir}/reader.conf.d
+%config %{_sysconfdir}/reader.conf.d/reader.conf
+%ghost %config %{_sysconfdir}/reader.conf.d/old-reader.conf
+%{ifddir}
+/etc/init.d/pcscd
%files devel
-%defattr(644,root,root,755)
+%defattr(-,root,root)
%{_includedir}/*
-%{_libdir}/lib*.*a
-%{_libdir}/pkgconfig/*
+%{_libdir}/*.*a
+%{_libdir}/pkgconfig/*.pc
%changelog -n pcsc-lite
+* Tue Feb 13 2007 - sbrabec@suse.cz
+- Updated to version 1.3.3:
+ * Added -H --hotplug argument.
+ * Added support for IFD_GENERATE_HOTPLUG bit in driver Info.plist
+ ifdCapabilities.
+ * SCardConnect() & SCardDisconnect(): Wait until any transaction
+ finishes before going on.
+ * Removed tools installifd and formaticc.
+ * SCardControl(): do not limit cbSendLength to MAX_BUFFER_SIZE.
+ * implement SCardIsValidContext() PC/SC call.
+ * Other API changes and improvements.
+- Spec file cleanup.
+- Moved testpcsc to /usr/sbin.
* Wed Jan 17 2007 - sbrabec@suse.cz
- pcsclite.so moved to the main package (#235773).
* Tue Sep 19 2006 - anosek@suse.cz
++++++ pcscd.init ++++++
--- pcsc-lite/pcscd.init 2006-03-13 17:01:12.000000000 +0100
+++ /mounts/work_src_done/STABLE/pcsc-lite/pcscd.init 2007-02-12 17:52:49.000000000 +0100
@@ -56,7 +56,7 @@
rc_status -v
;;
status)
- echo -n "Checking for PC/SC smart card daemon "
+ echo -n "Checking for PC/SC smart card daemon "
checkproc $pcscd_BIN
rc_status -v
;;
++++++ pcsc-lite-1.3.2.tar.bz2 -> pcsc-lite-1.3.3.tar.bz2 ++++++
++++ 16224 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org