mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Build sendmail with STARTTLS support unless NO_OPENSSL is set.
This commit is contained in:
parent
8108227d7f
commit
0c2b976cf8
2 changed files with 14 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue