MyEID fix (#1048576)
This commit is contained in:
parent
9aff48c405
commit
a9f405ef3f
12
opensc-myeid.patch
Normal file
12
opensc-myeid.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ur opensc-0.13.0.orig/src/pkcs15init/myeid.profile opensc-0.13.0/src/pkcs15init/myeid.profile
|
||||
--- opensc-0.13.0.orig/src/pkcs15init/myeid.profile 2012-12-04 15:43:40.000000000 +0100
|
||||
+++ opensc-0.13.0/src/pkcs15init/myeid.profile 2014-01-06 14:04:22.795401836 +0100
|
||||
@@ -201,7 +201,7 @@
|
||||
acl = READ=$PIN, UPDATE=$PIN, DELETE=$PIN;
|
||||
}
|
||||
EF data {
|
||||
- file-id = 4501;
|
||||
+ file-id = 4601;
|
||||
structure = transparent;
|
||||
acl = READ=NONE, UPDATE=$PIN, DELETE=$PIN;
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
Name: opensc
|
||||
Version: 0.13.0
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: Smart card library and applications
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -12,6 +12,7 @@ Source1: opensc.module
|
||||
# Upstream patch for fixing pkcs15 cert length calculation
|
||||
Patch0: 0001-pkcs15-regression-in-e35febe-compute-cert-length.patch
|
||||
Patch1: opensc-epass2003.patch
|
||||
Patch2: opensc-myeid.patch
|
||||
|
||||
BuildRequires: pcsc-lite-devel
|
||||
BuildRequires: readline-devel
|
||||
@ -37,6 +38,7 @@ every software/card that does so, too.
|
||||
%setup -q
|
||||
%patch0 -p1 -b .cert_length
|
||||
%patch1 -p1 -b .epass2003
|
||||
%patch2 -p1 -b .myeid
|
||||
|
||||
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure # lib64 rpaths
|
||||
cp -p src/pkcs15init/README ./README.pkcs15init
|
||||
@ -123,6 +125,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libsmm-local.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 06 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-10
|
||||
- Applied myeid related patch (#1048576)
|
||||
|
||||
* Thu Jan 02 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-9
|
||||
- Applied epass2003 related patch (#981462)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user