OPNsense Forum

English Forums => Development and Code Review => Topic started by: nikgreg99gmail.com on April 25, 2021, 02:14:15 PM

Title: Building procedure
Post by: nikgreg99gmail.com on April 25, 2021, 02:14:15 PM
I have trying to build a package. If I get well, I have to make a package of the folder and  on OPNsense using pkg install. Is it right?
Title: Re: Building procedure
Post by: mimugmail on April 25, 2021, 03:19:52 PM
Can you give some more details please
Title: Re: Building procedure
Post by: nikgreg99gmail.com on April 25, 2021, 03:26:11 PM
I  have a build a package in a FreeBSD distribution  putting it in usr/plugins/devel. I have executed the command 'make package'. Then I think I have to go on OPNsense, going into the directory where is located the t.x.z folder. Then i have to make the sudo pkg add <package_name>.t.x.z. Is the right procedure?

(The package in on a repo on Github and I have already created the +POST_INSTALL)