Portage is a package management system used by Gentoo Linux
# ChangeLog for mail-mta/exim
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.130 2008/07/16 16:34:18 chtekk Exp $
16 Jul 2008; Luca Longinotti
exim-4.69-r1.ebuild:
Dep on PostgreSQL libs only.
21 May 2008; Tiziano Müller
exim-4.69-r1.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
14 May 2008; Diego Pettenò
Also old revision.
14 May 2008; Diego Pettenò
Depend on virtual/pam as the code builds fine with OpenPAM.
05 May 2008; Colin Morey
+files/exim-4.69-r1.27021.patch,
+files/exim-4.69-r1.boolean_redefine_protect.152706.patch,
exim-4.69-r1.ebuild:
Patches added from:-
#27021 - mail-mta/exim - Mail filtering and maildir enhancements for exim.conf
#152706 - mail-mta/exim - use shared libpcre + other fixed
24 Apr 2008; Raúl Porcel
-files/digest-exim-4.69, -files/digest-exim-4.69-r1:
Remove digests
09 Apr 2008; Colin Morey
Clearing out redundant IUSE, moving system_filter.exim to distfiles rather
than /files (bug #120459)
30 Mar 2008; Colin Morey
Retrying removal of insecure version
20 Mar 2008; Colin Morey
Removing old, insecure stable version.
07 Mar 2008; Steve Dibb
amd64 stable, bug 198379
07 Mar 2008; Jeroen Roovers
Stable for HPPA (bug #198379).
06 Mar 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #198379
06 Mar 2008; Christian Faulhammer
stable x86, security bug 198379
05 Mar 2008; Brent Baude
Marking exim-4.69 ppc64 for bug 198379
05 Mar 2008; Tobias Scherbaum
ppc stable, bug #198379
*exim-4.69-r1 (04 Feb 2008)
04 Feb 2008; Colin Morey
+exim-4.69-r1.ebuild:
New ebuild with lots of little fixes, once this has been in for a couple of
weeks, the old versions can be removed. exim-4.30-conf patch was just to
cover a default syslog logging location, this is no-longer relevant (came in
with bug #27206).
*exim-4.69 (13 Jan 2008)
13 Jan 2008; Colin Morey
-files/exim-4.10-gentoo.diff, -files/exim-4.50-srs_update-1.0.patch,
-files/exim-4.66-openssl.patch, -files/configure, +exim-4.69.ebuild:
General tidy up of files due to space consumption. new rev bump for security
bug #198379
02 Dec 2007; Colin Morey
-exim-4.62.ebuild, -exim-4.66.ebuild, -exim-4.67.ebuild,
-exim-4.67-r1.ebuild, -exim-4.67-r2.ebuild:
Removing old ebuilds part of clean up for
16 Nov 2007; nixnut
Stable on ppc wrt bug 198489
16 Nov 2007; Steve Dibb
amd64 stable, bug 198489
14 Nov 2007; Jeroen Roovers
Stable for HPPA (bug #198489). Fixed many quoting issues.
11 Nov 2007; Raúl Porcel
alpha/ia64/sparc stable wrt #198489
10 Nov 2007; Dawid Węgliński
Stable on x86 (bug #198489)
10 Nov 2007; Markus Rothe
Stable on ppc64; bug #198489
28 Oct 2007; Christian Heim
exim-4.62.ebuild, exim-4.66.ebuild, exim-4.67.ebuild, exim-4.67-r1.ebuild,
exim-4.67-r2.ebuild, exim-4.68.ebuild:
Include virtual/logger in RDEPEND, as the initscript already specifies 'need
logger'.
15 Oct 2007; Markus Rothe
Stable on ppc64
*exim-4.68 (04 Sep 2007)
04 Sep 2007; Colin Morey
Version Bump to 4.68
09 Aug 2007; Raúl Porcel
alpha stable
30 Jul 2007; Colin Morey
Re-instating missing archs that were accidently dropped in the new revision. #176487
25 Jul 2007; Raúl Porcel
Re-add ~alpha wrt #176487
22 Jul 2007; Donnie Berkholz
exim-4.62.ebuild, exim-4.66.ebuild, exim-4.67.ebuild, exim-4.67-r1.ebuild,
exim-4.67-r2.ebuild:
Drop virtual/x11 references.
*exim-4.67-r2 (19 Jul 2007)
19 Jul 2007; Colin Morey
Fixes for bugs 180894 (Broken symlinks) 184697 (missing -lcrypto when
building with domainkeys)
30 Jun 2007; Raúl Porcel
Add ~alpha wrt #176487
17 Jun 2007; Tobias Scherbaum
Added ~ppc, bug #176487
16 Jun 2007; Christoph Mende
Added ~amd64 wrt bug 176487
*exim-4.67-r1 (31 May 2007)
31 May 2007; Colin Morey
new ebuild provides fixes for #82772, moved synlinks to the negative side of
an if use mailwrapper.
03 May 2007; Colin Morey
files/exim.rc6:
files/exim-rc6 - fix for Bug 116196, add reload option
files/auth_conf.sub - Fix for Bug 150695, escape colons
Keyworded x86
07 May 2007; Jeroen Roovers
Marked ~hppa (bug #176487).
03 May 2007; Gustavo Zacarias
Keyworded ~sparc wrt #176487
01 May 2007; Markus Rothe
Added ~ppc64; bug #176487
01 May 2007; Raúl Porcel
Add ~ia64 wrt bug 176487
28 Apr 2007; Sven Wegener
exim-4.61.ebuild, exim-4.62.ebuild, exim-4.63.ebuild, exim-4.66.ebuild,
exim-4.67.ebuild:
Fix *initd, *confd and *envd calls (#17388, #174266)
21 Apr 2007; Raúl Porcel
ia64 stable
*exim-4.67 (18 Apr 2007)
18 Apr 2007; Colin Morey
Version Bump (174927), adding radius support for 103708, domainkeys support
for 111729
07 Apr 2007; Christian Faulhammer
exim-4.61.ebuild, exim-4.62.ebuild, exim-4.63.ebuild:
add libtasn1 as dependency for USE=gnutls, as reported in bug 143519 by zmedico
19 Mar 2007; Bryan Østergaard
Remove pfeifer from metadata.xml due to retirement.
18 Mar 2007; Marius Mauch
exim-4.61.ebuild, exim-4.62.ebuild, exim-4.63.ebuild:
Replacing einfo with elog
*exim-4.66 (17 Mar 2007)
17 Mar 2007; Colin Morey
+files/exim-4.66-openssl.patch, +exim-4.66.ebuild:
Version bump, also adding dovecot-sasl suport and openssl patch from
http://bugs.gentoo.org/show_bug.cgi?id=161572
08 Feb 2007; Diego Pettenò
Regenerate digest in Manifest2 format.
20 Dec 2006; Colin Morey
adding fixes for 128105 (adding 3 lines to mailer.conf)
23 Nov 2006; Francesco Riosa
exim-4.61.ebuild, exim-4.62.ebuild, exim-4.63.ebuild:
dev-db/mysql => virtual/mysql
21 Nov 2006; Michael Hanselmann
Stable on hppa, ppc.
11 Oct 2006; Markus Rothe
Stable on ppc64
10 Oct 2006; Gustavo Zacarias
Stable on sparc
*exim-4.63 (27 Sep 2006)
27 Sep 2006; Colin Morey
+exim-4.63.ebuild:
Version Bump, and Stabilisation
*exim-4.62 (12 Jun 2006)
12 Jun 2006; Colin Morey
-exim-4.50-r999.ebuild, -exim-4.54.ebuild, -exim-4.60.ebuild,
+exim-4.62.ebuild:
New Version Bump, #132009
Cleaning out old files for #100369, #120459
29 May 2006; Simon Stelling
stable on amd64
17 May 2006; Fernando J. Pereda
Stable on alpha.
20 Apr 2006; Colin Morey
Version bump, adding 4.61
11 Apr 2006; Guy Martin
Stable on hppa.
07 Apr 2006; Tobias Scherbaum
ppc stable, bug #127541
03 Apr 2006; Gustavo Zacarias
Stable on sparc wrt #127541
29 Mar 2006; Markus Rothe
Stable on ppc64; bug #127541
29 Mar 2006; Colin Morey
Marking 4.60-r1 stable for x86. #127541
28 Mar 2006; Aron Griffis
Mark 4.60-r1 stable on ia64. #127541
*exim-4.60-r1 (05 Mar 2006)
05 Mar 2006; Colin Morey
-files/exim-4.33-r1-header-syntax.patch,
-files/exim-4.43-r2-host_aton-buff.patch,
Second stage, removal of old patches.
05 Mar 2006; Colin Morey
-exim-4.50-r1.ebuild, -exim-4.50-r2.ebuild, -exim-4.50.ebuild,
-exim-4.52.ebuild, +exim-4.60-r1.ebuild:
First stage of general tidy-up, getting rid of old versions of the ebuild
New version fixes #120229 (wrong processing of sqlite flag),
#100369 (exiscan move to mirrors), #120459 (exim has a large FILESDIR)
#110234 (Add support for AUTH_CYRUS_SASL)
20 Feb 2006; Markus Rothe
Stable on ppc64
26 Jan 2006; Aron Griffis
Mark 4.60 stable on ia64 #120465
25 Jan 2006; Marcelo Goes
Make modular X happy for bug 119895. Thanks to Igor V. Kovalenko
04 Dec 2005; Tom Gall
stable on ppc64
*exim-4.60 (28 Nov 2005)
28 Nov 2005; Colin Morey
New Version bump, with fixes for bugs, 101948 110741 and 110234
28 Oct 2005; Gustavo Zacarias
Stable on sparc wrt #103894
27 Oct 2005; Simon Stelling
marked stable on amd64 wrt bug 103894
24 Oct 2005; Marcin Kryczek
stable on x86
24 Oct 2005; Michael Hanselmann
Stable on hppa, ppc.
24 Oct 2005; Fernando J. Pereda
stable on alpha wrt bug #103894
21 Oct 2005; Simon Stelling
added ~amd64 keyword
20 Oct 2005; Colin Morey
Fix for bug #54909
16 Oct 2005; Fernando J. Pereda
marked ~alpha as per bug #103894
16 Oct 2005; Jason Wever
Added ~sparc keyword as it keeps getting dropped from this package :(
15 Oct 2005; Tom Gall
added ~ppc64 bug#109362
13 Oct 2005; Rene Nussbaumer
Unstable on hppa. See bug #103894.
10 Oct 2005; Colin Morey
fix to Local/Makefile sed
09 Oct 2005; Colin Morey
missing DEPEND fix bug #108605
02 Oct 2005; Jason Wever
Added ~sparc keyword.
*exim-4.54 (08 Oct 2005)
08 Oct 2005; Colin Morey
New exim revision, and fix for bug #77996 (EXIM GNUTLS support addition)
18 Aug 2005; Michael Hanselmann
Stable on ppc.
09 Aug 2005; David Holm
Readded to ~ppc. Please don't remove it without filing a proper bug report.
07 Aug 2005; Fernando J. Pereda
stable on alpha
30 Jul 2005; Colin Morey
Version bump, with a requirement on an updated version of libspf2( see bug
115200) that fixes bug 58282.
15 Jul 2005; David Holm
Added to ~ppc.
*exim-4.50-r999 (11 Jul 2005)
11 Jul 2005; Andrej Kacian
+exim-4.50-r999.ebuild:
Committed a mailer-config aware ebuild, to be masked until all other MTAs
are ready to be unmasked all at once. Bug #97657.
05 Jul 2005; Rene Nussbaumer
Stable on hppa.
02 Jul 2005; Bryan Østergaard
Add ~alpha keyword.
26 Jun 2005; Michael Hanselmann
Readded to ~ppc. Please don't drop keywords!
20 Jun 2005; Rene Nussbaumer
Added to ~hppa.
12 Jun 2005; Colin Morey
Bumping to stable, I've had no bugs posted re this version.
10 May 2005; Jay Pfeifer
Bring forward ~amd64 from 4.43 stuff.
Been running 4.50-r1 on 4 different amd64 systems for about 6 weeks now.
*exim-4.50-r1 (08 Mar 2005)
08 Mar 2005; Colin Morey
-exim-4.34-r1.ebuild, -exim-4.34.ebuild, -exim-4.40.ebuild,
-exim-4.41.ebuild, -exim-4.42.ebuild, -exim-4.43-r1.ebuild,
-exim-4.43.ebuild, +exim-4.50-r1.ebuild:
Bug fixes for exiscan incorporation into mainstream (patch was out of
order).
Clean up of old, insecure versions, every arch should be represented by at
least one ebuild.
03 Mar 2005; Colin Morey
New Version and bug fix for #79743
20 Feb 2005; Aron Griffis
stable on ia64 #76893
27 Jan 2005; Andrej Kacian
Added "use antivirus" to initscript depend().
12 Jan 2005; Colin Morey
Bumping to stable.
10 Jan 2005; Tom Martin
Stable on amd64 for security bug 76893.
*exim-4.43-r2 (10 Jan 2005)
10 Jan 2005; Guy Martin
Stable on hppa (#76893).
08 Jan 2005; Colin Morey
exim-4.43.ebuild:
Added "syslog" USE flag, enables the ability to define syslog as the default
log path, rather than /var/log/exim/exim_%s.log
08 Jan 2005; Colin Morey
exim-4.43.ebuild:
Added optional explict perl dependancy see bug #46778
08 Jan 2005; Colin Morey
exim-4.43.ebuild:
Added Security path (host_aton) for bug 76893 Added dlopen patch for sa-exim
bug #47106 Removed wildlsearch USE flag, and added nis USE flag, and passwd
lookups, bug #51257. Updated exim.rc6 to stop exim using the pidfile, rather
than exec.
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
*exim-4.43-r1 (28 Dec 2004)
28 Dec 2004; Andrej Kacian
Fixed zcat location in Local/Makefile. Patch by Martin Hierling
04 Dec 2004; Tom Martin
Stable on amd64.
11 Nov 2004; Aron Griffis
add ~ia64
19 Oct 2004; Dylan Carlson
exim-4.43.ebuild:
KEYWORDS ~amd64 to close bug 61163.
10 Oct 2004; Bryan Østergaard
Stable on alpha.
08 Oct 2004; Guy Martin
Marked stable on hppa.
*exim-4.43 (07 Oct 2004)
07 Oct 2004; Colin Morey
+exim-4.43.ebuild:
New Version Bump and Bump of 4.42 to stable.
04 Oct 2004; Bryan Østergaard
Keyword ~alpha.
05 Sep 2004; Guy Martin
exim-4.42.ebuild:
Exim 4.41 stable on hppa and 4.42 ~hppa.
31 Aug 2004; Sven Wegener
Fixed digest.
*exim-4.42 (30 Aug 2004)
30 Aug 2004; Colin Morey
-exim-4.12.ebuild, -exim-4.14.ebuild, -exim-4.20-r1.ebuild,
-exim-4.20-r2.ebuild, -exim-4.20.ebuild, -exim-4.21.ebuild,
-exim-4.22.ebuild, -exim-4.24-r1.ebuild, -exim-4.24-r2.ebuild,
-exim-4.24-r3.ebuild, -exim-4.24.ebuild, -exim-4.30-r1.ebuild,
-exim-4.30.ebuild, -exim-4.31.ebuild, -exim-4.32-r1.ebuild,
-exim-4.32.ebuild, -exim-4.33.ebuild, exim-4.41.ebuild, +exim-4.42.ebuild:
Pruned out old, vulnerable versions (bug #50217).
*exim-4.42 (30 Aug 2004)
30 Aug 2004; Colin Morey
+exim-4.42.ebuild:
Version bump to 4.42 and stablization of exim-4.41.ebuild
*exim-4.41 (22 Jul 2004)
22 Jul 2004; Colin Morey
Revision Bump.
*exim-4.40 (18 Jul 2004)
18 Jul 2004; Colin Morey
New Exim 4.40 ebuild, fixes bugs 57186 (exim builds eximon.bin but doesn't use
it), 57206 ( No build time dependancy on X if USE="X"), 28665 (mail/nailx
/usr/bin/mail clash).
01 Jul 2004; Jeremy Huddleston
virtual/glibc -> virtual/libc
11 Jun 2004; Grant Goodyear
Marking stable on all arch's to fix the raft of
inconsistent-mailwrapper bugs.
*exim-4.34-r1 (30 May 2004)
30 May 2004; Grant Goodyear
exim-4.24-r3.ebuild, exim-4.30-r1.ebuild, exim-4.30.ebuild,
exim-4.31.ebuild, exim-4.32-r1.ebuild, exim-4.32.ebuild,
exim-4.33-r1.ebuild, exim-4.33.ebuild, +exim-4.34-r1.ebuild,
exim-4.34.ebuild:
New revision w/ "mailwrapper" as an optional dep.
Removed mailwrapper as a dep from a number of packages where the
package was not, in fact, actually using mailwrapper. (In fact,
the package was clobbering /usr/sbin/sendmail w/ a symlink.)
In the masked ebuild I also removed the "maildir" use flag, instead
keying on ! mbox. We're going to remove maildir as a USE flag soon.
*exim-4.24-r2 (29 May 2004)
29 May 2004; Robin H. Johnson
exim-4.12.ebuild, exim-4.14.ebuild, exim-4.20-r1.ebuild,
exim-4.20-r2.ebuild, exim-4.20.ebuild, exim-4.21.ebuild, exim-4.22.ebuild,
exim-4.24-r1.ebuild, exim-4.24-r2.ebuild, exim-4.24-r3.ebuild,
exim-4.24.ebuild, exim-4.30-r1.ebuild, exim-4.30.ebuild, exim-4.31.ebuild,
exim-4.32-r1.ebuild, exim-4.32.ebuild, exim-4.33-r1.ebuild,
exim-4.33.ebuild, exim-4.34.ebuild, metadata.xml, files/auth_conf.sub,
files/configure, files/exim-4.10-gentoo.diff, files/exim-4.14-tail.patch,
files/exim-4.20-maildir.patch, files/exim-4.30-conf.patch,
files/exim-4.33-r1-header-syntax.patch, files/exim.confd, files/exim.rc6,
files/exiscan.conf, files/mailer.conf, files/pam.d-exim,
files/system_filter.exim:
Moved from net-mail/exim to mail-mta/exim.
14 May 2004; Luca Barbato
Marked ppc
13 May 2004; Colin Morey
Bumping 4.34 to stable
11 May 2004; Guy Martin
Marked stable on hppa.
11 May 2004; Bryan Østergaard
Stable on alpha, bug #50217.
11 May 2004; Jon Portnoy
AMD64 keywords per security bug.
*exim-4.34 (10 May 2004)
10 May 2004; Colin Morey
Version bump, should resolve bug #50217
*exim-4.33-r1 (09 May 2004)
09 May 2004; Colin Morey
Security bump.
*exim-4.33 (06 May 2004)
06 May 2004; Colin Morey
Version bump, now using .bz2 source
02 May 2004; Colin Morey
Bumping to Stable. Latest exiscan-acl patch
*exim-4.32-r1 (28 Apr 2004)
28 Apr 2004; Colin Morey
Bump of exiscan-acl patch
27 Apr 2004; Aron Griffis
exim-4.14.ebuild, exim-4.20-r1.ebuild, exim-4.20-r2.ebuild,
exim-4.20.ebuild, exim-4.21.ebuild, exim-4.22.ebuild, exim-4.24-r1.ebuild,
exim-4.24-r2.ebuild, exim-4.24-r3.ebuild, exim-4.24.ebuild,
exim-4.30-r1.ebuild, exim-4.30.ebuild, exim-4.31.ebuild, exim-4.32.ebuild:
Add inherit eutils
*exim-4.32 (24 Apr 2004)
24 Apr 2004; Colin Morey
exim-4.32.ebuild, metadata.xml:
Version bump, also fixes the following :
# Includes Typo fix for bug 47106
# enable optional exim_monitor support via X use flag bug #46778
# To fix bug 41196 (ipv6 breakage)
24 Apr 2004; Colin Morey
metadata.xml:
Bumping exim-4.31 to stable
*exim-4.30-r1 (30 Mar 2004)
30 Mar 2004; Colin Morey
provides fixes for, #40358 #28665 #27206
*exim-4.31 (30 Mar 2004)
30 Mar 2004; Colin Morey
Version Bump, also provides fixes for, #40358 #28665 #27206
*exim-4.30 (29 Mar 2004)
29 Mar 2004; Jay Pfeifer
Version bump. Closes bug #36486.
*exim-4.24-r3 (23 Mar 2004)
23 Mar 2004; Grant Goodyear
files/mailer.conf:
New revision that supports mailwrapper.
14 Mar 2004; Tom Gall
exim-4.24-r2.ebuild:
remove ppc64 for now
*exim-4.24-r2 (06 Mar 2004)
06 Mar 2004; Kurt Lieber
change to allow extra LDFLAGS to be passed to exim
18 Jan 2004; Martin Holzer
adding provide mta. Closes #34544.
14 Jan 2004; Aron Griffis
add ~alpha (bug 21240)
14 Dec 2003; Lars Weiler
Make stable on ppc
*exim-4.24-r1 (07 Nov 2003)
07 Nov 2003; Kurt Lieber
minor change to fix 32814. if the original ebuild emerged successfully for
you, there is no need to install this version.
05 Nov 2003; Kurt Lieber
exim-4.24.ebuild:
fixed #29881. thanks to Marcin Jurczuk
*exim-4.24 (05 Nov 2003)
05 Nov 2003; Kurt Lieber
version bump
21 Oct 2003; Tavis Ormandy
adding ~alpha keyword
*exim-4.22 (18 Aug 2003)
18 Aug 2003; Nick Hadaway
Upstream bug fixes for ipv6 and a compile warning among others.
No ebuild changes.
*exim-4.21 (17 Aug 2003)
17 Aug 2003; Nick Hadaway
exiscan support has been deprecated. exiscan-acl is still around
though. ipv6 support has been added. 4.21 contains a patch for a
recently announced security flaw.
*exim-4.20-r2 (16 Aug 2003)
16 Aug 2003; Nick Hadaway
Added USE_DB=yes to ${S}/Local/Makefile so exim uses the "native"
dbm interface. This Should resolve bug #25181.
18 Jul 2003; Olivier Crete
exim-4.20-r1.ebuild, files/exim-4.14-tail.patch:
Posixify tail and add amd64
08 Jul 2003; Todd Berman
exim-4.14.ebuild, exim-4.20-r1.ebuild, exim-4.20.ebuild:
Updating the mailbase RDEPEND.
*exim-4.20-r1 (27 Jun 2003)
30 Jun 2003; Guy Martin
Added hppa to KEYWORDS.
27 Jun 2003; Todd Berman
files/exim-4.20-maildir.patch:
Great fixup by srcerer
logging to /var/log/exim, maildir support via USE, exiscan and exiscan-acl
also follow maildir USE variable, assorted other small fixed and closed bugs
(#21513, #21480, #21302)
12 Jun 2003;
add Header
12 Jun 2003;
add Header
*exim-4.20 (10 Jun 2003)
10 Jun 2003; Jack Morgan
Added new edbuild. Includes exiscan-acl support. Thanks to Tim Schafer
Closes bug #21302
*exim-4.14 (30 May 2003)
30 May 2003; Jack Morgan
Updates exiscan, closes bug #20613
*exim-4.12 (28 Jan 2003)
25 Apr 2003; Martin Holzer
fixed wrong sed state. Closes #19886.
12 Apr 2003; Seemant Kulleen
exim-4.12.ebuild:
added symlinks for rsmtp and rmail, closing bug #19126 by Stefan Fo"rster
25 Mar 2003; Seemant Kulleen
removed suid bit on /etc/conf.d/exim thanks to: Benjamin Podszun (Blafasel @
irc)
07 Feb 2003; Nick Hadaway
Marked stable for x86.
28 Jan 2003; Nick Hadaway
files/digest-exim-4.12 :
Version bump. Also bumped exiscan to 4.12-21.
16 Dec 2002; Daniel Ahlberg
Marked stable.
15 Dec 2002; Daniel Ahlberg
Added patch to fix security issue.
06 Dec 2002; Rodney Rees
*exim-4.10 (15 Nov 2002)
12 Apr 2003; Seemant Kulleen
same, but for the previous version as well
03 Feb 2003; Jon Nall
added ~ppc
15 Nov 2002; Nick Hadaway
files/digest-exim-4.10, files/exiscan.conf :
New exim ebuild with support for exiscan patched in. Marked unstable.
*exim-4.05 (29 Aug 2002)
15 Sep 2002; Nick Hadaway
Fixed a typo. -lpg to -lpq. See bug #7878
11 Sep 2002; Nick Hadaway
Updated ebuild to install convert4r{3,4} into /usr/sbin as suggested
by bug #7702 and changed use variable from pgsql to postgres.
03 Sep 2002; Nick Hadaway
Still masked. /etc/exim/configure.default is now installed as
/etc/exim/exim.conf.dist to match most other packages config file
name style.
01 Sep 2002; Nick Hadaway
Changed use variables to coincide with already defined system variables.
29 Aug 2002; Nick Hadaway
exim-4.05.ebuild, files/digest-exim-4.05 :
Version bump. Currently masked for portage tree freeze.
Removed nonexistant sample config.
*exim-4.04-r2 (20 Aug 2002)
25 Mar 2003; Seemant Kulleen
changed pgsql USE to postgres, which exists
01 Sep 2002; Nick Hadaway
Changed use variables to coincide with already defined system variables.
29 Aug 2002; Nick Hadaway
Removed nonexistant sample config.
20 Aug 2002; Nick Hadaway
exim-4.04-r2.ebuild, files/digest-exim-4.04-r2 :
Updated ebuild with a cleaner LOOKUP_INCLUDE and LOOKUP_LIBS scheme
as suggested by Eric Renfro. Added support for mta-pgsql USE variable
and updated dependancies.
*exim-4.04-r1 (15 Aug 2002)
15 Aug 2002; Nick Hadaway
Added LOOKUP_CDB to compile options. This will add support for
Constant Database lookups which are in many cases faster than
linear lookups. All CDB code is included in exim. To learn more
about CDB check out http://cr.yp.to/cdb.html.
15 Aug 2002; Nick Hadaway
Updated ebuild to add LOOKUP_DSEARCH support. This allows more
functionality to exim with virual hosts.
*exim-3.36-r1 (18 Apr 2002)
18 Apr 2002; Ryan Phillips
exim-3.36-r1.ebuild files/digest-exim-3.36-r1 :
Updated due to security exploit in exim-3.34
*exim-3.34-r2 (15 Apr 2002)
15 Apr 2002; Seemant Kulleen
exim-3.34-r2.ebuild files/digest-exim-3.34-r2 :
Updated the USE flags from mta-ldap, mta-tls and mta-mysql to the more general
and widely used ldap, ssl and mysql flags respectively.
*exim-3.34-r1 (1 Apr 2002)
1 Apr 2002; Grant Goodyear
Applied jnelson patches (bug #1444) to solve "missing exim binary"
problem.
*exim-3.34 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX auth_conf.sub 790 RMD160 5d6a71cf9fb593fc34ddce8dc421fcd843356c82 SHA1 5744531af5ee282ae29bdbb4e89fbee16c0034a7 SHA256 d0631d487f115c07a178d48bc7168cd16d7b22c8879b1e926923152cde95ba78
AUX exim-4.14-tail.patch 446 RMD160 685e27ff995710f3b8d77d8785b04503170e7e27 SHA1 d52b5d10656ead546beda128068ed2f9dbc67200 SHA256 74d1044bb94e167180fd8f8aba7449ca3d2b09b1ce170a1a2e4e54ca0cd660da
AUX exim-4.20-maildir.patch 478 RMD160 50c6a1dd6ae3f7bb1776696d3d0d7a161c351fce SHA1 c8287f7e44d93b0ca8761b8f7111974cfe1280a5 SHA256 2704c4db67bb7c58c2421656d942f533d1eedf1df187e76297ab72d2c2a2fb4c
AUX exim-4.30-conf.patch 887 RMD160 4e50bdb4f3a9f061c7f4da763ad5e427b9cbea26 SHA1 cf7ecab19aba3b758d736c584b98fa4be2338050 SHA256 a33425492f246c6afe3be21e83e0dc20ecd5ea300a172d877f666d077648eedf
AUX exim-4.43-r2-localscan_dlopen.patch 9236 RMD160 d33f7bcf72f947e8d1a3d917713630100c175491 SHA1 e4239a1bf0261f99491b4a29b26bbe8d9beffbd8 SHA256 3ec15d2dfdf251c70647c3def09711385f23983eceeecb6ec9d42b39f54b198d
AUX exim-4.69-r1.27021.patch 1738 RMD160 fbe33030e0a9462cc91b46799347d77b20b39b7e SHA1 8e03c8b52d02d55cb5307ea646e1e59d9a526353 SHA256 8d0b2c8a23d92a2b78d2aee459c347abcf417cbfb06e4a06a58b3abe10eb1d9d
AUX exim-4.69-r1.boolean_redefine_protect.152706.patch 473 RMD160 f3a18c0d338d673a3bc216d19152c9c7c43e29d6 SHA1 ba08af4b635418ca4a81e6343da875f0b86daabd SHA256 85d1e7554dac8204e1d2e71a10d73a2172610190d74d005b152191e865e85108
AUX exim.confd 62 RMD160 d8dcabf184ffb9066ad45c3e77cce1ec0392a143 SHA1 c56feda3c3193fad26852310da8ef24ef91f60f6 SHA256 668f912565a59926957090c6143f669f0e9de2cf441507d3c05fcd046865b401
AUX exim.rc6 738 RMD160 6935a02ff63db979a71cd834675f1aff066b296b SHA1 a4504387906a8386904a40c0aabadd69cb8a4c2a SHA256 db96d7bf9b11dcac4d9d9dab0d111a9d8a36910473918d8903ade9a03963bffd
AUX mailer.conf 259 RMD160 6412ac421b836f9425af443084dbaa49feb14df6 SHA1 690b15bdb334ed2bfda927a156227385823353f2 SHA256 c1dfa59d617c5744ebd119c37b408d7135f1fa6be4322d2f77db8ba9cb30d359
AUX pam.d-exim 101 RMD160 8ad4e0a05068ae20d5e8d401146456945d068322 SHA1 bdca3fb37937baa5da5e656c07ec333abfaa0f7d SHA256 80d94cb0b3ded20ed1513f4d5627969c4ce85d3006c702eb24920ffa01eec674
AUX system_filter.exim 8120 RMD160 267545af6dd333e0e5f05e1d4d02a0e8ee638d45 SHA1 a9eaf04538cd35eae726e2920cb0d115bc2ab2e0 SHA256 35539f6d20f2847b4093824618797b4d602dcc5b7d920e49bf5c26f0fd89858e
DIST exim-4.69.tar.bz2 1658939 RMD160 ae97c807c63f858ba4a0ab402677225da9337d05 SHA1 321e238b6e6b32498110511ce72a911538305a39 SHA256 18e856cfdb682ba8e8ccb943ab538734d34d0ecefd63465ecc5430bc15915069
DIST exiscan.conf 22113 RMD160 e52b77f656b3ba2105e833075d1368f41e414d64 SHA1 74dc6e30f49402f5e6fefc280ea325d17f6af8c4 SHA256 f8cc731d3225a902461e05c0997df23bfd231ea8d5bf33a9aba5783bc6e0c964
DIST system_filter.exim.gz 3075 RMD160 47bcc6de402d896b73fd01d7f0d3c3ecbad9cf0b SHA1 384d138d8612f3a80b2b68f272b43cd69bc4411a SHA256 3a3471b486a09e0a0153f7b520e1eaf26d21b97d73ea8348bdc593c00eb1e437
EBUILD exim-4.69-r1.ebuild 9963 RMD160 2624e51e889ccba884abbb5c3ad4e3aa988b389b SHA1 8bcd56a8185f8b0f4e22e9eadb2bae225b96174a SHA256 c3aff6206415142b99887381a5ee223d9fa9684c4eae614a9f488dc86b497d07
EBUILD exim-4.69.ebuild 9800 RMD160 9c55db831bd53340a9a170e9ded1d3e125c8c4f4 SHA1 032f07fe1487d7e145562bd029df9d7a6479868f SHA256 9dd4b1331dc835bca8e382bf2eb44c8743b8d7cec42d47a96d27d2946cb50864
MISC ChangeLog 29704 RMD160 4ed18c3ab88d512cb434e2ed8a9dce508fe3525b SHA1 5f09091f01dd3ab5cc8366b80c685ea4af71fcfa SHA256 8de2acb8fe1b474b9b16b00432fca63b18fa6046fa4f85997d8ae0874a33ecaa
MISC metadata.xml 863 RMD160 963b1a80f7d3ec06f670ceea9d8451b7aa1243e8 SHA1 096ec5e2f0957fc0dabc5d1145a73611fb048222 SHA256 8af9e235beb4ba6aedde75b11f5223f0d1eb3ccff4978f3b3acf3d025492984b
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r1.ebuild,v 1.6 2008/07/16 16:34:18 chtekk Exp $
inherit eutils
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dnsdb perl mbx X exiscan nis syslog spf srs gnutls sqlite dovecot-sasl radius domainkeys maildir"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
mirror://gentoo/exiscan.conf
mirror://gentoo/system_filter.exim.gz"
HOMEPAGE="http://www.exim.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
PROVIDE="virtual/mta"
DEPEND=">=sys-apps/sed-4.0.5
perl? ( sys-devel/libperl )
>=sys-libs/db-3.2
pam? ( virtual/pam )
tcpd? ( sys-apps/tcp-wrappers )
ssl? ( >=dev-libs/openssl-0.9.6 )
gnutls? ( net-libs/gnutls
dev-libs/libtasn1 )
ldap? ( >=net-nds/openldap-2.0.7 )
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-base )
sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )
spf? ( >=mail-filter/libspf2-1.2.5-r1 )
srs? ( mail-filter/libsrs_alt )
X? ( x11-proto/xproto
x11-libs/libX11
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXaw
)
sqlite? ( dev-db/sqlite )
radius? ( net-dialup/radiusclient )
domainkeys? ( mail-filter/libdomainkeys )
"
# added X check for #57206
RDEPEND="${DEPEND}
mailwrapper? ( >=net-mail/mailwrapper-0.2 )
!mailwrapper? ( !virtual/mta )
>=net-mail/mailbase-0.00-r5
virtual/logger"
src_unpack() {
unpack ${A}
cd "${S}"
local myconf
epatch "${FILESDIR}"/exim-4.14-tail.patch
epatch "${FILESDIR}"/exim-4.43-r2-localscan_dlopen.patch
epatch "${FILESDIR}"/exim-4.69-r1.27021.patch
epatch "${FILESDIR}"/exim-4.69-r1.boolean_redefine_protect.152706.patch
if use maildir; then
einfo "Patching maildir support into exim.conf"
epatch "${FILESDIR}"/exim-4.20-maildir.patch
fi
sed -i "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'/etc/mail/aliases'" "${S}"/src/configure.default
cp "${S}"/src/configure.default "${S}"/src/configure.default.orig
# Includes Typo fix for bug 47106
sed -e "48i\CFLAGS=${CFLAGS}" \
-e "s:# AUTH_CRAM_MD5=yes:AUTH_CRAM_MD5=yes:" \
-e "s:# AUTH_PLAINTEXT=yes:AUTH_PLAINTEXT=yes:" \
-e "s:BIN_DIRECTORY=/usr/exim/bin:BIN_DIRECTORY=/usr/sbin:" \
-e "s:COMPRESS_COMMAND=/usr/bin/gzip:COMPRESS_COMMAND=/bin/gzip:" \
-e "s:ZCAT_COMMAND=/usr/bin/zcat:ZCAT_COMMAND=/bin/zcat:" \
-e "s:CONFIGURE_FILE=/usr/exim/configure:CONFIGURE_FILE=/etc/exim/exim.conf:" \
-e "s:EXIM_MONITOR=eximon.bin:# EXIM_MONITOR=eximon.bin:" \
-e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \
-e "s:# LOG_FILE_PATH=/var/log/exim_%slog:LOG_FILE_PATH=/var/log/exim/exim_%s.log:" \
-e "s:# PID_FILE_PATH=/var/lock/exim.pid:PID_FILE_PATH=/var/run/exim.pid:" \
-e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \
-e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \
-e "s:# SUPPORT_MAILSTORE=yes:SUPPORT_MAILSTORE=yes:" \
-e "s:EXIM_USER=:EXIM_USER=mail:" \
-e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
-e "s:^ZCAT_COMMAND.*$:ZCAT_COMMAND=/bin/zcat:" \
-e "s:# LOOKUP_PASSWD=yes:LOOKUP_PASSWD=yes:" \
src/EDITME > Local/Makefile
# exiscan-acl is now integrated - enabled it when use-flag set
if use exiscan-acl; then
sed -i "s:# WITH_CONTENT_SCAN=yes:WITH_CONTENT_SCAN=yes:" Local/Makefile
sed -i "s:# WITH_OLD_DEMIME=yes:WITH_OLD_DEMIME=yes:" Local/Makefile
elif (use spf || use srs ) then
eerror SPF and SRS support require exiscan-acl to be enabled, please add
eerror to your USE settings.
exit 1
fi
if use spf; then
myconf="${myconf} -lspf2"
sed -i "s:# EXPERIMENTAL_SPF=yes:EXPERIMENTAL_SPF=yes:" Local/Makefile
mycflags="${mycflags} -DEXPERIMENTAL_SPF"
fi
if use srs; then
myconf="${myconf} -lsrs_alt"
sed -i "s:# EXPERIMENTAL_SRS=yes:EXPERIMENTAL_SRS=yes:" Local/Makefile
fi
cd Local
# enable optional exim_monitor support via X use flag bug #46778
if use X; then
einfo "Configuring eximon"
cp ../exim_monitor/EDITME eximon.conf
sed -i "s:# EXIM_MONITOR=eximon.bin:EXIM_MONITOR=eximon.bin:" Makefile
fi
#These next two should resolve 37964
if use perl; then
sed -i "s:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" Makefile
fi
# mbox useflag renamed, see bug 110741
if use mbx; then
sed -i "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" Makefile
fi
if use pam; then
sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
myconf="${myconf} -lpam"
fi
if use sasl; then
sed -i "s:# CYRUS_SASLAUTHD_SOCKET=/var/state/saslauthd/mux:CYRUS_SASLAUTHD_SOCKET=/var/lib/sasl2/mux:" Makefile
sed -i "s:# AUTH_CYRUS_SASL=yes:AUTH_CYRUS_SASL=yes:" Makefile
myconf="${myconf} -lsasl2"
fi
if use tcpd; then
sed -i "s:# \(USE_TCP_WRAPPERS=yes\):\1:" Makefile
myconf="${myconf} -lwrap"
fi
if use lmtp; then
sed -i "s:# \(TRANSPORT_LMTP=yes\):\1:" Makefile
fi
if use ipv6; then
echo "HAVE_IPV6=YES" >> Makefile
#To fix bug 41196
echo "IPV6_USE_INET_PTON=yes" >> Makefile
fi
if use dovecot-sasl; then
sed -i "s:# AUTH_DOVECOT=yes:AUTH_DOVECOT=yes:" Makefile
fi
if use radius; then
myconf="${myconf} -lradiusclient"
sed -i "s:# RADIUS_CONFIG_FILE=/etc/radiusclient/radiusclient.conf:RADIUS_CONFIG_FILE=/etc/radiusclient/radiusclient.conf:" Local/Makefile
sed -i "s:# RADIUS_LIB_TYPE=RADIUSCLIENT$:RADIUS_LIB_TYPE=RADIUSCLIENT:" Local/Makefile
fi
if [ -n "$myconf" ] ; then
echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
fi
cd "${S}"
if use ssl; then
sed -i \
-e "s:# \(SUPPORT_TLS=yes\):\1:" Local/Makefile
if use gnutls; then
sed -i \
-e "s:# \(USE_GNUTLS=yes\):\1:" \
-e "s:# \(TLS_LIBS=-lgnutls -ltasn1 -lgcrypt\):\1:" Local/Makefile
else
sed -i \
-e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
fi
fi
LOOKUP_INCLUDE=
LOOKUP_LIBS=
if use ldap; then
sed -i \
-e "s:# \(LOOKUP_LDAP=yes\):\1:" \
-e "s:# \(LDAP_LIB_TYPE=OPENLDAP2\):\1:" Local/Makefile
LOOKUP_INCLUDE="-I/usr/include/ldap"
LOOKUP_LIBS="-L/usr/lib -lldap -llber"
fi
if use mysql; then
sed -i "s:# LOOKUP_MYSQL=yes:LOOKUP_MYSQL=yes:" Local/Makefile
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/mysql"
LOOKUP_LIBS="$LOOKUP_LIBS -L/usr/lib -lmysqlclient"
fi
if use postgres; then
sed -i "s:# LOOKUP_PGSQL=yes:LOOKUP_PGSQL=yes:" Local/Makefile
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/postgresql"
LOOKUP_LIBS="$LOOKUP_LIBS -lpq"
fi
if use sqlite; then
sed -i "s:# LOOKUP_SQLITE=yes: LOOKUP_SQLITE=yes:" Local/Makefile
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/sqlite"
LOOKUP_LIBS="$LOOKUP_LIBS -lsqlite3"
fi
if [ -n "$LOOKUP_INCLUDE" ]; then
sed -i "s:# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include:LOOKUP_INCLUDE=$LOOKUP_INCLUDE:" \
Local/Makefile
fi
if [ -n "$LOOKUP_LIBS" ]; then
sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3:LOOKUP_LIBS=$LOOKUP_LIBS:" \
Local/Makefile
fi
sed -i -e 's/^buildname=.*/buildname=exim-gentoo/g' Makefile
sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
if use dnsdb; then
sed -i "s:# LOOKUP_DNSDB=yes:LOOKUP_DNSDB=yes:" Local/Makefile
fi
sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile
if use nis; then
sed -i "s:# LOOKUP_NIS=yes:LOOKUP_NIS=yes:" Local/Makefile
sed -i "s:# LOOKUP_NISPLUS=yes:LOOKUP_NISPLUS=yes:" Local/Makefile
fi
if use syslog; then
sed -i "s:LOG_FILE_PATH=/var/log/exim/exim_%s.log:LOG_FILE_PATH=syslog:" Local/Makefile
fi
if use domainkeys; then
echo "
EXPERIMENTAL_DOMAINKEYS=yes
CFLAGS += -I/usr/include/libdomainkeys
LDFLAGS += -lcrypto -ldomainkeys -L/usr/lib/libdomainkeys" >> Local/Makefile
fi
# Use the "native" interface to the DBM library
echo "USE_DB=yes" >> "${S}"/Local/Makefile
}
src_compile() {
make || die "make failed"
}
src_install () {
cd "${S}"/build-exim-gentoo
exeinto /usr/sbin
doexe exim
if use X; then
doexe eximon.bin
doexe eximon
fi
fperms 4755 /usr/sbin/exim
dodir /usr/bin /usr/sbin /usr/lib
if [ ! -e /usr/lib/sendmail ];
then
dosym /usr/sbin/sendmail /usr/lib/sendmail
fi
if use mailwrapper
then
insinto /etc/mail
doins "${FILESDIR}"/mailer.conf
else
dosym exim /usr/sbin/sendmail
dosym /usr/sbin/exim /usr/bin/mailq
dosym /usr/sbin/exim /usr/bin/newaliases
einfo "The Exim ebuild will no longer touch /usr/bin/mail, so as not to interfere with mailx/nail."
dosym exim /usr/sbin/rsmtp
dosym exim /usr/sbin/rmail
fi
exeinto /usr/sbin
for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
exim_tidydb exinext exiwhat exigrep eximstats exiqsumm exiqgrep \
convert4r3 convert4r4 exipick
do
doexe $i
done
dodoc "${S}"/doc/*
doman "${S}"/doc/exim.8
# conf files
insinto /etc/exim
newins "${S}"/src/configure.default.orig exim.conf.dist
if use exiscan-acl; then
newins "${S}"/src/configure.default exim.conf.exiscan-acl
fi
doins "$WORKDIR"/system_filter.exim
doins "$DISTDIR"/auth_conf.sub
if use exiscan; then
newins "${S}"/src/configure.default exim.conf.exiscan
doins "${DISTDIR}"/exiscan.conf
fi
if use pam
then
# INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
insinto /etc/pam.d
newins "${FILESDIR}"/pam.d-exim exim
fi
newinitd "${FILESDIR}"/exim.rc6 exim
newconfd "${FILESDIR}"/exim.confd exim
DIROPTIONS="--mode=0750 --owner=mail --group=mail"
dodir /var/log/${PN}
}
pkg_postinst() {
einfo "/etc/exim/system_filter.exim is a sample system_filter."
einfo "/etc/exim/auth_conf.sub contains the configuration sub for using smtp auth."
einfo "Please create /etc/exim/exim.conf from /etc/exim/exim.conf.dist."
if ! use mailwrapper && [[ -e /etc/mailer.conf ]]
then
einfo
einfo "Since you emerged $PN without mailwrapper in USE,"
einfo "you probably want to 'emerge -C mailwrapper' now."
einfo
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69.ebuild,v 1.10 2008/07/16 16:34:18 chtekk Exp $
inherit eutils
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"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2 mirror://gentoo/exiscan.conf"
HOMEPAGE="http://www.exim.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
PROVIDE="virtual/mta"
DEPEND=">=sys-apps/sed-4.0.5
perl? ( sys-devel/libperl )
>=sys-libs/db-3.2
pam? ( virtual/pam )
tcpd? ( sys-apps/tcp-wrappers )
ssl? ( >=dev-libs/openssl-0.9.6 )
gnutls? ( net-libs/gnutls
dev-libs/libtasn1 )
ldap? ( >=net-nds/openldap-2.0.7 )
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-base )
sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )
spf? ( >=mail-filter/libspf2-1.2.5-r1 )
srs? ( mail-filter/libsrs_alt )
X? ( x11-proto/xproto
x11-libs/libX11
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXaw
)
sqlite? ( dev-db/sqlite )
radius? ( net-dialup/radiusclient )
domainkeys? ( mail-filter/libdomainkeys )
"
# added X check for #57206
RDEPEND="${DEPEND}
mailwrapper? ( >=net-mail/mailwrapper-0.2 )
!mailwrapper? ( !virtual/mta )
>=net-mail/mailbase-0.00-r5
virtual/logger"
src_unpack() {
unpack ${A}
cd "${S}"
local myconf
epatch "${FILESDIR}"/exim-4.14-tail.patch
epatch "${FILESDIR}"/exim-4.43-r2-localscan_dlopen.patch
if ! use mbox; then
einfo "Patching maildir support into exim.conf"
epatch "${FILESDIR}"/exim-4.20-maildir.patch
fi
sed -i "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'/etc/mail/aliases'" "${S}"/src/configure.default
cp "${S}"/src/configure.default "${S}"/src/configure.default.orig
# Includes Typo fix for bug 47106
sed -e "48i\CFLAGS=${CFLAGS}" \
-e "s:# AUTH_CRAM_MD5=yes:AUTH_CRAM_MD5=yes:" \
-e "s:# AUTH_PLAINTEXT=yes:AUTH_PLAINTEXT=yes:" \
-e "s:BIN_DIRECTORY=/usr/exim/bin:BIN_DIRECTORY=/usr/sbin:" \
-e "s:COMPRESS_COMMAND=/usr/bin/gzip:COMPRESS_COMMAND=/bin/gzip:" \
-e "s:ZCAT_COMMAND=/usr/bin/zcat:ZCAT_COMMAND=/bin/zcat:" \
-e "s:CONFIGURE_FILE=/usr/exim/configure:CONFIGURE_FILE=/etc/exim/exim.conf:" \
-e "s:EXIM_MONITOR=eximon.bin:# EXIM_MONITOR=eximon.bin:" \
-e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \
-e "s:# LOG_FILE_PATH=/var/log/exim_%slog:LOG_FILE_PATH=/var/log/exim/exim_%s.log:" \
-e "s:# PID_FILE_PATH=/var/lock/exim.pid:PID_FILE_PATH=/var/run/exim.pid:" \
-e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \
-e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \
-e "s:# SUPPORT_MAILSTORE=yes:SUPPORT_MAILSTORE=yes:" \
-e "s:EXIM_USER=:EXIM_USER=mail:" \
-e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
-e "s:^ZCAT_COMMAND.*$:ZCAT_COMMAND=/bin/zcat:" \
-e "s:# LOOKUP_PASSWD=yes:LOOKUP_PASSWD=yes:" \
src/EDITME > Local/Makefile
# exiscan-acl is now integrated - enabled it when use-flag set
if use exiscan-acl; then
sed -i "s:# WITH_CONTENT_SCAN=yes:WITH_CONTENT_SCAN=yes:" Local/Makefile
sed -i "s:# WITH_OLD_DEMIME=yes:WITH_OLD_DEMIME=yes:" Local/Makefile
elif (use spf || use srs ) then
eerror SPF and SRS support require exiscan-acl to be enabled, please add
eerror to your USE settings.
exit 1
fi
if use spf; then
myconf="${myconf} -lspf2"
sed -i "s:# EXPERIMENTAL_SPF=yes:EXPERIMENTAL_SPF=yes:" Local/Makefile
mycflags="${mycflags} -DEXPERIMENTAL_SPF"
fi
if use srs; then
myconf="${myconf} -lsrs_alt"
sed -i "s:# EXPERIMENTAL_SRS=yes:EXPERIMENTAL_SRS=yes:" Local/Makefile
fi
cd Local
# enable optional exim_monitor support via X use flag bug #46778
if use X; then
einfo "Configuring eximon"
cp ../exim_monitor/EDITME eximon.conf
sed -i "s:# EXIM_MONITOR=eximon.bin:EXIM_MONITOR=eximon.bin:" Makefile
fi
#These next two should resolve 37964
if use perl; then
sed -i "s:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" Makefile
fi
# mbox useflag renamed, see bug 110741
if use mbx; then
sed -i "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" Makefile
fi
if use pam; then
sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
myconf="${myconf} -lpam"
fi
if use sasl; then
sed -i "s:# CYRUS_SASLAUTHD_SOCKET=/var/state/saslauthd/mux:CYRUS_SASLAUTHD_SOCKET=/var/lib/sasl2/mux:" Makefile
sed -i "s:# AUTH_CYRUS_SASL=yes:AUTH_CYRUS_SASL=yes:" Makefile
myconf="${myconf} -lsasl2"
fi
if use tcpd; then
sed -i "s:# \(USE_TCP_WRAPPERS=yes\):\1:" Makefile
myconf="${myconf} -lwrap"
fi
if use lmtp; then
sed -i "s:# \(TRANSPORT_LMTP=yes\):\1:" Makefile
fi
if use ipv6; then
echo "HAVE_IPV6=YES" >> Makefile
#To fix bug 41196
echo "IPV6_USE_INET_PTON=yes" >> Makefile
fi
if use dovecot-sasl; then
sed -i "s:# AUTH_DOVECOT=yes:AUTH_DOVECOT=yes:" Makefile
fi
if use radius; then
myconf="${myconf} -lradiusclient"
sed -i "s:# RADIUS_CONFIG_FILE=/etc/radiusclient/radiusclient.conf:RADIUS_CONFIG_FILE=/etc/radiusclient/radiusclient.conf:" Local/Makefile
sed -i "s:# RADIUS_LIB_TYPE=RADIUSCLIENT$:RADIUS_LIB_TYPE=RADIUSCLIENT:" Local/Makefile
fi
if [ -n "$myconf" ] ; then
echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
fi
cd "${S}"
if use ssl; then
sed -i \
-e "s:# \(SUPPORT_TLS=yes\):\1:" Local/Makefile
if use gnutls; then
sed -i \
-e "s:# \(USE_GNUTLS=yes\):\1:" \
-e "s:# \(TLS_LIBS=-lgnutls -ltasn1 -lgcrypt\):\1:" Local/Makefile
else
sed -i \
-e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
fi
fi
LOOKUP_INCLUDE=
LOOKUP_LIBS=
if use ldap; then
sed -i \
-e "s:# \(LOOKUP_LDAP=yes\):\1:" \
-e "s:# \(LDAP_LIB_TYPE=OPENLDAP2\):\1:" Local/Makefile
LOOKUP_INCLUDE="-I/usr/include/ldap"
LOOKUP_LIBS="-L/usr/lib -lldap -llber"
fi
if use mysql; then
sed -i "s:# LOOKUP_MYSQL=yes:LOOKUP_MYSQL=yes:" Local/Makefile
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/mysql"
LOOKUP_LIBS="$LOOKUP_LIBS -L/usr/lib -lmysqlclient"
fi
if use postgres; then
sed -i "s:# LOOKUP_PGSQL=yes:LOOKUP_PGSQL=yes:" Local/Makefile
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/postgresql"
LOOKUP_LIBS="$LOOKUP_LIBS -lpq"
fi
if use sqlite; then
sed -i "s:# LOOKUP_SQLITE=yes: LOOKUP_SQLITE=yes:" Local/Makefile
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/sqlite"
LOOKUP_LIBS="$LOOKUP_LIBS -lsqlite3"
fi
if [ -n "$LOOKUP_INCLUDE" ]; then
sed -i "s:# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include:LOOKUP_INCLUDE=$LOOKUP_INCLUDE:" \
Local/Makefile
fi
if [ -n "$LOOKUP_LIBS" ]; then
sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3:LOOKUP_LIBS=$LOOKUP_LIBS:" \
Local/Makefile
fi
sed -i -e 's/^buildname=.*/buildname=exim-gentoo/g' Makefile
sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
if use dnsdb; then
sed -i "s:# LOOKUP_DNSDB=yes:LOOKUP_DNSDB=yes:" Local/Makefile
fi
sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile
if use nis; then
sed -i "s:# LOOKUP_NIS=yes:LOOKUP_NIS=yes:" Local/Makefile
sed -i "s:# LOOKUP_NISPLUS=yes:LOOKUP_NISPLUS=yes:" Local/Makefile
fi
if use syslog; then
sed -i "s:LOG_FILE_PATH=/var/log/exim/exim_%s.log:LOG_FILE_PATH=syslog:" Local/Makefile
fi
if use domainkeys; then
echo "
EXPERIMENTAL_DOMAINKEYS=yes
CFLAGS += -I/usr/include/libdomainkeys
LDFLAGS += -lcrypto -ldomainkeys -L/usr/lib/libdomainkeys" >> Local/Makefile
fi
# Use the "native" interface to the DBM library
echo "USE_DB=yes" >> "${S}"/Local/Makefile
}
src_compile() {
make || die "make failed"
}
src_install () {
cd "${S}"/build-exim-gentoo
exeinto /usr/sbin
doexe exim
if use X; then
doexe eximon.bin
doexe eximon
fi
fperms 4755 /usr/sbin/exim
dodir /usr/bin /usr/sbin /usr/lib
if \[ ! -e /usr/lib/sendmail \];
then
dosym /usr/sbin/sendmail /usr/lib/sendmail
fi
if use mailwrapper
then
insinto /etc/mail
doins "${FILESDIR}"/mailer.conf
else
dosym exim /usr/sbin/sendmail
dosym /usr/sbin/exim /usr/bin/mailq
dosym /usr/sbin/exim /usr/bin/newaliases
einfo "The Exim ebuild will no longer touch /usr/bin/mail, so as not to interfere with mailx/nail."
dosym exim /usr/sbin/rsmtp
dosym exim /usr/sbin/rmail
fi
exeinto /usr/sbin
for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
exim_tidydb exinext exiwhat exigrep eximstats exiqsumm exiqgrep \
convert4r3 convert4r4 exipick
do
doexe $i
done
dodoc "${S}"/doc/*
doman "${S}"/doc/exim.8
# conf files
insinto /etc/exim
newins "${S}"/src/configure.default.orig exim.conf.dist
if use exiscan-acl; then
newins "${S}"/src/configure.default exim.conf.exiscan-acl
fi
doins "${FILESDIR}"/system_filter.exim
doins "${FILESDIR}"/auth_conf.sub
if use exiscan; then
newins "${S}"/src/configure.default exim.conf.exiscan
doins "${FILESDIR}"/exiscan.conf
fi
if use pam
then
# INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
insinto /etc/pam.d
newins "${FILESDIR}"/pam.d-exim exim
fi
newinitd "${FILESDIR}"/exim.rc6 exim
newconfd "${FILESDIR}"/exim.confd exim
DIROPTIONS="--mode=0750 --owner=mail --group=mail"
dodir /var/log/${PN}
}
pkg_postinst() {
einfo "/etc/exim/system_filter.exim is a sample system_filter."
einfo "/etc/exim/auth_conf.sub contains the configuration sub for using smtp auth."
einfo "Please create /etc/exim/exim.conf from /etc/exim/exim.conf.dist."
if ! use mailwrapper && [[ -e /etc/mailer.conf ]]
then
einfo
einfo "Since you emerged $PN without mailwrapper in USE,"
einfo "you probably want to 'emerge -C mailwrapper' now."
einfo
fi
}
Exim is a message transfer agent (MTA) developed at the University of Cambridge
for use on Unix systems connected to the Internet. It is freely available under
the terms of the GNU General Public Licence. In style it is similar to Smail 3,
but its facilities are more general. There is a great deal of flexibility in the
way mail can be routed, and there are extensive facilities for checking incoming
mail. Exim can be installed in place of sendmail, although the configuration of
exim is quite different to that of sendmail.