Blame SPECS/lsof.spec

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