Is it okay / allowed to install a standard FreeBSD package (zsh) on a NetGate 6100?
-
I have a lot of useful scripts written for 'zsh' and I would like to be able to use a few of them on my router. While I could 'port' then to 'sh' that is a lot of work. It would be much nicer to have zsh available on the unit. I do NOT want/need to change the default shell, or the shell of any user, to be zsh. I just need it to be present.
Thoughts? Any downside / gotchas?
-
The big danger is if the
zsh
package pulls in any runtime dependencies in the form of shared libraries. If it does, then a possibility exists those versions will not be correct for the installed pfSense system resulting in possible corruption of the pfSense installation. Packages are compiled against specifc FreeBSD versions. pfSense is currently based on FreeBSD 14.0-CURRENT. It's likely going to be hard to find any standard packge repos built on that FreeBSD variant.I would first try this in a virtual machine test environment. That way, if it borks the pfSense install, all you are out is a few minutes of your labor.
-
Yup, test it first is good advice.
https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html#concerns-warnings