From patchwork Fri Dec 13 19:00:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8322 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Y8zFC6ZBjz3wxg for ; Fri, 13 Dec 2024 19:00:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Y8zF720nzz10l; Fri, 13 Dec 2024 19:00:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Y8zF66jDrz33xJ; Fri, 13 Dec 2024 19:00:42 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Y8zF40BQFz2ydF for ; Fri, 13 Dec 2024 19:00:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Y8zF26NwQzcS; Fri, 13 Dec 2024 19:00:38 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1734116439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=M+8O4CNf46I8qLknuy4RuaNM8QUHjI9kG/QFnzXPOYg=; b=BlVPChJ1Ssq9UeOynr0IfRMOUHk3E1iNKAzrRSDPelQoMlDCcOlWoms0lcRLH2ZHhzMo9R 84lQZ8LVYQmMlaAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1734116439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=M+8O4CNf46I8qLknuy4RuaNM8QUHjI9kG/QFnzXPOYg=; b=pkri0+9//I1QxOut50sf8aO/YQMs0EPfmg1FHwGs8b4fOAhJlBD8mzsO3P2R8xrDib1nE/ P+eiW1q0g6oD2071A96rqC0LQvxTviyj2kQ2dkS+rXC3zxzYrhq/1DZuD9hZAGtpSMSj26 zNXVBg5sVCj/ldZTiKbOAJyboW/QqEmOB2qQOIONAZ2J9sQrACRBlVre32HiVuTeAFlVpS q2gcwgIEkjUXYe4qY0nHpw5yUdnv5k3wsd8iHf3z+dCk3tpjvCvYMe7N41A47UkOiAB5Xz 6zR/bg6tS/bzF495GDyYa0hLVfOH95L6sK3XrvEParRvwVpYZrhzw750/fQVbg== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libcap: Update to version 2.73 Date: Fri, 13 Dec 2024 20:00:34 +0100 Message-ID: <20241213190034.3426507-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: RP23PBL7QSI44FD2K45INSG5AFDUXBZ7 X-Message-ID-Hash: RP23PBL7QSI44FD2K45INSG5AFDUXBZ7 X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - 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 --- 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 82754304e..dc411f3e5 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 c4a50b2c7..99fd26bb7 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)