Skip to content

Commit

Permalink
mail/sendmail-devel: Enable checking for "bare LF" in message
Browse files Browse the repository at this point in the history
Activate this in "access" with
Srv_features:   g
  • Loading branch information
Dirk Meyer authored and Dirk Meyer committed Dec 28, 2023
1 parent b534a3d commit ec5f4f8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions mail/sendmail-devel/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sendmail
PORTVERSION= 8.18.0.2
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/snapshots/
PKGNAMESUFFIX?= -devel${PKGNAMESUFFIX2}
Expand Down Expand Up @@ -48,9 +48,10 @@ MILTER_SOVER?= 6

OPTIONS_DEFINE?= SHMEM SEM LA NIS IPV6 TLS DANE SASL SASLAUTHD LDAP \
BDB GDBM SOCKETMAP CYRUSLOOKUP BLACKLISTD SMTPUTF8 \
PICKY_HELO_CHECK MILTER MTA_STS TLS_CERT_CHAIN DOCS
PICKY_HELO_CHECK BARELF MILTER MTA_STS \
TLS_CERT_CHAIN DOCS
OPTIONS_DEFAULT?= SHMEM SEM LA NIS TLS DANE SASL SASLAUTHD BDB1 \
BLACKLISTD PICKY_HELO_CHECK MILTER
BLACKLISTD PICKY_HELO_CHECK BARELF MILTER
NO_OPTIONS_SORT=yes
SHMEM_DESC= System V shared memory support
LA_DESC= load averages support
Expand All @@ -63,6 +64,7 @@ SOCKETMAP_DESC= Enable socketmap feature
BLACKLISTD_DESC= Enable blacklistd support
CYRUSLOOKUP_DESC= Enable cyruslookup feature
PICKY_HELO_CHECK_DESC= Enable picky HELO check
BARELF_DESC= Enable checking for "bare LF" in message
MILTER_DESC= Enable milter support
SMTPUTF8_DESC= Enable unicode address support
MTA_STS_DESC= Enable MTA-STS support (option SOCKETMAP and TLS needed)
Expand Down Expand Up @@ -197,6 +199,11 @@ do-configure:
'APPENDDEF(`conf_sendmail_ENVDEF'\'', `-DPICKY_HELO_CHECK'\'')' \
>> ${WCONF}/site.config.m4
.endif
.if ${PORT_OPTIONS:MBARELF}
${ECHO_CMD} \
'APPENDDEF(`conf_sendmail_ENVDEF'\'', `-D_FFR_BARE_LF'\'')' \
>> ${WCONF}/site.config.m4
.endif
.if ! ${PORT_OPTIONS:MSHMEM}
${ECHO_CMD} \
'APPENDDEF(`confENVDEF'\'', `-DSM_CONF_SHM=0'\'')' \
Expand Down

0 comments on commit ec5f4f8

Please sign in to comment.