How do I recompute a package checksum in FreeBSD 13.5?

I have two packages (dnetc and proxyper) that I have modified after installation (both run as dnetc rather than nobody). Prior to upgrading to FreeBSD 13.5, I could recompute the package checksum with the ``pkg check -r dnetc proxyper to prevent the daily package check from whining about mismatched package checksum.

The -r and -B options were disabled in FreeBSD 13.5 (they now fail silently), so I can no longer use the ``pkg check'' comand recompute package checksums.

Is there another way to recompute the package checksums?
 
I would suggest creating a PR and suggesting proxyper_user can be changed.

Instead of:
Code:
user="nobody"
...
proxyper_user=${user}

That should be changed to:
Code:
: ${proxyper_user='nobody'}

This allows proxyper_user to be set in rc.conf. If it's not set it will default to 'nobody'.

misc/dnetc already has this, so you can simply set dnetc_user in rc.conf. No need to modify anything.
 
Back
Top