-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script: bsdinstall.sh #176
Comments
Looks good, but using vanilla pkg is highly unstable as pkg version sometimes differs and will break your system |
Aren't these packages exactly the same as building them from ports? Risk is exactly the same, the difference is that building from ports demands the whole build chain of tools to be installed as well (go, rust or whatever) If someone wants a tool from FreeBSD to run on OPNsense, what is worse: direct install of binary with |
The problem is when opnsense builds against 1.19 and freebsd is build against 1.20 it will break. Already seen with 1.17 and 1.18 last year with 22.1 |
...and the same problem would happen with bsd ports? Or not? This is - of course - also a curse, as it will never auto-upgrade (just like ports) and it is on admin to keep its track. |
The question is: is this script worth adding among the tinkering tools to the community repo?
Installing any/all of these tools without direct link to freebsd binaries is a nightmare. Not having these tools on opnsense is even greater nightmare. :-) |
I created a shell script that finds out all binary packages and their dependencies in FreeBSD repo - without having repo installed on OPNsense. I use it instead of using ports to build missing tools from the source.
for example, I love to use
bat
(acat
clone with syntax highlighting and Git integration), but do not want to buildbat
from ports as it requires installing rust and what not - a massive over-burden just to getbat
working. So, I run./bsdinstall.sh bat
instead and get list of requiredpkg add
commands (in reverse order):This is not_at_all preferred method of installing packages without repo and no lineage, but it is still better than building packages from ports.
Here is the script, if it makes sense, let's add it to the community repo.
The text was updated successfully, but these errors were encountered: