libcap: update to 2.51.
This commit is contained in:
parent
9b7ad40856
commit
10a70118cc
2 changed files with 3 additions and 42 deletions
|
@ -1,39 +0,0 @@
|
|||
From fc82332156dc04c24578aefcb7741d749d025032 Mon Sep 17 00:00:00 2001
|
||||
From: "Andrew G. Morgan" <morgan@kernel.org>
|
||||
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 <morgan@kernel.org>
|
||||
---
|
||||
progs/Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/progs/Makefile b/progs/Makefile
|
||||
index 289186e..2289cf7 100644
|
||||
--- a/progs/Makefile
|
||||
+++ b/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
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libcap'
|
||||
pkgname=libcap
|
||||
version=2.50
|
||||
revision=2
|
||||
version=2.51
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
build_style=gnu-makefile
|
||||
make_install_args="SBINDIR=/usr/bin exec_prefix=/usr
|
||||
|
@ -14,7 +14,7 @@ license="GPL-2.0-only"
|
|||
homepage="http://sites.google.com/site/fullycapable/"
|
||||
changelog="https://sites.google.com/site/fullycapable/release-notes-for-libcap"
|
||||
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/${pkgname}-${version}.tar.xz"
|
||||
checksum=47a57b8bd238b84c93c921a9b4ff82337551dbcb0cca071316aadf3e23b19261
|
||||
checksum=6609f3ab7aebcc8f9277f53a577c657d9f3056d1352ea623da7fd7c0f00890f9
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
make_build_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||
|
|
Loading…
Reference in a new issue