]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
lsof: Update to 4.98.0
authorMatthias Fischer <matthias.fischer@ipfire.org>
Sun, 5 Feb 2023 11:27:06 +0000 (12:27 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 4 Mar 2023 13:53:59 +0000 (13:53 +0000)
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 <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
lfs/lsof

index eefaf35f5e7279cf789a709e758e2ae1edf8e377..2c654dd5b0f4c1aa2158863cba9aabd00bff6c67 100644 (file)
--- a/lfs/lsof
+++ b/lfs/lsof
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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        #
 
 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