Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils |
6 |
|
6 |
|
7 |
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dnsdb perl mbx mbox X exiscan nis syslog spf srs gnutls sqlite dovecot-sasl radius domainkeys" |
7 |
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dnsdb perl mbx mbox X exiscan nis syslog spf srs gnutls sqlite dovecot-sasl radius domainkeys dkim" |
8 |
|
8 |
|
9 |
DESCRIPTION="A highly configurable, drop-in replacement for sendmail" |
9 |
DESCRIPTION="A highly configurable, drop-in replacement for sendmail" |
10 |
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2 mirror://gentoo/exiscan.conf" |
10 |
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2 mirror://gentoo/exiscan.conf" |
Lines 38-43
Link Here
|
38 |
sqlite? ( dev-db/sqlite ) |
38 |
sqlite? ( dev-db/sqlite ) |
39 |
radius? ( net-dialup/radiusclient ) |
39 |
radius? ( net-dialup/radiusclient ) |
40 |
domainkeys? ( mail-filter/libdomainkeys ) |
40 |
domainkeys? ( mail-filter/libdomainkeys ) |
|
|
41 |
dkim? ( >=mail-filter/libdkim-exim-1.0.15 ) |
41 |
" |
42 |
" |
42 |
# added X check for #57206 |
43 |
# added X check for #57206 |
43 |
RDEPEND="${DEPEND} |
44 |
RDEPEND="${DEPEND} |
Lines 50-55
Link Here
|
50 |
unpack ${A} |
51 |
unpack ${A} |
51 |
cd "${S}" |
52 |
cd "${S}" |
52 |
|
53 |
|
|
|
54 |
use domainkeys && use dkim && die "Building with domainkeys AND dkim not possible." |
55 |
|
53 |
local myconf |
56 |
local myconf |
54 |
|
57 |
|
55 |
epatch "${FILESDIR}"/exim-4.14-tail.patch |
58 |
epatch "${FILESDIR}"/exim-4.14-tail.patch |
Lines 225-230
Link Here
|
225 |
CFLAGS += -I/usr/include/libdomainkeys |
228 |
CFLAGS += -I/usr/include/libdomainkeys |
226 |
LDFLAGS += -lcrypto -ldomainkeys -L/usr/lib/libdomainkeys" >> Local/Makefile |
229 |
LDFLAGS += -lcrypto -ldomainkeys -L/usr/lib/libdomainkeys" >> Local/Makefile |
227 |
fi |
230 |
fi |
|
|
231 |
if use dkim; then |
232 |
echo " |
233 |
EXPERIMENTAL_DKIM=yes |
234 |
CFLAGS += -I/usr/include |
235 |
LDFLAGS += -ldkim -L/usr/lib" >> Local/Makefile |
236 |
fi |
228 |
|
237 |
|
229 |
# Use the "native" interface to the DBM library |
238 |
# Use the "native" interface to the DBM library |
230 |
echo "USE_DB=yes" >> "${S}"/Local/Makefile |
239 |
echo "USE_DB=yes" >> "${S}"/Local/Makefile |