diff options
author | Chris Collins <chrysalis@chrysalisnet.org> | 2023-11-09 07:03:17 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2023-11-09 07:03:17 +0000 |
commit | 2ce476eea4a37b1735316edc26a5d8df2bb3e48e (patch) | |
tree | e83e00bbe2b28cea477742d8249aa2955b3cf49e | |
parent | 2ce5d2837a86446f411b64e7f54746be62a35383 (diff) | |
download | ports-2ce476eea4a37b1735316edc26a5d8df2bb3e48e.tar.gz ports-2ce476eea4a37b1735316edc26a5d8df2bb3e48e.zip |
mail/exim: re-add support for Alternative SRS
PR: 266465
Approved by: fluffy (maintainer, implicit)
Author: Chris Collins <chrysalis@chrysalisnet.org>
-rw-r--r-- | mail/exim/Makefile | 4 | ||||
-rw-r--r-- | mail/exim/options | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index 6f6cdcdcb702..b0a55786060b 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -497,6 +497,10 @@ SEDLIST+= -e 's,XX_SPF_FLAGS_XX,,' \ .if ${PORT_OPTIONS:MSRS} SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DSUPPORT_SRS,' \ -e 's,XX_SRS_LIBS_XX,,' +.elif ${PORT_OPTIONS:MOLD_SRS} +LIB_DEPENDS+= libsrs_alt.so:mail/libsrs_alt +SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DEXPERIMENTAL_SRS_ALT,' \ + -e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs_alt,' .else SEDLIST+= -e 's,XX_SRS_FLAGS_XX,,' \ -e 's,XX_SRS_LIBS_XX,,' diff --git a/mail/exim/options b/mail/exim/options index d8da470bef74..2b47a03e9135 100644 --- a/mail/exim/options +++ b/mail/exim/options @@ -58,8 +58,9 @@ OPTIONS_RADIO_TLS= TLS GNUTLS TLS_DESC= TLS support OPTIONS_RADIO_LS= SA_EXIM LS_DESC= Local scan patch -OPTIONS_RADIO_SRSR= SRS +OPTIONS_RADIO_SRSR= SRS OLD_SRS SRSR_DESC= Sender Rewriting Scheme +OLD_SRS_DESC= Enable Alternative Sender Rewriting Scheme OPTIONS_RADIO= TLS LS SRSR OPTIONS_GROUP_AUTH= AUTH_CRAM_MD5 AUTH_DOVECOT AUTH_PLAINTEXT AUTH_RADIUS AUTH_SASL AUTH_SPA AUTH_TLS SASLAUTHD PAM PASSWD |