notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q2
lsof Lists information about open files (similar to fstat(1))
4.99.5,8 sysutils on this many watch lists=213 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.99.5,8Version of this port present on the latest quarterly branch.
Ignore IGNORE: requires kernel sources (or set SRC_BASE)
Maintainer: ler@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2026-05-03 08:02:43
Commit Hash: 3135037
People watching this port, also watch:: libiconv, png, freetype2, gmake, unzip
License: lsof
WWW:
https://github.com/lsof-org/lsof/
Description:
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). See also fstat(1) in the base system.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (26 items)
Collapse this list.
  1. /usr/local/share/licenses/lsof-4.99.5,8/catalog.mk
  2. /usr/local/share/licenses/lsof-4.99.5,8/LICENSE
  3. /usr/local/share/licenses/lsof-4.99.5,8/lsof
  4. share/man/man8/lsof.8.gz
  5. @group kmem
  6. @mode 2755
  7. sbin/lsof
  8. @group wheel
  9. @mode 0444
  10. share/lsof/00MANIFEST
  11. share/lsof/00README
  12. @mode
  13. share/lsof/big_brother.pl
  14. share/lsof/count_pf.pl
  15. share/lsof/identd.pl
  16. share/lsof/idrlogin.pl
  17. share/lsof/list_NULf.pl
  18. share/lsof/list_fields.awk
  19. share/lsof/list_fields.pl
  20. share/lsof/shared.pl
  21. share/lsof/sort_res.pl
  22. share/lsof/watch_a_file.pl
  23. share/lsof/xusers.awk
  24. @owner
  25. @group
  26. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lsof>0:sysutils/lsof
To install the port:
cd /usr/ports/sysutils/lsof/ && make install clean
We doubt a package is available for this port because we see it marked as as:
  • Ignore
Packages are normally not provided for ports that are marked as above.
To add the package, run one of these commands:
  • pkg install sysutils/lsof
  • pkg install lsof
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lsof
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1752848850 SHA256 (lsof-org-lsof-4.99.5_GH0.tar.gz) = 3c591556c665196e0aada5982ff43c75e248187bad78bb1368d8fb9c1c527e6e SIZE (lsof-org-lsof-4.99.5_GH0.tar.gz) = 1135415

Packages (timestamps in pop-ups are UTC):
lsof
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.99.5,84.99.5,8-4.99.5,84.99.5,8n/an/an/a
FreeBSD:13:quarterly4.99.5,84.99.5,84.97.0,84.99.4_2,84.99.5,8n/an/an/a
FreeBSD:14:latest4.99.5,84.99.5,84.96.5,84.99.4_2,84.99.5,84.97.0,8-4.97.0,8
FreeBSD:14:quarterly4.99.5,84.99.5,8-4.99.4_2,84.99.5,84.99.3,84.99.3,84.99.3,8
FreeBSD:15:latest4.99.5,84.99.5,8n/a4.99.4_2,8n/an/a4.99.3_1,84.99.3_1,8
FreeBSD:15:quarterly4.99.5,84.99.5,8n/a-n/an/a--
FreeBSD:16:latest-4.99.5,8n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. security/doorman*
  2. Collapse this list of deleted ports.
for Run
  1. databases/jetbrains-datagrip
  2. devel/gammaray
  3. devel/jetbrains-clion
  4. devel/jetbrains-goland
  5. devel/jetbrains-phpstorm
  6. devel/jetbrains-rustrover
  7. devel/jetbrains-webstorm
Expand this list (21 items / 14 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/libexplain
  3. filesystems/gvfs
  4. java/intellij-ultimate
  5. net-mgmt/bandwhich
  6. security/lynis
  7. sysutils/tcplist
  8. Collapse this list.

Deleted ports which required this port:

Expand this list of 8 deleted ports
  1. devel/gvfs*
  2. ports-mgmt/packagekit-qt4*
  3. ports-mgmt/tinderbox*
  4. ports-mgmt/tinderbox-devel*
  5. security/arm*
  6. security/doorman*
  7. security/rkhunter*
  8. www/caudium14*
  9. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for lsof-4.99.5,8: NOSOCKSECURITY=off: Non-root users can only list their own files except sockets (Implies SECURITY) SECURITY=off: Non-root users can only list their own files ===> Use 'make config' to modify these settings
Options name:
sysutils_lsof
USES:
compiler cpe shebangfix
pkg-message:
For install:
NOTE: Due to the way the FreeBSD build clusters make packages, you may see a warning similar to the following: lsof: WARNING: compiled for FreeBSD release 11.1-RELEASE-p6; this is 11.1-RELEASE-p4. This is because the poudriere jails that build the packages don't have the corresponding kernel installed, so they don't know that the kernel version is different. This warning can be ignored if you are using a system that is updated via freebsd-update and are using pre-built packages.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/lsof-org/lsof/tar.gz/4.99.5?dummy=/
Collapse this list.

There are no commits on branch 2026Q2 for this port