Subject: Re: "make install" lossage, redux
To: Frederick Bruckman <fb@enteract.com>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: current-users
Date: 12/29/1999 13:52:06
On Wed, Dec 29, 1999 at 05:48:18AM -0600, Frederick Bruckman wrote:
> On Wed, 29 Dec 1999, David Brownlee wrote:
>
> > On 28 Dec 1999, Bill Sommerfeld wrote:
> >
> > > Moreover, using the host's sendmail is not guaranteed to work
> > > (regardless of byte order issues) because the db format could may
> > > change from version to version.
> > >
> > > I think the best bet is to not attempt to do this at build time, but
> > > have it done as part of the install process, probably on the first
> > > boot of the system..
> >
> > Why not have a check in rc that automatically runs newaliases
> > if aliases.db is out of date (and sendmail is enabled).
>
> Sendmail does this already. You lose, apparently, only if there is no
> aliases.db at all, as in a new install. So all "make distribution" in
> .../sendmail has to do is "touch ${DESTDIR}/etc/aliases.db".
make sure its change date is earlier than /etc/aliases' change date.
-is