diff --git a/srcpkgs/libcap/patches/fix-missing-capsh.patch b/srcpkgs/libcap/patches/fix-missing-capsh.patch new file mode 100644 index 00000000000..444604c68de --- /dev/null +++ b/srcpkgs/libcap/patches/fix-missing-capsh.patch @@ -0,0 +1,39 @@ +From fc82332156dc04c24578aefcb7741d749d025032 Mon Sep 17 00:00:00 2001 +From: "Andrew G. Morgan" +Date: Fri, 28 May 2021 13:41:17 -0700 +Subject: Make capsh an installed binary again + +Bug report from Jan Palus: + + https://bugzilla.kernel.org/show_bug.cgi?id=213261 + +Signed-off-by: Andrew G. Morgan +--- + progs/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/progs/Makefile b/progs/Makefile +index 289186e..2289cf7 100644 +--- progs/Makefile ++++ progs/Makefile +@@ -32,14 +32,14 @@ $(BUILD): %: %.o $(DEPS) + + install: all + mkdir -p -m 0755 $(FAKEROOT)$(SBINDIR) +- for p in $(PROGS) ; do \ ++ for p in $(PROGS) capsh ; do \ + install -m 0755 $$p $(FAKEROOT)$(SBINDIR) ; \ + done + ifeq ($(RAISE_SETFCAP),yes) + $(FAKEROOT)$(SBINDIR)/setcap cap_setfcap=i $(FAKEROOT)$(SBINDIR)/setcap + endif + +-test: $(PROGS) ++test: $(PROGS) capsh + + capshdoc.h.cf: capshdoc.h ./mkcapshdoc.sh + ./mkcapshdoc.sh > $@ +-- +cgit 1.2.3-1.el7 + + diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index d4d8c9c22be..ad68fc72aed 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -1,7 +1,7 @@ # Template file for 'libcap' pkgname=libcap version=2.50 -revision=1 +revision=2 bootstrap=yes build_style=gnu-makefile make_install_args="SBINDIR=/usr/bin exec_prefix=/usr