Reason:
BREAKING CHANGE: The new version of sysutils/snmp_exporter (0.28.0)
introduces several breaking changes. If you don't want to migrate yet,
switch to the new port sysutils/snmp_exporter20 which contains the previous
version (0.20.0).
1. The exporter uses a new configuration file format for SNMP authentication,
and configurations from the previous version will no longer work. This
applies regardless of whether you use the configuration generator or write
the configuration by hand.
For migration instructions, see:
https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md
2. Breaking changes were made affecting the 'synology', 'ddwrt' and
'kemp_loadmaster' modules. For migration instructions, see:
https://github.com/prometheus/snmp_exporter/releases/tag/v0.27.0
3. The sysUpTime metric has been removed from the if_mib module. For
migration instructions, see:
https://github.com/prometheus/snmp_exporter/releases/tag/v0.28.0
4. (FreeBSD-specific) The port no longer patches the generator to hardcode
${PREFIX}/etc in the paths used by snmp_exporter_generator. If you were
relying on this behaviour, you should update your scripts to specify the full
pathname.
sysutils/snmp_exporter: reduce divergence from upstream
Remove our sample generator.yml (which uses old, unsupported syntax)
and install upstream's generator.yml instead.
Also install upstream's snmp.yml, since upstream intends users to
use this unless they have a specific need to generate a new config.
Update the install message to suggest using the default snmp.yml.
PR: 271833
Reviewed by: arrowd, des
Approved by: arrowd (ports), des (mentor)
Differential Revision: https://reviews.freebsd.org/D51432
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
sysutils/snmp_exporter: update to 0.28.0
Assign maintainership to submitter.
changes since the previous port version (0.20.0) are too numerous to
list here but can be found at the GitHub releases page:
https://github.com/prometheus/snmp_exporter/releases
this release introduces a breaking change in the configuration file
format. to address this:
- add a new pkg-message that explains the situation on upgrade.
- add an UPDATING entry to warn ports users about the change.
- add a new port called 'sysutils/snmp_exporter20' containing the old
0.20.0 version; users who don't want to immediately update their
configuration can instead switch to this new port to continue using
the old version.
PR: 282759
Approved by: fabian.freyer@physik.tu-berlin.de (maintainer timeout)
sysutils/snmp_exporter: fix build on riscv64
Bump golang.org/x/sys dependency to a version new enough to
support riscv64-freebsd.
Sponsored by: Berliner Linux User Group e.V.
Approved by: portmgr (build fix blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
updatesysutils/snmp_exporter: do not overwrite generator.yml
Mark it as sample file.
generator.yml is used by snmp_exporter_generator to generate the final
configuration (snmp.yml) which should not be edited by hand.
PR: 263878
Reported by: topical@gmx.net
Approved by: fabian.freyer@physik.tu-berlin.de (1 week)
Go ports: cleanup, finish transition to USES=go started with r505321 (cat.
sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
Reviewed by: tobik
Approved by: araujo (mentor), portmgr (adamw)
Differential Revision: https://reviews.freebsd.org/D21744
sysutils/snmp_exporter: Switch to USES=go:modules, fix build with go1.13
PR: 239868
Submitted by: Dmitri Goutnik <dg@syrec.org>
Approved by: portmgr (unbreak with the upcoming go1.13)