summaryrefslogtreecommitdiffstats
path: root/testing/keyutils/keyutils-no-key.dns_resolver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/keyutils/keyutils-no-key.dns_resolver.patch')
-rw-r--r--testing/keyutils/keyutils-no-key.dns_resolver.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/keyutils/keyutils-no-key.dns_resolver.patch b/testing/keyutils/keyutils-no-key.dns_resolver.patch
new file mode 100644
index 000000000..512b04da6
--- /dev/null
+++ b/testing/keyutils/keyutils-no-key.dns_resolver.patch
@@ -0,0 +1,27 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -84,7 +84,7 @@
+ # Normal build rule
+ #
+ ###############################################################################
+-all: $(DEVELLIB) keyctl request-key key.dns_resolver
++all: $(DEVELLIB) keyctl request-key
+
+ ###############################################################################
+ #
+@@ -150,7 +150,6 @@
+ $(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl
+ $(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key
+ $(INSTALL) -D request-key-debug.sh $(DESTDIR)$(SHAREDIR)/request-key-debug.sh
+- $(INSTALL) -D key.dns_resolver $(DESTDIR)$(SBINDIR)/key.dns_resolver
+ $(INSTALL) -D -m 0644 request-key.conf $(DESTDIR)$(ETCDIR)/request-key.conf
+ $(INSTALL) -D -m 0644 keyctl.1 $(DESTDIR)$(MAN1)/keyctl.1
+ $(INSTALL) -D -m 0644 keyctl_chown.3 $(DESTDIR)$(MAN3)/keyctl_chown.3
+@@ -180,7 +179,6 @@
+ $(LNS) recursive_key_scan.3 $(DESTDIR)$(MAN3)/recursive_session_key_scan.3
+ $(INSTALL) -D -m 0644 request-key.conf.5 $(DESTDIR)$(MAN5)/request-key.conf.5
+ $(INSTALL) -D -m 0644 request-key.8 $(DESTDIR)$(MAN8)/request-key.8
+- $(INSTALL) -D -m 0644 key.dns_resolver.8 $(DESTDIR)$(MAN8)/key.dns_resolver.8
+ $(INSTALL) -D -m 0644 keyutils.h $(DESTDIR)$(INCLUDEDIR)/keyutils.h
+
+ ###############################################################################