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