Date: Tue, 1 Apr 2003 11:57:31 -0500 From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: <ports@freebsd.org> Subject: Re: INN ports deinstall config files Message-ID: <006101c2f86f$c97f59e0$1200a8c0@gsicomp.on.ca> References: <20030401010940.GA19343@gattaca.yadt.co.uk><xzpr88meezk.fsf@flood.ping.uio.no> <20030401131804.GC12922@gattaca.yadt.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "David Taylor" <davidt@yadt.co.uk> To: <ports@freebsd.org> 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 <davidt@yadt.co.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006101c2f86f$c97f59e0$1200a8c0>