Bug 83082 - Nylon port overwrites existing configuration files
Summary: Nylon port overwrites existing configuration files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 07:20 UTC by Rob MacGregor
Modified: 2005-07-08 15:36 UTC (History)
0 users

See Also:


Attachments
file.diff (976 bytes, patch)
2005-07-07 07:20 UTC, Rob MacGregor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob MacGregor 2005-07-07 07:20:17 UTC
The nylon (net/nylon) port installs a sample configuration file, which is pretty common.  What isn't common however is that it installs it as the actual configuration file, overwriting any existing configuration.

Fix: Rename net/nylon/files/nylon.conf to nylon.conf.sample and update Makefile accordingly.  Or apply the following patch to the Makefile to install nylon.conf as nylon.conf.sample:
How-To-Repeat: Install nylon, change the configuration (such as to allow other hosts to use it), re-install nylon (portupgrade -f nylon).  Restart nylon and watch it break.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-08 15:35:56 UTC
State Changed
From-To: open->closed

Committed, thanks!