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 photosAll times are UTC
Ukraine
Port details on branch 2025Q4
pfstat Utility to render graphical statistics for pf
2.5_9 sysutils on this many watch lists=0 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 2.5_9Version of this port present on the latest quarterly branch.
Maintainer: rootnode+freebsd@wollwage.com search for ports maintained by this maintainer
Port Added: 2025-12-20 14:30:20
Last Update: 2025-12-20 14:28:29
Commit Hash: 08c7101
Also Listed In: net
License: BSD2CLAUSE
WWW:
https://www.benzedrine.ch/pfstat.html
Description:
Pfstat is a small utility that collects packet filter (security/pf) statistics and produces graphs like mrtg or alike. Samples can be found at the website below.
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 (7 items)
Collapse this list.
  1. bin/pfstat
  2. bin/pfstatd
  3. share/man/man8/pfstat.8.gz
  4. share/man/man8/pfstatd.8.gz
  5. /usr/local/share/licenses/pfstat-2.5_9/catalog.mk
  6. /usr/local/share/licenses/pfstat-2.5_9/LICENSE
  7. /usr/local/share/licenses/pfstat-2.5_9/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • pfstatd
Dependency lines:
  • pfstat>0:sysutils/pfstat
To install the port:
cd /usr/ports/sysutils/pfstat/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/pfstat
  • pkg install pfstat
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: pfstat
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (pfstat-2.5.tar.gz) = c996efb0543e6fe05413a3dc7502bb7054b0b6ab8bdd2e0d5bd278700262450a SIZE (pfstat-2.5.tar.gz) = 19166

Packages (timestamps in pop-ups are UTC):
pfstat
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.5_92.5_92.5_62.5_82.5_9n/an/an/a
FreeBSD:13:quarterly2.5_92.5_92.5_62.5_82.5_9n/an/an/a
FreeBSD:14:latest2.5_92.5_92.5_62.5_82.5_92.5_6-2.5_6
FreeBSD:14:quarterly2.5_92.5_9-2.5_82.5_92.5_72.5_72.5_7
FreeBSD:15:latest2.5_92.5_9n/a-n/an/a--
FreeBSD:15:quarterly2.5_92.5_9n/a-n/an/a--
FreeBSD:16:latest2.5_92.5_9n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies:
  1. libgd.so : graphics/gd
  2. libpfctl.so : net/libpfctl
  3. libpng.so : graphics/png
  4. libjpeg.so : graphics/jpeg-turbo
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_pfstat
USES:
iconv jpeg localbase:ldflags
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.benzedrine.ch/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.5_9
20 Dec 2025 14:28:29
commit hash: 08c7101413e45b3dcc85de800566b47db850cda1commit hash: 08c7101413e45b3dcc85de800566b47db850cda1commit hash: 08c7101413e45b3dcc85de800566b47db850cda1commit hash: 08c7101413e45b3dcc85de800566b47db850cda1 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Simon Wollwage
sysutils/pfstat: Fix build on FreeBSD 15, take maintainership

pf.c:174:16: error: use of undeclared identifier 'DIOCGETSTATUS'
  174 |         if (ioctl(fd, DIOCGETSTATUS, &s)) {
      |                       ^

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Remove legacy unnecessary MAKE_ARGS and REINPLACE_CMD.
- Replace REINPLACE_CMD in pf.c with CFLAGS+=-I/usr/include/net.
- Reduce number of INSTALL_* calls in do-install.

PR:		291607
MFH:		2025Q4
Co-authored-by:	David Marec <david.marec@proton.me>
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>
(cherry picked from commit c701d6805046f1928a33188d265821b4579204c3)

Number of commits found: 1