Compare commits
No commits in common. "c10s" and "c8" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
1
|
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,6 +1 @@
|
|||||||
/lsof_4.91-rh.tar.xz
|
SOURCES/lsof-4.93.2-rh.tar.xz
|
||||||
/lsof-4.93.2-rh.tar.xz
|
|
||||||
/lsof-4.94.0-rh.tar.xz
|
|
||||||
/lsof-4.95.0-rh.tar.xz
|
|
||||||
/lsof-4.96.3-rh.tar.xz
|
|
||||||
/lsof-4.98.0-rh.tar.xz
|
|
||||||
|
1
.lsof.metadata
Normal file
1
.lsof.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
fc65518ea135309e4426ab1f44eb97eefd95bc96 SOURCES/lsof-4.93.2-rh.tar.xz
|
10
SOURCES/lsof-man-page-section.patch
Normal file
10
SOURCES/lsof-man-page-section.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff -up ./Lsof.8.ori ./Lsof.8
|
||||||
|
--- ./Lsof.8.ori 2019-05-28 15:32:49.945667234 +0200
|
||||||
|
+++ ./Lsof.8 2019-05-28 15:33:06.182865931 +0200
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
.so ./version
|
||||||
|
-.TH LSOF 8 Revision-\*(VN
|
||||||
|
+.TH LSOF 1 Revision-\*(VN
|
||||||
|
\" Register )P is used neither by this file nor any groff macro. However,
|
||||||
|
\" some versions of nroff require it.
|
||||||
|
.if !\n(.g \{\
|
@ -1,8 +1,11 @@
|
|||||||
Summary: A utility which lists open files on a Linux/UNIX system
|
Summary: A utility which lists open files on a Linux/UNIX system
|
||||||
Name: lsof
|
Name: lsof
|
||||||
Version: 4.98.0
|
Version: 4.93.2
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
License: lsof
|
# Sendmail .. lib/snpf.c
|
||||||
|
# LGPLv2+ .. lib/regex.c, regex.h
|
||||||
|
License: zlib and Sendmail and LGPLv2+
|
||||||
|
Group: Development/Debuggers
|
||||||
URL: https://github.com/lsof-org/lsof
|
URL: https://github.com/lsof-org/lsof
|
||||||
|
|
||||||
# lsof contains licensed code that we cannot ship. Therefore we use
|
# lsof contains licensed code that we cannot ship. Therefore we use
|
||||||
@ -17,26 +20,22 @@ Source1: upstream2downstream.sh
|
|||||||
|
|
||||||
# BZ#1260300 - move lsof man page to section 1
|
# BZ#1260300 - move lsof man page to section 1
|
||||||
Patch0: lsof-man-page-section.patch
|
Patch0: lsof-man-page-section.patch
|
||||||
Patch1: osh-findigs.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libtirpc-devel
|
BuildRequires: libtirpc-devel
|
||||||
BuildRequires: groff-base
|
BuildRequires: groff-base
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: git
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lsof stands for LiSt Open Files, and it does just that: it lists information
|
Lsof stands for LiSt Open Files, and it does just that: it lists information
|
||||||
about files that are open by the processes running on a UNIX system.
|
about files that are open by the processes running on a UNIX system.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{lsofrh} -S git
|
%setup -q -n %{lsofrh}
|
||||||
|
%patch0 -p1 -b .man-page-section
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
./Configure -n linux
|
||||||
%make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc"
|
%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
|
# rebase to 4.93 introduced change in Lsof.8 with unhandled .so inclusion
|
||||||
soelim -r Lsof.8 > lsof.1
|
soelim -r Lsof.8 > lsof.1
|
||||||
@ -53,79 +52,11 @@ install -p -m 0644 lsof.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/lsof.1
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jan 28 2025 Jan Rybar <jrybar@redhat.com> - 4.98.0-7
|
* Fri Apr 17 2020 Jan Rybar <jrybar@redhat.com> - 4.93.2-1
|
||||||
- forgot to bump release number
|
|
||||||
- Resolves: RHEL-43531
|
|
||||||
|
|
||||||
* Mon Jan 27 2025 Jan Rybar <jrybar@redhat.com> - 4.98.0-7
|
|
||||||
- fix OSH findings
|
|
||||||
- Resolves: RHEL-43531
|
|
||||||
|
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.98.0-6
|
|
||||||
- Bump release for October 2024 mass rebuild:
|
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.98.0-5
|
|
||||||
- Bump release for June 2024 mass rebuild
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.93.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.93.2-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.93.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.93.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue May 28 2019 Jan Rybar <jrybar@redhat.com> - 4.93.2-1
|
|
||||||
- Rebase to lsof-4.93.2
|
- Rebase to lsof-4.93.2
|
||||||
- Upstream moved to GitHub and tarball structure changed
|
- Upstream moved to GitHub (original unreachable) and tarball structure changed
|
||||||
- Manpage patch needed to reflect the tarball changes
|
- Manpage patch needed to reflect the tarball changes
|
||||||
|
- Resolves: rhbz#1778228
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.91-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.91-2
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.91-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
2
ci.fmf
2
ci.fmf
@ -1,2 +0,0 @@
|
|||||||
# Docs: https://docs.fedoraproject.org/en-US/ci/tmt/#_multiple_plans
|
|
||||||
resultsdb-testcase: separate
|
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-*
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
|
@ -1,10 +0,0 @@
|
|||||||
diff -up ./Lsof.8.ori ./Lsof.8
|
|
||||||
--- ./Lsof.8.ori 2022-09-20 19:46:03.560004892 +0200
|
|
||||||
+++ ./Lsof.8 2022-09-20 19:46:17.578086787 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
.so ./version
|
|
||||||
-.TH LSOF 8 Revision-\*(VN
|
|
||||||
+.TH LSOF 1 Revision-\*(VN
|
|
||||||
.\" Register )P is used neither by this file nor any groff macro. However,
|
|
||||||
.\" some versions of nroff require it.
|
|
||||||
.if !\n(.g \{\
|
|
@ -1,11 +0,0 @@
|
|||||||
--- lsof_4.91-rh/Configure.orig 2018-05-22 15:54:57.275682247 +0200
|
|
||||||
+++ lsof_4.91-rh/Configure 2018-05-22 15:55:22.314556548 +0200
|
|
||||||
@@ -2945,7 +2945,7 @@ return(0); }
|
|
||||||
|
|
||||||
# Test for <rpc/rpc.h>.
|
|
||||||
|
|
||||||
- if ! test -r ${LSOF_INCLUDE}/rpc/rpc.h # {
|
|
||||||
+ if ! test -r ${LSOF_INCLUDE}/tirpc/rpc/rpc.h # {
|
|
||||||
then
|
|
||||||
LSOF_CFGF="$LSOF_CFGF -DHASNORPC_H"
|
|
||||||
fi # }
|
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/arg.c b/arg.c
|
|
||||||
index cd3d5b1..6551e65 100644
|
|
||||||
--- a/arg.c
|
|
||||||
+++ b/arg.c
|
|
||||||
@@ -1830,6 +1830,8 @@ enter_network_address(na)
|
|
||||||
}
|
|
||||||
if (sn)
|
|
||||||
(void) free((FREE_P *)sn);
|
|
||||||
+ if (hn)
|
|
||||||
+ free (hn);
|
|
||||||
return(0);
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
/tier1-internal:
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
url: https://pkgs.devel.redhat.com/cgit/tests/lsof
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
adjust:
|
|
||||||
enabled: false
|
|
||||||
when: distro == centos-stream or distro == fedora
|
|
Loading…
Reference in New Issue
Block a user