Subject: Re: "make install" lossage, redux
To: Bill Sommerfeld <email@example.com>
From: Ignatios Souvatzis <firstname.lastname@example.org>
Date: 12/29/1999 13:51:20
On Tue, Dec 28, 1999 at 10:46:04AM -0500, Bill Sommerfeld wrote:
> Hubert Feyrer <email@example.com> writes:
> > How about:
> > $DESTDIR/usr/libexec/sendmail/sendmail \
> > -O AliasFile=$DESTDIR/etc/aliases \
> > -C $DESTDIR/etc/sendmail.cf \
> > -bi
> This still won't work for cross-compiles, including cross-version
> cross-compiles, since the sendmail in $DESTDIR is a sendmail for the
> compile's target, not the host.
> 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..
I suspect the most sane method would be to touch the .db file in a way that
it is out-of-date wrt. the source version, and let sendmail rebuild it at its