lsof-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. Summary: A utility which lists open files on a Linux/UNIX system
  2. Summary(ja): 開かれているファイルの一覧を表示するツール
  3. Name: lsof
  4. Version: 4.86
  5. Release: 1%{?_dist_release}
  6. License: zlib
  7. Group: Applications/System
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. # lsof contains licensed code that we cannot ship. Therefore we use
  11. # upstream2downstream.sh script to remove the code before shipping it.
  12. #
  13. # The script you can found in SCM or download from:
  14. # http://pkgs.fedoraproject.org/gitweb/?p=lsof.git;a=blob_plain;f=upstream2downstream.sh
  15. #
  16. %define lsofrh lsof_%{version}-rh
  17. Source0: %{lsofrh}.tar.bz2
  18. URL: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  20. %description
  21. Lsof stands for LiSt Open Files, and it does just that: it lists
  22. information about files that are open by the processes running on a
  23. UNIX system.
  24. %description -l ja
  25. Lsof は UNIX 特有の診断ツールです。その名前は LiSt Open Files を意味し、
  26. 文字通りの動作 (開かれているファイルの一覧を表示) をします。
  27. このプログラムは、システムで現在動作しているプロセスによって開かれている
  28. 全てのファイルに関する情報を表示します。
  29. %prep
  30. %setup -q -n %{lsofrh}
  31. %build
  32. LSOF_VSTR=2.6.23 LINUX_BASE=/proc ./Configure -n linux
  33. make DEBUG="%{optflags}" %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. mkdir -p %{buildroot}%{_sbindir}
  37. install -p -m 0755 lsof %{buildroot}%{_prefix}/sbin
  38. mkdir -p %{buildroot}%{_mandir}/man8
  39. install -p -m 0644 lsof.8 %{buildroot}%{_mandir}/man8/
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc 00*
  45. %{_sbindir}/lsof
  46. %{_mandir}/man*/*
  47. %changelog
  48. * Mon May 07 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.86-1
  49. - new upstream release
  50. - rebased on Fedora's 4.86-1 (previous Vine changelog as follows)
  51. - Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.78-9
  52. - changed Group to Applicaions/System
  53. - Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 4.78-8vl5
  54. - applied new versioning policy, spec in utf-8
  55. - Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.78-7vl2
  56. - rebuilt for VineSeed
  57. - Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.78-7vl1
  58. - rebuilt for VinePlus/4.0
  59. - s/Copyright/License/
  60. - based on Fedora Core
  61. - Fri Jan 21 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  62. - 4.73-1vl1
  63. - based on Fedora Core 3
  64. * Fri Apr 20 2012 Peter Schiffer <pschiffe@redhat.com> - 4.86-1
  65. - resolves: #811520
  66. update to 4.86
  67. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.85-2
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  69. * Fri Sep 30 2011 Peter Schiffer <pschiffe@redhat.com> - 4.85-1
  70. - resolves: #741882
  71. update to 4.85
  72. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.84-4
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  74. * Thu Jan 13 2011 Ville Skyttテδ、 <ville.skytta@iki.fi> - 4.84-3
  75. - Fix man page permissions.
  76. * Wed Sep 29 2010 jkeating - 4.84-2
  77. - Rebuilt for gcc bug 634757
  78. * Wed Sep 15 2010 Karel Zak <kzak@redhat.com> 4.84-1
  79. - upgrade to 4.84
  80. - remove lsof_4.81-threads.patch, "lsof -K" provides basic support for tasks now
  81. * Fri Feb 19 2010 Karel Zak <kzak@redhat.com> 4.83-2
  82. - minor changes in spec file (#226108 - Merge Review)
  83. * Thu Feb 11 2010 Karel Zak <kzak@redhat.com> 4.83-1
  84. - upgrade to 4.83 (see the 00DIST file for list of changes)
  85. - remove lsof_4.83A-selinux-typo.patch (fixed upstream)
  86. * Mon Jul 27 2009 Karel Zak <kzak@redhat.com> 4.82-1
  87. - upgrade to 4.82 (see the 00DIST file for list of changes)
  88. - backport an upstream patch from 4.83A-linux
  89. - remove lsof_4.81-man.patch (fixed upstream)
  90. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-4
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  92. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-3
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  94. * Fri Jan 30 2009 Karel Zak <kzak@redhat.com> 4.81-2
  95. - fix #480694 - lsof manpage mismarked and formats badly
  96. * Tue Dec 2 2008 Karel Zak <kzak@redhat.com> 4.81-1
  97. - upgrade to 4.81
  98. - lsof_4.80-threads.patch - rebased
  99. * Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.80-2
  100. - fix license tag
  101. * Tue May 20 2008 Karel Zak <kzak@redhat.com> 4.80-1
  102. - upgrade to 4.80
  103. - lsof_4.78C-inode.patch - merged upstream
  104. - lsof_4.78C-selinux.patch - merged upstream
  105. - lsof_4.78C-threads.patch - rebased
  106. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.78-8
  107. - Autorebuild for GCC 4.3
  108. * Wed Oct 3 2007 Karel Zak <kzak@redhat.com> 4.78-7
  109. - update selinux and inode patches (new versions are based on upstream)
  110. * Tue Oct 2 2007 Karel Zak <kzak@redhat.com> 4.78-6
  111. - fix #280651 - lsof prints entries in multiple lines when SElinux is disabled
  112. - fix #243976 - mmap'd files with large inode numbers confuse lsof
  113. * Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 4.78-5
  114. - fix License
  115. * Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 4.78-4
  116. - fix #226108 - Merge Review: lsof
  117. * Thu Aug 10 2006 Karel Zak <kzak@redhat.com> 4.78-3
  118. - minor changes to thread patch
  119. * Wed Aug 9 2006 Karel Zak <kzak@redhat.com> 4.78-2
  120. - fix #184338 - allow lsof access nptl threads
  121. * Wed Jul 19 2006 Karel Zak <kzak@redhat.com> 4.78-1
  122. - rebuild
  123. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.78-06122006devel.1.1
  124. - rebuild
  125. * Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06122006devel.1
  126. - upgrade to 4.78C (last bugfix accepted by upstream)
  127. * Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.2
  128. - added BuildRequires libselinux-devel
  129. - fix #194864 - lsof segfaults on starting
  130. * Wed May 24 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.1
  131. - upgrade to 4.78B (upstream devel version with selinux patch)
  132. * Wed Feb 15 2006 Karel Zak <kzak@redhat.com> 4.76-2
  133. - fix #175568 - lsof prints 'unknown inode type' for epoll
  134. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.76-1.2.1
  135. - bump again for double-long bug on ppc(64)
  136. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.76-1.2
  137. - rebuilt for new gcc4.1 snapshot and glibc changes
  138. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  139. - rebuilt
  140. * Mon Sep 19 2005 Karel Zak <kzak@redhat.com> 4.76-1
  141. - new upstream version
  142. * Tue May 10 2005 Karel Zak <kzak@redhat.com> 4.74-7
  143. - fix debuginfo
  144. * Wed Mar 23 2005 Karel Zak <kzak@redhat.com> 4.74-6
  145. - fix "lsof -b" hangs if a process is stuck in disk-wait/NFS (#131712)
  146. * Mon Mar 14 2005 Karel Zak <kzak@redhat.com> 4.74-5
  147. - src.rpm cleanup
  148. * Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 4.74-3
  149. - rebuilt
  150. * Tue Feb 8 2005 Karel Zak <kzak@redhat.com> 4.74-2
  151. - replace 'Copyright' with 'License' in .spec
  152. * Tue Feb 8 2005 Karel Zak <kzak@redhat.com> 4.74-1
  153. - sync with upstream 4.74
  154. * Mon Dec 13 2004 Karel Zak <kzak@redhat.com> 4.73-1
  155. - update to 4.73
  156. - remove lsof_4.72-sock.patch, already in the upstream code
  157. * Fri Jul 30 2004 Jakub Jelinek <jakub@redhat.com> 4.72-1
  158. - update to 4.72
  159. - use st_dev/st_ino comparison for sockets by name if possible
  160. (#126419)
  161. * Fri Jul 18 2003 Jakub Jelinek <jakub@redhat.com> 4.68-1
  162. - update to 4.68 (#99064)
  163. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  164. - rebuilt
  165. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  166. - rebuilt
  167. * Thu Dec 12 2002 Tim Powers <timp@redhat.com> 4.63-3
  168. - rebuild on all arches
  169. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  170. - automated rebuild
  171. * Fri Jun 21 2002 Jakub Jelinek <jakub@redhat.com> 4.63-1
  172. - update to 4.63 (#66333).
  173. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  174. - automated rebuild
  175. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  176. - automated rebuild
  177. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  178. - Bump release + rebuild.
  179. * Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
  180. - update to 4.51.
  181. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  182. - automatic rebuild
  183. * Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
  184. - FHS packaging.
  185. * Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  186. - change to root:root perms
  187. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  188. - fix description
  189. - man pages are compressed
  190. * Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
  191. - update to 4.47.
  192. * Tue Aug 3 1999 Jeff Johnson <jbj@redhat.com>
  193. - update to 4.45.
  194. * Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com>
  195. - update to 4.44.
  196. * Fri May 14 1999 Jeff Johnson <jbj@redhat.com>
  197. - upgrade to 4.43 with sparc64 tweak (#2803)
  198. * Thu Apr 08 1999 Preston Brown <pbrown@redhat.com>
  199. - upgrade to 4.42 (security fix)
  200. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  201. - auto rebuild in the new build environment (release 5)
  202. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  203. - turn off setgid kmem "just in case".
  204. * Thu Feb 18 1999 Jeff Johnson <jbj@redhat.com>
  205. - buffer overflow patch.
  206. - upgrade to 4.40.
  207. * Wed Dec 30 1998 Jeff Johnson <jbj@redhat.com>
  208. - update to "official" 4.39 release.
  209. * Wed Dec 16 1998 Jeff Johnson <jbj@redhat.com>
  210. - update to 4.39B (linux) with internal kernel src.
  211. * Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
  212. - update to 4.39A (linux)
  213. * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
  214. - update to 4.37
  215. * Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
  216. - update to 4.36
  217. * Thu Jul 23 1998 Jeff Johnson <jbj@redhat.com>
  218. - upgrade to 4.35.
  219. - rewrap for RH 5.2.
  220. * Mon Jun 29 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
  221. [4.34-1]
  222. - New version
  223. - Spec rewriten to use %%{name} and %%{version} macros
  224. - Removed old log enteries
  225. * Tue Apr 28 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
  226. - Built under RH5
  227. - install macro was changed