From owner-freebsd-ports@FreeBSD.ORG Sat May 27 01:13:22 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1CA616A745 for ; Sat, 27 May 2006 01:13:22 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB4643D4C for ; Sat, 27 May 2006 01:13:21 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=27995 helo=nexii.panopticon) by mx3.mail.ru with esmtp id 1FjnMm-000OwQ-00; Sat, 27 May 2006 05:13:20 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id ACA6511443; Sat, 27 May 2006 05:17:45 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id BB6DC38C; Sat, 27 May 2006 05:14:34 +0400 (MSD) Date: Sat, 27 May 2006 05:14:34 +0400 From: Dmitry Marakasov To: Freddie Cash Message-ID: <20060527011434.GB52352@hades.panopticon> References: <37663.192.168.0.10.1148686196.squirrel@webmail.sd73.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <37663.192.168.0.10.1148686196.squirrel@webmail.sd73.bc.ca> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org Subject: Re: Good examples of not deleting custom config files/installing new config files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 01:13:25 -0000 * Freddie Cash (fcash@ocis.net) wrote: > Could someone point me to some ports that do a good job of not > deleting custom config files when you do updates? I'd like to Look at, for example, mail/mutt. Many ports handle configs in the same way. The trick is done by @exec and @unexec directives in pkg-plist, they are pretty self-explainable. This also works perfectly when installing from package. -- Best regards, Dmitry mailto:amdmi3@mail.ru