|
|
|
@ -1,10 +1,8 @@
|
|
|
|
|
Summary: A utility which lists open files on a Linux/UNIX system
|
|
|
|
|
Name: lsof
|
|
|
|
|
Version: 4.94.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
# Sendmail .. lib/snpf.c
|
|
|
|
|
# LGPLv2+ .. lib/regex.c, regex.h
|
|
|
|
|
License: zlib and Sendmail and LGPLv2+
|
|
|
|
|
Version: 4.98.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
License: lsof
|
|
|
|
|
URL: https://github.com/lsof-org/lsof
|
|
|
|
|
|
|
|
|
|
# lsof contains licensed code that we cannot ship. Therefore we use
|
|
|
|
@ -25,6 +23,8 @@ BuildRequires: libselinux-devel
|
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
|
BuildRequires: groff-base
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Lsof stands for LiSt Open Files, and it does just that: it lists information
|
|
|
|
@ -32,10 +32,11 @@ about files that are open by the processes running on a UNIX system.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{lsofrh}
|
|
|
|
|
%patch0 -p1 -b .man-page-section
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
#%patch1 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./Configure -n linux
|
|
|
|
|
%configure
|
|
|
|
|
%make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc"
|
|
|
|
|
# rebase to 4.93 introduced change in Lsof.8 with unhandled .so inclusion
|
|
|
|
|
soelim -r Lsof.8 > lsof.1
|
|
|
|
@ -52,12 +53,44 @@ install -p -m 0644 lsof.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/lsof.1
|
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.94.0-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.98.0-5
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.94.0-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 23 2023 Jan Rybar <jrybar@redhat.com> - 4.98.0-2
|
|
|
|
|
- version bump due to licence fix
|
|
|
|
|
|
|
|
|
|
* Fri Oct 20 2023 Jan Rybar <jrybar@redhat.com> - 4.98.0-1
|
|
|
|
|
- rebase to lsof-4.98
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.96.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.96.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 21 2022 Florian Weimer <fweimer@redhat.com> - 4.96.3-2
|
|
|
|
|
- Fix C89isms in Configure
|
|
|
|
|
|
|
|
|
|
* Tue Sep 20 2022 Jan Rybar <jrybar@redhat.com> - 4.96.3-1
|
|
|
|
|
- rebase to 4.96.3
|
|
|
|
|
|
|
|
|
|
* Fri Sep 02 2022 Jan Rybar <jrybar@redhat.com> - 4.95.0-1
|
|
|
|
|
- rebase to 4.95.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.94.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.94.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.94.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 28 2021 Jan Rybar <jrybar@redhat.com> - 4.94.0-1
|
|
|
|
|
- Rebase to 4.94.0
|
|
|
|
|