Created attachment 222803 [details] Patch The patch updates sysutils/snmp_exporter to 0.20.0. There is no longer a "vendor" directory inside the upstream package. I followed https://docs.freebsd.org/en/books/porters-handbook/book.html#using-go to deal with that. The updated port builds properly. I tested both snmp_exporter and snmp_exporter_generator binaries.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/261422879
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. Thanks!
I updated the URL with a link to a changelog.
(In reply to Miłosz Kaniewski from comment #3) Thanks for that :-)
A commit references this bug: Author: lwhsu Date: Sat Mar 13 18:48:08 UTC 2021 New revision: 568269 URL: https://svnweb.freebsd.org/changeset/ports/568269 Log: sysutils/snmp_exporter: Update to 0.20.0 PR: 253832 Submitted by: Mi?osz Kaniewski <milosz.kaniewski@gmail.com> Approved by: maintainer timeout Changes: head/sysutils/snmp_exporter/Makefile head/sysutils/snmp_exporter/distinfo