aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.sbin/sendmail
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2000-10-10 18:15:41 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2000-10-10 18:15:41 +0000
commit0c2b976cf8a235ab3b529ae86bdccb55a354aa91 (patch)
tree61993e9b208e6fb8bdfc442a18e2001913df7d9f /secure/usr.sbin/sendmail
parent8108227d7fec0468a93815d9d5a4eccf9603c05c (diff)
downloadsrc-0c2b976cf8a235ab3b529ae86bdccb55a354aa91.tar.gz
src-0c2b976cf8a235ab3b529ae86bdccb55a354aa91.zip
Build sendmail with STARTTLS support unless NO_OPENSSL is set.
Notes
Notes: svn path=/head/; revision=66944
Diffstat (limited to 'secure/usr.sbin/sendmail')
-rw-r--r--secure/usr.sbin/sendmail/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/secure/usr.sbin/sendmail/Makefile b/secure/usr.sbin/sendmail/Makefile
index d6fa29247535..539e512b9a00 100644
--- a/secure/usr.sbin/sendmail/Makefile
+++ b/secure/usr.sbin/sendmail/Makefile
@@ -44,6 +44,13 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
DPADD+= ${LIBSMUTIL}
LDADD+= ${LIBSMUTIL}
+.if !defined(NO_OPENSSL)
+# STARTTLS support
+CFLAGS+=-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK
+LDADD+= -lssl -lcrypto
+DPADD+= ${LIBSSL} ${LIBCRYPTO}
+.endif
+
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
LDFLAGS+=${SENDMAIL_LDFLAGS}