My kyua.conf got overridden after a recent package upgrade back to the stock version. I think kyua.conf shouldn't be installed to /usr/local/etc/kyua/kyua.conf, or at the very least shouldn't be blindly overridden.
Created attachment 182047 [details] Turn kyua.conf into kyua.conf.sample The correct solution is to treat kyua.conf as a sample file. Patch attached.
Created attachment 182816 [details] Turn kyua.conf into kyua.conf.sample Update the patch to bump PORTREVISION
jmmv (maintainer) has approved the patch via private email
(In reply to Alan Somers from comment #2) LGTM. Would it make sense in this case to install the sample config file so it doesn't break kyua.conf use out of the box, or does kyua work without a config file (I forget, but intuition suggests no...)?
Experiment shows that kyua works fine without a kyua.conf file.
A commit references this bug: Author: asomers Date: Wed May 24 14:34:19 UTC 2017 New revision: 441600 URL: https://svnweb.freebsd.org/changeset/ports/441600 Log: devel/kyua: Install kyua.conf as a sample file Previously, kyua upgrades would override users' changes to /usr/local/etc/kyua/kyua.conf. Now the upgrade will only affect /usr/local/etc/kyua/kyua.conf.sample. PR: 217990 Reported by: ngie Reviewed by: jmmv, ngie Approved by: jmmv (maintainer) Approved by: brd (ports) Sponsored by: Spectra Logic Corp Changes: head/devel/kyua/Makefile head/devel/kyua/pkg-plist