summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2000-10-10 18:15:41 +0000
committergshapiro <gshapiro@FreeBSD.org>2000-10-10 18:15:41 +0000
commita8f95eb1e97ade0c01d872753cd7d96541c6bc7c (patch)
treeab01910f82fa863cba3133c30e9398c3976ca1c5 /secure
parent4e71ee6c3de22df932c6cc7153d1f99272c9e132 (diff)
downloadFreeBSD-src-a8f95eb1e97ade0c01d872753cd7d96541c6bc7c.zip
FreeBSD-src-a8f95eb1e97ade0c01d872753cd7d96541c6bc7c.tar.gz
Build sendmail with STARTTLS support unless NO_OPENSSL is set.
Diffstat (limited to 'secure')
-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 d6fa2924..539e512 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}
OpenPOWER on IntegriCloud