From mboxrd@z Thu Jan 1 00:00:00 1970 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 Content-Type: multipart/mixed; boundary="===============8287205696392586576==" List-Id: --===============8287205696392586576== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 2.63 to 2.64 - Update of rootfile - Change sed line to ensure removal of static libs - environment names for st= atic libraries changed. - Changelog 2.64 Fix memory leak in libpsx at program exit. (Bug: 215551 reported by Kale= n Hall) Be more resilient to CGo configuration with Go compiler when building te= sts. (Bug: 215603) Fix cap_*prctl() return code/errno handling. (Bug: 215772 reported by A= nderson Toshiyuki Sasaki) Minor clarification to cap_get_pid() man page concerning pid value within namespaces. (Bug: 215812) Signed-off-by: Adolf Belka --- 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 @@ =20 include Config =20 -VER =3D 2.63 +VER =3D 2.64 =20 THISAPP =3D libcap-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D a49a628f5b9ddf5a3d077428544a53b9cdedf62053ff296a0aa7d6= 1e12ca05f9ba7597f20ee16a3843736bee2417a3d1585ad6b336651fcb3e4ee29b108cfa0f +$(DL_FILE)_BLAKE2 =3D 078ce2505a79c1bd4ca0a8eaf3444178bc19a566f0505d28c6959f= 86fbbac2fe2fc88c06fd0d988087a6e20e8ec66a2633146cea957f0f3fd92eaff4f81d7c66 =20 install : $(TARGET) =20 @@ -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=3Dno cd $(DIR_APP) && make install GOLANG=3Dno 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) --=20 2.36.0 --===============8287205696392586576==--