Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 707080 Details for
Bug 919465
Put opensc p11-kit conf file in better location/name
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Use standard p11-kit module name and location
0001-Use-standard-p11-kit-module-name-and-location.patch (text/plain), 3.71 KB, created by
Stef Walter
on 2013-03-08 14:39:24 UTC
(
hide
)
Description:
Use standard p11-kit module name and location
Filename:
MIME Type:
Creator:
Stef Walter
Created:
2013-03-08 14:39:24 UTC
Size:
3.71 KB
patch
obsolete
>From de2b7ed3e206971b1db3435b74c7af4650b3c3cb Mon Sep 17 00:00:00 2001 >From: Stef Walter <stefw@gnome.org> >Date: Fri, 8 Mar 2013 15:19:59 +0100 >Subject: [PATCH] Use standard p11-kit module name and location > > * p11-kit now wants modules to use <name>.module for module > config files > * Put the module config file in the non-admin editable > location supported by p11-kit 0.16.0 and later. > * Administrators can still override any setting they want > by creating an opensc.module file in /etc/pkcs11/modules > and adding only those settings they wish to change. >--- > opensc-module | 8 -------- > opensc.module | 8 ++++++++ > opensc.spec | 12 ++++++++---- > 3 files changed, 16 insertions(+), 12 deletions(-) > delete mode 100644 opensc-module > create mode 100644 opensc.module > >diff --git a/opensc-module b/opensc-module >deleted file mode 100644 >index 2071097..0000000 >--- a/opensc-module >+++ /dev/null >@@ -1,8 +0,0 @@ >-# This file describes how to load the opensc module >-# See: http://p11-glue.freedesktop.org/doc/p11-kit/config.html >- >-# This is a relative path, which means it will be loaded from >-# the p11-kit default path which is usually $(libdir)/pkcs11. >-# Doing it this way allows for packagers to package opensc for >-# 32-bit and 64-bit and make them parallel installable >-module: opensc-pkcs11.so >diff --git a/opensc.module b/opensc.module >new file mode 100644 >index 0000000..2071097 >--- /dev/null >+++ b/opensc.module >@@ -0,0 +1,8 @@ >+# This file describes how to load the opensc module >+# See: http://p11-glue.freedesktop.org/doc/p11-kit/config.html >+ >+# This is a relative path, which means it will be loaded from >+# the p11-kit default path which is usually $(libdir)/pkcs11. >+# Doing it this way allows for packagers to package opensc for >+# 32-bit and 64-bit and make them parallel installable >+module: opensc-pkcs11.so >diff --git a/opensc.spec b/opensc.spec >index 0e644bd..36e129b 100644 >--- a/opensc.spec >+++ b/opensc.spec >@@ -1,13 +1,13 @@ > Name: opensc > Version: 0.13.0 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: Smart card library and applications > > Group: System Environment/Libraries > License: LGPLv2+ > URL: https://www.opensc-project.org/ > Source0: http://downloads.sourceforge.net/project/opensc/OpenSC/opensc-%{version}/%{name}-%{version}.tar.gz >-Source1: opensc-module >+Source1: opensc.module > > # Upstream patch for fixing pkcs15 cert length calculation > Patch0: 0001-pkcs15-regression-in-e35febe-compute-cert-length.patch >@@ -53,7 +53,7 @@ make %{?_smp_mflags} V=1 > %install > make install DESTDIR=$RPM_BUILD_ROOT > install -Dpm 644 etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}/opensc.conf >-install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/opensc-module >+install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/share/p11-kit/opensc.module > # use NEWS file timestamp as reference for configuration file > touch -r NEWS $RPM_BUILD_ROOT%{_sysconfdir}/opensc.conf > >@@ -76,7 +76,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libopensc.so > %defattr(-,root,root,-) > %doc COPYING NEWS README* > %config(noreplace) %{_sysconfdir}/opensc.conf >-%config(noreplace) %{_sysconfdir}/pkcs11/opensc-module >+%config(noreplace) %{_datadir}/share/p11-kit/opensc.module > %{_bindir}/cardos-tool > %{_bindir}/cryptoflex-tool > %{_bindir}/eidenv >@@ -118,6 +118,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libopensc.so > > > %changelog >+* Fri Mar 08 2013 Stef Walter <stefw@redhat.com> - 0.13.0-4 >+- Use the standard name format for p11-kit module configs >+- Put the p11-kit module config is the system location >+ > * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild > >-- >1.8.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 919465
: 707080 |
707081