OPNsense Forum

English Forums => Development and Code Review => Topic started by: ruslan-gennadievich on September 04, 2020, 01:30:39 AM

Title: How add some port to builded opnsense
Post by: ruslan-gennadievich on September 04, 2020, 01:30:39 AM
Hi again)

I need add freeradius, node, and some plugin to my image.
I have freebsd12, clone tools, and after "make dvd" i have my image. But how add some before make dvd, that as result freeradius, node exist in my image?

Thanks
Title: Re: How add some port to builded opnsense
Post by: mimugmail on September 04, 2020, 06:11:03 AM
Check the tools Makefile ans configs.
Title: Re: How add some port to builded opnsense
Post by: franco on September 04, 2020, 08:22:08 AM
ADDITIONS: a list of packages/plugins to add to images

https://github.com/opnsense/tools#how-to-specify-build-options-on-the-command-line



Cheers,
Franco
Title: Re: How add some port to builded opnsense
Post by: ruslan-gennadievich on September 12, 2020, 09:57:40 PM
Quote from: franco on September 04, 2020, 08:22:08 AM
ADDITIONS: a list of packages/plugins to add to images

https://github.com/opnsense/tools#how-to-specify-build-options-on-the-command-line


Thanks! I add in ADDITIONS some opnsense plugins.
But how add freebsd port to build?
Title: Re: How add some port to builded opnsense
Post by: mimugmail on September 13, 2020, 06:58:23 AM
Quote from: mimugmail on September 04, 2020, 06:11:03 AM
Check the tools Makefile ans configs.

Just read all .conf files in /usr/tools .. you should get more familiar with it If you plan to adjust the base in production
Title: Re: How add some port to builded opnsense
Post by: ruslan-gennadievich on September 16, 2020, 07:14:03 PM
Okey, thank you

As i right undestand, all ports they will add to ISO in ports.conf ? But how i can install ports from source?
For example, i need nodejs, and i want build nodejs from source.
How i can do it?
Title: Re: How add some port to builded opnsense
Post by: mimugmail on September 16, 2020, 09:41:48 PM
You go in /usr/ports/xxx and do make upgrade
Title: Re: How add some port to builded opnsense
Post by: franco on September 17, 2020, 08:40:07 AM
ports.conf builds packages from ports.git
plugins.conf builds packages from plugins.git

If you need packages in the ISO set up ADDITIONS accordingly as stated previously.


Cheers,
Franco