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