From patchwork Sun Feb 5 11:27:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 6484 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4P8nDN1B9pz3wkQ for ; Sun, 5 Feb 2023 11:27:16 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4P8nDL0dTdzmP; Sun, 5 Feb 2023 11:27:14 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4P8nDK5dfXz2yTC; Sun, 5 Feb 2023 11:27:13 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4P8nDJ3Zk6z2xZS for ; Sun, 5 Feb 2023 11:27:12 +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 4P8nDH0Ph8zH7 for ; Sun, 5 Feb 2023 11:27:11 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1675596431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=f8K/sevDDsE06NIkvdpuQ/h89sswilhJUHnE0xQlqgs=; b=+osNUraBff6XcL53r/6ssBzBElIW1L7stG7+QARY/XEuf6LqwPF1njNgVfkMWvgrX1DkqW DBoCWVrpMmYpCABQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1675596431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=f8K/sevDDsE06NIkvdpuQ/h89sswilhJUHnE0xQlqgs=; b=u3Ngml6c5L9slrxMp0fq2jlsdLkcbEUz9Enrdwknf140RorbFRUwtkuJ29QPYb41JGv6Kv 5nvtCJeX43m71n9U59+D2+/J+T0r0VaBNFj7VLQZhTsCnTzjnfdD6R3k+daPOH4mYg81AG L5GxoU3PqrYjlDipNGZsDuiuYEMoiIe/aBaHf63EuUnqg8lTvmQJ7WWv4uP35qXF8av0hn avoJvqkf0fACVprHElIHwBVu2E5teV6KJy0iFoGTF61x4D/nMRG77g/gtsS+baDoi20O5J 3vukh+w5dklGin6pqGHCJQHmvQ3c60M7deHIyfzGQajvvw3psmIdEfJCPFNW6A== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] lsof: Update to 4.98.0 Date: Sun, 5 Feb 2023 12:27:06 +0100 Message-Id: <20230205112706.3403667-1-matthias.fischer@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" For details see: https://github.com/lsof-org/lsof/blob/master/00DIST#L5471 "4.98.0 January 22, 2023 Fix two potential null pointer access bug when gethostbyname2() returns an empty address list Add support for older automake versions (on e.g. CentOS 7) Migrate testing scripts and programs to autotools Extend CI to build on more Linux distros [linux] Fix handling of empty command name, closing #246. Add test from #246, where lsof returns stale command name when the command name is empty. If getting command name failed, return NULL instead of empty string Add --with/without-libtirpc option to autotools-based build system and automatically detect libtirpc by default Add -H switch to print human readable size, e.g. 123.4K (#260) [linux] Fix implicit declaration error when HASPTYEPT is undefined Add support for musl libc-based Linux distros Add --enable-security argument to configure to allow only the root user to list all open files Add --enable-no-sock-security argument to configure to allow anyone to list anyone else's socket files when combined with --enable-security [linux] Always enable 64 bit off_t in configure.ac [netbsd] Import patches from pkgsrc and port autotools-based build system to NetBSD [netbsd] Fix lock status reading" Signed-off-by: Matthias Fischer Reviewed-by: Adolf Belka --- lfs/lsof | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lfs/lsof b/lfs/lsof index eefaf35f5..2c654dd5b 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-2023 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.98.0 -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 = 7ce5576653035bced042b07a946a09cb3c23da57a4f77a9f7bc8b8f86d531d73f0375a03fb0dc9e03f6ac18caa68bbb45144d6da13cee7ba94dfbb913fae9d03 install : $(TARGET) @@ -69,7 +69,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xzf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && ./Configure linux cd $(DIR_APP) && make $(MAKETUNING) CC="cc $(CFLAGS) $(LDFLAGS)" cd $(DIR_APP) && install -m 755 -o root -g root lsof /usr/bin