Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
opensc.11154
opensc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensc.spec of Package opensc.11154
# # spec file for package opensc # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # Name: opensc BuildRequires: docbook-xsl-stylesheets BuildRequires: libtool BuildRequires: libxslt BuildRequires: openssl-devel BuildRequires: pcsc-lite-devel BuildRequires: pkg-config BuildRequires: readline-devel Url: https://github.com/OpenSC/OpenSC/wiki Version: 0.13.0 Release: 0 Summary: Smart Card Utilities License: LGPL-2.1-or-later Group: Productivity/Security Source: %{name}-%{version}.tar.bz2 Source1: %{name}-ADVISORIES Source2: %{name}-rpmlintrc # PATCH-FIX_UPSTREAM opensc-fixed-out-of-bounds-reads.patch https://github.com/OpenSC/OpenSC/commit/8fe377e93b4b56060e5bbfb6f3142ceaeca744fa -- Security issues identified by fuzzing. Patch1: opensc-fixed-out-of-bounds-reads.patch # PATCH-FIX_UPSTREAM opensc-fixed-out-of-bounds-writes.patch https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad -- Fixed out-of-bounds writes in several files. Patch2: opensc-fixed-out-of-bounds-writes.patch # PATCH-FIX_UPSTREAM opensc-iasecc-fixed-unbound-recursion.patch https://github.com/OpenSC/OpenSC/commit/03628449b75a93787eb2359412a3980365dda49b -- iasecc: fixed unbound recursion. Patch3: opensc-iasecc-fixed-unbound-recursion.patch # PATCH-FIX_UPSTREAM opensc-added-bounds-checking.patch https://github.com/OpenSC/OpenSC/commit/83f45cda2af16b65264103fbe0394fd422f0120d -- Added bounds checking to sc_simpletlv_read_tag(). Patch4: opensc-added-bounds-checking.patch # PATCH-FIX_UPSTREAM opensc-CVE-2019-6502.patch https://github.com/OpenSC/OpenSC/commit/0d7967549751b7032f22b437106b41444aff0ba9 -- Small memory leak fix. Patch5: opensc-CVE-2019-6502.patch Requires: pcsc-lite # There is no more devel package. Obsoletes: opensc-devel < %{version} # This package is not supported any more. Last appeared in openSUSE 11.3, never appeared in SLE: Obsoletes: opensc-java <= 0.2.2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OpenSC provides a set of utilities to access smart cards. It mainly focuses 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. 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. Before purchasing any cards, please read carefully documentation on the web pageonly some cards are supported. Not only card type matters, but also card version, card OS version and preloaded applet. Only subset of possible operations may be supported for your card. Card initialization may require third party proprietary software. Authors: -------- Juha Yrjölä <jyrjola@cc.hut.fi> Antti Tapaninen <aet@cc.hut.fi> Timo Teräs <timo.teras@iki.fi> Olaf Kirch <okir@suse.de> %prep %setup -q cp -a %{S:1} ADVISORIES %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %if %suse_version > 1100 autoreconf -f -i %endif %configure\ --docdir=%{_docdir}/%{name}\ --disable-static\ --enable-doc make %{?jobs:-j%jobs} %install mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkcs11 %makeinstall cp COPYING ADVISORIES ChangeLog README $RPM_BUILD_ROOT%{_docdir}/%{name} # Private library. rm $RPM_BUILD_ROOT%{_libdir}/libopensc.so %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/ADVISORIES %doc %{_docdir}/%{name}/ChangeLog %doc %{_docdir}/%{name}/COPYING %doc %{_docdir}/%{name}/NEWS %doc %{_docdir}/%{name}/README %doc %{_docdir}/%{name}/tools.html %{_bindir}/* %{_datadir}/opensc # Note: .la and .so must be in the main package, required by ltdl: %{_libdir}/*.la %{_libdir}/*.so %dir %{_libdir}/pkcs11 %{_libdir}/pkcs11/*.so %doc %{_mandir}/man?/*.* %config %{_sysconfdir}/opensc.conf # This is a private library. There is no reason to split it to libopensc* package. %{_libdir}/libopensc.so.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor