Accepting request 441453 from home:sbrabec:branches:security:chipcard

- Add baselibs.conf to provide 32-bit PKCS11 plugins (bsc#996047).
- Drop opensc-ADVISORIES. There is no new advisory since 2009.

OBS-URL: https://build.opensuse.org/request/show/441453
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/opensc?expand=0&rev=41
This commit is contained in:
Stanislav Brabec 2016-11-24 15:11:00 +00:00 committed by Git OBS Bridge
parent b92a6868c4
commit 13de599d03
4 changed files with 13 additions and 18 deletions

5
baselibs.conf Normal file
View File

@ -0,0 +1,5 @@
opensc
+/usr/lib(64)?/*.la
+/usr/lib(64)?/*.so*
+/usr/lib(64)?/pkcs11/*.so
requires "opensc = <version>"

View File

@ -1,14 +0,0 @@
opensc security advisories
==========================
Opensc gets regular security updates during the maintenance period like
other packages in openSUSE and SLE.
But opensc needs a special care - some of security problems cannot be
fixed by a simple package update. You need to take a special action and
check your cards, tokens or certificates.
If you just updated from a previous version of openSUSE or SLE, don't
forget to check for these advisories.
http://en.opensuse.org/Smart_Cards/Advisories

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 22 16:42:06 CET 2016 - sbrabec@suse.com
- Add baselibs.conf to provide 32-bit PKCS11 plugins (bsc#996047).
- Drop opensc-ADVISORIES. There is no new advisory since 2009.
-------------------------------------------------------------------
Tue Jul 5 12:09:24 UTC 2016 - t.gruner@katodev.de

View File

@ -24,7 +24,7 @@ License: LGPL-2.1+
Group: Productivity/Security
Url: https://github.com/OpenSC/OpenSC/wiki
Source: %{name}-%{version}.tar.gz
Source1: %{name}-ADVISORIES
Source1: baselibs.conf
Source2: %{name}-rpmlintrc
# Register with p11-kit
# https://www.opensc-project.org/opensc/ticket/390
@ -58,7 +58,6 @@ may require third party proprietary software.
%prep
%setup -q
cp -a %{SOURCE1} ADVISORIES
%build
%if 0%{?suse_version} > 1100
@ -74,7 +73,7 @@ make %{?_smp_mflags}
mkdir -p %{buildroot}%{_sysconfdir}
mkdir -p %{buildroot}%{_libdir}/pkcs11
make %{?_smp_mflags} DESTDIR=%{buildroot} install
cp COPYING ADVISORIES NEWS README %{buildroot}%{_docdir}/%{name}
cp COPYING NEWS README %{buildroot}%{_docdir}/%{name}
# Private library.
rm %{buildroot}%{_libdir}/libopensc.so
install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pkcs11/modules/opensc.module
@ -85,7 +84,6 @@ install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pkcs11/modules/opensc.mo
%files
%defattr(-,root,root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/ADVISORIES
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/README