2007-01-16 00:28:14 +01:00
|
|
|
|
#
|
2008-02-08 20:18:04 +01:00
|
|
|
|
# spec file for package opensc (Version 0.11.4)
|
2007-01-16 00:28:14 +01:00
|
|
|
|
#
|
2008-02-08 20:18:04 +01:00
|
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:28:14 +01:00
|
|
|
|
# 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
|
|
|
|
|
|
2008-04-10 15:18:04 +02:00
|
|
|
|
|
2007-01-16 00:28:14 +01:00
|
|
|
|
Name: opensc
|
2008-02-08 20:18:04 +01:00
|
|
|
|
BuildRequires: openssl-devel pcsc-lite-devel pkg-config readline-devel xorg-x11-devel
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%if %suse_version > 1020
|
|
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: libassuan
|
|
|
|
|
%endif
|
2007-01-16 00:28:14 +01:00
|
|
|
|
%if %suse_version > 1010
|
|
|
|
|
BuildRequires: openct-devel
|
|
|
|
|
%endif
|
2008-02-08 20:18:04 +01:00
|
|
|
|
Url: http://www.opensc-project.org/opensc/
|
|
|
|
|
Version: 0.11.4
|
2008-08-04 00:50:05 +02:00
|
|
|
|
Release: 58
|
2008-04-10 15:18:04 +02:00
|
|
|
|
Group: Productivity/Security
|
2007-01-16 00:28:14 +01:00
|
|
|
|
Summary: OpenSC Smart Card Library
|
2008-02-08 20:18:04 +01:00
|
|
|
|
License: LGPL v2.1 or later
|
2007-07-27 15:42:57 +02:00
|
|
|
|
Requires: libopensc2 = %{version} pcsc-lite
|
2007-01-16 00:28:14 +01:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-07-27 15:42:57 +02:00
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-01-16 00:28:14 +01:00
|
|
|
|
Source1: http://www.opensc.org/files/doc/init_perso_guide.html
|
2008-08-04 00:50:05 +02:00
|
|
|
|
Patch: opensc-cardos-CVE-2008-2235.patch
|
2007-07-27 15:42:57 +02:00
|
|
|
|
# Supress all ugly warnings related to required .so and .la files in the main package:
|
2008-02-08 20:18:04 +01:00
|
|
|
|
Source2: %{name}-rpmlintrc
|
|
|
|
|
# and also skip-check-libtool-deps (and add these dependencies to the devel package)
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
OpenSC provides a set of libraries and utilities to access smart cards.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
It mainly focuses on cards that support cryptographic operations. It
|
2007-01-16 00:28:14 +01:00
|
|
|
|
facilitates their use in security applications such as mail encryption,
|
|
|
|
|
authentication, and digital signature. OpenSC implements the PKCS#11
|
2008-02-08 20:18:04 +01:00
|
|
|
|
API. Applications supporting this API, such as Mozilla Firefox and
|
2007-01-16 00:28:14 +01:00
|
|
|
|
Thunderbird, can use it. OpenSC implements the PKCS#15 standard and
|
|
|
|
|
aims to be compatible with every software that does so, too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 15:42:57 +02:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Juha Yrj<EFBFBD>l<EFBFBD> <jyrjola@cc.hut.fi>
|
|
|
|
|
Antti Tapaninen <aet@cc.hut.fi>
|
|
|
|
|
Timo Ter<EFBFBD>s <timo.teras@iki.fi>
|
|
|
|
|
Olaf Kirch <okir@suse.de>
|
|
|
|
|
|
|
|
|
|
%package -n libopensc2
|
2008-04-10 15:18:04 +02:00
|
|
|
|
License: LGPL v2.1 or later
|
2007-07-27 15:42:57 +02:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Summary: OpenSC Smart Card Library
|
|
|
|
|
Requires: %{name} >= %{version}
|
|
|
|
|
|
|
|
|
|
%description -n libopensc2
|
|
|
|
|
OpenSC provides a set of libraries and utilities to access smart cards.
|
|
|
|
|
Its main focus is on cards that support cryptographic operations. It
|
|
|
|
|
facilitates their use in security applications such as mail encryption,
|
|
|
|
|
authentication, and digital signature. OpenSC implements the PKCS#11
|
|
|
|
|
API so applications supporting this API, such as Mozilla Firefox and
|
|
|
|
|
Thunderbird, can use it. OpenSC implements the PKCS#15 standard and
|
|
|
|
|
aims to be compatible with every software that does so, too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:28:14 +01:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Juha Yrj<EFBFBD>l<EFBFBD> <jyrjola@cc.hut.fi>
|
|
|
|
|
Antti Tapaninen <aet@cc.hut.fi>
|
|
|
|
|
Timo Ter<EFBFBD>s <timo.teras@iki.fi>
|
|
|
|
|
Olaf Kirch <okir@suse.de>
|
|
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 15:18:04 +02:00
|
|
|
|
License: GPL v2 or later
|
2007-07-27 15:42:57 +02:00
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-01-16 00:28:14 +01:00
|
|
|
|
Summary: Additional files needed for OpenSC development
|
2008-02-08 20:18:04 +01:00
|
|
|
|
Requires: %{name} = %{version} glibc-devel openct-devel libopenssl-devel pcsc-lite-devel
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains files required to develop applications using the
|
|
|
|
|
OpenSC framework.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Juha Yrj<EFBFBD>l<EFBFBD> <juha.yrjola@iki.fi>
|
|
|
|
|
Antti Tapaninen <aet@cc.hut.fi>
|
|
|
|
|
Timo Ter<EFBFBD>s <timo.teras@iki.fi>
|
|
|
|
|
Olaf Kirch <okir@caldera.de>
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2008-08-04 00:50:05 +02:00
|
|
|
|
%patch -p1
|
2007-07-27 15:42:57 +02:00
|
|
|
|
chmod -x doc/svn2cl.xsl
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
|
|
|
|
%build
|
2008-02-08 20:18:04 +01:00
|
|
|
|
#cp -a /usr/share/gettext/config.rpath .
|
2007-07-27 15:42:57 +02:00
|
|
|
|
autoreconf -f -i
|
2008-02-08 20:18:04 +01:00
|
|
|
|
%configure\
|
|
|
|
|
--with-plugin-dir=%{_libdir}/browser-plugins
|
2007-07-27 15:42:57 +02:00
|
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
|
|
|
|
%install
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%makeinstall
|
2007-01-16 00:28:14 +01:00
|
|
|
|
# Install opensc.conf
|
2007-07-27 15:42:57 +02:00
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
|
|
install -m 644 etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}
|
2007-01-16 00:28:14 +01:00
|
|
|
|
# Copy init_perso.html to docs so it's installed
|
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%post -n libopensc2 -p /sbin/ldconfig
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%postun -n libopensc2 -p /sbin/ldconfig
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%doc COPYING NEWS README doc/*.css doc/*.gif doc/*.html doc/ChangeLog init_perso_guide.html
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%exclude %{_bindir}/*-config
|
|
|
|
|
%{_datadir}/opensc
|
|
|
|
|
# Note: .la and .so must be in the main package, required by ltdl:
|
|
|
|
|
%{_libdir}/*.la
|
|
|
|
|
%{_libdir}/*.so
|
2008-02-08 20:18:04 +01:00
|
|
|
|
%{_libdir}/browser-plugins/*.so
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%doc %{_mandir}/man?/*.*
|
|
|
|
|
%config %{_sysconfdir}/opensc.conf
|
|
|
|
|
|
|
|
|
|
%files -n libopensc2
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/*.so.*
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2007-07-27 15:42:57 +02:00
|
|
|
|
%{_bindir}/*-config
|
|
|
|
|
%{_includedir}/opensc
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:28:14 +01:00
|
|
|
|
|
2007-03-01 22:07:42 +01:00
|
|
|
|
%changelog
|
2008-08-04 00:50:05 +02:00
|
|
|
|
* Thu Jul 31 2008 sbrabec@suse.cz
|
|
|
|
|
- Fixed initialization access rights for Siemens CardOS M4, added
|
|
|
|
|
a security check to pkcs15-tool (bnc#413496, CVE-2008-2235)
|
2008-04-10 15:18:04 +02:00
|
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
|
for multilib support
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* 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
|
2007-07-27 15:42:57 +02:00
|
|
|
|
- Updated to version 0.11.3:
|
|
|
|
|
* make lots of internal functions and variables static.
|
|
|
|
|
* fix 0 vs NULL in many places. fix ansi c style (void).
|
|
|
|
|
* avoid variable names used also as glibc function (random etc.).
|
|
|
|
|
* new code for deleting objects.
|
|
|
|
|
* special hack for firefox.
|
|
|
|
|
* suport for Athena APCOS cards added.
|
|
|
|
|
* piv driver now supports bigger rsa keys too.
|
|
|
|
|
* enabled pin caching by default.
|
|
|
|
|
* use max_send_size 255 / max_recv_size 256 bytes by default.
|
|
|
|
|
* increase pin buffer size to allow longer pin codes.
|
|
|
|
|
* Added --read-ssk-key option to pkcs15-tool
|
|
|
|
|
* use pkg-config for finding openct
|
|
|
|
|
* use strlcpy function
|
|
|
|
|
* use new pkcs11.h from scute with an open source license
|
|
|
|
|
* add support for sha2 to pkcs15-crypt
|
|
|
|
|
* add piv-tool for managing piv cards
|
|
|
|
|
* add muscle driver
|
|
|
|
|
* improved oberthur driver
|
|
|
|
|
* add support for pcsc v2 part10
|
|
|
|
|
* convert source files to utf-8
|
|
|
|
|
- Split package according to shared library packaging policy.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Tue Feb 27 2007 mvaner@suse.cz
|
2007-03-01 22:07:42 +01:00
|
|
|
|
- Fixing dodgy use of sizeof (#238660)
|
|
|
|
|
- sizeof.patch
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Mon Oct 02 2006 sbrabec@suse.cz
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Updated to version 0.11.1:
|
|
|
|
|
* Update for piv pkcs#15 emulation
|
|
|
|
|
* Improved TCOS driver for Uni Giesen Card
|
|
|
|
|
* Handle size_t printf with "%%lu" and (unsigned long) cast
|
|
|
|
|
* Add support for d-trust cards / improve micardo 2.1 driver
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu May 25 2006 sbrabec@suse.cz
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Fixed build for old SuSE Linux versions.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu May 11 2006 sbrabec@suse.cz
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Fixed devel dependencies.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Wed May 10 2006 sbrabec@suse.cz
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Updated to version 0.11.0.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu Jan 05 2006 ro@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- added unpackaged so-links to devel filelist
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Tue Oct 25 2005 rhafer@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- added LDAP_DEPRECATED to CFLAGS to build correctly with·
|
|
|
|
|
OpenLDAP 2.3
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Sep 02 2005 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Removed +x permissions on opensc.conf (#114849)
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu Jul 14 2005 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Updated to latest upstream version
|
|
|
|
|
- Added missing documentation files (#75425)
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Mar 04 2005 meissner@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- fixed gcc4 compilation.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Jan 21 2005 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Updated to latest upstream version (0.9.4)
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu Nov 18 2004 ro@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- use kerberos-devel-packages
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Mon Jul 19 2004 adrian@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- fix file list
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Mon Jul 12 2004 adrian@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- update to version 0.8.1
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Mar 19 2004 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Fixed permissions and path names of some include files (#36432)
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Jan 16 2004 kukuk@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Add pam-devel to neededforbuild
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- add %%run_ldconfig and %%defattr
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Mon Aug 04 2003 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Build fixes for x86_64/ppc64
|
|
|
|
|
- use a version string other than "CVS" (#28423)
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Aug 01 2003 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Updated to most recent upstream snapshot
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu Jun 12 2003 kukuk@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Fix filelist and permissions
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Wed Jun 04 2003 ro@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- added rest of static libs to devel filelist
|
|
|
|
|
- remove unpackaged files from buildroot
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Wed Jan 15 2003 ro@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- use sasl2
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu Dec 05 2002 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- fixed x86_64 build problem
|
|
|
|
|
- updated to latest upstream
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Nov 29 2002 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- updated to current CVS snapshot
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Aug 09 2002 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- added missing libs to files list
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Thu Jul 04 2002 ro@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- added heimdal-devel to neededforbuild to make libtool happy
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Fri Jun 28 2002 schwab@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Fix bootstrap script.
|
|
|
|
|
- Use correct libtool macros.
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Mon May 27 2002 sf@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- @libdir@ added to Makefile.am to use correct dirs for
|
|
|
|
|
*/lib */lib64
|
2008-02-08 20:18:04 +01:00
|
|
|
|
* Tue Apr 30 2002 okir@suse.de
|
2007-01-16 00:28:14 +01:00
|
|
|
|
- Initial check-in
|