[packages/libcap] up to 2.51

atler atler at pld-linux.org
Mon Jun 21 11:57:13 CEST 2021


commit 77406bc15543104144f42aa04936b77d83fda90a
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jun 21 09:56:54 2021 +0000

    up to 2.51

 libcap-install_capsh.patch | 38 --------------------------------------
 libcap.spec                |  6 ++----
 2 files changed, 2 insertions(+), 42 deletions(-)
---
diff --git a/libcap.spec b/libcap.spec
index 11a259e..2ac4d13 100644
--- a/libcap.spec
+++ b/libcap.spec
@@ -9,14 +9,13 @@ Summary:	POSIX.1e capability suite
 Summary(pl.UTF-8):	Wsparcie dla standardu "capability" POSIX.1e
 Summary(pt_BR.UTF-8):	Biblioteca para leitura e configuração de capabilities.
 Name:		libcap
-Version:	2.50
+Version:	2.51
 Release:	1
 Epoch:		1
 License:	GPL v2 or BSD
 Group:		Applications/System
 Source0:	https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz
-# Source0-md5:	66a561afa81666236ff973544ff4e864
-Patch0:		%{name}-install_capsh.patch
+# Source0-md5:	4c9febc1bf0afca6a4d9f86fcdb6d900
 URL:		https://sites.google.com/site/fullycapable/
 BuildRequires:	attr-devel
 %{?with_golang:BuildRequires:	golang}
@@ -95,7 +94,6 @@ Moduł PAM capability wymuszający dziedziczone zbiory uprawnień.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 LDFLAGS="%{rpmldflags}" \
diff --git a/libcap-install_capsh.patch b/libcap-install_capsh.patch
deleted file mode 100644
index 7ba6739..0000000
--- a/libcap-install_capsh.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From fc82332156dc04c24578aefcb7741d749d025032 Mon Sep 17 00:00:00 2001
-From: "Andrew G. Morgan" <morgan at 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 at 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
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcap.git/commitdiff/77406bc15543104144f42aa04936b77d83fda90a



More information about the pld-cvs-commit mailing list