From patchwork Mon Nov 28 13:22:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6189 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 4NLR3k6lDrz3xfS for ; Mon, 28 Nov 2022 13:22:58 +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 4NLR3j1BpDz2Mk; Mon, 28 Nov 2022 13:22:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NLR3j0VhJz2xgv; Mon, 28 Nov 2022 13:22:57 +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 4NLR3g3lCfz2xGk for ; Mon, 28 Nov 2022 13:22:55 +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 4NLR3f4nzWz1Fy; Mon, 28 Nov 2022 13:22:54 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1669641774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VhWluucMUKxDqqpU36veHWP4fETsSTBJKS1KCA1IdJw=; b=k8f+M+IWl6CcTjmt2Ds8Kt9zHA7NyESIX1GTRe7xlinjIIMqHPdeDC9cwjKWH6reCDXKQk z9vzC0H4cnLCTOAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1669641774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VhWluucMUKxDqqpU36veHWP4fETsSTBJKS1KCA1IdJw=; b=ZC0XskpXQPDMbqWQGeV7dRSxDXoqppqnh0KW0ppzN1OYUH3ZFB2ps0AeWLzToO+Xy/5Dw1 tkahVmFUW63Qv/Dx/Ajgd1ySuf6Y6pIV0194dHS+Bsbz1x0JZN9ayZJBqi74G+dczS7CYi dFipUbhD0kRVBWj7w3KnzpHvJWDO/qlFTloAdIXGF149/JLrHwPTXHbmxVmZqzhw8gYIT8 VqgAQXUU7oRXS0wsxrMyPah0s+g2bcvU1l7qUrxxhLIfXJDSYAlrILKPe0Ih4BSpIwKSMj n1us8REJjLmIT6gt3Z0LDXB5jTO68z0RCgfc7x18S/eDi94Bju8v00tcg2ftcg== 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 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 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łoczko (@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 releases Contributor DamjanJovanovic (#184) Ed Maste (#250, #251, #252), 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 @@ include Config -VER = 4.95.0.linux +VER = 4.96.4 -THISAPP = lsof_$(VER) -DL_FILE = $(THISAPP).tar.bz2 +THISAPP = lsof-$(VER) +DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 6a7d6353ec7f0f1e14416bff98867e64009c3f3901110c947f845bb3dcf9af3d40755c7ac6d586412a61778bc8ac355d2388cf2cfa8a975dbf4870c339c75a8c +$(DL_FILE)_BLAKE2 = c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58 install : $(TARGET)