Date: Tue, 06 Aug 2013 17:28:45 -0400 From: "Thomas Laus" <lausts@acm.org> To: Ted Hatfield <ted@io-tx.com>, freebsd-stable@freebsd.org Subject: Re: FreeBSD-Update + Sendmail Message-ID: <52016A8D.14552.95D18@lausts.acm.org> In-Reply-To: <alpine.BSF.2.00.1308061113030.28510@io-tx.com> References: <5200FE0E.8506.5CB69E@lausts.acm.org>, <alpine.BSF.2.00.1308061113030.28510@io-tx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I have been updating my FreeBSD systems for many years by updating and > > building from source. For the FreeBSD 9.2 cycle, I decided to use > > freebsd-update for binary update instead. I use Sendmail + Cyrus-SASL and > > the freebsd-update process only installed a 'bare bones' binary. How do I > > compile just Sendmail from source so that it uses my /etc/make.conf for the > > smtp_auth components? Is there a freebsd-update.conf flag to perform this > > task? > > I too have been updating my systems by updating and building from source. To > recompile and install sendmail from the /usr/src tree you can run these > commands. > > cd /usr/src/lib/libsm; make clean; make obj; make depend; make > cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make > cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make > install > > This procedure will follow all the /etc/make.conf arguments. > I like the 'sendmail from ports' suggestion a little better. Going this route, I only need to make configuration changes to /etc/mail/mailer.conf once. All subsequent freebsd-update operations won't require rebuilding sendmail and it's tools. Any updates to the port version are covered by the normal port update system. Future updates to the port version only require a 'make restart' in the /etc/mail directory after reviewing my .mc file for any affected changes. Thanks for the alternate procedure. I'll save it for future reference and it may prove useful someday. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52016A8D.14552.95D18>