From 44a452d0fead8e5d8e5f1606e50b6ebe84d72075afc7e5062eb5a20dc6237e47 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:29:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcsc-lite?expand=0&rev=1 --- .gitattributes | 23 +++ .gitignore | 1 + README.SUSE | 2 + pcsc-lite-1.3.2-overflow.patch | 11 ++ pcsc-lite-1.3.2.tar.bz2 | 3 + pcsc-lite.changes | 311 +++++++++++++++++++++++++++++++ pcsc-lite.spec | 328 +++++++++++++++++++++++++++++++++ pcscd.init | 68 +++++++ pre_checkin.sh | 31 ++++ ready | 0 10 files changed, 778 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.SUSE create mode 100644 pcsc-lite-1.3.2-overflow.patch create mode 100644 pcsc-lite-1.3.2.tar.bz2 create mode 100644 pcsc-lite.changes create mode 100644 pcsc-lite.spec create mode 100644 pcscd.init create mode 100644 pre_checkin.sh create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.SUSE b/README.SUSE new file mode 100644 index 0000000..a8ad333 --- /dev/null +++ b/README.SUSE @@ -0,0 +1,2 @@ +On SUSE Linux, drivers for various card readers can be found +in separate packages named pcsc- diff --git a/pcsc-lite-1.3.2-overflow.patch b/pcsc-lite-1.3.2-overflow.patch new file mode 100644 index 0000000..6e1ccb8 --- /dev/null +++ b/pcsc-lite-1.3.2-overflow.patch @@ -0,0 +1,11 @@ +--- src/error.c ++++ src/error.c +@@ -165,7 +165,7 @@ + }; + + /* add a null byte */ +- strError[sizeof(strError)] = '\0'; ++ strError[sizeof(strError) - 1] = '\0'; + + return strError; + } diff --git a/pcsc-lite-1.3.2.tar.bz2 b/pcsc-lite-1.3.2.tar.bz2 new file mode 100644 index 0000000..2803183 --- /dev/null +++ b/pcsc-lite-1.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d220787369320f0e7d88272871042790c66d416831babf0cb882089f037b99 +size 691387 diff --git a/pcsc-lite.changes b/pcsc-lite.changes new file mode 100644 index 0000000..cc6bbe4 --- /dev/null +++ b/pcsc-lite.changes @@ -0,0 +1,311 @@ +------------------------------------------------------------------- +Tue Sep 19 14:59:27 CEST 2006 - anosek@suse.cz + +- update to version 1.3.2 + * add support of extended APDU in the standard configuration + and in a backward compatible way: pcscd 1.3.2 can be used + with libpcsclite <= 1.3.2 + * define MAX_BUFFER_SIZE_EXTENDED as the maximal size allowed + for a extended APDU (64KB) + * LPCTSTR and LPTSTR types are deprecated. + Use LPCSTR and LPSTR instead + * Dual licence src/error.c so it can be used bu OpenSC. It is now + BSD-like, see the COPYING file and GNU Lesser General + Licence 2.1 or (at your option) any later version + * document that the 4 bytes field value in PCSC_TLV_STRUCTURE is + always in big endian as documented in PCSC v2 part 10 ch 2.2 + page 2. You can use ntohl() to convert the value. + * some other minor improvements and bug corrections +- fixed compiler warning: subscript out of range [#204770] + (overflow.patch) + +------------------------------------------------------------------- +Fri Aug 11 22:34:15 CEST 2006 - stark@suse.de + +- update to version 1.3.1 + * use fprintf(stderr,) instead of syslog(3) to log messages from + libpcsclite + * use PCSCLITE_DEBUG to activate the debug messages in libpcsclite + * add the reader serial number in the reader name only if + ADD_SERIAL_NUMBER is defined + +------------------------------------------------------------------- +Thu Apr 6 19:27:51 CEST 2006 - mjancar@suse.cz + +- remove powermgt_macosx.c from the package (#161324) + +------------------------------------------------------------------- +Mon Mar 13 16:45:20 CET 2006 - mjancar@suse.cz + +- mount /proc/bus/usb in initscript anyway (#146979) + +------------------------------------------------------------------- +Tue Feb 7 09:46:55 CET 2006 - mjancar@suse.cz + +- start after kbd instead of mounting usbfs ourselfs (#146979) + +------------------------------------------------------------------- +Mon Feb 6 18:53:04 CET 2006 - mjancar@suse.cz + +- mount /proc/bus/usb in initscript (#146979) + +------------------------------------------------------------------- +Wed Jan 25 21:39:21 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Jan 3 08:59:37 CET 2006 - mjancar@suse.cz + +- move drivers to separate source packages +- branch devel subpackage + +------------------------------------------------------------------- +Mon Jan 2 07:29:48 CET 2006 - stark@suse.de + +- 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 - ro@suse.de + +- removed unpackaged man-page symlinks + +------------------------------------------------------------------- +Tue Nov 29 11:59:15 CET 2005 - ro@suse.de + +- remove keeper from nfb (unused) + +------------------------------------------------------------------- +Mon Oct 10 13:02:47 CEST 2005 - stark@suse.de + +- Updated towitoko driver to 2.0.7 and install USB bundle + +------------------------------------------------------------------- +Wed Sep 21 22:17:12 CEST 2005 - stark@suse.de + +- Repackaged CCID as bundle for USB usage (#116497) + +------------------------------------------------------------------- +Tue Sep 20 06:24:30 CEST 2005 - stark@suse.de + +- 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 - stark@suse.de + +- 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 - skh@suse.de + +- fix off-by-one error in hotplug_libusb.c [#112964] + +------------------------------------------------------------------- +Mon Aug 29 15:35:33 CEST 2005 - skh@suse.de + +- Remove unnecessary files from pcsc-acr38 again [#112927] + +------------------------------------------------------------------- +Mon Aug 29 14:33:44 CEST 2005 - skh@suse.de + +- 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 - skh@suse.de + +- Updated ACR38u driver to version 100703 + +------------------------------------------------------------------- +Tue Jul 26 17:47:53 CEST 2005 - okir@suse.de + +- Added ACR38u driver + +------------------------------------------------------------------- +Tue Jul 26 13:29:37 CEST 2005 - okir@suse.de + +- Updated description in init script (#79287) + +------------------------------------------------------------------- +Thu Jun 16 17:12:15 CEST 2005 - meissner@suse.de + +- 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 - ro@suse.de + +- make it build with gcc-4 + +------------------------------------------------------------------- +Thu Mar 17 12:45:39 CET 2005 - okir@suse.de + +- Disable support for extended-apdus, it eats 32MB of memory (#73629) + +------------------------------------------------------------------- +Thu Mar 10 11:49:25 CET 2005 - okir@suse.de + +- Fix default search location for USB bundles + +------------------------------------------------------------------- +Fri Jan 21 15:11:43 CET 2005 - okir@suse.de + +- Updated to latest upstream version +- Updated several drivers +- Added CCID driver +- Provide a more informative readers.conf file (#42620) + +------------------------------------------------------------------- +Thu Jan 20 12:46:44 CET 2005 - ro@suse.de + +- drop subpackage gpr400 + +------------------------------------------------------------------- +Wed Apr 28 18:20:35 CEST 2004 - ro@suse.de + +- compile formaticc with no-strict-aliasing +- fix unused return type in musclecard.c + +------------------------------------------------------------------- +Wed Mar 31 09:18:42 CEST 2004 - okir@suse.de + +- Properly install testpcsc, formaticc (#37625) +- Build towitoko driver with --enable-win32-com + +------------------------------------------------------------------- +Thu Mar 18 13:41:02 CET 2004 - okir@suse.de + +- cyberjack apps installed in /bin should be executable (#36409) + +------------------------------------------------------------------- +Sat Jan 10 18:16:21 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Tue Aug 5 14:53:48 CEST 2003 - mge@suse.de + +- merge ctapi-cyberjack into pcsc-lite: two additional + packages are created: ctapi-cyberjack and pcsc-cyberjack + +------------------------------------------------------------------- +Thu Jun 26 01:17:52 CEST 2003 - ro@suse.de + +- remove unpackaged files from buildroot +- added directories to filelist + +------------------------------------------------------------------- +Fri Nov 29 15:49:25 CET 2002 - okir@suse.de + +- added -fPIC when building eToken driver + +------------------------------------------------------------------- +Fri Nov 29 10:14:46 CET 2002 - okir@suse.de + +- Updated to latest upstream version +- Included driver for Aladdin eToken PRO +- More GNU auto#*@! headaches +- Various minor fixes + +------------------------------------------------------------------- +Wed Aug 28 12:37:15 CEST 2002 - okir@suse.de + +- Moved shared objects to /usr/lib64 on ppc64/s390x (#18421) + +------------------------------------------------------------------- +Mon Aug 5 14:27:44 CEST 2002 - olh@suse.de + +- fix initscript, Should-start: setserial hotplug + +------------------------------------------------------------------- +Fri Aug 2 09:38:11 CEST 2002 - okir@suse.de + +- added PreReq for insserv_and_fillup + +------------------------------------------------------------------- +Wed Jul 31 17:46:00 CEST 2002 - okir@suse.de + +- fixed build problem on s390x (force aclocal.m4 regen) + +------------------------------------------------------------------- +Wed Jun 26 01:56:16 CEST 2002 - ro@suse.de + +- use -fPIC when building a shared lib + +------------------------------------------------------------------- +Wed Jun 12 13:26:14 CEST 2002 - okir@suse.de + +- fix for bug #15051 (hey, it's a palindrome bug:): + missing %doc DRIVERS file; misc silly binaries moved + out of /usr/bin + +------------------------------------------------------------------- +Tue Apr 30 14:45:30 CEST 2002 - okir@suse.de + +- Fixed build problem introduced by previous patch + +------------------------------------------------------------------- +Tue Apr 30 09:41:09 CEST 2002 - okir@suse.de + +- updated to latest upstream version +- added drivers for these readers: Towitoko, Schlumberger Reflex 6x, + Gemplus GPR 400, GemPlus GemPC 410/430 + +------------------------------------------------------------------- +Tue Apr 9 01:37:41 CEST 2002 - ro@suse.de + +- fixed for latest automake/autoconf + +------------------------------------------------------------------- +Wed Feb 13 08:13:59 CET 2002 - stark@suse.de + +- spec-file cleanup +- LSB compliant init-script + +------------------------------------------------------------------- +Mon Jan 14 12:54:01 CET 2002 - ro@suse.de + +- removed START_PCSCD + +------------------------------------------------------------------- +Wed Nov 14 08:49:11 CET 2001 - ro@suse.de + +- call aclocal + +------------------------------------------------------------------- +Sun Aug 26 02:28:00 MET 2001 - mge@suse.de + +- updated to 1.0.0Beta +- fixed /etc/init.d/pcscd status-handling (bug #9069) + +------------------------------------------------------------------- +Thu Jun 7 02:27:01 CEST 2001 - ro@suse.de + +- fix broken Makefile.am + +------------------------------------------------------------------- +Mon Apr 23 00:32:27 MEST 2001 - mge@suse.de + +- update to 0.9.1 + +------------------------------------------------------------------- +Thu Apr 19 00:18:46 CEST 2001 - mge@suse.de + +- created package + diff --git a/pcsc-lite.spec b/pcsc-lite.spec new file mode 100644 index 0000000..612d814 --- /dev/null +++ b/pcsc-lite.spec @@ -0,0 +1,328 @@ +# +# spec file for package pcsc-lite (Version 1.3.2) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# 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: 1 +PreReq: %{insserv_prereq} %{fillup_prereq} +AutoReqProv: on +Group: System/Libraries +License: BSD +URL: http://www.linuxnet.com/ +Summary: The MUSCLE project SmartCards library +Source0: %{name}-%{pcsc_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). + +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 +fixed. + +For information on how to install drivers please read the DRIVERS file. + +Memory cards will be supported through the MCT specifications, which is +an APDU like manner sent normally through the SCardTransmit() function. + This functionality is done in the driver. + + + +Authors: +-------- + David Corcoran + + +%description devel +This package contains the development files for pcsc-lite. It allows to +compile plugins for the pcsc-lite package. + + + +Authors: +-------- + David Corcoran + +%prep +%setup -q -n %{name}-%{pcsc_version} +%patch + +%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 + +%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/* + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre +# save old reader.conf in update case +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 + fi +fi + +%post +%{run_ldconfig} +%{fillup_and_insserv pcscd} + +%postun +%{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.* +%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 + +%files devel +%defattr(644,root,root,755) +%{_includedir}/* +%{_libdir}/lib*.so +%{_libdir}/lib*.*a +%{_libdir}/pkgconfig/* + +%changelog -n pcsc-lite +* Tue Sep 19 2006 - anosek@suse.cz +- update to version 1.3.2 + * add support of extended APDU in the standard configuration + and in a backward compatible way: pcscd 1.3.2 can be used + with libpcsclite <= 1.3.2 + * define MAX_BUFFER_SIZE_EXTENDED as the maximal size allowed + for a extended APDU (64KB) + * LPCTSTR and LPTSTR types are deprecated. + Use LPCSTR and LPSTR instead + * Dual licence src/error.c so it can be used bu OpenSC. It is now + BSD-like, see the COPYING file and GNU Lesser General + Licence 2.1 or (at your option) any later version + * document that the 4 bytes field value in PCSC_TLV_STRUCTURE is + always in big endian as documented in PCSC v2 part 10 ch 2.2 + page 2. You can use ntohl() to convert the value. + * some other minor improvements and bug corrections +- fixed compiler warning: subscript out of range [#204770] + (overflow.patch) +* Fri Aug 11 2006 - stark@suse.de +- update to version 1.3.1 + * use fprintf(stderr,) instead of syslog(3) to log messages from + libpcsclite + * use PCSCLITE_DEBUG to activate the debug messages in libpcsclite + * add the reader serial number in the reader name only if + ADD_SERIAL_NUMBER is defined +* Thu Apr 06 2006 - mjancar@suse.cz +- remove powermgt_macosx.c from the package (#161324) +* Mon Mar 13 2006 - mjancar@suse.cz +- mount /proc/bus/usb in initscript anyway (#146979) +* Tue Feb 07 2006 - mjancar@suse.cz +- start after kbd instead of mounting usbfs ourselfs (#146979) +* Mon Feb 06 2006 - mjancar@suse.cz +- mount /proc/bus/usb in initscript (#146979) +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Tue Jan 03 2006 - mjancar@suse.cz +- move drivers to separate source packages +- branch devel subpackage +* Mon Jan 02 2006 - stark@suse.de +- 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 2005 - ro@suse.de +- removed unpackaged man-page symlinks +* Tue Nov 29 2005 - ro@suse.de +- remove keeper from nfb (unused) +* Mon Oct 10 2005 - stark@suse.de +- Updated towitoko driver to 2.0.7 and install USB bundle +* Wed Sep 21 2005 - stark@suse.de +- Repackaged CCID as bundle for USB usage (#116497) +* Tue Sep 20 2005 - stark@suse.de +- handle old reader.conf in upgrade case +- compile with -fno-strict-aliasing +- fixed missing return in ctapi-cyberjack +* Sat Sep 17 2005 - stark@suse.de +- 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 05 2005 - skh@suse.de +- fix off-by-one error in hotplug_libusb.c [#112964] +* Mon Aug 29 2005 - skh@suse.de +- Remove unnecessary files from pcsc-acr38 again [#112927] +* Mon Aug 29 2005 - skh@suse.de +- 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 2005 - skh@suse.de +- Updated ACR38u driver to version 100703 +* Tue Jul 26 2005 - okir@suse.de +- Added ACR38u driver +* Tue Jul 26 2005 - okir@suse.de +- Updated description in init script (#79287) +* Thu Jun 16 2005 - meissner@suse.de +- use RPM_OPT_FLAGS in 1 more driver +- added includes to avoid implict declaration of memcpy and similar. +* Mon Apr 18 2005 - ro@suse.de +- make it build with gcc-4 +* Thu Mar 17 2005 - okir@suse.de +- Disable support for extended-apdus, it eats 32MB of memory (#73629) +* Thu Mar 10 2005 - okir@suse.de +- Fix default search location for USB bundles +* Fri Jan 21 2005 - okir@suse.de +- Updated to latest upstream version +- Updated several drivers +- Added CCID driver +- Provide a more informative readers.conf file (#42620) +* Thu Jan 20 2005 - ro@suse.de +- drop subpackage gpr400 +* Wed Apr 28 2004 - ro@suse.de +- compile formaticc with no-strict-aliasing +- fix unused return type in musclecard.c +* Wed Mar 31 2004 - okir@suse.de +- Properly install testpcsc, formaticc (#37625) +- Build towitoko driver with --enable-win32-com +* Thu Mar 18 2004 - okir@suse.de +- cyberjack apps installed in /bin should be executable (#36409) +* Sat Jan 10 2004 - adrian@suse.de +- add %%run_ldconfig +* Tue Aug 05 2003 - mge@suse.de +- merge ctapi-cyberjack into pcsc-lite: two additional + packages are created: ctapi-cyberjack and pcsc-cyberjack +* Thu Jun 26 2003 - ro@suse.de +- remove unpackaged files from buildroot +- added directories to filelist +* Fri Nov 29 2002 - okir@suse.de +- added -fPIC when building eToken driver +* Fri Nov 29 2002 - okir@suse.de +- Updated to latest upstream version +- Included driver for Aladdin eToken PRO +- More GNU auto#*@! headaches +- Various minor fixes +* Wed Aug 28 2002 - okir@suse.de +- Moved shared objects to /usr/lib64 on ppc64/s390x (#18421) +* Mon Aug 05 2002 - olh@suse.de +- fix initscript, Should-start: setserial hotplug +* Fri Aug 02 2002 - okir@suse.de +- added PreReq for insserv_and_fillup +* Wed Jul 31 2002 - okir@suse.de +- fixed build problem on s390x (force aclocal.m4 regen) +* Wed Jun 26 2002 - ro@suse.de +- use -fPIC when building a shared lib +* Wed Jun 12 2002 - okir@suse.de +- fix for bug #15051 (hey, it's a palindrome bug:): + missing %%doc DRIVERS file; misc silly binaries moved + out of /usr/bin +* Tue Apr 30 2002 - okir@suse.de +- Fixed build problem introduced by previous patch +* Tue Apr 30 2002 - okir@suse.de +- updated to latest upstream version +- added drivers for these readers: Towitoko, Schlumberger Reflex 6x, + Gemplus GPR 400, GemPlus GemPC 410/430 +* Tue Apr 09 2002 - ro@suse.de +- fixed for latest automake/autoconf +* Wed Feb 13 2002 - stark@suse.de +- spec-file cleanup +- LSB compliant init-script +* Mon Jan 14 2002 - ro@suse.de +- removed START_PCSCD +* Wed Nov 14 2001 - ro@suse.de +- call aclocal +* Sun Aug 26 2001 - mge@suse.de +- updated to 1.0.0Beta +- fixed /etc/init.d/pcscd status-handling (bug #9069) +* Thu Jun 07 2001 - ro@suse.de +- fix broken Makefile.am +* Mon Apr 23 2001 - mge@suse.de +- update to 0.9.1 +* Thu Apr 19 2001 - mge@suse.de +- created package diff --git a/pcscd.init b/pcscd.init new file mode 100644 index 0000000..ca4ff15 --- /dev/null +++ b/pcscd.init @@ -0,0 +1,68 @@ +#! /bin/sh +# Copyright (c) 1995-2001 SuSE GmbH Nuernberg, Germany +# 2002 SuSE Linux AG, Nuernberg, Germany +# 2005 SUSE LINUX Products GmbH, Nuernberg, Germany +# +# Author: Matthias Eckermann +# Wolfgang Rosenauer +# +# +### BEGIN INIT INFO +# Provides: pcscd +# Required-Start: $remote_fs $syslog +# X-UnitedLinux-Should-Start: setserial hotplug kbd +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 5 +# Default-Stop: 0 1 6 +# Description: PCSC daemon handling smart card readers +### END INIT INFO + + +pcscd_BIN=/usr/sbin/pcscd +test -x $pcscd_BIN || exit 5 + +. /etc/rc.status +rc_reset + +case "$1" in + start) + echo -n "Starting PC/SC smart card daemon " + mount -n -t usbfs usbfs /proc/bus/usb >/dev/null 2>&1 + rm -f /var/run/pcscd.pub + /usr/sbin/update-reader.conf && startproc $pcscd_BIN + rc_status -v + ;; + stop) + echo -n "Stopping PC/SC smart card daemon " + killproc -TERM $pcscd_BIN + rc_status -v + ;; + try-restart) + $0 status >/dev/null && $0 restart + rc_status + ;; + restart) + $0 stop + $0 start + rc_status + ;; + force-reload) + $0 stop && $0 start + rc_status + ;; + reload) + echo -n "Reload PC/SC smart card daemon " + rc_failed 3 + rc_status -v + ;; + status) + echo -n "Checking for PC/SC smart card daemon " + checkproc $pcscd_BIN + rc_status -v + ;; + *) + echo "Usage: $0 {start|stop|try-restart|restart|force-reload|reload|status}" + exit 1 + ;; +esac +rc_exit diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..10db53b --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,31 @@ +#! /bin/sh +# +# (C) 2006, jw@suse.de +# Distribute freely. Use and modify with care. +# No warranty. +# +# This script tests the source tar-balls +# against files that we want to exclude. +# + +bad_files_re='dlcompat-[0-9]*/|APPLE_LICENSE' + +for f in `ls *.tar.*`; do + case $f in + *.tar.gz) look='tar ztf' ;; + *.tar.bz2) look='tar jtf' ;; + esac; + $look $f | egrep -- $bad_files_re && bad=1 +# test -z $bad && echo $f okay. +done + +test -z $bad && exit; + +echo "" +echo "===============================================" +echo "Risk level alert!" +echo "Please remove the above files from the package." +echo "===============================================" +echo "" +echo "press CTRL-C to abort, ENTER to continue" +read a diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4