Date: 13 Apr 1999 18:23:30 -0000 From: Tom Hukins <tom@eborcom.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/11117: [Patch] Lynx ports delete configuration file Message-ID: <19990413182330.5832.qmail@eborcom.com>
next in thread | raw e-mail | index | archive | help
>Number: 11117 >Category: ports >Synopsis: [Patch] Lynx ports delete configuration file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 13 13:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Tom Hukins >Release: FreeBSD 2.2.8-STABLE i386 >Organization: eBORcOM >Environment: >Description: 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. >How-To-Repeat: # cd /usr/ports/www/lynx # make install # $EDITOR /usr/local/etc/lynx.cfg # make deinstall # cat /usr/local/etc/lynx.cfg >Fix: The following patch, to be applied relative to /usr/ports, should prevent our 4 lynx ports from deleting configuration files: diff -ruN lynx.old/pkg/PLIST lynx/pkg/PLIST --- www/lynx.old/pkg/PLIST Sat Oct 31 23:59:46 1998 +++ www/lynx/pkg/PLIST Tue Apr 13 19:05:35 1999 @@ -1,5 +1,4 @@ bin/lynx -etc/lynx.cfg lib/lynx_help/Lynx_users_guide.html lib/lynx_help/about_lynx.html lib/lynx_help/keystrokes/bookmark_help.html diff -ruN lynx.old/pkg/PLIST lynx/pkg/PLIST --- japanese/lynx.old/pkg/PLIST Mon Nov 2 11:17:49 1998 +++ japanese/lynx/pkg/PLIST Tue Apr 13 19:07:43 1999 @@ -1,5 +1,4 @@ bin/lynx -etc/lynx.cfg lib/lynx_help/Lynx_users_guide.html lib/lynx_help/about_lynx.html lib/lynx_help/keystrokes/bookmark_help.html diff -ruN lynx-current.old/pkg/PLIST lynx-current/pkg/PLIST --- www/lynx-current.old/pkg/PLIST Sun Feb 21 17:33:47 1999 +++ www/lynx-current/pkg/PLIST Tue Apr 13 19:10:44 1999 @@ -1,5 +1,4 @@ bin/lynx -etc/lynx.cfg share/lynx_help/Lynx_users_guide.html share/lynx_help/about_lynx.html share/lynx_help/keystrokes/alt_edit_help.html diff -ruN lynx-current.old/pkg/PLIST lynx-current/pkg/PLIST --- japanese/lynx-current.old/pkg/PLIST Sun Feb 28 17:13:19 1999 +++ japanese/lynx-current/pkg/PLIST Tue Apr 13 19:14:43 1999 @@ -1,6 +1,5 @@ bin/lynx etc/lynx.cfg.sample -@unexec rm -f %D/etc/lynx.cfg lib/lynx_help/Lynx_users_guide.html lib/lynx_help/about_lynx.html lib/lynx_help/keystrokes/alt_edit_help.html >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990413182330.5832.qmail>