From patchwork Fri Aug 9 11:23:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7952 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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4WgM3y0JZYz3x5y for ; Fri, 9 Aug 2024 11:23:42 +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 "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4WgM3t4fvqz5sG; Fri, 9 Aug 2024 11:23:38 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4WgM3t3shfz345f; Fri, 9 Aug 2024 11:23:38 +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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4WgM3p6Jx6z33LN for ; Fri, 9 Aug 2024 11:23:34 +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 4WgM3n3Kv2z2VB; Fri, 9 Aug 2024 11:23:33 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1723202613; 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=PMM827V9RqwCuiF4HGTFWpMfxEpfts5kVjUqzGkhKDE=; b=zKxckupeipLKhd38E7lsKtNdLGr2L0vneVVGf0ZHMsKIZqJWanbOsEpiPQkgYjvnkOPId0 57Js8qqaTWrI5bAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1723202613; 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=PMM827V9RqwCuiF4HGTFWpMfxEpfts5kVjUqzGkhKDE=; b=P//D++yE6NnHr3kp3d/Ux4N4iI/z+Xieia9z95XE3/upyehX3tM8GjVaLGF4dI5lvlkh4f qL4OCScXruMKpOqu2UvE0mURO9S5eDthKyyFoaO+CADoHY5pL8+uwZcn6KOYRIuway9DET ICETXIoT9KWOmSryUlmrNeqNghqRJVlG9IxyyRFt6jJ8BZywrHIYRv3Hhluo7WpbagSk+v 5NmpI5pl0WWmMSiO/AbFk57mwm3TcMGNaiK6nmaIiVUObxOEC0gHGX9WCXS7lnekpvHwy9 6saPDtjoy2l2GDT1Uk1xtpLSSarRoOsYytAM0Q8Kx90lwslyqCARaTNCyg0upA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 01/15] libcap: Update to version 2.70 Date: Fri, 9 Aug 2024 13:23:12 +0200 Message-ID: <20240809112326.8475-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: YO75BPSFOWHSFNJ3S5WWFELZYDWA5CAL X-Message-ID-Hash: YO75BPSFOWHSFNJ3S5WWFELZYDWA5CAL 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.69 to 2.70 - Update of rootfile - sobump means following core packages need to be shipped arping cdrkit iproute2 iputils ntp squid udev and the following addons will be shipped with the pak_ver increments in the other patches that are part ofg this set avahi bacula cifs-utils dnsdist freeradius frr htop nfs rng-tools samba tor tshark vdr wavemon - Changelog 2.70 setcap changes to make it harder to set invalid file capabilities (Bug 217592\ reported by parke.nexus) Lots of documentation fixes (contributions from Jakub Wilk and Carlos Rodriguez-Fernandez) Fix c89 compilation syntax for the C code in the libraries. libpam has deprecated providing the _pam_overwrite() function, so use memset() instead Signed-off-by: Adolf Belka --- config/rootfiles/common/libcap | 8 +++++--- lfs/libcap | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap index f331e2a43..ea90c7564 100644 --- a/config/rootfiles/common/libcap +++ b/config/rootfiles/common/libcap @@ -4,12 +4,12 @@ sbin/getpcaps sbin/setcap #usr/include/sys/capability.h #usr/include/sys/psx_syscall.h -usr/lib/libcap.so +#usr/lib/libcap.so usr/lib/libcap.so.2 -usr/lib/libcap.so.2.69 +usr/lib/libcap.so.2.70 #usr/lib/libpsx.so #usr/lib/libpsx.so.2 -usr/lib/libpsx.so.2.69 +usr/lib/libpsx.so.2.70 #usr/lib/pkgconfig/libcap.pc #usr/lib/pkgconfig/libpsx.pc #usr/lib/security @@ -88,7 +88,9 @@ usr/lib/security/pam_cap.so #usr/share/man/man3/psx_syscall.3 #usr/share/man/man3/psx_syscall3.3 #usr/share/man/man3/psx_syscall6.3 +#usr/share/man/man5/capability.conf.5 #usr/share/man/man8/captree.8 #usr/share/man/man8/getcap.8 #usr/share/man/man8/getpcaps.8 +#usr/share/man/man8/pam_cap.8 #usr/share/man/man8/setcap.8 diff --git a/lfs/libcap b/lfs/libcap index 951ed80dc..51e32f9c6 100644 --- a/lfs/libcap +++ b/lfs/libcap @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2024 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.69 +VER = 2.70 THISAPP = libcap-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 94d1fef7666a1c383a8b96f1f6092bd242164631532868b628d2f5de71b42a371d041a978ef7fbadfee3eeb433165444995d1078cd790275bc0433a7875a697e +$(DL_FILE)_BLAKE2 = 77b72acee53032117ea481e3380d1b497f9264b6193b9523542508c7c3e46070248ca4ed910d35809ce6e52caa60cbb31edb125c47221627eeda35c61bd0914b install : $(TARGET)