./sysutils/lsof, Lists information about open files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.91nb7, Package name: lsof-4.91nb7, Maintainer: pkgsrc-users

Lsof (LiSt Open Files) lists information about files that are open by the
running processes. An open file may be a regular file, a directory, a block
special file, a character special file, an executing text reference, a
library, a stream or a network file (Internet socket, NFS file or Unix domain
socket), a kqueue descriptor...


Required to run:
[lang/perl5] [pkgtools/osabi]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 773.178 KB

Version history: (Expand)


CVS history: (Expand)


   2025-12-26 09:59:48 by Kimmo Suominen | Files touched by this commit (1)
Log message:
Work around gcc14 slighly more pleasingly to the eye
   2025-12-26 09:20:59 by Kimmo Suominen | Files touched by this commit (1)
Log message:
Work around gcc14
   2025-06-17 04:38:49 by David H. Gutteridge | Files touched by this commit (2)
Log message:
lsof: simplify a NetBSD build fix patch

Five years ago, r. 1.19 introduced a build fix for "NetBSD 9.0", without
any further explanation. It appears this was intended for i386,
specifically, though the commit didn't say, since other ports should
have built without it. i386 builds have since been fixed differently,
this being relevant for 10.x as well, where the older approach would not
work. (It's also confusing to see separate places with NetBSD version
conditionals pulling in sys/ptrace.h.)

Change compile-tested on NetBSD 9.4_STABLE/amd64, 9.4_STABLE/i386,
9.99.14/amd64, 9.99.14/i386. (I see nothing in the state of 9.0 headers
that differs relevantly.)

Slightly related to PR port-i386/59402.
   2025-06-09 21:43:19 by David H. Gutteridge | Files touched by this commit (2)
Log message:
lsof: handle (upcoming) NetBSD 11.x
   2025-05-07 01:46:45 by David H. Gutteridge | Files touched by this commit (2)
Log message:
lsof: fix NetBSD i386 builds

ptrace.h is being included in a messy way to kludge around other build
issues, which then leads to this particular breakage on i386 only.
Consistently defining or not defining both macros both fix this. lsof
has no need of that particular enum value provided by
PROCFS_MACHDEP_NODE_TYPES, anyway.

Tangentially related to PR port-i386/59402; this code/our patching is
doing unexpected things, but i386's ptrace.h does seem inconsistently
defined, too.
   2024-04-28 03:33:06 by David H. Gutteridge | Files touched by this commit (2)
Log message:
lsof: actually correct NetBSD 8.x pattern as intended
   2024-04-28 03:24:08 by David H. Gutteridge | Files touched by this commit (2)
Log message:
lsof: fix builds on NetBSD 8.x and 9.x

patch-ag r. 1.14 introduced incorrect patterns that broke builds.
(Formal releases since 8.x do not include a "patch level"/"teeny"
number, and the change also failed to match releases with "_STABLE"
or "_RCx".) Addresses PR 58199 from Stefan Schaeckeler.
   2024-04-26 17:37:31 by Thomas Klausner | Files touched by this commit (2)
Log message:
lsof: allow building on newer 8.x and 9.x

Fixes PR 58199 by Stefan Schaeckeler.