Repository navigation
[request] pftop for Darwin #178
Description
Activity
This package failure is here: http://us-east.manta.joyent.com/pkgsrc/public/reports/Darwin/trunk/x86_64/20190311.0823/meta/report.html
Couldn't find pfvar.h header; please make sure that this header is available in /usr/include/net.This package seems pretty OS-specific, and isn't available in either Homebrew or MacPorts, possibly for that reason. Are you sure it is appropriate for macOS?
pfvar.h can be found in https://opensource.apple.com in
xnu-$version.tar.gz
for example for High Sierra is
https://opensource.apple.com/tarballs/xnu/xnu-4570.71.2.tar.gzAre you sure it is appropriate for macOS?
Yes. macOS has pf, pfctl like the NetBSD, OpenBSD etc.
Ok, interesting. However, I'm not sure this is going to help. I had a go at compiling this with the xnu headers, but it's not just pfvar it needs, it also needs all the altq bits, all the pktsched bits, then delves into a lot more sys/ headers, at which point I gave up for now.
Even if I manage to get it to build, this is going to be highly version-specific, and I can't see how it's going to work for our package sets, which are designed to work on any OS version since the version they were built on (currently Sierra).
For this one I'd recommend building it yourself from pkgsrc on the version of macOS you intend to run it on.
I tried but my knowledge is not enough.
maybe you will have time and desire and you will get better.
Anyway thanks- added a commit that references this issue
on Mar 26, 2019 - added a commit that references this issue
on Jan 11, 2020 - added a commit that references this issue
on Jan 19, 2020 - added a commit that references this issue
on Mar 25, 2020 - added a commit that references this issue
on May 17, 2020 - added a commit that references this issue
on Jul 8, 2020 95 remaining items
- added 7 commits that reference this issue
on May 14, 2026 - added 3 commits that reference this issue
on May 22, 2026 - added a commit that references this issue
on Jun 9, 2026 - added 2 commits that reference this issue
on Jul 26, 2026 - added a commit that references this issue
on Sep 6, 2026 - added a commit that references this issue
on Oct 1, 2026
please add pftop to Darwin package