Stupid Freshports question...
-
Hi
I'm a BSD/Linux novice in some areas, and I was wondering how to install a specific ports package on pfSense?
I have noticed Freshports states that a NtopNG 5.2.xxxx package build for aarch64 is available in the ports tree, and I would like to test that on my SG-2100. The NtopNG 5.0.xxxxx that is installed with the pfSense NtopNG package for aarch64 is actually a NtopNG 4.0 package that has been renamed to 5.0.xxxx :-(My understanding was that the pkg command looks into the officialt FreeBSD ports tree and fetches the latest or quarterly package, but that seems to not be the case here. So the pkg tool in pfSense must be using another ports tree that the one freshports is monitoring - or have I completely misunderstood how this works in FreeBSD?
On my AMD64 boxes I have found a way to install the latest NtopNG 5.3 build directly from ntop.org by adding a specific ports URL for that package to pfSense. But they do not publish aarch64 builds.
-
@keyser Just a small update on this. By trial and error I succesfully found a way to install the latest quarterly ntopng package from the FreeBSD repo on my aarch64 SG-2100.
But it required me to add the full package URL and its dependencies specifically with "pkg add" command.Here's what I did:
pkg add http://pkg.freebsd.org/FreeBSD:12:aarch64/quarterly/All/ntopng-5.2.d20220314_1,1.txz -
Yup, see: https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html
pkg uses the pfSense repo by default. Be aware of the issues that can happen by installing FreeBSD packages but using individual packages directly is generally safer as it won't pull in incompatible dependencies.
Steve