From patchwork Fri Apr 22 20:10:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5533 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4KlQWZ4Mtkz3xG6 for ; Fri, 22 Apr 2022 20:10:34 +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 ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4KlQWY6Jy6zh4; Fri, 22 Apr 2022 20:10:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KlQWY5qvvz2yRn; Fri, 22 Apr 2022 20:10:33 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4KlQWY1xM2z2xNB for ; Fri, 22 Apr 2022 20:10:33 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4KlQWY0VFLzdm; Fri, 22 Apr 2022 20:10:33 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1650658233; 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=1DMjCFgN3TV7Fxkoe45ts9r9kr2LHht653RQWRl6PTc=; b=u5HgqZB/Gqo2jjG9WKs62SDs61CD0u30rOZtmqP1dYPPW4ANLXqgvM0qJCfcIZ9392/vIH LEewEkhFgvUXQpBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1650658233; 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=1DMjCFgN3TV7Fxkoe45ts9r9kr2LHht653RQWRl6PTc=; b=h4Q71QsIwRlzMB929+Uw1b4sz9Qnl0+8uTvXpoB/GhHLeW/WnlQ5JxhqZ4FcOeo1WyH1f6 gL1SKPnhXgrXWUu3AYp6+cAnlnToL2V3uIeT1gSgbHTEb2k21dDHdaNRYlpuKKyT4J/DLZ Aae7WyowhdpEQH4x0UgPV/bJbAyf5DDPaepa3oJy8jWjaK8b2hxOL8rDaDgq3TuJlhgp1S 1Wj4edwxfqZo6haIhHSRPdmAmVs5B5NRBPf38py2cbv5kzuzhHVdpRm9vgENfTTnkiYh6m RW+PkrbV3e6/nD29CP06q0fvaKlXrU5/nPIdRAxLtj+7lGfT46uPYoHbCMk9LA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libcap: Update to version 2.64 Date: Fri, 22 Apr 2022 22:10:30 +0200 Message-Id: <20220422201030.3494669-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from version 2.63 to 2.64 - Update of rootfile - Change sed line to ensure removal of static libs - environment names for static libraries changed. - Changelog 2.64 Fix memory leak in libpsx at program exit. (Bug: 215551 reported by Kalen Hall) Be more resilient to CGo configuration with Go compiler when building tests. (Bug: 215603) Fix cap_*prctl() return code/errno handling. (Bug: 215772 reported by Anderson Toshiyuki Sasaki) Minor clarification to cap_get_pid() man page concerning pid value within namespaces. (Bug: 215812) Signed-off-by: Adolf Belka Reviewed-by: Peter Müller --- config/rootfiles/common/libcap | 6 ++---- lfs/libcap | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap index 0c57c9120..1e104acf6 100644 --- a/config/rootfiles/common/libcap +++ b/config/rootfiles/common/libcap @@ -1,10 +1,8 @@ -#lib/libcap.a lib/libcap.so.2 -lib/libcap.so.2.63 -#lib/libpsx.a +lib/libcap.so.2.64 #lib/libpsx.so #lib/libpsx.so.2 -#lib/libpsx.so.2.63 +lib/libpsx.so.2.64 #lib/pkgconfig/libcap.pc #lib/pkgconfig/libpsx.pc lib/security/pam_cap.so diff --git a/lfs/libcap b/lfs/libcap index 2b38e8075..21facbe01 100644 --- a/lfs/libcap +++ b/lfs/libcap @@ -24,7 +24,7 @@ include Config -VER = 2.63 +VER = 2.64 THISAPP = libcap-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = a49a628f5b9ddf5a3d077428544a53b9cdedf62053ff296a0aa7d61e12ca05f9ba7597f20ee16a3843736bee2417a3d1585ad6b336651fcb3e4ee29b108cfa0f +$(DL_FILE)_BLAKE2 = 078ce2505a79c1bd4ca0a8eaf3444178bc19a566f0505d28c6959f86fbbac2fe2fc88c06fd0d988087a6e20e8ec66a2633146cea957f0f3fd92eaff4f81d7c66 install : $(TARGET) @@ -71,11 +71,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) # Prevent a static library from being installed - cd $(DIR_APP) && sed -i '/install.*STALIBNAME/d' libcap/Makefile + cd $(DIR_APP) && sed -i '/install -m.*STA/d' libcap/Makefile cd $(DIR_APP) && make GOLANG=no cd $(DIR_APP) && make install GOLANG=no rm -vf /lib/libcap.so - ln -svf /lib/libcap.so.2.61 /usr/lib/libcap.so + ln -svf /lib/libcap.so.2.64 /usr/lib/libcap.so chmod +x /lib/libcap.so.* @rm -rf $(DIR_APP) @$(POSTBUILD)