Open mihakralj opened 9 months ago
@mimugmail ping?
Sorry, my spare time is quite limited these days. Regarding opnsense-cli, if you don't have an official port in FreeBSD, you need to offer a compiled go-binary which we can deploy inside of a new plugin. Are you willing to do this?
Regarding the rest it should be qute easy ... but ... the whole workflow of updating the repo is currently broken cause I can't update unifi. The new version breaks current installs cause of mongodb update from 3.6 to 4.4 which is incompatible. Seems someone at FreeBSD was quite smart ;(
I would love to be able to have glances on OPNsense. If I am understanding the above request correctly.
Glances is already in, just check the packages
I must be missing something. I've run "pkg search -g -r mimugmail *" and "pkg search glances and I can't see it?
@Delta-Entropy try this:
pkg install py39-pip
pip install glances bottle --user
edit /usr/local/etc/rc.syshook.d/start/96-glances
#!/bin/sh
/root/.local/bin/glances -w -B <lan-ip-address> -p 61208 --disable-plugin sensors
Exit: ESC, A, A
chmod +x /usr/local/etc/rc.syshook.d/start/96-glances
Reboot
Hmmm?
# pkg install btop
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
All repositories are up to date.
pkg: btop has a missing dependency: gcc12
Fixed, thx for the hint!
Michael,
I would like to add several CLI packages to the repo and am pondering how we should approach that.
The most obvious idea would be if you'd publish your
packagesite.yaml
file that is published athttps://opn-repo.routerperformance.net/repo/FreeBSD:13:amd64/packagesite.txz
and we could perform a pull request and add desired line items for packages. This would add path to agreed/approved packages and allow individual installation withpkg install
.Another option would be to create and publish an empty bundle package, which would include +INSTALL script to directly install the bundle of CLI tools - and remove them all when uninstall is issued. This would be all-or-nothing approach and would require full re-install whenever any CLI tool gets a new version.
A third option would be to create a completely new repo just with OPNsense CLI tools and publish it separately from opn-repo.
Thoughts?
What CLI tools?
My list is much longer, but I wanted to start with the most useful and obvious ones...