summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-07-24 08:54:11 +0000
committerFabian Groffen <grobian@gentoo.org>2009-07-24 08:54:11 +0000
commitd3304cbe63225697c74cef3ad554b3be519b4498 (patch)
treecf6080f0507cdac7a7cd1bcfbba8ae3985c21877 /mail-mta
parentFix previous commit, don't unnecessarily strip some foo from configure.in sin... (diff)
downloadgentoo-2-d3304cbe63225697c74cef3ad554b3be519b4498.tar.gz
gentoo-2-d3304cbe63225697c74cef3ad554b3be519b4498.tar.bz2
gentoo-2-d3304cbe63225697c74cef3ad554b3be519b4498.zip
The big bug-fix (bug #82772), remove mailwrapper support. After long discussions, and many possibilities, it was finally decided to remove mailwrapper instead of fixing it, hopefully followed by some other approach soon. Added cross-compile patch, in preparation for bug #266591.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/exim/ChangeLog12
-rw-r--r--mail-mta/exim/exim-4.69-r3.ebuild (renamed from mail-mta/exim/exim-4.69-r2.ebuild)41
-rw-r--r--mail-mta/exim/files/exim-4.69-buildconfig-cross-compile.patch16
3 files changed, 39 insertions, 30 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 5487ac03a3df..bd91a7381947 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for mail-mta/exim
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.142 2009/07/24 07:47:06 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.143 2009/07/24 08:54:11 grobian Exp $
+
+*exim-4.69-r3 (24 Jul 2009)
+
+ 24 Jul 2009; Fabian Groffen <grobian@gentoo.org>
+ +files/exim-4.69-buildconfig-cross-compile.patch, -exim-4.69-r2.ebuild,
+ +exim-4.69-r3.ebuild:
+ The big bug-fix (bug #82772), remove mailwrapper support. After long
+ discussions, and many possibilities, it was finally decided to remove
+ mailwrapper instead of fixing it, hopefully followed by some other approach
+ soon. Added cross-compile patch, in preparation for bug #266591.
24 Jul 2009; Fabian Groffen <grobian@gentoo.org> exim-4.69-r2.ebuild:
Exim uses libiconv for header expansion, make this dependency explicit and
diff --git a/mail-mta/exim/exim-4.69-r2.ebuild b/mail-mta/exim/exim-4.69-r3.ebuild
index 8c86a51623c6..ca7733e26faf 100644
--- a/mail-mta/exim/exim-4.69-r2.ebuild
+++ b/mail-mta/exim/exim-4.69-r3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r2.ebuild,v 1.9 2009/07/24 07:47:06 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r3.ebuild,v 1.1 2009/07/24 08:54:11 grobian Exp $
inherit eutils toolchain-funcs multilib pam
-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 logrotate"
+IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl lmtp ipv6 sasl dnsdb perl mbx X exiscan nis syslog spf srs gnutls sqlite dovecot-sasl radius domainkeys maildir logrotate"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
@@ -17,6 +17,7 @@ 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
@@ -45,8 +46,7 @@ DEPEND=">=sys-apps/sed-4.0.5
"
# added X check for #57206
RDEPEND="${DEPEND}
- mailwrapper? ( >=net-mail/mailwrapper-0.2 )
- !mailwrapper? ( !virtual/mta )
+ !virtual/mta
>=net-mail/mailbase-0.00-r5
virtual/logger"
@@ -60,6 +60,8 @@ src_unpack() {
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
+ # for cross-compilation, but currently breaks normal compiles :/ #266591
+ #epatch "${FILESDIR}"/${P}-buildconfig-cross-compile.patch
if use maildir; then
einfo "Patching maildir support into exim.conf"
@@ -257,24 +259,13 @@ src_install () {
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, "
- einfo "so as not to interfere with mailx/nail."
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- fi
+ dosym exim /usr/sbin/sendmail
+ dosym exim /usr/sbin/rsmtp
+ dosym exim /usr/sbin/rmail
+ dosym /usr/sbin/exim /usr/bin/mailq
+ dosym /usr/sbin/exim /usr/bin/newaliases
+ dosym /usr/sbin/sendmail /usr/lib/sendmail
exeinto /usr/sbin
for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
@@ -319,12 +310,4 @@ 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
}
diff --git a/mail-mta/exim/files/exim-4.69-buildconfig-cross-compile.patch b/mail-mta/exim/files/exim-4.69-buildconfig-cross-compile.patch
new file mode 100644
index 000000000000..929a17deaa64
--- /dev/null
+++ b/mail-mta/exim/files/exim-4.69-buildconfig-cross-compile.patch
@@ -0,0 +1,16 @@
+http://thread.gmane.org/gmane.mail.exim.devel/3382
+http://bugs.gentoo.org/show_bug.cgi?id=266591
+
+--- OS/Makefile-Base
++++ OS/Makefile-Base
+@@ -114,8 +114,8 @@
+
+ # Targets for special-purpose configuration header builders
+ buildconfig: buildconfig.c
+- @echo "$(CC) buildconfig.c"
+- $(FE)$(CC) $(CFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)
++ @echo "$(HOSTCC) buildconfig.c"
++ $(FE)$(HOSTCC) $(HOSTCFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)
+
+
+ # Target for the exicyclog utility script