[packages/keyutils] - added NFS amd CIFS helpers to request-key.conf - rel 2

baggins baggins at pld-linux.org
Tue Jan 21 19:58:37 CET 2014


commit c5925e0f16b4c15fc826191b8f0e8e5b2aaad691
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jan 21 19:58:10 2014 +0100

    - added NFS amd CIFS helpers to request-key.conf
    - rel 2

 helpers.patch | 10 ++++++++++
 keyutils.spec |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/keyutils.spec b/keyutils.spec
index e1440f4..15a941c 100644
--- a/keyutils.spec
+++ b/keyutils.spec
@@ -10,11 +10,12 @@ Summary:	Linux Key Management Utilities
 Summary(pl.UTF-8):	Narzędzia do linuksowego zarządzania kluczami
 Name:		keyutils
 Version:	1.5.8
-Release:	1
+Release:	2
 License:	LGPL v2+ (library), GPL v2+ (utility)
 Group:		Base
 Source0:	http://people.redhat.com/~dhowells/keyutils/%{name}-%{version}.tar.bz2
 # Source0-md5:	3c7f463039b83833c12a9414c2fcb389
+Patch0:		helpers.patch
 BuildRequires:	rpmbuild(macros) >= 1.402
 %{!?with_glibc24:BuildRequires:	glibc-devel >= 6:2.4}
 Requires:	%{name}-libs = %{version}-%{release}
@@ -74,6 +75,7 @@ Statyczna biblioteka do zarządzania linuksowymi kluczami.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} -j1 \
diff --git a/helpers.patch b/helpers.patch
new file mode 100644
index 0000000..cb58ff2
--- /dev/null
+++ b/helpers.patch
@@ -0,0 +1,10 @@
+--- keyutils-1.5.8/request-key.conf~	2013-10-04 11:50:21.000000000 +0200
++++ keyutils-1.5.8/request-key.conf	2014-01-21 19:56:52.935066507 +0100
+@@ -38,4 +38,7 @@
+ create  user    debug:*         revoked         /bin/keyctl reject %k 30 %c %S
+ create	user	debug:loop:*	*		|/bin/cat
+ create	user	debug:*		*		/usr/share/keyutils/request-key-debug.sh %k %d %c %S
++create	id_resolver *		*		/sbin/nfsidmap -t 600 %k %d
++create	cifs.spnego *		*		/usr/sbin/cifs.upcall -c %k
++create	dns_resolver *		*		/usr/sbin/cifs.upcall %k
+ negate	*	*		*		/bin/keyctl negate %k 30 %S
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/keyutils.git/commitdiff/c5925e0f16b4c15fc826191b8f0e8e5b2aaad691



More information about the pld-cvs-commit mailing list