SHA256
1
0
forked from pool/opensc
OBS User unknown 2008-02-08 19:18:04 +00:00 committed by Git OBS Bridge
parent 8eede4f904
commit 4253f34896
6 changed files with 66 additions and 64 deletions

View File

@ -1,13 +0,0 @@
https://www.opensc-project.org/opensc/ticket/153
================================================================================
--- src/tools/cryptoflex-tool.c
+++ src/tools/cryptoflex-tool.c
@@ -501,7 +501,7 @@
if (keysize == 0)
break;
idx += keysize;
- for (i = 0; i < sizeof(sizes)/sizeof(int); i++)
+ for (i = 0; i < sizeof(sizes)/sizeof(*sizes); i++)
if (sizes[i] == keysize)
mod_len = mod_lens[i];
if (mod_len < 0)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73ba4fd4a42a05bfac6153f77a2ada8e4ec7221501a4e72c836b5c907e3f7bef
size 1087847

3
opensc-0.11.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a92d563c68ab052d133f69c12f4e2584d781f2266d47980b1786e76ce1202c06
size 1083131

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 7 17:12:02 CET 2008 - sbrabec@suse.cz
- Updated to version 0.11.4:
* Browser plugin support
* Support Siemens CardOS initialized cards (signing with
decryption)
* Add Siemens CardOS M4.2B support (experimental)
* Support for AKIS cards added (partial)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 26 13:40:30 CEST 2007 - sbrabec@suse.cz Thu Jul 26 13:40:30 CEST 2007 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package opensc (Version 0.11.3) # spec file for package opensc (Version 0.11.4)
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -11,38 +11,35 @@
# norootforbuild # norootforbuild
Name: opensc Name: opensc
BuildRequires: openssl-devel pkg-config readline-devel xorg-x11-devel BuildRequires: openssl-devel pcsc-lite-devel pkg-config readline-devel xorg-x11-devel
%if %suse_version > 1000
BuildRequires: pcsc-lite-devel
%if %suse_version > 1020 %if %suse_version > 1020
BuildRequires: libassuan-devel BuildRequires: libassuan-devel
%else %else
BuildRequires: libassuan BuildRequires: libassuan
%endif %endif
%endif
%if %suse_version > 1010 %if %suse_version > 1010
BuildRequires: openct-devel BuildRequires: openct-devel
%endif %endif
URL: http://www.opensc-project.org/opensc/ Url: http://www.opensc-project.org/opensc/
Version: 0.11.3 Version: 0.11.4
Release: 1 Release: 1
Group: Hardware/Other Group: Hardware/Other
Summary: OpenSC Smart Card Library Summary: OpenSC Smart Card Library
License: LGPL v2 or later License: LGPL v2.1 or later
Requires: libopensc2 = %{version} pcsc-lite Requires: libopensc2 = %{version} pcsc-lite
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: http://www.opensc.org/files/doc/init_perso_guide.html Source1: http://www.opensc.org/files/doc/init_perso_guide.html
# Supress all ugly warnings related to required .so and .la files in the main package: # Supress all ugly warnings related to required .so and .la files in the main package:
Source2: %{name}-%{version}-rpmlintrc Source2: %{name}-rpmlintrc
Patch1: %{name}-0.11.1-sizeof.patch # and also skip-check-libtool-deps (and add these dependencies to the devel package)
%description %description
OpenSC provides a set of libraries and utilities to access smart cards. OpenSC provides a set of libraries and utilities to access smart cards.
Its main focus is on cards that support cryptographic operations. It It mainly focuses on cards that support cryptographic operations. It
facilitates their use in security applications such as mail encryption, facilitates their use in security applications such as mail encryption,
authentication, and digital signature. OpenSC implements the PKCS#11 authentication, and digital signature. OpenSC implements the PKCS#11
API so applications supporting this API, such as Mozilla Firefox and API. Applications supporting this API, such as Mozilla Firefox and
Thunderbird, can use it. OpenSC implements the PKCS#15 standard and Thunderbird, can use it. OpenSC implements the PKCS#15 standard and
aims to be compatible with every software that does so, too. aims to be compatible with every software that does so, too.
@ -81,7 +78,7 @@ Authors:
%package devel %package devel
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Summary: Additional files needed for OpenSC development Summary: Additional files needed for OpenSC development
Requires: %{name} = %{version} glibc-devel openct-devel openssl-devel pcsc-lite-devel Requires: %{name} = %{version} glibc-devel openct-devel libopenssl-devel pcsc-lite-devel
%description devel %description devel
This package contains files required to develop applications using the This package contains files required to develop applications using the
@ -98,13 +95,13 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch1
chmod -x doc/svn2cl.xsl chmod -x doc/svn2cl.xsl
%build %build
cp -a /usr/share/gettext/config.rpath . #cp -a /usr/share/gettext/config.rpath .
autoreconf -f -i autoreconf -f -i
%configure %configure\
--with-plugin-dir=%{_libdir}/browser-plugins
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
@ -131,6 +128,7 @@ rm -rf $RPM_BUILD_ROOT
# Note: .la and .so must be in the main package, required by ltdl: # Note: .la and .so must be in the main package, required by ltdl:
%{_libdir}/*.la %{_libdir}/*.la
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/browser-plugins/*.so
%doc %{_mandir}/man?/*.* %doc %{_mandir}/man?/*.*
%config %{_sysconfdir}/opensc.conf %config %{_sysconfdir}/opensc.conf
@ -146,7 +144,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Thu Jul 26 2007 - sbrabec@suse.cz * Thu Feb 07 2008 sbrabec@suse.cz
- Updated to version 0.11.4:
* Browser plugin support
* Support Siemens CardOS initialized cards (signing with
decryption)
* Add Siemens CardOS M4.2B support (experimental)
* Support for AKIS cards added (partial)
* Thu Jul 26 2007 sbrabec@suse.cz
- Updated to version 0.11.3: - Updated to version 0.11.3:
* make lots of internal functions and variables static. * make lots of internal functions and variables static.
* fix 0 vs NULL in many places. fix ansi c style (void). * fix 0 vs NULL in many places. fix ansi c style (void).
@ -169,75 +174,75 @@ rm -rf $RPM_BUILD_ROOT
* add support for pcsc v2 part10 * add support for pcsc v2 part10
* convert source files to utf-8 * convert source files to utf-8
- Split package according to shared library packaging policy. - Split package according to shared library packaging policy.
* Tue Feb 27 2007 - mvaner@suse.cz * Tue Feb 27 2007 mvaner@suse.cz
- Fixing dodgy use of sizeof (#238660) - Fixing dodgy use of sizeof (#238660)
- sizeof.patch - sizeof.patch
* Mon Oct 02 2006 - sbrabec@suse.cz * Mon Oct 02 2006 sbrabec@suse.cz
- Updated to version 0.11.1: - Updated to version 0.11.1:
* Update for piv pkcs#15 emulation * Update for piv pkcs#15 emulation
* Improved TCOS driver for Uni Giesen Card * Improved TCOS driver for Uni Giesen Card
* Handle size_t printf with "%%lu" and (unsigned long) cast * Handle size_t printf with "%%lu" and (unsigned long) cast
* Add support for d-trust cards / improve micardo 2.1 driver * Add support for d-trust cards / improve micardo 2.1 driver
* Thu May 25 2006 - sbrabec@suse.cz * Thu May 25 2006 sbrabec@suse.cz
- Fixed build for old SuSE Linux versions. - Fixed build for old SuSE Linux versions.
* Thu May 11 2006 - sbrabec@suse.cz * Thu May 11 2006 sbrabec@suse.cz
- Fixed devel dependencies. - Fixed devel dependencies.
* Wed May 10 2006 - sbrabec@suse.cz * Wed May 10 2006 sbrabec@suse.cz
- Updated to version 0.11.0. - Updated to version 0.11.0.
* Wed Jan 25 2006 - mls@suse.de * Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires - converted neededforbuild to BuildRequires
* Thu Jan 05 2006 - ro@suse.de * Thu Jan 05 2006 ro@suse.de
- added unpackaged so-links to devel filelist - added unpackaged so-links to devel filelist
* Tue Oct 25 2005 - rhafer@suse.de * Tue Oct 25 2005 rhafer@suse.de
- added LDAP_DEPRECATED to CFLAGS to build correctly with· - added LDAP_DEPRECATED to CFLAGS to build correctly with·
OpenLDAP 2.3 OpenLDAP 2.3
* Fri Sep 02 2005 - okir@suse.de * Fri Sep 02 2005 okir@suse.de
- Removed +x permissions on opensc.conf (#114849) - Removed +x permissions on opensc.conf (#114849)
* Thu Jul 14 2005 - okir@suse.de * Thu Jul 14 2005 okir@suse.de
- Updated to latest upstream version - Updated to latest upstream version
- Added missing documentation files (#75425) - Added missing documentation files (#75425)
* Fri Mar 04 2005 - meissner@suse.de * Fri Mar 04 2005 meissner@suse.de
- fixed gcc4 compilation. - fixed gcc4 compilation.
* Fri Jan 21 2005 - okir@suse.de * Fri Jan 21 2005 okir@suse.de
- Updated to latest upstream version (0.9.4) - Updated to latest upstream version (0.9.4)
* Thu Nov 18 2004 - ro@suse.de * Thu Nov 18 2004 ro@suse.de
- use kerberos-devel-packages - use kerberos-devel-packages
* Mon Jul 19 2004 - adrian@suse.de * Mon Jul 19 2004 adrian@suse.de
- fix file list - fix file list
* Mon Jul 12 2004 - adrian@suse.de * Mon Jul 12 2004 adrian@suse.de
- update to version 0.8.1 - update to version 0.8.1
* Fri Mar 19 2004 - okir@suse.de * Fri Mar 19 2004 okir@suse.de
- Fixed permissions and path names of some include files (#36432) - Fixed permissions and path names of some include files (#36432)
* Fri Jan 16 2004 - kukuk@suse.de * Fri Jan 16 2004 kukuk@suse.de
- Add pam-devel to neededforbuild - Add pam-devel to neededforbuild
* Sat Jan 10 2004 - adrian@suse.de * Sat Jan 10 2004 adrian@suse.de
- add %%run_ldconfig and %%defattr - add %%run_ldconfig and %%defattr
* Mon Aug 04 2003 - okir@suse.de * Mon Aug 04 2003 okir@suse.de
- Build fixes for x86_64/ppc64 - Build fixes for x86_64/ppc64
- use a version string other than "CVS" (#28423) - use a version string other than "CVS" (#28423)
* Fri Aug 01 2003 - okir@suse.de * Fri Aug 01 2003 okir@suse.de
- Updated to most recent upstream snapshot - Updated to most recent upstream snapshot
* Thu Jun 12 2003 - kukuk@suse.de * Thu Jun 12 2003 kukuk@suse.de
- Fix filelist and permissions - Fix filelist and permissions
* Wed Jun 04 2003 - ro@suse.de * Wed Jun 04 2003 ro@suse.de
- added rest of static libs to devel filelist - added rest of static libs to devel filelist
- remove unpackaged files from buildroot - remove unpackaged files from buildroot
* Wed Jan 15 2003 - ro@suse.de * Wed Jan 15 2003 ro@suse.de
- use sasl2 - use sasl2
* Thu Dec 05 2002 - okir@suse.de * Thu Dec 05 2002 okir@suse.de
- fixed x86_64 build problem - fixed x86_64 build problem
- updated to latest upstream - updated to latest upstream
* Fri Nov 29 2002 - okir@suse.de * Fri Nov 29 2002 okir@suse.de
- updated to current CVS snapshot - updated to current CVS snapshot
* Fri Aug 09 2002 - okir@suse.de * Fri Aug 09 2002 okir@suse.de
- added missing libs to files list - added missing libs to files list
* Thu Jul 04 2002 - ro@suse.de * Thu Jul 04 2002 ro@suse.de
- added heimdal-devel to neededforbuild to make libtool happy - added heimdal-devel to neededforbuild to make libtool happy
* Fri Jun 28 2002 - schwab@suse.de * Fri Jun 28 2002 schwab@suse.de
- Fix bootstrap script. - Fix bootstrap script.
- Use correct libtool macros. - Use correct libtool macros.
* Mon May 27 2002 - sf@suse.de * Mon May 27 2002 sf@suse.de
- @libdir@ added to Makefile.am to use correct dirs for - @libdir@ added to Makefile.am to use correct dirs for
*/lib */lib64 */lib */lib64
* Tue Apr 30 2002 - okir@suse.de * Tue Apr 30 2002 okir@suse.de
- Initial check-in - Initial check-in