On Wed, 12 Apr 2023 21:58:02 +0200, Omar Polo wrote:
> The problem is that by default 'go build' fetches the dependencies at
> build-time, which is a big no for the ports infrastructure. (the
> build will fail if you run with PORTS_PRIVSEP and default pf.conf.)
>
> Instead, please use the go-module(5), set up MODGO_{MODNAME,VERSION}
> and issue `make modgo-gen-modules >modules.inc' to list the
> dependencies. The `make makesum' to update the checksums and the
> usual to build the port.
Thanks Omar to fix this port accordingly go-modules.
> I'm attaching a diff against your Makefie and an updated tarball
> (while there I've also bumped the version to the latest 2.9.1.)
Build OK for version nuclei v2.9.1 on current/amd64.
Tests of Nuclei with basic config/templates are OK.
Laurent