Bug 11117 - [Patch] Lynx ports delete configuration file
Summary: [Patch] Lynx ports delete configuration file
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-04-13 21:50 UTC by Tom Hukins
Modified: 1999-04-14 00:55 UTC (History)
0 users

See Also:


Attachments
file.diff (1.28 KB, patch)
1999-04-13 21:50 UTC, Tom Hukins
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hukins 1999-04-13 21:50:01 UTC
The "Making a Port yourself" section of the Handbook clearly states:
  If your port requires some configuration files in PREFIX/etc, do
  not just install them and list them in pkg/PLIST.

Various ports of Lynx delete the lynx.cfg file which is installed
under ${PREFIX}/etc. This file may have been edited - any local
changes will be lost.

Fix: The following patch, to be applied relative to /usr/ports, should
prevent our 4 lynx ports from deleting configuration files:
How-To-Repeat: 
# cd /usr/ports/www/lynx
# make install
# $EDITOR /usr/local/etc/lynx.cfg
# make deinstall
# cat /usr/local/etc/lynx.cfg
Comment 1 Michael Haro freebsd_committer freebsd_triage 1999-04-14 00:54:47 UTC
State Changed
From-To: open->closed

Committed.  Thanks for catching this.