Re: git: e5d6620d84c6 - main - net-mgmt/ping_exporter: Update to 1.2.0

From: Joseph Mingrone <jrm_at_freebsd.org>
Date: Wed, 25 Mar 2026 13:58:48 UTC
On Wed, 2026-03-25 at 13:47, Lexi Winter <ivy@freebsd.org> wrote:

> Baptiste Daroussin wrote in <acPmQwZhR44BC6nd@b.nours.eu>:
>> On Wed 25 Mar 13:38, Lexi Winter wrote:
>> >     net-mgmt/ping_exporter: Update to 1.2.0

>> >     Upstream release notes:
>> >     https://github.com/czerwonk/ping_exporter/releases/tag/v1.2.0

>> >     BREAKING CHANGE: The configuration file format has changed.
>> >     Refer to the above link for migration details.

>> Maybe add a pkg-message only when upgrading from version prio to 1.2.0 to be
>> careful about this. (like UPDATING but for binary package users).

> i fear this is somewhat futile since the pkg message is only shown after
> the package is updated, but if we're doing this as standard practice, i
> don't object.  could you point to some documentation on how to do it?
> e.g. another port that does this?

There is documentation in the Porter's Handbook, including an example:

https://docs.freebsd.org/en/books/porters-handbook/book/#porting-message

The port sysutils/tmux includes a pkg-message that is shown only when
upgrading from versions earlier than 3.6a:

https://cgit.freebsd.org/ports/tree/sysutils/tmux/pkg-message