[opensc] MyEID fix (#1048576)
Nikos Mavrogiannopoulos
nmav at fedoraproject.org
Mon Jan 6 13:08:02 UTC 2014
commit a9f405ef3fb05169315eb8855ffa05b96556c62b
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date: Mon Jan 6 14:07:58 2014 +0100
MyEID fix (#1048576)
opensc-myeid.patch | 12 ++++++++++++
opensc.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/opensc-myeid.patch b/opensc-myeid.patch
new file mode 100644
index 0000000..d222ab6
--- /dev/null
+++ b/opensc-myeid.patch
@@ -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;
+ }
diff --git a/opensc.spec b/opensc.spec
index 4885021..4a649b2 100644
--- a/opensc.spec
+++ b/opensc.spec
@@ -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 at redhat.com> - 0.13.0-10
+- Applied myeid related patch (#1048576)
+
* Thu Jan 02 2014 Nikos Mavrogiannopoulos <nmav at redhat.com> - 0.13.0-9
- Applied epass2003 related patch (#981462)
More information about the scm-commits
mailing list