From owner-freebsd-ports@FreeBSD.ORG Tue Apr 1 08:59:01 2003 Return-Path: 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 8760937B401 for ; Tue, 1 Apr 2003 08:59:01 -0800 (PST) Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BD9443FA3 for ; Tue, 1 Apr 2003 08:58:56 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.176.5]) by tomts22-srv.bellnexxia.netESMTP <20030401165855.BJNY25567.tomts22-srv.bellnexxia.net@gabby.gsicomp.on.ca> for ; Tue, 1 Apr 2003 11:58:55 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h31GtqiG037209 for ; Tue, 1 Apr 2003 11:55:52 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <006101c2f86f$c97f59e0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: References: <20030401010940.GA19343@gattaca.yadt.co.uk> <20030401131804.GC12922@gattaca.yadt.co.uk> Date: Tue, 1 Apr 2003 11:57:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: INN ports deinstall config files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 16:59:01 -0000 ----- Original Message ----- From: "David Taylor" To: Sent: Tuesday, April 01, 2003 8:18 AM Subject: Re: INN ports deinstall config files > On Tue, 01 Apr 2003, Dag-Erling Smørgrav wrote: > > David Taylor writes: > > > I've noticed (unfortunately) that running ``portupgrade inn'' does bad > > > things(tm) to installed config files. They get deleted in the pkg_delete, > > > then blank files are installed by inn. > > > > pkg_delete isn't supposed to delete files that have been modified > > after the port was installed. If it does, that's a bug. > > This wouldn't be a problem if the INN port installed sample configuration files with "sample" extensions. That way a pkg_delete or portupgrade would leave the local customized configurations intact. The Apache ports do this (among many others) and is the preferred method of installing config files, according to the Porter's Handbook. -- Matt Emmerton