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)
Depends on:
Reported: 1999-04-13 21:50 UTC by Tom Hukins
Modified: 1999-04-14 00:55 UTC (History)
0 users

See Also:

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:
# 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 1999-04-14 00:54:47 UTC
State Changed
From-To: open->closed

Committed.  Thanks for catching this.