From mboxrd@z Thu Jan  1 00:00:00 1970
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] lsof: Update to 4.98.0
Date: Sun, 05 Feb 2023 15:43:18 +0100
Message-ID: <e8421ed5-179b-8b85-57a2-10c336cc4e38@ipfire.org>
In-Reply-To: <20230205112706.3403667-1-matthias.fischer@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2098969159694741219=="
List-Id: <development.lists.ipfire.org>

--===============2098969159694741219==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Reviewed-by: Adolf Belka <adolf.belka(a)ipfire.org>

On 05/02/2023 12:27, Matthias Fischer wrote:
> 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(a)ipfire.org>
> ---
>   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  <info(a)ipfire.org>               =
      #
> +# Copyright (C) 2007-2023  IPFire Team  <info(a)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   =
     #
> @@ -24,10 +24,10 @@
>  =20
>   include Config
>  =20
> -VER        =3D 4.95.0.linux
> +VER        =3D 4.98.0
>  =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 6a7d6353ec7f0f1e14416bff98867e64009c3f3901110c947f84=
5bb3dcf9af3d40755c7ac6d586412a61778bc8ac355d2388cf2cfa8a975dbf4870c339c75a8c
> +$(DL_FILE)_BLAKE2 =3D 7ce5576653035bced042b07a946a09cb3c23da57a4f77a9f7bc8=
b8f86d531d73f0375a03fb0dc9e03f6ac18caa68bbb45144d6da13cee7ba94dfbb913fae9d03
>  =20
>   install : $(TARGET)
>  =20
> @@ -69,7 +69,7 @@ $(subst %,%_BLAKE2,$(objects)) :
>  =20
>   $(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=3D"cc $(CFLAGS) $(LDFLAGS)"
>   	cd $(DIR_APP) && install -m 755 -o root -g root lsof /usr/bin

--===============2098969159694741219==--