summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-progs_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-23 14:43:56 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-23 14:46:14 +0200
commitcc2f3ef0e48483f8909f6f29f58bcb984ea27682 (patch)
tree38fee6682a9745cbbae0ae913bd9676028778aa0 /package/libcap/patches/patch-progs_Makefile
parent58eeb548906799709ffe076a90923a62efbcd83d (diff)
add support for permission fixups when using genimage
Add suid-bit to Xorg as an example. Create simple *.perm files with relative path to the files. You can use any command available on the host. (f.e. chmod/chown)
Diffstat (limited to 'package/libcap/patches/patch-progs_Makefile')
-rw-r--r--package/libcap/patches/patch-progs_Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libcap/patches/patch-progs_Makefile b/package/libcap/patches/patch-progs_Makefile
new file mode 100644
index 000000000..c13d1ddd8
--- /dev/null
+++ b/package/libcap/patches/patch-progs_Makefile
@@ -0,0 +1,12 @@
+--- libcap-2.25.orig/progs/Makefile 2016-01-31 01:01:41.000000000 +0100
++++ libcap-2.25/progs/Makefile 2016-09-23 10:37:55.480689559 +0200
+@@ -26,9 +26,6 @@ install: all
+ for p in $(PROGS) ; do \
+ install -m 0755 $$p $(FAKEROOT)$(SBINDIR) ; \
+ done
+-ifeq ($(RAISE_SETFCAP),yes)
+- $(FAKEROOT)$(SBINDIR)/setcap cap_setfcap=i $(FAKEROOT)$(SBINDIR)/setcap
+-endif
+
+ clean:
+ $(LOCALCLEAN)