Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 08:09:26 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24625: update mail/sendmail (by maintainer)
Message-ID:  <200101250709.f0P79Qk22580@home.dinoex.sub.org>

next in thread | raw e-mail | index | archive | help

>Number:         24625
>Category:       ports
>Synopsis:       update mail/sendmail (by maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 24 23:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
privat
>Environment:

	tested on:
	FreeBSD 2.2.8-RELEASE i386
        FreeBSD 4.2-STABLE i386

>Description:

	New Build-Option:  SENDMAIL_WITH_SASL

>How-To-Repeat:
>Fix:

	apply the small patches.

diff sendmail/Makefile sendmail-8.11.2/Makefile
--- sendmail/Makefile	Sat Jan 13 18:18:29 2001
+++ sendmail-8.11.2/Makefile	Thu Jan 25 07:45:11 2001
@@ -22,6 +22,9 @@
 .if defined(SENDMAIL_WITH_TSL)
 USE_OPENSSL=	yes
 .endif
+.if defined(SENDMAIL_WITH_SASL)
+BUILD_DEPENDS=	${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
+.endif
 
 .if exists(${DESTDIR}/etc/mail/mailer.conf)
 pre-configure:
@@ -29,6 +32,10 @@
 		${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4
 .if defined(SENDMAIL_WITH_TSL)
 	${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4
+.endif
+.if defined(SENDMAIL_WITH_SASL)
+	${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
+		${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4
 .endif
 .else
 pre-configure:
diff sendmail/files/site.config.m4.sasl sendmail-8.11.2/files/site.config.m4.sasl
--- sendmail/files/site.config.m4.sasl	Thu Jan  1 01:00:00 1970
+++ sendmail-8.11.2/files/site.config.m4.sasl	Wed Jan 24 22:32:21 2001
@@ -0,0 +1,5 @@
+APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include/sasl')
+APPENDDEF(`conf_sendmail_ENVDEF', `-DDSASL')
+APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_UNSAFE_SASL')
+APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib')
+APPENDDEF(`conf_sendmail_LIBS', `-lsasl')

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101250709.f0P79Qk22580>