2004-09-09 08:01:38 +00:00
|
|
|
Summary: A utility which lists open files on a Linux/UNIX system.
|
|
|
|
Name: lsof
|
2006-06-05 10:25:23 +00:00
|
|
|
Version: 4.78
|
2006-08-09 21:46:34 +00:00
|
|
|
Release: 2
|
2005-02-08 15:16:45 +00:00
|
|
|
License: Free
|
2006-06-12 21:26:52 +00:00
|
|
|
%define lsofrh lsof_4.78C-rh
|
2004-09-09 08:01:38 +00:00
|
|
|
Group: Development/Debuggers
|
2006-07-19 21:56:50 +00:00
|
|
|
|
2005-03-14 10:01:47 +00:00
|
|
|
Source0: %{lsofrh}.tar.bz2
|
2004-09-09 08:01:38 +00:00
|
|
|
Prefix: %{_prefix}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
2006-06-12 16:18:15 +00:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
|
2006-08-09 21:46:34 +00:00
|
|
|
Patch1: lsof_4.78C-threads.patch
|
|
|
|
|
2004-09-09 08:01:38 +00:00
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2005-03-14 10:01:47 +00:00
|
|
|
%setup -q -n %{lsofrh}
|
2004-09-09 08:01:38 +00:00
|
|
|
|
2006-08-09 21:46:34 +00:00
|
|
|
%patch1 -p1 -b .kzak
|
|
|
|
|
2004-09-09 08:01:38 +00:00
|
|
|
%build
|
2006-05-24 11:06:43 +00:00
|
|
|
LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
|
2004-09-09 08:01:38 +00:00
|
|
|
|
2004-09-09 08:03:25 +00:00
|
|
|
make DEBUG="$RPM_OPT_FLAGS"
|
2004-09-09 08:01:38 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
2005-05-10 10:22:41 +00:00
|
|
|
install -m 0755 lsof ${RPM_BUILD_ROOT}%{_prefix}/sbin
|
2004-09-09 08:01:38 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
|
|
|
|
install lsof.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
2005-03-14 10:01:47 +00:00
|
|
|
%doc 00*
|
2005-05-10 10:22:41 +00:00
|
|
|
%attr(0755,root,root) %{_sbindir}/lsof
|
2004-09-09 08:01:38 +00:00
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|
2004-09-09 08:06:35 +00:00
|
|
|
* Fri Jul 30 2004 Jakub Jelinek <jakub@redhat.com> 4.72-1
|
|
|
|
- update to 4.72
|
|
|
|
- use st_dev/st_ino comparison for sockets by name if possible
|
|
|
|
(#126419)
|
2004-09-09 08:06:14 +00:00
|
|
|
|
2004-09-09 08:04:27 +00:00
|
|
|
* Fri Jul 18 2003 Jakub Jelinek <jakub@redhat.com> 4.68-1
|
|
|
|
- update to 4.68 (#99064)
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:03:54 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 4.63-3
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2004-09-09 08:03:28 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 08:03:25 +00:00
|
|
|
* Fri Jun 21 2002 Jakub Jelinek <jakub@redhat.com> 4.63-1
|
|
|
|
- update to 4.63 (#66333).
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 08:02:32 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 08:02:22 +00:00
|
|
|
* Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.51.
|
|
|
|
|
2004-09-09 08:01:38 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging.
|
|
|
|
|
|
|
|
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
- change to root:root perms
|
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- fix description
|
|
|
|
- man pages are compressed
|
|
|
|
|
|
|
|
* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.47.
|
|
|
|
|
|
|
|
* Tue Aug 3 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.45.
|
|
|
|
|
|
|
|
* Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.44.
|
|
|
|
|
|
|
|
* Fri May 14 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- upgrade to 4.43 with sparc64 tweak (#2803)
|
|
|
|
|
|
|
|
* Thu Apr 08 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- upgrade to 4.42 (security fix)
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
|
|
|
|
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- turn off setgid kmem "just in case".
|
|
|
|
|
|
|
|
* Thu Feb 18 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- buffer overflow patch.
|
|
|
|
- upgrade to 4.40.
|
|
|
|
|
|
|
|
* Wed Dec 30 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to "official" 4.39 release.
|
|
|
|
|
|
|
|
* Wed Dec 16 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.39B (linux) with internal kernel src.
|
|
|
|
|
|
|
|
* Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.39A (linux)
|
|
|
|
|
|
|
|
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.37
|
|
|
|
|
|
|
|
* Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 4.36
|
|
|
|
|
|
|
|
* Thu Jul 23 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- upgrade to 4.35.
|
|
|
|
- rewrap for RH 5.2.
|
|
|
|
|
|
|
|
* Mon Jun 29 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
|
|
|
|
[4.34-1]
|
|
|
|
- New version
|
2005-02-08 14:33:41 +00:00
|
|
|
- Spec rewriten to use %%{name} and %%{version} macros
|
2004-09-09 08:01:38 +00:00
|
|
|
- Removed old log enteries
|
|
|
|
|
|
|
|
* Tue Apr 28 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
|
|
|
|
- Built under RH5
|
|
|
|
- %install was changed
|