summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-01-23 09:07:29 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-01-23 09:07:29 +0300
commitd443265be71f48512a075e74a9ef2cb08b00107f (patch)
treec07b81b4a7d5608d3ff8622eff6084450b3c407a
parenta72c662c858c8a32f5e03a6bcd961e90abb4ae35 (diff)
exim: build fix
-rw-r--r--mail-mta/exim/exim-scm.ebuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/mail-mta/exim/exim-scm.ebuild b/mail-mta/exim/exim-scm.ebuild
index b1baa80..552d94d 100644
--- a/mail-mta/exim/exim-scm.ebuild
+++ b/mail-mta/exim/exim-scm.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit eutils toolchain-funcs multilib pam systemd git-r3
-IUSE="dane dcc +dkim dlfunc dmarc +dnsdb dovecot-sasl dsn exiscan-acl gnutls ipv6 ldap libressl lmtp maildir mbx mysql nis pam perl pkcs11 postgres +prdr proxy radius redis sasl selinux spf sqlite srs ssl syslog tcpd tpda X elibc_glibc"
+IUSE="dane dcc +dkim dlfunc dmarc +dnsdb doc dovecot-sasl dsn exiscan-acl gnutls ipv6 ldap libressl lmtp maildir mbx mysql nis pam perl pkcs11 postgres +prdr proxy radius redis sasl selinux spf sqlite srs ssl syslog tcpd +tpda X elibc_glibc"
REQUIRED_USE="
dane? ( !gnutls )
dmarc? ( spf dkim )
@@ -58,6 +58,7 @@ COMMON_DEPEND=">=sys-apps/sed-4.0.5
sqlite? ( dev-db/sqlite )
radius? ( net-dialup/freeradius-client )
virtual/libiconv
+ elibc_glibc? ( net-libs/libnsl )
"
# added X check for #57206
DEPEND="${COMMON_DEPEND}
@@ -260,7 +261,6 @@ src_configure() {
if use exiscan-acl; then
cat >> Makefile <<- EOC
WITH_CONTENT_SCAN=yes
- WITH_OLD_DEMIME=yes
EOC
fi
@@ -280,6 +280,14 @@ src_configure() {
EOC
fi
+ # Transport post-delivery actions
+ if ! use tpda; then
+ # EVENT is enabled by default
+ cat >> Makefile <<- EOC
+ DISABLE_EVENT=yes
+ EOC
+ fi
+
# log to syslog
if use syslog; then
sed -i "s:LOG_FILE_PATH=/var/log/exim/exim_%s.log:LOG_FILE_PATH=syslog:" Makefile
@@ -358,7 +366,7 @@ src_configure() {
# Sender Policy Framework
if use spf; then
cat >> Makefile <<- EOC
- EXPERIMENTAL_SPF=yes
+ SUPPORT_SPF=yes
EXTRALIBS_EXIM += -lspf2
EOC
fi
@@ -379,17 +387,10 @@ src_configure() {
EOC
fi
- # Transport post-delivery actions
- if use tpda; then
- cat >> Makefile <<- EOC
- EXPERIMENTAL_EVENT=yes
- EOC
- fi
-
- # Delivery Sender Notifications
+ # Delivery Sender Notifications extra information in fail message
if use dsn; then
cat >> Makefile <<- EOC
- EXPERIMENTAL_DSN=yes
+ EXPERIMENTAL_DSN_INFO=yes
EOC
fi
@@ -515,8 +516,7 @@ pkg_postinst() {
einfo "configure DMARC, for usage see the documentation at "
einfo "experimental-spec.txt."
fi
- use tpda && einfo "TPDA/EVENT support is experimental"
- use dsn && einfo "DSN support is experimental"
+ use dsn && einfo "extra information in fail DSN message is experimental"
elog "The obsolete acl condition 'demime' is removed, the replacements"
elog "are the ACLs acl_smtp_mime and acl_not_smtp_mime"
}