You can also go into your plugins directory like /usr/plugins/devel/speedtest and type "make upgrade".This would install it locally (if you do this on a OPNsense instance) or type "make package" to build a pkg
pkg repo .
That's pretty straight forward. You need a freebsd or opnsense, create a folder in there, put the .pkg files you want in it.Then you invoke Code: [Select]pkg repo . in that folder.Then you need a web server to serve this path. For the exact path where to put stuff, check out my current github with the repo-conf and the actual repository with the ABI link (also on github). Just replicate that. Though make sure to put the weight of the repo between 1 to 11. I upload the repo to github, and then clone it into a plesk server that serves the https. For me that was the easiest way cause I had that ready.Repo: https://github.com/Monviech/os-caddy-plugin/tree/main/os-caddy-plugin/FreeBSD%3A13%3Aamd64Webserver with Repo in it: https://os-caddy-plugin.pischem.com/os-caddy-plugin/FreeBSD%3A13%3Aamd64/Repo Config: https://github.com/Monviech/os-caddy-plugin/blob/main/repo-config/os-caddy-plugin.confRepo config is imported to client to /usr/local/etc/pkg/repos/repo-name.confEdit:- Make empty folder in opnsense- put .pkg files in it- pkg repo .- get this folder served with http/https somewhere (maybe with caddy? - import the repo conf to the opnsense
Quote from: mimugmail on March 01, 2021, 05:07:58 pmYou can also go into your plugins directory like /usr/plugins/devel/speedtest and type "make upgrade".This would install it locally (if you do this on a OPNsense instance) or type "make package" to build a pkgI was able to create my own package using make package, and it installs and works in OPNsense as well (as expected).Is there any way to convert this package and add it to a custom repository? Something like what is available at https://github.com/mimugmail/opn-repo or at https://www.routerperformance.net/opnsense-repo/I would like to include my created package above (os-blocky-xxx.pkg) into a custom repo that can then be installed through OPNsense Firmware Plugin GUI.What I am looking is guidance as to how to create a custom repository and adding an existing .pkg file to it?Thanks for your help...