libcap: Update to version 2.76

Message ID 20250424134354.3440212-6-adolf.belka@ipfire.org
State Staged
Commit e5ee56f677e12873754589ac19669bffbfa8fe42
Headers
Series libcap: Update to version 2.76 |

Commit Message

Adolf Belka April 24, 2025, 1:43 p.m. UTC
  - Update from version 2.75 to 2.76
- Update of rootfile
- Changelog
    2.76
	    More libpsx and psx Go package mechanism fixes (many thanks to Christial
	     Kastner for helping dive into the off-piste architectures. See Bug 219915.)
	        Address an arm64 (aarch64) libpsx issue seen with Tracee.
		 (Tagged psx/v1.2.76-rc1)
	            Note, 2.75 should have fixed the tracee issue 4678 but the above
		     issue emerged from their extensive testing. Thanks to Gregório G.
		     for reporting the observed failure details.
	        More architectures supported: of the many architectures Debian builds
		 for, we think only alpha and sparc64 have problems. Unable to
		 construct qemu-*-system images  with which to debug these. If anyone
		 has a recipe for that that works for Fedora as a base platform,
		 please provide details...
	    To make the various .so files continue to be runnable as standalone
	     programs added another workaround for glibc. (Bug 219880 reported by
	     Christian Kastner.)
	        _IO_stdin_used needs to be weekly defined to make puts() and friends
		 work. Also updated the Stackoverflow answer to include that detail.
	    Made a new man page cap_text_formats(7). This makes it possible to
	     separate the tool man pages from the developer man pages. I believe this
	     was the second time this was requested, by Carlos Rodriguez-Fernandez
	     this time (can't find the former request in my email).
	        Some man page cross linking fixes as well.
	    Dropped Make.Rules definition of SYSTEM_HEADERS Thanks to Ross Burton for
	     reporting.
	    Removed a spurious debugging printf() from setcap tool.
	    Removed cap_ workarounds for go.dev cap package examples. The website bugs
	     have been resolved: go/issues/70611;  go/issues/70630.
	    Added a Makefile to the contrib/seccomp example.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libcap | 5 +++--
 lfs/libcap                     | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap
index 65d423ac7..220b907c8 100644
--- a/config/rootfiles/common/libcap
+++ b/config/rootfiles/common/libcap
@@ -6,10 +6,10 @@  sbin/setcap
 #usr/include/sys/psx_syscall.h
 #usr/lib/libcap.so
 usr/lib/libcap.so.2
-usr/lib/libcap.so.2.75
+usr/lib/libcap.so.2.76
 #usr/lib/libpsx.so
 #usr/lib/libpsx.so.2
-usr/lib/libpsx.so.2.75
+usr/lib/libpsx.so.2.76
 #usr/lib/pkgconfig/libcap.pc
 #usr/lib/pkgconfig/libpsx.pc
 #usr/lib/security
@@ -89,6 +89,7 @@  usr/lib/security/pam_cap.so
 #usr/share/man/man3/psx_syscall3.3
 #usr/share/man/man3/psx_syscall6.3
 #usr/share/man/man5/capability.conf.5
+#usr/share/man/man7/cap_text_formats.7
 #usr/share/man/man8/captree.8
 #usr/share/man/man8/getcap.8
 #usr/share/man/man8/getpcaps.8
diff --git a/lfs/libcap b/lfs/libcap
index b3bbda4d0..c0707a5e0 100644
--- a/lfs/libcap
+++ b/lfs/libcap
@@ -6,7 +6,7 @@ 
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 # the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
+# (at your option) any later301c74ceae00e915f70ff8f0a32c86a5ddf405a00522f4299390e4e0b6bc4270fc7e3c4ba5c53db2ddc5f7de6a97b43e310097a4ecc1d678f721f9dfa53cef53 version.                                         #
 #                                                                             #
 # This program is distributed in the hope that it will be useful,             #
 # but WITHOUT ANY WARRANTY; without even the implied warranty of              #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.75
+VER        = 2.76
 
 THISAPP    = libcap-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 88071f0ff6f786f42777853a03ae116b1175769b14b715dd1b3def7414fcf118dea56f80e14dc467f72d3cb1a091ab95fc2fc0a240552fedfbbb95a9fc94f2db
+$(DL_FILE)_BLAKE2 = 301c74ceae00e915f70ff8f0a32c86a5ddf405a00522f4299390e4e0b6bc4270fc7e3c4ba5c53db2ddc5f7de6a97b43e310097a4ecc1d678f721f9dfa53cef53
 
 install : $(TARGET)