From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] lsof: Update to version 4.96.4 Date: Mon, 28 Nov 2022 14:22:49 +0100 Message-ID: <20221128132249.1572494-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2881024941565544927==" List-Id: --===============2881024941565544927== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 4.95.0 to 4.96.4 - Update of rootfile not required - bz2 version of source tarball is no longer provided. - Changelog 4.96.4 October 18, 2022 [FreeBSD] sys/files.h no longer needs _KERNEL defined to include it (bsdimp #256) docs: Describe fd number truncation in output (#261) 4.96.3 September 16, 2022 [FreeBSD] Fix kqueue compat for releases < 14 4.96.2 September 16, 2022 [FreeBSD] fix FreeBSD < 14 4.96.1 September 16, 2022 [FreeBSD] Unconditionally define HASKQUEUE (mjguzik) 4.96.0 September 16, 2022 [linux] fix hash functions used for finding local tcp/udp IPCs There were typos in the code calculating hash values. The typos might break the flatness of hashtables where the endpoint information about locally used tcp/udp was stored. Theoretically, this fix may improve the performance of lsof with [+|-]E option. Inspired by the issue #206 reported by Tomasz K=C5=82oczko (@kloczek). Show copyright notice in --version output. [linux] compile with -Wall option [linux] Avoid some easy collissions for udp/udp6 sockets when hashing [linux] Changing the number of ipcbuckets to 4096 [darwin] fix build with -fno-common (Cfp redefinition) gcc-10 and llvm-11 changed the default from -fcommon to -fno-common: https://gcc.gnu.org/PR85678 As a result build fails as: duplicate symbol '_Cfp' in: ddev.o dfile.o Cfp is already explicitly defined in dstore.c. The change turns header definition into declaration. Provided by Sergei Trofimovich (@trofi) in #221. The same fix is applied to libproc backend by Jiajie Chen (@jiegec) in #226. [linux] Make build reproducible by checking SOURCE_DATE_EPOCH and considering LSOF_{HOST,LOGNAME,SYSINFO,USER} as "none" when it is set. Provided by Danilo Spinella in #217 [darwin] remove /usr/include prefix from include for Darwin 19+ The /usr/include path is missing since macOS Catalina. Fixes issue #234. Provided by Jiajie Chen in #235 [linux] obtain correct information of memory-mapped file. Provided by Teng Hu in #239 [FreeBSD] configure: suggest variable to set if FreeBSD sys not found submitted by @emaste Updated 00FAQ with lookup to open files via mountpoint Provided by Jacob Chapman in #240 [FreeBSD] modernize API usage and remove legacy FreeBSD relea= ses Contributor DamjanJovanovic (#184) Ed Maste (#250, #251, #25= 2), Warner Losh (#253) Signed-off-by: Adolf Belka --- lfs/lsof | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lfs/lsof b/lfs/lsof index eefaf35f5..055643870 100644 --- a/lfs/lsof +++ b/lfs/lsof @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2018 IPFire Team = # +# Copyright (C) 2007-2022 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,10 +24,10 @@ =20 include Config =20 -VER =3D 4.95.0.linux +VER =3D 4.96.4 =20 -THISAPP =3D lsof_$(VER) -DL_FILE =3D $(THISAPP).tar.bz2 +THISAPP =3D lsof-$(VER) +DL_FILE =3D $(THISAPP).tar.gz DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 6a7d6353ec7f0f1e14416bff98867e64009c3f3901110c947f845b= b3dcf9af3d40755c7ac6d586412a61778bc8ac355d2388cf2cfa8a975dbf4870c339c75a8c +$(DL_FILE)_BLAKE2 =3D c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc2991626= 14a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58 =20 install : $(TARGET) =20 --=20 2.38.1 --===============2881024941565544927==--