Unable to use ports at all

Started by dest12345, January 27, 2020, 02:47:31 AM

Previous topic - Next topic
Hey!

I'm completely new to OPNsense, FreeBSD and everything else that follows with The OPNsense System.

I run OPNsense 19.7.9_1 on an Virtualbox 5.2 VM.
I have successfully synced the ports from OPNsense Github account into /usr/ports/, but when I try to install (make install) anything at all from /usr/ports/ I get the following error:

root@opnsense:/usr/ports/devel/subversion # make install
===> Building/installing dialog4ports as it is required for the config dialog
===>  Cleaning for dialog4ports-0.1.6
===> Skipping 'config' as NO_DIALOG is defined
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[3]: stopped in /usr/ports/ports-mgmt/dialog4ports
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/ports-mgmt/dialog4ports
===> Options unchanged

You can have the repository created for you by defining
WITH_REPOSITORY_CREATION.

Make sure that:
* all your svn users are members of a common group
* this group is the group id of the db/ and locks/
  subdirectories of your repository
* the above subdirectories are writable by this group

Many useful scripts will be installed into /usr/local/share/subversion
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/subversion
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/subversion


As far as I have been able to understand, the FreeBSD version (11.2-RELEASE-HBSD) is simply too old to be
able to make use of any of the ports packages. But since these ports packages is delivered directly from OPNsense's own Github account, isn't it normal to think that I would be able to use them in the latest version of OPNsense??

Have I missed anything??
Or is it impossible to use any of the ports?


Best Regards
Henrik Andersson

It's a FreeBSD "thing" and there's an easy fix:

# opnsense-code tools ports

which is laid out here https://docs.opnsense.org/manual/software_included.html#the-ports-tree


Cheers,
Franco