mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
keyutils: add new package
This is based on earlier work by Tobias Waldvogel. Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Author: Marcus Meissner <meissner@suse.de>
|
||||
Description: Added 2 cifs helpers to request-key.conf (for CIFS DFS support)
|
||||
|
||||
diff -Naurp keyutils.orig/request-key.conf keyutils/request-key.conf
|
||||
--- keyutils.orig/request-key.conf 2011-08-22 11:46:30.332025250 +0200
|
||||
+++ keyutils/request-key.conf 2011-08-22 11:49:40.096967441 +0200
|
||||
@@ -38,4 +38,6 @@ create user debug:* expired
|
||||
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 cifs.spnego * * /usr/sbin/cifs.upcall -c %k
|
||||
+create dns_resolver * * /usr/sbin/cifs.upcall %k
|
||||
negate * * * /bin/keyctl negate %k 30 %S
|
||||
@@ -0,0 +1,19 @@
|
||||
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
|
||||
Description: Avoid setting Intel Architecture specific CFLAGS (Closes: #638925).
|
||||
|
||||
diff -Naurp keyutils.orig/Makefile keyutils/Makefile
|
||||
--- keyutils.orig/Makefile 2011-08-22 11:51:20.521464216 +0200
|
||||
+++ keyutils/Makefile 2011-08-24 19:17:09.855361713 +0200
|
||||
@@ -56,12 +56,10 @@ BUILDFOR := $(shell file /usr/bin/make |
|
||||
LNS := ln -sf
|
||||
|
||||
ifeq ($(BUILDFOR),32-bit)
|
||||
-CFLAGS += -m32
|
||||
LIBDIR := /lib
|
||||
USRLIBDIR := /usr/lib
|
||||
else
|
||||
ifeq ($(BUILDFOR),64-bit)
|
||||
-CFLAGS += -m64
|
||||
LIBDIR := /lib64
|
||||
USRLIBDIR := /usr/lib64
|
||||
endif
|
||||
Reference in New Issue
Block a user