delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/16/04:19:25

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Wed, 16 Jan 2002 10:18:45 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: RFC: updated package wget-1.7.1-1
Message-ID: <20020116101845.B2015@cygbert.vinschen.de>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <3C44E014 DOT 447F9CFB AT hack DOT kampbjorn DOT com> <3C44E636 DOT 1030107 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
In-Reply-To: <3C44E636.1030107@ece.gatech.edu>
User-Agent: Mutt/1.3.22.1i

On Tue, Jan 15, 2002 at 09:32:22PM -0500, Charles Wilson wrote:
> It looks pretty good to me -- I rebuilt it from source right now and it 
> seems okay.  The *only* quibble I have is that the binary package 
> contains this file:
> 
> /etc/wgetrc
> 
> Since it is just a copy of /usr/doc/wget-1.7.1/sample.wgetrc, you should 
> probably just add some logic to your postinstall shell script:
> 
> if [ ! -f /etc/wgetrc ]; then
>   cp /usr/doc/wget-1.7.1/sample.wgetrc /etc/wgetrc
> fi
> 
> Of course, future versions must take care to change the 
> /usr/doc/wget-1.7.1/ path in that script...

I agree.  It's some months ago when somebody complained on the cygwin
mailing list that each new openssh version overwrites the config files
which has been changed by the user with so much love in detail...

It's actually better the package only installs new config files if
there don't exist old ones.  That's best handled in the postinstall
script.

I'm just still thinking about the following situation.

Sometimes a package changes the config file layout or some other
important detail has been removed or has been added.  How do we
inform the user?  Rpm packages often rename the old config file
to foo.conf.rpmsave or foo.conf.rpmold and the admin gets mail
about an important change in package foo.

We don't have the mail mechanism at hand so... I don't know.

Suggestions?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019