Problem with compiling sendmail+sasl

Greg Maruszeczka greg at grokking.org
Wed Sep 28 10:14:28 PDT 2005


<big snip>

> 
> But I have nothing under /usr/src. I have installed minimum of FreeBSD.
> 


But you originally said you cvsup'ed to get 5.4 which means you should 
have downloaded the source tree for the entire release as well as the 
ports. Unless you meant to say that you ONLY cvsup'd the ports tree.

Can you show us the contents of your cvsupfile? (or at least the 
commandline args you used to cvsup if you're not reading from a config 
file for this purpose)

For reference, I use a single "global" config file to get the source 
tree (userland + kernel) and ports tree (plus docs) in one pass.

This is what my /etc/cvsupfile contains:

*default        host=cvsup11.FreeBSD.org
*default        base=/usr
*default        prefix=/usr
*default        release=cvs
*default        tag=RELENG_5_4
*default        delete use-rel-suffix
src-all
*default        tag=.
doc-all
ports-all

Then, I just type this at the shell (I use bash) before putting it into 
a cronjob once I know it works:

cvsup -g -L 2 /etc/cvsupfile && portsdb -uF

As an alternative to my earlier suggestion regarding sendmail, I believe 
you could also disable the base sendmail and use the ports sendmail 
instead but that seems like more work to me. I don't offhand know what 
you'd additionally have to supply in /etc/make.conf and/or the make args 
for the ports build in order to do this properly. If you're set on doing 
it this way, maybe check the archives and/or post a new question 
specific to this (ie. "replacing base sendmail with sendmail from ports")

Otherwise, just check that you've got the right syntax for cvsup and get 
the source for the release you want. You'll likely need/want it later 
for doing updates anyway.

G




More information about the freebsd-questions mailing list