summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Morey <peitolm@gentoo.org>2005-03-08 20:00:06 +0000
committerColin Morey <peitolm@gentoo.org>2005-03-08 20:00:06 +0000
commitbd692685d4e8cc42757b38faf149e97ba96fbd6f (patch)
tree9240575a2e4d6f0654f1a07305303c2fedf6ab4e /mail-mta/exim
parentinter-block with dansguardian-dgav (diff)
downloadgentoo-2-bd692685d4e8cc42757b38faf149e97ba96fbd6f.tar.gz
gentoo-2-bd692685d4e8cc42757b38faf149e97ba96fbd6f.tar.bz2
gentoo-2-bd692685d4e8cc42757b38faf149e97ba96fbd6f.zip
New files to fix broken changes for incorporation of exiscan-acl into mainstream
(Portage version: 2.0.51-r15)
Diffstat (limited to 'mail-mta/exim')
-rw-r--r--mail-mta/exim/ChangeLog14
-rw-r--r--mail-mta/exim/Manifest2
-rw-r--r--mail-mta/exim/exim-4.33-r1.ebuild247
-rw-r--r--mail-mta/exim/exim-4.34-r1.ebuild262
-rw-r--r--mail-mta/exim/exim-4.34.ebuild245
-rw-r--r--mail-mta/exim/exim-4.40.ebuild263
-rw-r--r--mail-mta/exim/exim-4.41.ebuild263
-rw-r--r--mail-mta/exim/exim-4.42.ebuild262
-rw-r--r--mail-mta/exim/exim-4.43.ebuild262
-rw-r--r--mail-mta/exim/exim-4.50-r1.ebuild (renamed from mail-mta/exim/exim-4.43-r1.ebuild)41
-rw-r--r--mail-mta/exim/files/digest-exim-4.33-r12
-rw-r--r--mail-mta/exim/files/digest-exim-4.342
-rw-r--r--mail-mta/exim/files/digest-exim-4.34-r12
-rw-r--r--mail-mta/exim/files/digest-exim-4.402
-rw-r--r--mail-mta/exim/files/digest-exim-4.412
-rw-r--r--mail-mta/exim/files/digest-exim-4.422
-rw-r--r--mail-mta/exim/files/digest-exim-4.432
-rw-r--r--mail-mta/exim/files/digest-exim-4.43-r12
-rw-r--r--mail-mta/exim/files/digest-exim-4.50-r11
19 files changed, 38 insertions, 1840 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 0c7f6019cc42..34fd4073f9e7 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for mail-mta/exim
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.27 2005/03/03 22:27:21 peitolm Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.28 2005/03/08 20:00:06 peitolm Exp $
+
+*exim-4.50-r1 (08 Mar 2005)
+
+ 08 Mar 2005; Colin Morey <peitolm@gentoo.org> -exim-4.33-r1.ebuild,
+ -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 <peitolm@gentoo.org> :
New Version and bug fix for #79743
diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest
index 9a7690a0d11c..357bb4d4c7d8 100644
--- a/mail-mta/exim/Manifest
+++ b/mail-mta/exim/Manifest
@@ -3,6 +3,7 @@ MD5 88b4c1c053ef791fe7fadfc5cef83562 exim-4.43.ebuild 7716
MD5 f850af9bb97ec3801c5f27cc6d6c7930 exim-4.50.ebuild 7923
MD5 bb381704e82e9a52302bf0b4e4c77882 exim-4.43-r1.ebuild 7773
MD5 9f3cba5e7952833e194da7eb7ccecf62 exim-4.42.ebuild 7707
+MD5 dbcb8e2334d3d87a1f206631e9bcc4f0 exim-4.50-r1.ebuild 7935
MD5 b736c67bb1a5d294ee2df24413cf9100 exim-4.43-r2.ebuild 8033
MD5 a3a0aac4ec43461f082173a6057c7d2b exim-4.33-r1.ebuild 7625
MD5 bb6dbf0fcde9bdebe5158571a374dd9d exim-4.34-r1.ebuild 7932
@@ -21,6 +22,7 @@ MD5 dec246086bc5cef333efaa95785a4d5e files/exim-4.43-r2-host_aton-buff.patch 644
MD5 f05ff505c7b77a17696736e2730ae8d1 files/digest-exim-4.43-r2 133
MD5 c76437104cbde9184f01eb0987bfd738 files/exim-4.43-r2-localscan_dlopen.patch 9236
MD5 8609e97b73196813ddfc2b3de6a2bbac files/exim.rc6 565
+MD5 1c2f7177e8deb2c85ee6bd4b6754cd2e files/digest-exim-4.50-r1 63
MD5 6a964dbcdbca2690ed166e9a59cebe84 files/digest-exim-4.34 133
MD5 6a964dbcdbca2690ed166e9a59cebe84 files/digest-exim-4.34-r1 133
MD5 369b42cafcbe5631c2d03cbbfd4aeddd files/exim-4.10-gentoo.diff 1889
diff --git a/mail-mta/exim/exim-4.33-r1.ebuild b/mail-mta/exim/exim-4.33-r1.ebuild
deleted file mode 100644
index eec6d76da3be..000000000000
--- a/mail-mta/exim/exim-4.33-r1.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.33-r1.ebuild,v 1.5 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="X dnsdb exiscan exiscan-acl ipv6 ldap lmtp maildir mbox mysql pam perl postgres sasl ssl tcpd wildlsearch"
-
-EXISCANACL_VER=${PV}-20
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- >=dev-libs/libpcre-3.4
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )"
-RDEPEND="${DEPEND}
- =net-mail/mailwrapper-0.1
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.patch
- epatch ${FILESDIR}/exim-4.33-r1-header-syntax.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- fperms 4755 /usr/sbin/exim
-
- dodir /usr/bin /usr/sbin /usr/lib
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../sbin/exim /usr/bin/newaliases
- if \[ ! -e /usr/bin/mail \] && \[ ! -e /bin/mail \]; then
- einfo "Installing symbolic link /usr/bin/mail -> /usr/sbin/exim"
- einfo "If you install mailx please *REMOVE* that link, that way"
- einfo "scripts will use the mailx-binary instead of the exim-binary."
- dosym ../sbin/exim /usr/bin/mail
- else
- einfo "NOT installing symbolic link /usr/bin/mail -> /usr/sbin/exim,"
- einfo "because you already have a mail-binary."
- fi
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym exim /usr/sbin/sendmail
- dosym ../sbin/exim /usr/lib/sendmail
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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."
-}
diff --git a/mail-mta/exim/exim-4.34-r1.ebuild b/mail-mta/exim/exim-4.34-r1.ebuild
deleted file mode 100644
index 5d20e9b64371..000000000000
--- a/mail-mta/exim/exim-4.34-r1.ebuild
+++ /dev/null
@@ -1,262 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.34-r1.ebuild,v 1.5 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-
-EXISCANACL_VER=${PV}-21
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc amd64 alpha hppa ppc"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- >=dev-libs/libpcre-3.4
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )"
-RDEPEND="${DEPEND}
- mailwrapper? ( >=net-mail/mailwrapper-0.2 )
- !mailwrapper? ( !virtual/mta )
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- fperms 4755 /usr/sbin/exim
-
- dodir /usr/bin /usr/sbin /usr/lib
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../sbin/exim /usr/bin/newaliases
- if \[ ! -e /usr/bin/mail \] && \[ ! -e /bin/mail \]; then
- einfo "Installing symbolic link /usr/bin/mail -> /usr/sbin/exim"
- einfo "If you install mailx please *REMOVE* that link, that way"
- einfo "scripts will use the mailx-binary instead of the exim-binary."
- dosym ../sbin/exim /usr/bin/mail
- else
- einfo "NOT installing symbolic link /usr/bin/mail -> /usr/sbin/exim,"
- einfo "because you already have a mail-binary."
- fi
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym ../sbin/exim /usr/lib/sendmail
-
- if use mailwrapper
- then
- insinto /etc/mail
- doins ${FILESDIR}/mailer.conf
- else
- dosym exim /usr/sbin/sendmail
- fi
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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
-}
diff --git a/mail-mta/exim/exim-4.34.ebuild b/mail-mta/exim/exim-4.34.ebuild
deleted file mode 100644
index e134ba13e84a..000000000000
--- a/mail-mta/exim/exim-4.34.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.34.ebuild,v 1.5 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="X dnsdb exiscan exiscan-acl ipv6 ldap lmtp maildir mbox mysql pam perl postgres sasl ssl tcpd wildlsearch"
-
-EXISCANACL_VER=${PV}-21
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc amd64 alpha hppa ppc"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- >=dev-libs/libpcre-3.4
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )"
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- fperms 4755 /usr/sbin/exim
-
- dodir /usr/bin /usr/sbin /usr/lib
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../sbin/exim /usr/bin/newaliases
- if \[ ! -e /usr/bin/mail \] && \[ ! -e /bin/mail \]; then
- einfo "Installing symbolic link /usr/bin/mail -> /usr/sbin/exim"
- einfo "If you install mailx please *REMOVE* that link, that way"
- einfo "scripts will use the mailx-binary instead of the exim-binary."
- dosym ../sbin/exim /usr/bin/mail
- else
- einfo "NOT installing symbolic link /usr/bin/mail -> /usr/sbin/exim,"
- einfo "because you already have a mail-binary."
- fi
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym exim /usr/sbin/sendmail
- dosym ../sbin/exim /usr/lib/sendmail
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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."
-}
diff --git a/mail-mta/exim/exim-4.40.ebuild b/mail-mta/exim/exim-4.40.ebuild
deleted file mode 100644
index f22b829e110d..000000000000
--- a/mail-mta/exim/exim-4.40.ebuild
+++ /dev/null
@@ -1,263 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.40.ebuild,v 1.3 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-
-EXISCANACL_VER=${PV}-23
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~ppc"
-#KEYWORDS="x86 sparc amd64 alpha hppa ppc"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )
- X? ( virtual/x11 )"
- # added X check for #57206
-RDEPEND="${DEPEND}
- mailwrapper? ( >=net-mail/mailwrapper-0.2 )
- !mailwrapper? ( !virtual/mta )
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../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
- 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
- fi
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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
-}
diff --git a/mail-mta/exim/exim-4.41.ebuild b/mail-mta/exim/exim-4.41.ebuild
deleted file mode 100644
index cefc99a6dbe4..000000000000
--- a/mail-mta/exim/exim-4.41.ebuild
+++ /dev/null
@@ -1,263 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.41.ebuild,v 1.5 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-
-EXISCANACL_VER=${PV}-24
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc hppa ppc"
-#KEYWORDS="x86 sparc amd64 alpha hppa ppc"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )
- X? ( virtual/x11 )"
- # added X check for #57206
-RDEPEND="${DEPEND}
- mailwrapper? ( >=net-mail/mailwrapper-0.2 )
- !mailwrapper? ( !virtual/mta )
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../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
- 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
- fi
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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
-}
diff --git a/mail-mta/exim/exim-4.42.ebuild b/mail-mta/exim/exim-4.42.ebuild
deleted file mode 100644
index 7b6d9811adf4..000000000000
--- a/mail-mta/exim/exim-4.42.ebuild
+++ /dev/null
@@ -1,262 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.42.ebuild,v 1.9 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-
-EXISCANACL_VER=${PV}-27
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc hppa alpha amd64"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )
- X? ( virtual/x11 )"
- # added X check for #57206
-RDEPEND="${DEPEND}
- mailwrapper? ( >=net-mail/mailwrapper-0.2 )
- !mailwrapper? ( !virtual/mta )
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../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
- 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
- fi
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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
-}
diff --git a/mail-mta/exim/exim-4.43.ebuild b/mail-mta/exim/exim-4.43.ebuild
deleted file mode 100644
index 18d51aaa5199..000000000000
--- a/mail-mta/exim/exim-4.43.ebuild
+++ /dev/null
@@ -1,262 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.43.ebuild,v 1.4 2005/01/08 19:09:19 peitolm Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-
-EXISCANACL_VER=${PV}-28
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc ~hppa ~alpha ~amd64 ~ia64"
-
-PROVIDE="virtual/mta"
-DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
- >=sys-libs/db-3.2
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( sys-apps/tcp-wrappers )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( >=dev-db/mysql-3.23.28 )
- postgres? ( >=dev-db/postgresql-7 )
- sasl? ( >=dev-libs/cyrus-sasl-2.1.14 )
- X? ( virtual/x11 )"
- # added X check for #57206
-RDEPEND="${DEPEND}
- mailwrapper? ( >=net-mail/mailwrapper-0.2 )
- !mailwrapper? ( !virtual/mta )
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- local myconf
-
- epatch ${FILESDIR}/exim-4.14-tail.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
- epatch ${FILESDIR}/exim-4.30-conf.patch
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
- # 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=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \
- -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/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:" \
- src/EDITME > Local/Makefile
-
- 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
- if use mbox; 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
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- sed -i \
- -e "s:# \(SUPPORT_TLS=yes\):\1:" \
- -e "s:# \(TLS_LIBS=-lssl -lcrypto\):\1:" Local/Makefile
- 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 [ -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:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
-
- 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
-
- # 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
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../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
- 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
- fi
-
- exeinto /usr/sbin
- for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \
- exim_tidydb exinext exiwhat exigrep eximstats exiqsumm \
- convert4r3 convert4r4
- 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
-
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- newins ${FILESDIR}/pam.d-exim exim
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
-
- insinto /etc/conf.d
- newins ${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
-}
diff --git a/mail-mta/exim/exim-4.43-r1.ebuild b/mail-mta/exim/exim-4.50-r1.ebuild
index 1cf8a5fb1135..e5ce317c021f 100644
--- a/mail-mta/exim/exim-4.43-r1.ebuild
+++ b/mail-mta/exim/exim-4.50-r1.ebuild
@@ -1,25 +1,22 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.43-r1.ebuild,v 1.2 2005/01/08 19:09:19 peitolm Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.50-r1.ebuild,v 1.1 2005/03/08 20:00:06 peitolm Exp $
inherit eutils
-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-
-EXISCANACL_VER=${PV}-28
+IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dnsdb perl mbox X exiscan nis syslog"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
+SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2"
HOMEPAGE="http://www.exim.org/"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~hppa ~alpha ~amd64 ~ia64"
+KEYWORDS="~x86 ~sparc"
PROVIDE="virtual/mta"
DEPEND=">=sys-apps/sed-4.0.5
- dev-lang/perl
+ perl? ( sys-devel/libperl )
>=sys-libs/db-3.2
pam? ( >=sys-libs/pam-0.75 )
tcpd? ( sys-apps/tcp-wrappers )
@@ -42,6 +39,7 @@ src_unpack() {
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"
@@ -50,12 +48,8 @@ src_unpack() {
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
- epatch ${FILESDIR}/exim-4.30-conf.patch
+ epatch ${FILESDIR}/exim-4.30-conf.patch
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
# Includes Typo fix for bug 47106
sed -e "48i\CFLAGS=${CFLAGS}" \
-e "s:# AUTH_CRAM_MD5=yes:AUTH_CRAM_MD5=yes:" \
@@ -74,8 +68,15 @@ src_unpack() {
-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
+ fi
+
cd Local
# enable optional exim_monitor support via X use flag bug #46778
if use X; then
@@ -160,18 +161,20 @@ src_unpack() {
cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile
- if use wildlsearch; then
- sed -i \
- -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" \
- -e "s:# LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
- fi
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
- # Use the "native" interface to the DBM library
+ 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
+# Use the "native" interface to the DBM library
echo "USE_DB=yes" >> ${S}/Local/Makefile
}
diff --git a/mail-mta/exim/files/digest-exim-4.33-r1 b/mail-mta/exim/files/digest-exim-4.33-r1
deleted file mode 100644
index 9b87feb03933..000000000000
--- a/mail-mta/exim/files/digest-exim-4.33-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 8514c800172e4ab4e9cb90553605e1f2 exim-4.33.tar.bz2 1327741
-MD5 5e9d3be31121ea5ece12d872a368717c exiscan-acl-4.33-20.patch 395525
diff --git a/mail-mta/exim/files/digest-exim-4.34 b/mail-mta/exim/files/digest-exim-4.34
deleted file mode 100644
index 8f852ab954ed..000000000000
--- a/mail-mta/exim/files/digest-exim-4.34
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 bab611edc153867334b1c7cffd8fe3c0 exim-4.34.tar.bz2 1328742
-MD5 6fa74ecf1c2a83dbce1e46f991fce27b exiscan-acl-4.34-21.patch 395967
diff --git a/mail-mta/exim/files/digest-exim-4.34-r1 b/mail-mta/exim/files/digest-exim-4.34-r1
deleted file mode 100644
index 8f852ab954ed..000000000000
--- a/mail-mta/exim/files/digest-exim-4.34-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 bab611edc153867334b1c7cffd8fe3c0 exim-4.34.tar.bz2 1328742
-MD5 6fa74ecf1c2a83dbce1e46f991fce27b exiscan-acl-4.34-21.patch 395967
diff --git a/mail-mta/exim/files/digest-exim-4.40 b/mail-mta/exim/files/digest-exim-4.40
deleted file mode 100644
index 9cd6c5ea2a60..000000000000
--- a/mail-mta/exim/files/digest-exim-4.40
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 af6db81a995046e1e30bcfda6ed0b357 exim-4.40.tar.bz2 1340622
-MD5 611f652859d354cdef675f764b7c885b exiscan-acl-4.40-23.patch 422147
diff --git a/mail-mta/exim/files/digest-exim-4.41 b/mail-mta/exim/files/digest-exim-4.41
deleted file mode 100644
index f55d7a747bdf..000000000000
--- a/mail-mta/exim/files/digest-exim-4.41
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 769c8b03cdefcc98c9707dde965c96f1 exim-4.41.tar.bz2 1340206
-MD5 6cdc86a7700d6b83a2bfb227e51805e1 exiscan-acl-4.41-24.patch 424790
diff --git a/mail-mta/exim/files/digest-exim-4.42 b/mail-mta/exim/files/digest-exim-4.42
deleted file mode 100644
index d19aeeaa9ef3..000000000000
--- a/mail-mta/exim/files/digest-exim-4.42
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 eb6a06e70a78a03200b4e4aefbb7b0aa exim-4.42.tar.bz2 1360728
-MD5 3dc7322b6852eb05f7acc3a1108810d6 exiscan-acl-4.42-27.patch 437443
diff --git a/mail-mta/exim/files/digest-exim-4.43 b/mail-mta/exim/files/digest-exim-4.43
deleted file mode 100644
index 5deaf298b99b..000000000000
--- a/mail-mta/exim/files/digest-exim-4.43
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 f8f646d4920660cb5579becd9265a3bf exim-4.43.tar.bz2 1388183
-MD5 5363ec73d6c3f9b5c8c87b246027cbf7 exiscan-acl-4.43-28.patch 440225
diff --git a/mail-mta/exim/files/digest-exim-4.43-r1 b/mail-mta/exim/files/digest-exim-4.43-r1
deleted file mode 100644
index 5deaf298b99b..000000000000
--- a/mail-mta/exim/files/digest-exim-4.43-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 f8f646d4920660cb5579becd9265a3bf exim-4.43.tar.bz2 1388183
-MD5 5363ec73d6c3f9b5c8c87b246027cbf7 exiscan-acl-4.43-28.patch 440225
diff --git a/mail-mta/exim/files/digest-exim-4.50-r1 b/mail-mta/exim/files/digest-exim-4.50-r1
new file mode 100644
index 000000000000..a96f78c973a6
--- /dev/null
+++ b/mail-mta/exim/files/digest-exim-4.50-r1
@@ -0,0 +1 @@
+MD5 7844eff82171872f6b3971a4183368d9 exim-4.50.tar.bz2 1434928