From patchwork Sun Apr 26 11:44:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9725 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) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4g3PyG5yYWz3x94 for ; Sun, 26 Apr 2026 11:45:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4g3PyG3YJTz7C2 for ; Sun, 26 Apr 2026 11:45:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4g3Pxy3B6dz379D for ; Sun, 26 Apr 2026 11:44:54 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4g3Pxm2K4Xz3484 for ; Sun, 26 Apr 2026 11:44:44 +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 4g3Pxl2qcnz78H; Sun, 26 Apr 2026 11:44:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1777203883; 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: in-reply-to:in-reply-to:references:references; bh=CKiFJGobkTck6YUAZ9pCWQxNHzFtxqat1LVOnSL2YGw=; b=2n7U6csp9CToyitnZYEXIpRxVHal6gPCCxxe04FeUmrO2dr3igeUNyyPn9V5KL9Vl8UnEW DFiEXFbr/xBAxMBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1777203883; 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: in-reply-to:in-reply-to:references:references; bh=CKiFJGobkTck6YUAZ9pCWQxNHzFtxqat1LVOnSL2YGw=; b=AIVA3D+GhaIGe3r5eBxYgDXQCr1QYBZxS99gZkU0G6GvfDDb/65BdHUCjmz40+tpxtoyVI yHrE/h1j4EuV6F769PCWGqFLlE8aKbt92sv7arjAJlu7t7SSPrVuzx6SEMflFyj4pwu/dZ RT7xpP4s0d7sJ9EQhDO7TgJEtNbQd0vCtZb2pEATNxVP9+ppRhMShWTLDBz8g0bBxYHcEe FjhAbPKfWN6xz95e0rwUwamLb1E0aYWc8gy2kOAlduMBdvxcn46t3Dy+q0/rIH6hEAgLsg 5jWhPq4LDb8BeUi642KESKPJXqz9v7dVUo0U8rPfi7MrnDlVo/SHJgckBU7ukA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libcap: Update to version 2.78 Date: Sun, 26 Apr 2026 13:44:09 +0200 Message-ID: <20260426114418.122889-20-adolf.belka@ipfire.org> In-Reply-To: <20260426114418.122889-1-adolf.belka@ipfire.org> References: <20260426114418.122889-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 2.77 to 2.78 - Update of rootfile - Changelog 2.78 Fix mistakes in setcap for reporting errors: report them with the appropriate filename. Thanks to Nikolas for reporting these in Bug 220245. Fix bug in cap.GetIAB() reported and fix provided by Garret Kelly via Bug 220420. Improve libcap managed memory allocation and support CHERI RISC-V. Reported with fix by Chris Hofer via Bug 220415. Add (unverified) support for the PSX mechanism on microblaze, arc, openrisc and xtensa architectures. Thanks to Tom Petazzoni for including these in Bug 219915 Please let me know if these work or fail on these architectures. Add C++ support to the run a .so file as an executable mechanism employed by libcap.so, libpsx.so and pam_cap.so. Not really necessary for the libcap build tree, but wanted to capture the details of my recent update to a Stackoverflow answer on the topic. Use BUILD_LDFLAGS when compiling _makenames fix contributed by Khem Raj. Fix broke some builds, so will revert and apply a more comprehensive fix. Fixed sendmail issue discussion link. Thanks to Ariel Otilibili for noticing the breakage and contributing a fix. Some debugging fixes for use of the kdebug/ testing setup Signed-off-by: Adolf Belka --- config/rootfiles/common/libcap | 4 ++-- lfs/libcap | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap index 1b470d075..a3e2752df 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.77 +usr/lib/libcap.so.2.78 #usr/lib/libpsx.so #usr/lib/libpsx.so.2 -usr/lib/libpsx.so.2.77 +usr/lib/libpsx.so.2.78 #usr/lib/pkgconfig/libcap.pc #usr/lib/pkgconfig/libpsx.pc #usr/lib/security diff --git a/lfs/libcap b/lfs/libcap index 24c042095..1259230b7 100644 --- a/lfs/libcap +++ b/lfs/libcap @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2025 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # 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 # @@ -24,7 +24,7 @@ include Config -VER = 2.77 +VER = 2.78 THISAPP = libcap-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 9725a5f886907f718a7149841003ac04aced8d322ae190b7035873dc823098c58311f15b9fe7e2a3fec683de6e2eeea108cd008f5f79e8dba24bb20595351812 +$(DL_FILE)_BLAKE2 = 60b1afed4df471e9bbb631deca850920408710fb166335d5640feadf5e2feced0bccae10ba4010eca0dfb0cbb5cd41e255c2e4ac232dc3d18b7d269df9f1e72a install : $(TARGET)