sendmail upgrade 8.12.10

Ion-Mihai Tetcu itetcu at apropo.ro
Thu Oct 2 05:17:18 PDT 2003


On Wed, 1 Oct 2003 14:07:07 -0400 (EDT)
<jhampton at sscglobal.net> wrote:

> I recently taken over admin duties for a FreeBSD server running
> sendmail and bind. I need to upgrade sendmail due to the security
> bug, a"pkg_versions -v" shows me that the previous guy had been
> installing the sendmail-sasl ports. So I updated my ports and
> verified I had the current version. First I tried a "make install"
> from/usr/ports/mail/sendmail-sasl, it seemed to go fine but did not
> upgrade to version 8.12.10. 

mail/sendmail-sasl/Makefile only sets some variables.

SENDMAIL_WITH_TLS=      yes
.if defined(SENDMAIL_WITH_SUID)
# only for compatibility with sendmail 8.11.x
SENDMAIL_WITH_SASL=     yes
SENDMAIL_WITH_SFIO=     yes
SENDMAIL_WITH_MILTER=   yes
MASTERDIR?=     ${.CURDIR}/../sendmail-old
.else
SENDMAIL_WITH_SASL2=    yes
MASTERDIR?=     ${.CURDIR}/../sendmail
.endif

and after it includes 
.include "${MASTERDIR}/Makefile"

So it should work. Did you do a make clean in mail/sendmail-sasl and mail/sendmail before ?

> Next I tried to update from
> /usr/ports/mail/sendmail using the "make install SENDMAIL_WITH_SASL"
> command, I got errors and it would not complete install. Any
> suggestions?

1. Use sysutils/portupgrade - it will greatly simplify your work
2. Without the errors, no.
3. make -DSENDMAIL_WITH_SASL clean all install clean. From what I know you should pass the boolean options using -D.

-- 
IOnut
FreeBSD unregistered ;) user


More information about the freebsd-newbies mailing list