| Summary: | devel/kyua: kyua.conf overridden after package upgrade; shouldn't be installed to /usr/local/etc/kyua/kyua.conf or shouldn't be wiped out on upgrade/install | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Enji Cooper <ngie> | ||||||
| Component: | Individual Port(s) | Assignee: | Alan Somers <asomers> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Some People | CC: | asomers, brd, ngie | ||||||
| Priority: | --- | Flags: | asomers:
maintainer-feedback+
|
||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Enji Cooper
2017-03-22 01:01:03 UTC
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 |