|
|
932381 |
Summary: A utility which lists open files on a Linux/UNIX system
|
|
|
932381 |
Name: lsof
|
|
|
932381 |
Version: 4.87
|
|
|
932381 |
Release: 6%{?dist}
|
|
|
932381 |
# Sendmail .. lib/snpf.c
|
|
|
932381 |
# LGPLv2+ .. lib/regex.c, regex.h
|
|
|
932381 |
License: zlib and Sendmail and LGPLv2+
|
|
|
932381 |
Group: Development/Debuggers
|
|
|
932381 |
|
|
|
932381 |
# lsof contains licensed code that we cannot ship. Therefore we use
|
|
|
932381 |
# upstream2downstream.sh script to remove the code before shipping it.
|
|
|
932381 |
#
|
|
|
932381 |
# The script you can found in SCM or download from:
|
|
|
932381 |
# http://pkgs.fedoraproject.org/gitweb/?p=lsof.git;a=blob_plain;f=upstream2downstream.sh
|
|
|
932381 |
|
|
|
932381 |
%global lsofrh lsof_%{version}-rh
|
|
|
932381 |
URL: http://people.freebsd.org/~abe/
|
|
|
932381 |
Source0: %{lsofrh}.tar.xz
|
|
|
932381 |
Source1: upstream2downstream.sh
|
|
|
932381 |
|
|
|
932381 |
Patch0: lsof-4.87-LTsock-test-fail-on-ppc64le.patch
|
|
|
932381 |
Patch1: lsof-4.87-ignore-tasks-option.patch
|
|
|
932381 |
|
|
|
932381 |
BuildRequires: libselinux-devel
|
|
|
932381 |
|
|
|
932381 |
%description
|
|
|
932381 |
Lsof stands for LiSt Open Files, and it does just that: it lists
|
|
|
932381 |
information about files that are open by the processes running on a
|
|
|
932381 |
UNIX system.
|
|
|
932381 |
|
|
|
932381 |
%prep
|
|
|
932381 |
%setup -q -n %{lsofrh}
|
|
|
932381 |
|
|
|
932381 |
%patch0 -p1
|
|
|
932381 |
%patch1 -p1
|
|
|
932381 |
|
|
|
932381 |
%build
|
|
|
932381 |
./Configure -n linux
|
|
|
932381 |
make DEBUG="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
|
|
932381 |
|
|
|
932381 |
%install
|
|
|
932381 |
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
|
|
932381 |
install -p -m 0755 lsof ${RPM_BUILD_ROOT}%{_sbindir}
|
|
|
932381 |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
|
|
|
932381 |
install -p -m 0644 lsof.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
|
|
|
932381 |
|
|
|
932381 |
%files
|
|
|
932381 |
%doc 00* README.lsof_*
|
|
|
932381 |
%{_sbindir}/lsof
|
|
|
932381 |
%{_mandir}/man*/*
|
|
|
932381 |
|
|
|
932381 |
%changelog
|
|
|
932381 |
* Tue Feb 20 2018 Jan Rybar <jrybar@redhat.com> - 4.87-6
|
|
|
932381 |
- Option -Ki now ignores process threads
|
|
|
932381 |
- Resolves: rhbz#1437014
|
|
|
932381 |
|
|
|
932381 |
* Tue Sep 05 2017 Jan Rybar <jrybar@redhat.com> - 4.87-5
|
|
|
932381 |
- LTsock test failure on ppc64le
|
|
|
932381 |
- Resolves: rhbz#1459256
|
|
|
932381 |
|
|
|
932381 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.87-4
|
|
|
932381 |
- Mass rebuild 2014-01-24
|
|
|
932381 |
|
|
|
932381 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.87-3
|
|
|
932381 |
- Mass rebuild 2013-12-27
|
|
|
932381 |
|
|
|
932381 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.87-2
|
|
|
932381 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
932381 |
|
|
|
932381 |
* Thu Jan 3 2013 Peter Schiffer <pschiffe@redhat.com> - 4.87-1
|
|
|
932381 |
- resolves: #891508
|
|
|
932381 |
updated to 4.87
|
|
|
932381 |
|
|
|
932381 |
* Tue Aug 28 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-4
|
|
|
932381 |
- .spec file cleanup
|
|
|
932381 |
|
|
|
932381 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.86-3
|
|
|
932381 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
932381 |
|
|
|
932381 |
* Mon Jun 04 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-2
|
|
|
932381 |
- added support for files on anon_inodefs
|
|
|
932381 |
|
|
|
932381 |
* Fri Apr 20 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-1
|
|
|
932381 |
- resolves: #811520
|
|
|
932381 |
update to 4.86
|
|
|
932381 |
|
|
|
932381 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.85-2
|
|
|
932381 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
932381 |
|
|
|
932381 |
* Fri Sep 30 2011 Peter Schiffer <pschiffe@redhat.com> - 4.85-1
|
|
|
932381 |
- resolves: #741882
|
|
|
932381 |
update to 4.85
|
|
|
932381 |
|
|
|
932381 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.84-4
|
|
|
932381 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
932381 |
|
|
|
932381 |
* Thu Jan 13 2011 Ville Skyttä <ville.skytta@iki.fi> - 4.84-3
|
|
|
932381 |
- Fix man page permissions.
|
|
|
932381 |
|
|
|
932381 |
* Wed Sep 29 2010 jkeating - 4.84-2
|
|
|
932381 |
- Rebuilt for gcc bug 634757
|
|
|
932381 |
|
|
|
932381 |
* Wed Sep 15 2010 Karel Zak <kzak@redhat.com> 4.84-1
|
|
|
932381 |
- upgrade to 4.84
|
|
|
932381 |
- remove lsof_4.81-threads.patch, "lsof -K" provides basic support for tasks now
|
|
|
932381 |
|
|
|
932381 |
* Fri Feb 19 2010 Karel Zak <kzak@redhat.com> 4.83-2
|
|
|
932381 |
- minor changes in spec file (#226108 - Merge Review)
|
|
|
932381 |
|
|
|
932381 |
* Thu Feb 11 2010 Karel Zak <kzak@redhat.com> 4.83-1
|
|
|
932381 |
- upgrade to 4.83 (see the 00DIST file for list of changes)
|
|
|
932381 |
- remove lsof_4.83A-selinux-typo.patch (fixed upstream)
|
|
|
932381 |
|
|
|
932381 |
* Mon Jul 27 2009 Karel Zak <kzak@redhat.com> 4.82-1
|
|
|
932381 |
- upgrade to 4.82 (see the 00DIST file for list of changes)
|
|
|
932381 |
- backport an upstream patch from 4.83A-linux
|
|
|
932381 |
- remove lsof_4.81-man.patch (fixed upstream)
|
|
|
932381 |
|
|
|
932381 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-4
|
|
|
932381 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
932381 |
|
|
|
932381 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-3
|
|
|
932381 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
932381 |
|
|
|
932381 |
* Fri Jan 30 2009 Karel Zak <kzak@redhat.com> 4.81-2
|
|
|
932381 |
- fix #480694 - lsof manpage mismarked and formats badly
|
|
|
932381 |
|
|
|
932381 |
* Tue Dec 2 2008 Karel Zak <kzak@redhat.com> 4.81-1
|
|
|
932381 |
- upgrade to 4.81
|
|
|
932381 |
- lsof_4.80-threads.patch - rebased
|
|
|
932381 |
|
|
|
932381 |
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.80-2
|
|
|
932381 |
- fix license tag
|
|
|
932381 |
|
|
|
932381 |
* Tue May 20 2008 Karel Zak <kzak@redhat.com> 4.80-1
|
|
|
932381 |
- upgrade to 4.80
|
|
|
932381 |
- lsof_4.78C-inode.patch - merged upstream
|
|
|
932381 |
- lsof_4.78C-selinux.patch - merged upstream
|
|
|
932381 |
- lsof_4.78C-threads.patch - rebased
|
|
|
932381 |
|
|
|
932381 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.78-8
|
|
|
932381 |
- Autorebuild for GCC 4.3
|
|
|
932381 |
|
|
|
932381 |
* Wed Oct 3 2007 Karel Zak <kzak@redhat.com> 4.78-7
|
|
|
932381 |
- update selinux and inode patches (new versions are based on upstream)
|
|
|
932381 |
|
|
|
932381 |
* Tue Oct 2 2007 Karel Zak <kzak@redhat.com> 4.78-6
|
|
|
932381 |
- fix #280651 - lsof prints entries in multiple lines when SElinux is disabled
|
|
|
932381 |
- fix #243976 - mmap'd files with large inode numbers confuse lsof
|
|
|
932381 |
|
|
|
932381 |
* Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 4.78-5
|
|
|
932381 |
- fix License
|
|
|
932381 |
|
|
|
932381 |
* Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 4.78-4
|
|
|
932381 |
- fix #226108 - Merge Review: lsof
|
|
|
932381 |
|
|
|
932381 |
* Thu Aug 10 2006 Karel Zak <kzak@redhat.com> 4.78-3
|
|
|
932381 |
- minor changes to thread patch
|
|
|
932381 |
|
|
|
932381 |
* Wed Aug 9 2006 Karel Zak <kzak@redhat.com> 4.78-2
|
|
|
932381 |
- fix #184338 - allow lsof access nptl threads
|
|
|
932381 |
|
|
|
932381 |
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> 4.78-1
|
|
|
932381 |
- rebuild
|
|
|
932381 |
|
|
|
932381 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.78-06122006devel.1.1
|
|
|
932381 |
- rebuild
|
|
|
932381 |
|
|
|
932381 |
* Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06122006devel.1
|
|
|
932381 |
- upgrade to 4.78C (last bugfix accepted by upstream)
|
|
|
932381 |
|
|
|
932381 |
* Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.2
|
|
|
932381 |
- added BuildRequires libselinux-devel
|
|
|
932381 |
- fix #194864 - lsof segfaults on starting
|
|
|
932381 |
|
|
|
932381 |
* Wed May 24 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.1
|
|
|
932381 |
- upgrade to 4.78B (upstream devel version with selinux patch)
|
|
|
932381 |
|
|
|
932381 |
* Wed Feb 15 2006 Karel Zak <kzak@redhat.com> 4.76-2
|
|
|
932381 |
- fix #175568 - lsof prints 'unknown inode type' for epoll
|
|
|
932381 |
|
|
|
932381 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.76-1.2.1
|
|
|
932381 |
- bump again for double-long bug on ppc(64)
|
|
|
932381 |
|
|
|
932381 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.76-1.2
|
|
|
932381 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
932381 |
|
|
|
932381 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
932381 |
- rebuilt
|
|
|
932381 |
|
|
|
932381 |
* Mon Sep 19 2005 Karel Zak <kzak@redhat.com> 4.76-1
|
|
|
932381 |
- new upstream version
|
|
|
932381 |
|
|
|
932381 |
* Tue May 10 2005 Karel Zak <kzak@redhat.com> 4.74-7
|
|
|
932381 |
- fix debuginfo
|
|
|
932381 |
|
|
|
932381 |
* Wed Mar 23 2005 Karel Zak <kzak@redhat.com> 4.74-6
|
|
|
932381 |
- fix "lsof -b" hangs if a process is stuck in disk-wait/NFS (#131712)
|
|
|
932381 |
|
|
|
932381 |
* Mon Mar 14 2005 Karel Zak <kzak@redhat.com> 4.74-5
|
|
|
932381 |
- src.rpm cleanup
|
|
|
932381 |
|
|
|
932381 |
* Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 4.74-3
|
|
|
932381 |
- rebuilt
|
|
|
932381 |
|
|
|
932381 |
* Tue Feb 8 2005 Karel Zak <kzak@redhat.com> 4.74-2
|
|
|
932381 |
- replace 'Copyright' with 'License' in .spec
|
|
|
932381 |
|
|
|
932381 |
* Tue Feb 8 2005 Karel Zak <kzak@redhat.com> 4.74-1
|
|
|
932381 |
- sync with upstream 4.74
|
|
|
932381 |
|
|
|
932381 |
* Mon Dec 13 2004 Karel Zak <kzak@redhat.com> 4.73-1
|
|
|
932381 |
- update to 4.73
|
|
|
932381 |
- remove lsof_4.72-sock.patch, already in the upstream code
|
|
|
932381 |
|
|
|
932381 |
* Fri Jul 30 2004 Jakub Jelinek <jakub@redhat.com> 4.72-1
|
|
|
932381 |
- update to 4.72
|
|
|
932381 |
- use st_dev/st_ino comparison for sockets by name if possible
|
|
|
932381 |
(#126419)
|
|
|
932381 |
|
|
|
932381 |
* Fri Jul 18 2003 Jakub Jelinek <jakub@redhat.com> 4.68-1
|
|
|
932381 |
- update to 4.68 (#99064)
|
|
|
932381 |
|
|
|
932381 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
932381 |
- rebuilt
|
|
|
932381 |
|
|
|
932381 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
932381 |
- rebuilt
|
|
|
932381 |
|
|
|
932381 |
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 4.63-3
|
|
|
932381 |
- rebuild on all arches
|
|
|
932381 |
|
|
|
932381 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
932381 |
- automated rebuild
|
|
|
932381 |
|
|
|
932381 |
* Fri Jun 21 2002 Jakub Jelinek <jakub@redhat.com> 4.63-1
|
|
|
932381 |
- update to 4.63 (#66333).
|
|
|
932381 |
|
|
|
932381 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
932381 |
- automated rebuild
|
|
|
932381 |
|
|
|
932381 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
932381 |
- automated rebuild
|
|
|
932381 |
|
|
|
932381 |
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
932381 |
- Bump release + rebuild.
|
|
|
932381 |
|
|
|
932381 |
* Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.51.
|
|
|
932381 |
|
|
|
932381 |
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
932381 |
- automatic rebuild
|
|
|
932381 |
|
|
|
932381 |
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- FHS packaging.
|
|
|
932381 |
|
|
|
932381 |
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
932381 |
- change to root:root perms
|
|
|
932381 |
|
|
|
932381 |
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
932381 |
- fix description
|
|
|
932381 |
- man pages are compressed
|
|
|
932381 |
|
|
|
932381 |
* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.47.
|
|
|
932381 |
|
|
|
932381 |
* Tue Aug 3 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.45.
|
|
|
932381 |
|
|
|
932381 |
* Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.44.
|
|
|
932381 |
|
|
|
932381 |
* Fri May 14 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- upgrade to 4.43 with sparc64 tweak (#2803)
|
|
|
932381 |
|
|
|
932381 |
* Thu Apr 08 1999 Preston Brown <pbrown@redhat.com>
|
|
|
932381 |
- upgrade to 4.42 (security fix)
|
|
|
932381 |
|
|
|
932381 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
932381 |
- auto rebuild in the new build environment (release 5)
|
|
|
932381 |
|
|
|
932381 |
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- turn off setgid kmem "just in case".
|
|
|
932381 |
|
|
|
932381 |
* Thu Feb 18 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- buffer overflow patch.
|
|
|
932381 |
- upgrade to 4.40.
|
|
|
932381 |
|
|
|
932381 |
* Wed Dec 30 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to "official" 4.39 release.
|
|
|
932381 |
|
|
|
932381 |
* Wed Dec 16 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.39B (linux) with internal kernel src.
|
|
|
932381 |
|
|
|
932381 |
* Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.39A (linux)
|
|
|
932381 |
|
|
|
932381 |
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.37
|
|
|
932381 |
|
|
|
932381 |
* Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- update to 4.36
|
|
|
932381 |
|
|
|
932381 |
* Thu Jul 23 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
932381 |
- upgrade to 4.35.
|
|
|
932381 |
- rewrap for RH 5.2.
|
|
|
932381 |
|
|
|
932381 |
* Mon Jun 29 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
|
|
|
932381 |
[4.34-1]
|
|
|
932381 |
- New version
|
|
|
932381 |
- Spec rewriten to use %%{name} and %%{version} macros
|
|
|
932381 |
- Removed old log enteries
|
|
|
932381 |
|
|
|
932381 |
* Tue Apr 28 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
|
|
|
932381 |
- Built under RH5
|
|
|
932381 |
- install macro was changed
|