From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4EA551382C5 for ; Sun, 30 May 2021 10:54:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BA1AE077D; Sun, 30 May 2021 10:54:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D50AE077D for ; Sun, 30 May 2021 10:54:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B8EA340E3F for ; Sun, 30 May 2021 10:54:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 548EE59C for ; Sun, 30 May 2021 10:54:44 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1622372074.e4d012e535d80dcfd8c0135ff538764586fe8af8.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap/files/, sys-libs/libcap/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libcap/files/libcap-2.50-install_capsh_again.patch sys-libs/libcap/libcap-2.50-r1.ebuild sys-libs/libcap/libcap-2.50.ebuild X-VCS-Directories: sys-libs/libcap/ sys-libs/libcap/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: e4d012e535d80dcfd8c0135ff538764586fe8af8 X-VCS-Branch: master Date: Sun, 30 May 2021 10:54:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 165b5f1f-ba22-4390-93c3-d02a4edca88a X-Archives-Hash: 44d282e353160e9c0a146584baef6096 commit: e4d012e535d80dcfd8c0135ff538764586fe8af8 Author: Lars Wendler gentoo org> AuthorDate: Sun May 30 10:54:09 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sun May 30 10:54:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d012e5 sys-libs/libcap: Revbump to install capsh binary again Closes: https://bugs.gentoo.org/793026 Signed-off-by: Lars Wendler gentoo.org> .../files/libcap-2.50-install_capsh_again.patch | 38 ++++++++++++++++++++++ .../{libcap-2.50.ebuild => libcap-2.50-r1.ebuild} | 1 + 2 files changed, 39 insertions(+) diff --git a/sys-libs/libcap/files/libcap-2.50-install_capsh_again.patch b/sys-libs/libcap/files/libcap-2.50-install_capsh_again.patch new file mode 100644 index 00000000000..0ae7520dc7b --- /dev/null +++ b/sys-libs/libcap/files/libcap-2.50-install_capsh_again.patch @@ -0,0 +1,38 @@ +From 1f8d32942be54850a3a89c7b58ba5613b5525c58 Mon Sep 17 00:00:00 2001 +From: "Andrew G. Morgan" +Date: Fri, 28 May 2021 13:41:17 -0700 +Subject: [PATCH] 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 313dc4d..3c3dc97 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 > $@ +-- +2.32.0.rc2 + diff --git a/sys-libs/libcap/libcap-2.50.ebuild b/sys-libs/libcap/libcap-2.50-r1.ebuild similarity index 97% rename from sys-libs/libcap/libcap-2.50.ebuild rename to sys-libs/libcap/libcap-2.50-r1.ebuild index 20f0382faa4..2745eb56bf9 100644 --- a/sys-libs/libcap/libcap-2.50.ebuild +++ b/sys-libs/libcap/libcap-2.50-r1.ebuild @@ -28,6 +28,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/${PN}-2.50-build-system-fixes.patch + "${FILESDIR}"/${PN}-2.50-install_capsh_again.patch #793026 "${FILESDIR}"/${PN}-2.38-no_perl.patch "${FILESDIR}"/${PN}-2.25-ignore-RAISE_SETFCAP-install-failures.patch "${FILESDIR}"/${PN}-2.21-include.patch