Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 18:22:56 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Anton Voronin <anton@urc.ac.ru>
Cc:        kevlo@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: ports/25451: Update port: net/tas 1.0 -> 1.1
Message-ID:  <20010304182256.D71838@ringworld.oblivion.bg>
In-Reply-To: <3A9DF470.539FA064@urc.ac.ru>; from anton@urc.ac.ru on Thu, Mar 01, 2001 at 12:04:16PM %2B0500
References:  <200102281612.f1SGCLx62662@freefall.freebsd.org> <3A9DF470.539FA064@urc.ac.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 01, 2001 at 12:04:16PM +0500, Anton Voronin wrote:
> kevlo@FreeBSD.org wrote:
> 
> > Synopsis: Update port: net/tas 1.0 -> 1.1
> >
> > State-Changed-From-To: open->closed
> > State-Changed-By: kevlo
> > State-Changed-When: Wed Feb 28 08:11:40 PST 2001
> > State-Changed-Why:
> > Committed, thanks.
> > BTW, I fixed pkg-plist.
> 
> Well, I intentionally didn't mention *.conf files in pkg-plist so they
> wouldn't be erased on pkg_delete. For example, apache and other ports do the
> same but in more sophisticated way, comparing whether or not their conf files
> were modified. Is this the only accepted way to prevent conf files from
> deletion?

I think it's better to install *.conf files as *.conf.sample, so they
aren't picked up by the program upon startup, and may safely be removed/
updated across upgrades.  Then, you may put something in the pkg-message
letting the user know that a sample file has been installed; most of the
time, though, this is not even necessary (except for especially clueless
users ;)

G'luck,
Peter

-- 
If I had finished this sentence,

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?20010304182256.D71838>