From owner-freebsd-ports Tue Apr 13 13:52:24 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6ECA814EB3 for ; Tue, 13 Apr 1999 13:52:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id NAA28521; Tue, 13 Apr 1999 13:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from cask.force9.net (cask.force9.net [195.166.128.29]) by hub.freebsd.org (Postfix) with SMTP id 0267814E84 for ; Tue, 13 Apr 1999 13:44:03 -0700 (PDT) (envelope-from tom@eborcom.com) Received: (qmail 30203 invoked from network); 13 Apr 1999 20:39:49 -0000 Received: from unknown (HELO coors.free-online.net) (212.56.108.80) by cask.force9.net with SMTP; 13 Apr 1999 20:39:49 -0000 Received: (qmail 14920 invoked from network); 13 Apr 1999 20:43:12 -0000 Received: from unknown (HELO ) (212.56.113.47) by coors.free-online.net with SMTP; 13 Apr 1999 20:43:12 -0000 Received: (qmail 5833 invoked by uid 5000); 13 Apr 1999 18:23:30 -0000 Message-Id: <19990413182330.5832.qmail@eborcom.com> Date: 13 Apr 1999 18:23:30 -0000 From: Tom Hukins To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11117: [Patch] Lynx ports delete configuration file Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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