ports/51029: It is not possible to build sendmail from ports with smtps support

Andrey Beresovsky and at rsu.ru
Wed Apr 16 12:10:10 UTC 2003


>Number:         51029
>Category:       ports
>Synopsis:       It is not possible to build sendmail from ports with smtps support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 05:10:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Beresovsky
>Release:        FreeBSD 5.0-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD moon.cc.rsu.ru 5.0-RELEASE-p6


	
>Description:
	The current sendmail port (mail/sendmail) does not allow to build
	sendmail with smtps support (SSL but not STARTTLS). This mode is required
	by some MUA (ex. the only way to enable encryption in MS Outlook Express
	is to use smtps). Attached patch adds an option to build sendmail with smtps
	support.
>How-To-Repeat:
	
>Fix:

The following patch should be applied to Makefile:

--- Makefile    15 Apr 2003 19:40:30 -0000      1.70
+++ Makefile    16 Apr 2003 11:50:00 -0000
@@ -36,6 +36,15 @@
 # SENDMAIL_WITH_SASL2=yes
 # SENDMAIL_WITH_LDAP=yes
 # SENDMAIL_WITH_PICKY_HELO_CHECK=yes
+# SENDMAIL_WITH_SMTPS=yes
+
+.if defined(SENDMAIL_WITH_SMTPS)
+.if !defined(SENDMAIL_WITH_TLS) && !defined(WITH_TLS)
+.BEGIN:
+       @${ECHO_CMD} "DEPENDENCY NOTE: SENDMAIL_WITH_TLS will be enabled to support SENDMAIL_WITH_SMTPS"
+SENDMAIL_WITH_TLS=yes
+.endif
+.endif

 .if defined(SENDMAIL_WITH_LDAP)
 PKGNAMESUFFIX?=        -ldap
@@ -69,6 +78,9 @@
 .endif
 .if defined(SENDMAIL_WITH_LDAP)
 SITE+= ${FILESDIR}/site.config.m4.ldap
+.endif
+.if defined(SENDMAIL_WITH_SMTPS)
+SITE+=        ${FILESDIR}/site.config.m4.smtps
 .endif
 .if ! defined(SENDMAIL_WITHOUT_MILTER)
 SITE+= ${FILESDIR}/site.config.m4.milter

And the following text should be placed as files/site.config.m4.smtps:

APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SMTP_SSL')

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



More information about the freebsd-ports-bugs mailing list