2007-03-01 16:10:36 +00:00
|
|
|
Summary: A utility which lists open files on a Linux/UNIX system
|
2004-09-09 08:01:38 +00:00
|
|
|
Name: lsof
|
2018-02-21 15:35:19 +00:00
|
|
|
Version: 4.90
|
2018-04-13 20:01:39 +00:00
|
|
|
Release: 2%{?dist}
|
2012-08-28 18:57:54 +00:00
|
|
|
# Sendmail .. lib/snpf.c
|
|
|
|
# LGPLv2+ .. lib/regex.c, regex.h
|
|
|
|
License: zlib and Sendmail and LGPLv2+
|
2004-09-09 08:01:38 +00:00
|
|
|
Group: Development/Debuggers
|
2015-01-06 22:06:31 +00:00
|
|
|
URL: http://people.freebsd.org/~abe/
|
2007-10-02 22:52:57 +00:00
|
|
|
|
|
|
|
# lsof contains licensed code that we cannot ship. Therefore we use
|
|
|
|
# upstream2downstream.sh script to remove the code before shipping it.
|
|
|
|
#
|
2014-10-15 13:05:57 +00:00
|
|
|
# The script can be found in SCM or downloaded from:
|
2015-01-06 22:06:31 +00:00
|
|
|
# http://pkgs.fedoraproject.org/cgit/lsof.git/tree/upstream2downstream.sh
|
2007-10-02 22:52:57 +00:00
|
|
|
|
2012-08-28 18:57:54 +00:00
|
|
|
%global lsofrh lsof_%{version}-rh
|
2013-01-03 12:47:33 +00:00
|
|
|
Source0: %{lsofrh}.tar.xz
|
|
|
|
Source1: upstream2downstream.sh
|
2004-09-09 08:01:38 +00:00
|
|
|
|
2015-11-30 12:27:53 +00:00
|
|
|
# BZ#1260300 - move lsof man page to section 1
|
|
|
|
Patch0: lsof-man-page-section.patch
|
|
|
|
|
2018-02-21 15:35:19 +00:00
|
|
|
BuildRequires: gcc
|
2006-06-12 16:18:15 +00:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
|
2004-09-09 08:01:38 +00:00
|
|
|
%description
|
2015-01-06 22:06:31 +00:00
|
|
|
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.
|
2004-09-09 08:01:38 +00:00
|
|
|
|
|
|
|
%prep
|
2005-03-14 10:01:47 +00:00
|
|
|
%setup -q -n %{lsofrh}
|
2015-11-30 12:27:53 +00:00
|
|
|
%patch0 -p1 -b .man-page-section
|
2006-08-09 21:46:34 +00:00
|
|
|
|
2004-09-09 08:01:38 +00:00
|
|
|
%build
|
2012-08-28 18:57:54 +00:00
|
|
|
./Configure -n linux
|
2018-04-13 20:01:39 +00:00
|
|
|
%make_build DEBUG="%{build_cflags}" CFGL="%{build_ldflags} -L./lib -llsof -lselinux"
|
2004-09-09 08:01:38 +00:00
|
|
|
|
|
|
|
%install
|
2015-11-30 12:27:53 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
install -p -m 0755 lsof ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
install -p -m 0644 lsof.8 ${RPM_BUILD_ROOT}%{_mandir}/man1/lsof.1
|
2004-09-09 08:01:38 +00:00
|
|
|
|
|
|
|
%files
|
2016-03-05 16:27:22 +00:00
|
|
|
%doc 00README 00CREDITS 00FAQ 00LSOF-L 00QUICKSTART
|
2015-11-30 12:27:53 +00:00
|
|
|
%{_bindir}/lsof
|
2004-09-09 08:01:38 +00:00
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
|
|
%changelog
|
2018-04-13 20:01:39 +00:00
|
|
|
* Fri Apr 13 2018 Rafael dos Santos <rdossant@redhat.com> - 4.90-2
|
|
|
|
- Use standard Fedora build flags (bug #1548552)
|
|
|
|
|
2018-02-21 15:35:19 +00:00
|
|
|
* Wed Feb 21 2018 Peter Schiffer <pschiffe@redhat.com> - 4.90-1
|
|
|
|
- resolves: #1545963
|
|
|
|
updated to 4.90
|
|
|
|
|
2018-02-08 00:16:10 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.89-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 02:46:43 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.89-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 20:23:39 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.89-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 20:03:22 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.89-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-03-05 16:27:22 +00:00
|
|
|
* Sat Mar 5 2016 Peter Robinson <pbrobinson@fedoraproject.org> 4.89-4
|
|
|
|
- Only ship end user useful docs, don't ship bits for building
|
|
|
|
|
2016-02-04 04:30:13 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.89-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-30 12:27:53 +00:00
|
|
|
* Mon Nov 30 2015 Peter Schiffer <pschiffe@redhat.com> - 4.89-2
|
|
|
|
- resolves #1260300
|
|
|
|
moved lsof to /usr/bin, it's not sysadmin only utility
|
|
|
|
|
2015-07-29 10:58:53 +00:00
|
|
|
* Wed Jul 29 2015 Peter Schiffer <pschiffe@redhat.com> - 4.89-1
|
|
|
|
- updated to 4.89
|
|
|
|
|
2015-06-17 18:35:04 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.88-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-06 22:06:31 +00:00
|
|
|
* Tue Jan 6 2015 Peter Schiffer <pschiffe@redhat.com> - 4.88-2
|
2015-01-05 19:09:24 +00:00
|
|
|
- added upstream patch fixing unwanted pipe file output
|
2015-01-06 22:06:31 +00:00
|
|
|
- cleaned .spec file
|
2015-01-05 19:09:24 +00:00
|
|
|
|
2014-10-15 13:05:57 +00:00
|
|
|
* Wed Oct 15 2014 Peter Schiffer <pschiffe@redhat.com> - 4.88-1
|
|
|
|
- updated to 4.88
|
|
|
|
|
2014-08-17 07:47:00 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.87-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 07:04:42 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.87-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 08:16:20 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.87-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 05:54:29 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.87-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-03 12:47:33 +00:00
|
|
|
* Thu Jan 3 2013 Peter Schiffer <pschiffe@redhat.com> - 4.87-1
|
|
|
|
- resolves: #891508
|
|
|
|
updated to 4.87
|
|
|
|
|
2012-08-28 18:57:54 +00:00
|
|
|
* Tue Aug 28 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-4
|
|
|
|
- .spec file cleanup
|
|
|
|
|
2012-07-19 22:21:47 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.86-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-04 17:36:03 +00:00
|
|
|
* Mon Jun 04 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-2
|
|
|
|
- added support for files on anon_inodefs
|
|
|
|
|
2012-04-20 15:55:38 +00:00
|
|
|
* Fri Apr 20 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-1
|
|
|
|
- resolves: #811520
|
|
|
|
update to 4.86
|
|
|
|
|
2012-01-13 08:58:17 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.85-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-30 08:55:58 +00:00
|
|
|
* Fri Sep 30 2011 Peter Schiffer <pschiffe@redhat.com> - 4.85-1
|
|
|
|
- resolves: #741882
|
|
|
|
update to 4.85
|
|
|
|
|
2011-02-08 14:02:06 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.84-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-13 19:18:47 +00:00
|
|
|
* Thu Jan 13 2011 Ville Skyttä <ville.skytta@iki.fi> - 4.84-3
|
|
|
|
- Fix man page permissions.
|
|
|
|
|
2010-09-29 21:45:15 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 4.84-2
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-15 07:46:54 +00:00
|
|
|
* Wed Sep 15 2010 Karel Zak <kzak@redhat.com> 4.84-1
|
|
|
|
- upgrade to 4.84
|
|
|
|
- remove lsof_4.81-threads.patch, "lsof -K" provides basic support for tasks now
|
|
|
|
|
2010-02-19 13:05:53 +00:00
|
|
|
* Fri Feb 19 2010 Karel Zak <kzak@redhat.com> 4.83-2
|
|
|
|
- minor changes in spec file (#226108 - Merge Review)
|
|
|
|
|
2010-02-11 11:14:40 +00:00
|
|
|
* Thu Feb 11 2010 Karel Zak <kzak@redhat.com> 4.83-1
|
|
|
|
- upgrade to 4.83 (see the 00DIST file for list of changes)
|
|
|
|
- remove lsof_4.83A-selinux-typo.patch (fixed upstream)
|
|
|
|
|
2009-07-27 09:09:34 +00:00
|
|
|
* Mon Jul 27 2009 Karel Zak <kzak@redhat.com> 4.82-1
|
|
|
|
- upgrade to 4.82 (see the 00DIST file for list of changes)
|
|
|
|
- backport an upstream patch from 4.83A-linux
|
|
|
|
- remove lsof_4.81-man.patch (fixed upstream)
|
|
|
|
|
2009-07-25 11:21:50 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 21:14:54 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-30 11:58:48 +00:00
|
|
|
* Fri Jan 30 2009 Karel Zak <kzak@redhat.com> 4.81-2
|
|
|
|
- fix #480694 - lsof manpage mismarked and formats badly
|
|
|
|
|
2008-12-02 12:16:44 +00:00
|
|
|
* Tue Dec 2 2008 Karel Zak <kzak@redhat.com> 4.81-1
|
|
|
|
- upgrade to 4.81
|
|
|
|
- lsof_4.80-threads.patch - rebased
|
|
|
|
|
2008-08-07 17:50:34 +00:00
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.80-2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-05-19 23:50:03 +00:00
|
|
|
* Tue May 20 2008 Karel Zak <kzak@redhat.com> 4.80-1
|
|
|
|
- upgrade to 4.80
|
|
|
|
- lsof_4.78C-inode.patch - merged upstream
|
|
|
|
- lsof_4.78C-selinux.patch - merged upstream
|
|
|
|
- lsof_4.78C-threads.patch - rebased
|
|
|
|
|
2008-02-19 10:36:00 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.78-8
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-10-03 12:38:30 +00:00
|
|
|
* Wed Oct 3 2007 Karel Zak <kzak@redhat.com> 4.78-7
|
|
|
|
- update selinux and inode patches (new versions are based on upstream)
|
|
|
|
|
2007-10-02 22:52:57 +00:00
|
|
|
* Tue Oct 2 2007 Karel Zak <kzak@redhat.com> 4.78-6
|
|
|
|
- fix #280651 - lsof prints entries in multiple lines when SElinux is disabled
|
|
|
|
- fix #243976 - mmap'd files with large inode numbers confuse lsof
|
|
|
|
|
2007-03-01 16:37:24 +00:00
|
|
|
* Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 4.78-5
|
|
|
|
- fix License
|
|
|
|
|
2007-03-01 16:10:36 +00:00
|
|
|
* Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 4.78-4
|
|
|
|
- fix #226108 - Merge Review: lsof
|
|
|
|
|
2006-08-09 22:21:13 +00:00
|
|
|
* Thu Aug 10 2006 Karel Zak <kzak@redhat.com> 4.78-3
|
|
|
|
- minor changes to thread patch
|
|
|
|
|
2006-08-09 21:46:34 +00:00
|
|
|
* Wed Aug 9 2006 Karel Zak <kzak@redhat.com> 4.78-2
|
|
|
|
- fix #184338 - allow lsof access nptl threads
|
|
|
|
|
2006-07-19 21:58:20 +00:00
|
|
|
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> 4.78-1
|
2006-07-19 21:56:50 +00:00
|
|
|
- rebuild
|
|
|
|
|
2006-07-12 07:14:56 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.78-06122006devel.1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-12 21:26:52 +00:00
|
|
|
* Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06122006devel.1
|
|
|
|
- upgrade to 4.78C (last bugfix accepted by upstream)
|
|
|
|
|
2006-06-12 16:18:15 +00:00
|
|
|
* Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.2
|
|
|
|
- added BuildRequires libselinux-devel
|
|
|
|
- fix #194864 - lsof segfaults on starting
|
|
|
|
|
2006-06-05 10:25:23 +00:00
|
|
|
* Wed May 24 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.1
|
|
|
|
- upgrade to 4.78B (upstream devel version with selinux patch)
|
2006-05-24 11:06:43 +00:00
|
|
|
|
2006-02-15 16:03:01 +00:00
|
|
|
* Wed Feb 15 2006 Karel Zak <kzak@redhat.com> 4.76-2
|
|
|
|
- fix #175568 - lsof prints 'unknown inode type' for epoll
|
|
|
|
|
2006-02-11 04:25:43 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.76-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:53:18 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.76-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:50 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-09-19 19:19:30 +00:00
|
|
|
* Mon Sep 19 2005 Karel Zak <kzak@redhat.com> 4.76-1
|
|
|
|
- new upstream version
|
|
|
|
|
2005-05-10 10:22:41 +00:00
|
|
|
* Tue May 10 2005 Karel Zak <kzak@redhat.com> 4.74-7
|
|
|
|
- fix debuginfo
|
|
|
|
|
2005-03-23 11:31:34 +00:00
|
|
|
* Wed Mar 23 2005 Karel Zak <kzak@redhat.com> 4.74-6
|
|
|
|
- fix "lsof -b" hangs if a process is stuck in disk-wait/NFS (#131712)
|
|
|
|
|
2005-03-14 10:38:27 +00:00
|
|
|
* Mon Mar 14 2005 Karel Zak <kzak@redhat.com> 4.74-5
|
2005-03-14 10:01:47 +00:00
|
|
|
- src.rpm cleanup
|
|
|
|
|
2005-03-05 12:07:14 +00:00
|
|
|
* Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 4.74-3
|
|
|
|
- rebuilt
|
|
|
|
|
2005-02-08 15:16:45 +00:00
|
|
|
* Tue Feb 8 2005 Karel Zak <kzak@redhat.com> 4.74-2
|
|
|
|
- replace 'Copyright' with 'License' in .spec
|
|
|
|
|
2005-02-08 14:33:41 +00:00
|
|
|
* Tue Feb 8 2005 Karel Zak <kzak@redhat.com> 4.74-1
|
|
|
|
- sync with upstream 4.74
|
|
|
|
|
2004-12-13 10:42:06 +00:00
|
|
|
* Mon Dec 13 2004 Karel Zak <kzak@redhat.com> 4.73-1
|
|
|
|
- update to 4.73
|
|
|
|
- remove lsof_4.72-sock.patch, already in the upstream code
|
|
|
|
|