From 2c474411a50060a166b0d79fc54defb8fcc855e2 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Fri, 13 Dec 2024 20:00:34 +0100 Subject: [PATCH] libcap: Update to version 2.73 - Update from version 2.72 to 2.73 - Update of rootfile - This version builds correctly with aarch64 - tested out building on the aarch64-builder system - Changelog 2.73 Bug fixes for libpsx changes in the 2.72 release. Some architectures do not support the system call getdents(). More modern architectures only support getdents64(), so use that. Patch provided by Xi Ruoyao. gettid() isn't consistently defined in all *libc's so create a macro for using it in the libpsx sources. Fix some static analysis found issues, surfaced by Carlos Rodriguez-Fernandez from an analysis performed on Fedora's libcap-2.71 release. Third attempt to get an executable cap package runnable example into the documentation on go.pkg.dev. It still isn't working, but I think the issue is now one for the go.dev website: Filed go/issues/70630 which got duped into this go/issues/70611 and a fix was requested by Ian Taylor. Remove a redundant c.String() function since fmt.Println(c) can figure this detail out. Freshen up setcap.c sources. Sort the argument help. Add go vet to the tests for cap and psx packages. Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer --- config/rootfiles/common/libcap | 4 ++-- lfs/libcap | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap index 82754304e9..dc411f3e59 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.72 +usr/lib/libcap.so.2.73 #usr/lib/libpsx.so #usr/lib/libpsx.so.2 -usr/lib/libpsx.so.2.72 +usr/lib/libpsx.so.2.73 #usr/lib/pkgconfig/libcap.pc #usr/lib/pkgconfig/libpsx.pc #usr/lib/security diff --git a/lfs/libcap b/lfs/libcap index c4a50b2c74..99fd26bb7c 100644 --- a/lfs/libcap +++ b/lfs/libcap @@ -24,7 +24,7 @@ include Config -VER = 2.72 +VER = 2.73 THISAPP = libcap-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 2c854fd9a714ab1daae3831829b4b7a890a0894953ba88ae1e190274e7fc635275ce4bf2c668b390ba8196248cb1f953fafb3a9af3907e688c1ab40774f7c6e0 +$(DL_FILE)_BLAKE2 = c8ea9b8accc4034adfd31295ec9356dcce3ae46b3e532e089248c20d0f148de17c9a0525e9f15ac839f83351cdff9e0f9e91ee8966c34116ad1411917f9358b2 install : $(TARGET) -- 2.39.5