lsof-vl.spec 10.0 KB

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