summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Morey <peitolm@gentoo.org>2004-08-30 12:30:50 +0000
committerColin Morey <peitolm@gentoo.org>2004-08-30 12:30:50 +0000
commit253b312bc9156984fb549602ca09f1560db23824 (patch)
treecef0e959e851645da1cfeb91259b65c1b56f80c2 /mail-mta
parentAdded to ~ppc (Manifest recommit) (diff)
downloadgentoo-2-253b312bc9156984fb549602ca09f1560db23824.tar.gz
gentoo-2-253b312bc9156984fb549602ca09f1560db23824.tar.bz2
gentoo-2-253b312bc9156984fb549602ca09f1560db23824.zip
New version Bump, bumping 4.41 to stable as well.
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/exim/ChangeLog19
-rw-r--r--mail-mta/exim/Manifest24
-rw-r--r--mail-mta/exim/exim-4.10.ebuild206
-rw-r--r--mail-mta/exim/exim-4.12.ebuild193
-rw-r--r--mail-mta/exim/exim-4.14.ebuild195
-rw-r--r--mail-mta/exim/exim-4.20-r1.ebuild215
-rw-r--r--mail-mta/exim/exim-4.20-r2.ebuild218
-rw-r--r--mail-mta/exim/exim-4.20.ebuild196
-rw-r--r--mail-mta/exim/exim-4.21.ebuild210
-rw-r--r--mail-mta/exim/exim-4.22.ebuild216
-rw-r--r--mail-mta/exim/exim-4.24-r1.ebuild216
-rw-r--r--mail-mta/exim/exim-4.24-r2.ebuild216
-rw-r--r--mail-mta/exim/exim-4.24-r3.ebuild217
-rw-r--r--mail-mta/exim/exim-4.24.ebuild216
-rw-r--r--mail-mta/exim/exim-4.30-r1.ebuild232
-rw-r--r--mail-mta/exim/exim-4.30.ebuild217
-rw-r--r--mail-mta/exim/exim-4.31.ebuild232
-rw-r--r--mail-mta/exim/exim-4.32-r1.ebuild245
-rw-r--r--mail-mta/exim/exim-4.32.ebuild245
-rw-r--r--mail-mta/exim/exim-4.41.ebuild4
-rw-r--r--mail-mta/exim/exim-4.42.ebuild (renamed from mail-mta/exim/exim-4.33.ebuild)51
-rw-r--r--mail-mta/exim/files/digest-exim-4.102
-rw-r--r--mail-mta/exim/files/digest-exim-4.122
-rw-r--r--mail-mta/exim/files/digest-exim-4.142
-rw-r--r--mail-mta/exim/files/digest-exim-4.203
-rw-r--r--mail-mta/exim/files/digest-exim-4.20-r13
-rw-r--r--mail-mta/exim/files/digest-exim-4.20-r21
-rw-r--r--mail-mta/exim/files/digest-exim-4.212
-rw-r--r--mail-mta/exim/files/digest-exim-4.222
-rw-r--r--mail-mta/exim/files/digest-exim-4.242
-rw-r--r--mail-mta/exim/files/digest-exim-4.24-r12
-rw-r--r--mail-mta/exim/files/digest-exim-4.24-r22
-rw-r--r--mail-mta/exim/files/digest-exim-4.24-r32
-rw-r--r--mail-mta/exim/files/digest-exim-4.302
-rw-r--r--mail-mta/exim/files/digest-exim-4.30-r11
-rw-r--r--mail-mta/exim/files/digest-exim-4.312
-rw-r--r--mail-mta/exim/files/digest-exim-4.322
-rw-r--r--mail-mta/exim/files/digest-exim-4.32-r12
-rw-r--r--mail-mta/exim/files/digest-exim-4.332
-rw-r--r--mail-mta/exim/files/digest-exim-4.421
40 files changed, 59 insertions, 3761 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 1986b612b769..173e8b7a8be9 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,23 @@
# ChangeLog for mail-mta/exim
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.8 2004/07/22 21:38:46 peitolm Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.9 2004/08/30 12:30:50 peitolm Exp $
+
+*exim-4.42 (30 Aug 2004)
+
+ 30 Aug 2004; Colin Morey <peitolm@gentoo.org> -exim-4.10.ebuild,
+ -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 <peitolm@gentoo.org> exim-4.41.ebuild,
+ +exim-4.42.ebuild:
+ Version bump to 4.42 and stablization of exim-4.41.ebuild
*exim-4.41 (22 Jul 2004)
diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest
index a57c20a8de80..804f673386aa 100644
--- a/mail-mta/exim/Manifest
+++ b/mail-mta/exim/Manifest
@@ -1,28 +1,11 @@
-MD5 d9c531224e702db3b4d096e544e87290 ChangeLog 12548
-MD5 e498dba7d22feb6bef903da80a2aee43 exim-4.10.ebuild 6180
-MD5 24a6506bc881d3a5caa69e99ef0f55da exim-4.12.ebuild 5442
-MD5 9f7020ef1d7571e5dab7b036d5eaf57d exim-4.14.ebuild 5490
-MD5 8ac10808a0dcbab81662710e43f8f174 exim-4.20-r1.ebuild 6240
-MD5 63def95af6f1e689ae24713d9b67488d exim-4.20-r2.ebuild 6333
-MD5 7d3cb16381348b25c6d8e8636909a227 exim-4.20.ebuild 5577
-MD5 ac610c2bde1f4dc8a17b225aa2296d68 exim-4.21.ebuild 6156
-MD5 9f98fdabf372bb5bfd00d7addace6fb1 exim-4.22.ebuild 6370
-MD5 19e37995d87f119c0247162e0268b2b9 exim-4.24-r1.ebuild 6385
-MD5 327c630edb4a9308ef6b2bb2258d4a30 exim-4.24-r2.ebuild 6396
-MD5 55393e61777e6713c7298f3f285a7666 exim-4.24-r3.ebuild 6447
-MD5 c9255dc424655f584522ee766fe1d98c exim-4.24.ebuild 6370
-MD5 fe28cf15d4dacf7d18633ab7262e891e exim-4.30-r1.ebuild 7099
-MD5 00c3e05529a17396d53cf51fada83583 exim-4.30.ebuild 6416
-MD5 67244cc2ff22bc65896fddb9e49f8e89 exim-4.31.ebuild 7095
-MD5 07a3e8a8cf202db0224e3a16fcff0d2d exim-4.32-r1.ebuild 7543
-MD5 53237fa96d5fb17feced3021364c9e6e exim-4.32.ebuild 7542
+MD5 6939e9dd5bf2461b6e2423f8d28a622f ChangeLog 13261
MD5 3faecfffa69ae8404a41a8d39201b3e1 exim-4.33-r1.ebuild 7626
-MD5 7ca071417f6a32f8c3d1900e941037ef exim-4.33.ebuild 7543
MD5 8807b47f2f299eb16a17bf4904c4ca81 exim-4.34-r1.ebuild 7933
MD5 4f81a30a363f8dee30864633df6649f4 exim-4.34.ebuild 7562
MD5 33dd717372c0b5d66b421e65dc0e45e3 metadata.xml 1065
MD5 765424c8f863b33e5d246d54c3e52ec7 exim-4.40.ebuild 7735
-MD5 1d27e2e4ab1d1b1053631b233d817dd9 exim-4.41.ebuild 7735
+MD5 82aa7047804f43c5b03bd261ec8fd6bb exim-4.41.ebuild 7733
+MD5 35043cf01806d1b138ebbb8fe036d151 exim-4.42.ebuild 7692
MD5 22fec326813079b35bb1997f9b323060 files/digest-exim-4.40 133
MD5 68fc403ba2c98ccba281939085cb9052 files/auth_conf.sub 775
MD5 0cb2ffe88c81fd7ac8429b5a19d58b35 files/configure 16346
@@ -59,3 +42,4 @@ MD5 de6d33cbc3f6762f73fbe852c318e461 files/mailer.conf 1301
MD5 d230e0fa45f2b65d5bc50c0879c40148 files/pam.d-exim 101
MD5 4c0b8ee742360c08f0bc0b526fcaad10 files/system_filter.exim 8120
MD5 fc1d2de3c279dab8107d973ae63301d6 files/digest-exim-4.41 133
+MD5 a010dc068b13808e274cf07af859c802 files/digest-exim-4.42 63
diff --git a/mail-mta/exim/exim-4.10.ebuild b/mail-mta/exim/exim-4.10.ebuild
deleted file mode 100644
index 0ae4df567aea..000000000000
--- a/mail-mta/exim/exim-4.10.ebuild
+++ /dev/null
@@ -1,206 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# Updated to exim-4 by Ben Lutgens <lamer@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.10.ebuild,v 1.5 2004/07/14 16:50:36 agriffis Exp $
-
-IUSE="tcpd ssl postgres mysql ldap pam"
-
-EXISCAN_VER=${PV}-16
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- http://duncanthrax.net/exiscan/exiscan-${EXISCAN_VER}.tar.gz"
-HOMEPAGE="http://www.exim.org/"
-
-DEPEND="virtual/libc
- >=sys-libs/db-3.2
- >=dev-lang/perl-5.6.0
- >=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 )"
-RDEPEND="${DEPEND}
- !virtual/mta
- >=net-mail/mailbase-0.00"
-PROVIDE="virtual/mta"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc ppc"
-
-src_unpack() {
-
- local myconf
- unpack ${A}
-
- cd ${S}/src
- patch < ${FILESDIR}/${PF}-gentoo.diff || die
- cd ${S}
-
- einfo "Patching exiscan support into exim ${PV}.."
- patch -p1 < ${WORKDIR}/exiscan-${EXISCAN_VER}/exiscan-${EXISCAN_VER}.patch
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \
- -e "s:# LOG_FILE_PATH=syslog:LOG_FILE_PATH=syslog:" \
- -e "s:LOG_FILE_PATH=syslog\:/var/log/exim_%slog::" \
- -e "s:# PID_FILE_PATH=/var/lock/exim%s.pid:PID_FILE_PATH=/var/run/exim%s.pid:" \
- -e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \
- -e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \
- -e "s:# SUPPORT_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- cp Makefile Makefile.orig
- sed -e "s:# SUPPORT_PAM=yes:SUPPORT_PAM=yes:" Makefile.orig > Makefile
- myconf="${myconf} -lpam"
- fi
- if use tcpd; then
- cp Makefile Makefile.orig
- sed -e "s:# USE_TCP_WRAPPERS=yes:USE_TCP_WRAPPERS=yes:" Makefile.orig > Makefile
- myconf="${myconf} -lwrap"
- fi
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> Makefile
- fi
-
- cd ${S}
- if use ssl; then
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# SUPPORT_TLS=yes:SUPPORT_TLS=yes:" \
- -e "s:# TLS_LIBS=-lssl -lcrypto:TLS_LIBS=-lssl -lcrypto:" Local/Makefile.tmp > Local/Makefile
- fi
-
- LOOKUP_INCLUDE=
- LOOKUP_LIBS=
-
- if use ldap; then
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_LDAP=yes:LOOKUP_LDAP=yes:" \
- -e "s:# LDAP_LIB_TYPE=OPENLDAP2:LDAP_LIB_TYPE=OPENLDAP2:" \
- Local/Makefile.tmp >| Local/Makefile
- LOOKUP_INCLUDE="-I/usr/include/ldap"
- LOOKUP_LIBS="-L/usr/lib -lldap -llber"
- fi
-
- if use mysql; then
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_MYSQL=yes:LOOKUP_MYSQL=yes:" \
- Local/Makefile.tmp >| Local/Makefile
- LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/mysql"
- LOOKUP_LIBS="$LOOKUP_LIBS -L/usr/lib -lmysqlclient"
- fi
-
- if use postgres; then
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_PGSQL=yes:LOOKUP_PGSQL=yes:" \
- Local/Makefile.tmp >| Local/Makefile
- LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/postgresql"
- LOOKUP_LIBS="$LOOKUP_LIBS -lpq"
- fi
-
- if [ -n "$LOOKUP_INCLUDE" ]; then
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include:LOOKUP_INCLUDE=$LOOKUP_INCLUDE:" \
- Local/Makefile.tmp >| Local/Makefile
- fi
-
- if [ -n "$LOOKUP_LIBS" ]; then
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq:LOOKUP_LIBS=$LOOKUP_LIBS:" \
- Local/Makefile.tmp >| Local/Makefile
- fi
-
-
- cat Makefile | sed -e 's/^buildname=.*/buildname=exim-gentoo/g' > Makefile.gentoo && mv -f Makefile.gentoo Makefile
-
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile.tmp >| Local/Makefile
-
- cp Local/Makefile Local/Makefile.tmp
- sed -e "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile.tmp >| Local/Makefile
-}
-
-src_compile() {
-
- make || die
-
-}
-
-
-src_install () {
-
- cd ${S}/build-exim-gentoo
- insopts -o root -g root -m 4755
- insinto /usr/sbin
- doins exim
-
- dodir /usr/bin /usr/sbin /usr/lib
- dosym /usr/sbin/exim /usr/bin/mailq
- dosym /usr/sbin/exim /usr/bin/newaliases
- dosym /usr/sbin/exim /usr/bin/mail
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym /usr/sbin/exim /usr/lib/sendmail
- dosym /usr/sbin/exim /usr/sbin/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
-
- dodir /etc/exim
-
- cd ${S}/src
- cp configure.default ${D}/etc/exim/exim.conf.dist
-
- dodoc ${S}/doc/*
- doman ${S}/doc/exim.8
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- doins ${FILESDIR}/pam.d-exim
-
- # A nice filter for exim to protect your windows clients.
- insinto /etc/exim
- doins ${FILESDIR}/system_filter.exim
- dodoc ${FILESDIR}/auth_conf.sub
- doins ${FILESDIR}/exiscan.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
- insinto /etc/conf.d
- newins ${FILESDIR}/exim.confd exim
-}
-
-
-pkg_config() {
-
- ${ROOT}/usr/sbin/rc-update add exim
-
-}
-
-pkg_postinst() {
-
- einfo "Read the bottom of /etc/exim/system_filter.exim for usage."
- einfo "/usr/share/doc/${P}/auth_conf.sub.gz 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.12.ebuild b/mail-mta/exim/exim-4.12.ebuild
deleted file mode 100644
index cce6f034e98c..000000000000
--- a/mail-mta/exim/exim-4.12.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.12.ebuild,v 1.2 2004/06/24 22:23:33 agriffis Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam"
-
-EXISCAN_VER=${PV}-21
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- http://duncanthrax.net/exiscan/exiscan-${EXISCAN_VER}.tar.gz"
-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 )"
-
-RDEPEND="${DEPEND}
- !virtual/mta
- >=net-mail/mailbase-0.00-r4"
-
-src_unpack() {
- unpack ${A}
-
- local myconf
-
- cd ${S}
- einfo "Patching exiscan support into exim ${PV}.."
- epatch ${WORKDIR}/exiscan-${EXISCAN_VER}/exiscan-${EXISCAN_VER}.patch
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \
- -e "s:# LOG_FILE_PATH=syslog:LOG_FILE_PATH=syslog:" \
- -e "s:LOG_FILE_PATH=syslog\:/var/log/exim_%slog::" \
- -e "s:# PID_FILE_PATH=/var/lock/exim%s.pid:PID_FILE_PATH=/var/run/exim%s.pid:" \
- -e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \
- -e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \
- -e "s:# SUPPORT_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
- myconf="${myconf} -lpam"
- fi
- if use tcpd; then
- sed -i "s:# \(USE_TCP_WRAPPERS=yes\):\1:" Makefile
- myconf="${myconf} -lwrap"
- fi
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile
-}
-
-src_compile() {
- make || die
-}
-
-
-src_install () {
-
- cd ${S}/build-exim-gentoo
- insopts -o root -g root -m 4755
- insinto /usr/sbin
- doins exim
-
- dodir /usr/bin /usr/sbin /usr/lib
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../sbin/exim /usr/bin/newaliases
- dosym ../sbin/exim /usr/bin/mail
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym exim /usr/sbin/sendmail
- dosym /usr/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
-
- dodir /etc/exim
-
- cd ${S}/src
- cp configure.default ${D}/etc/exim/exim.conf.dist
-
- dodoc ${S}/doc/*
- doman ${S}/doc/exim.8
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- doins ${FILESDIR}/pam.d-exim
-
- # A nice filter for exim to protect your windows clients.
- insinto /etc/exim
- doins ${FILESDIR}/system_filter.exim
- dodoc ${FILESDIR}/auth_conf.sub
- doins ${FILESDIR}/exiscan.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
- insinto /etc/conf.d
- newins ${FILESDIR}/exim.confd exim
- fperms 644 /etc/conf.d/exim
-}
-
-
-pkg_config() {
-
- ${ROOT}/usr/sbin/rc-update add exim
-
-}
-
-pkg_postinst() {
-
- einfo "Read the bottom of /etc/exim/system_filter.exim for usage."
- einfo "/usr/share/doc/${P}/auth_conf.sub.gz 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.14.ebuild b/mail-mta/exim/exim-4.14.ebuild
deleted file mode 100644
index 42b44dd1f79a..000000000000
--- a/mail-mta/exim/exim-4.14.ebuild
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.14.ebuild,v 1.2 2004/06/24 22:23:33 agriffis Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam"
-
-EXISCAN_VER=${PV}-26
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- http://duncanthrax.net/exiscan/exiscan-${EXISCAN_VER}.tar.gz"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ~sparc amd64"
-
-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 )"
-
-RDEPEND="${DEPEND}
- !virtual/mta
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
-
- local myconf
-
- cd ${S}
- einfo "Patching exiscan support into exim ${PV}.."
- epatch ${WORKDIR}/exiscan-${EXISCAN_VER}/exiscan-${EXISCAN_VER}.patch
-
- epatch ${FILESDIR}/exim-4.14-tail.patch
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \
- -e "s:# LOG_FILE_PATH=syslog:LOG_FILE_PATH=syslog:" \
- -e "s:LOG_FILE_PATH=syslog\:/var/log/exim_%slog::" \
- -e "s:# PID_FILE_PATH=/var/lock/exim%s.pid:PID_FILE_PATH=/var/run/exim%s.pid:" \
- -e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \
- -e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \
- -e "s:# SUPPORT_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
- myconf="${myconf} -lpam"
- fi
- if use tcpd; then
- sed -i "s:# \(USE_TCP_WRAPPERS=yes\):\1:" Makefile
- myconf="${myconf} -lwrap"
- fi
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile
-}
-
-src_compile() {
- make || die
-}
-
-
-src_install () {
-
- cd ${S}/build-exim-gentoo
- insopts -o root -g root -m 4755
- insinto /usr/sbin
- doins exim
-
- dodir /usr/bin /usr/sbin /usr/lib
- dosym ../sbin/exim /usr/bin/mailq
- dosym ../sbin/exim /usr/bin/newaliases
- dosym ../sbin/exim /usr/bin/mail
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym exim /usr/sbin/sendmail
- dosym /usr/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
-
- dodir /etc/exim
-
- cd ${S}/src
- cp configure.default ${D}/etc/exim/exim.conf.dist
-
- dodoc ${S}/doc/*
- doman ${S}/doc/exim.8
- # INSTALL a pam.d file for SMTP AUTH that works with gentoo's pam
- insinto /etc/pam.d
- doins ${FILESDIR}/pam.d-exim
-
- # A nice filter for exim to protect your windows clients.
- insinto /etc/exim
- doins ${FILESDIR}/system_filter.exim
- dodoc ${FILESDIR}/auth_conf.sub
- doins ${FILESDIR}/exiscan.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/exim.rc6 exim
- insinto /etc/conf.d
- newins ${FILESDIR}/exim.confd exim
- fperms 644 /etc/conf.d/exim
-}
-
-
-pkg_config() {
-
- ${ROOT}/usr/sbin/rc-update add exim
-
-}
-
-pkg_postinst() {
-
- einfo "Read the bottom of /etc/exim/system_filter.exim for usage."
- einfo "/usr/share/doc/${P}/auth_conf.sub.gz 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.20-r1.ebuild b/mail-mta/exim/exim-4.20-r1.ebuild
deleted file mode 100644
index 0e4c296c9c55..000000000000
--- a/mail-mta/exim/exim-4.20-r1.ebuild
+++ /dev/null
@@ -1,215 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.20-r1.ebuild,v 1.3 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan exiscan-acl maildir lmtp"
-
-EXISCAN_VER=${PV}-26
-EXISCANACL_VER=${PV}-09
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- exiscan? ( http://duncanthrax.net/exiscan/exiscan-${EXISCAN_VER}.tar.gz )
- 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 ~amd64"
-
-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 )"
-
-RDEPEND="${DEPEND}
- !virtual/mta
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
-
- local myconf
-
- cd ${S}
-
- epatch ${FILESDIR}/exim-4.14-tail.patch
-
- if use maildir; then
- einfo "Patching maildir support into exim.conf"
- epatch ${FILESDIR}/exim-${PV}-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
- if use exiscan; then
- einfo "Patching exiscan support into exim ${PV}.."
- epatch ${WORKDIR}/exiscan-${EXISCAN_VER}/exiscan-${EXISCAN_VER}.patch
- fi
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
- myconf="${myconf} -lpam"
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile
-}
-
-src_compile() {
- make || die
-}
-
-
-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
- dosym ../sbin/exim /usr/bin/mail
- 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.20-r2.ebuild b/mail-mta/exim/exim-4.20-r2.ebuild
deleted file mode 100644
index 9d40feb488cb..000000000000
--- a/mail-mta/exim/exim-4.20-r2.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.20-r2.ebuild,v 1.3 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan exiscan-acl maildir lmtp"
-
-EXISCAN_VER=${PV}-26
-EXISCANACL_VER=${PV}-09
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- exiscan? ( http://duncanthrax.net/exiscan/exiscan-${EXISCAN_VER}.tar.gz )
- 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 ~amd64"
-
-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 )"
-
-RDEPEND="${DEPEND}
- !virtual/mta
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
-
- local myconf
-
- cd ${S}
-
- epatch ${FILESDIR}/exim-4.14-tail.patch
-
- if use maildir; then
- einfo "Patching maildir support into exim.conf"
- epatch ${FILESDIR}/exim-${PV}-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
- if use exiscan; then
- einfo "Patching exiscan support into exim ${PV}.."
- epatch ${WORKDIR}/exiscan-${EXISCAN_VER}/exiscan-${EXISCAN_VER}.patch
- fi
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
- myconf="${myconf} -lpam"
- 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 [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- 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
-}
-
-
-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
- dosym ../sbin/exim /usr/bin/mail
- 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.20.ebuild b/mail-mta/exim/exim-4.20.ebuild
deleted file mode 100644
index b2ca3a674a6d..000000000000
--- a/mail-mta/exim/exim-4.20.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.20.ebuild,v 1.2 2004/06/24 22:23:33 agriffis Exp $
-
-inherit eutils
-
-IUSE="tcpd ssl postgres mysql ldap pam exiscan exiscan-acl"
-
-EXISCAN_VER=${PV}-26
-EXISCANACL_VER=${PV}-09
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- exiscan? ( http://duncanthrax.net/exiscan/exiscan-${EXISCAN_VER}.tar.gz )
- 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 )"
-
-RDEPEND="${DEPEND}
- !virtual/mta
- >=net-mail/mailbase-0.00-r5"
-
-src_unpack() {
- unpack ${A}
-
- local myconf
-
- cd ${S}
- if use exiscan; then
- einfo "Patching exiscan support into exim ${PV}.."
- epatch ${WORKDIR}/exiscan-${EXISCAN_VER}/exiscan-${EXISCAN_VER}.patch
- fi
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \
- -e "s:# LOG_FILE_PATH=syslog:LOG_FILE_PATH=syslog:" \
- -e "s:LOG_FILE_PATH=syslog\:/var/log/exim_%slog::" \
- -e "s:# PID_FILE_PATH=/var/lock/exim%s.pid:PID_FILE_PATH=/var/run/exim%s.pid:" \
- -e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \
- -e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \
- -e "s:# SUPPORT_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
- myconf="${myconf} -lpam"
- fi
- if use tcpd; then
- sed -i "s:# \(USE_TCP_WRAPPERS=yes\):\1:" Makefile
- myconf="${myconf} -lwrap"
- fi
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile
-}
-
-src_compile() {
- make || die
-}
-
-
-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 exim /usr/bin/mailq
- dosym exim /usr/bin/newaliases
- dosym exim /usr/bin/mail
- dosym exim /usr/sbin/rsmtp
- dosym exim /usr/sbin/rmail
- dosym exim /usr/sbin/sendmail
- dosym 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 exim.conf.dist
- doins ${FILESDIR}/system_filter.exim
- doins ${FILESDIR}/auth_conf.sub
- if use exiscan; then
- 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
-}
-
-
-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.21.ebuild b/mail-mta/exim/exim-4.21.ebuild
deleted file mode 100644
index 1b8634d47333..000000000000
--- a/mail-mta/exim/exim-4.21.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.21.ebuild,v 1.3 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres ssl tcpd"
-
-EXISCANACL_VER=${PV}-10
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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 amd64 ~alpha"
-
-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 )"
-RDEPEND="${DEPEND}
- !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 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- if use pam; then
- sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile
- myconf="${myconf} -lpam"
- 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
- fi
-
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- 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
- dosym ../sbin/exim /usr/bin/mail
- 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.22.ebuild b/mail-mta/exim/exim-4.22.ebuild
deleted file mode 100644
index 26d04d814d72..000000000000
--- a/mail-mta/exim/exim-4.22.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.22.ebuild,v 1.3 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd"
-
-EXISCANACL_VER=${PV}-10
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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 ~amd64"
-
-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}
- !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 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- fi
-
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- 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
- dosym ../sbin/exim /usr/bin/mail
- 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.24-r1.ebuild b/mail-mta/exim/exim-4.24-r1.ebuild
deleted file mode 100644
index df1f954d7b91..000000000000
--- a/mail-mta/exim/exim-4.24-r1.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.24-r1.ebuild,v 1.3 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd"
-
-EXISCANACL_VER=${PV}-13
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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 ~amd64 ~alpha"
-
-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}
- !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 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- fi
-
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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
-
- 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
- dosym ../sbin/exim /usr/bin/mail
- 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.24-r2.ebuild b/mail-mta/exim/exim-4.24-r2.ebuild
deleted file mode 100644
index b79c03c6b4d1..000000000000
--- a/mail-mta/exim/exim-4.24-r2.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.24-r2.ebuild,v 1.4 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd"
-
-EXISCANACL_VER=${PV}-13
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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 ~amd64 ~alpha"
-
-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}
- !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 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- 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
-
- 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
- dosym ../sbin/exim /usr/bin/mail
- 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.24-r3.ebuild b/mail-mta/exim/exim-4.24-r3.ebuild
deleted file mode 100644
index a56359955dcd..000000000000
--- a/mail-mta/exim/exim-4.24-r3.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.24-r3.ebuild,v 1.4 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd"
-
-EXISCANACL_VER=${PV}-13
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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 ~amd64 ~alpha"
-
-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
-
- 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- 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
-
- 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/sendmail /usr/bin/mailq
- dosym ../sbin/sendmail /usr/bin/newaliases
- dosym ../sbin/sendmail /usr/bin/mail
- dosym sendmail /usr/sbin/rsmtp
- dosym sendmail /usr/sbin/rmail
- dosym ../sbin/sendmail /usr/lib/sendmail
- insinto /etc
- doins ${FILESDIR}/mailer.conf
-
- 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.24.ebuild b/mail-mta/exim/exim-4.24.ebuild
deleted file mode 100644
index daab8d9501ba..000000000000
--- a/mail-mta/exim/exim-4.24.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.24.ebuild,v 1.3 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd"
-
-EXISCANACL_VER=${PV}-13
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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 ~amd64"
-
-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}
- !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 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- fi
-
- if [ -n "$myconf" ] ; then
- echo "EXTRALIBS=${myconf}" >> 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: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
-
- 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
- dosym ../sbin/exim /usr/bin/mail
- 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.30-r1.ebuild b/mail-mta/exim/exim-4.30-r1.ebuild
deleted file mode 100644
index 26a8b450bdd1..000000000000
--- a/mail-mta/exim/exim-4.30-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.30-r1.ebuild,v 1.4 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="dnsdb exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd wildlsearch"
-
-EXISCANACL_VER=${PV}-16
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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/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
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- 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.30.ebuild b/mail-mta/exim/exim-4.30.ebuild
deleted file mode 100644
index 877e7393d160..000000000000
--- a/mail-mta/exim/exim-4.30.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.30.ebuild,v 1.4 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd"
-
-EXISCANACL_VER=${PV}-16
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- exiscan-acl? ( http://duncanthrax.net/exiscan-acl/exiscan-acl-${EXISCANACL_VER}.patch )"
-HOMEPAGE="http://www.exim.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 -*"
-
-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
-
- 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
-
- if use exiscan-acl; then
- einfo "Patching exican-acl support into exim ${PV}.."
- epatch ${DISTDIR}/exiscan-acl-${EXISCANACL_VER}.patch
- fi
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- 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
-
- 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/sendmail /usr/bin/mailq
- dosym ../sbin/sendmail /usr/bin/newaliases
- dosym ../sbin/sendmail /usr/bin/mail
- dosym sendmail /usr/sbin/rsmtp
- dosym sendmail /usr/sbin/rmail
- dosym ../sbin/sendmail /usr/lib/sendmail
- insinto /etc
- doins ${FILESDIR}/mailer.conf
-
- 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.31.ebuild b/mail-mta/exim/exim-4.31.ebuild
deleted file mode 100644
index 5d95e3300534..000000000000
--- a/mail-mta/exim/exim-4.31.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.31.ebuild,v 1.4 2004/07/14 16:50:36 agriffis Exp $
-
-inherit eutils
-
-IUSE="dnsdb exiscan exiscan-acl ipv6 ldap lmtp maildir mysql pam postgres sasl ssl tcpd wildlsearch"
-
-EXISCANACL_VER=${PV}-16
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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/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
-
- 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:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" \
- -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_MAILSTOR=yes:SUPPORT_MAILSTORE=yes:" \
- -e "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" \
- -e "s:EXIM_USER=:EXIM_USER=mail:" \
- -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \
- src/EDITME > Local/Makefile
-
- cd Local
- 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
- 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.32-r1.ebuild b/mail-mta/exim/exim-4.32-r1.ebuild
deleted file mode 100644
index 99f178096a2c..000000000000
--- a/mail-mta/exim/exim-4.32-r1.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.32-r1.ebuild,v 1.4 2004/07/14 16:50:36 agriffis 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}-19
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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/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.32.ebuild b/mail-mta/exim/exim-4.32.ebuild
deleted file mode 100644
index 48d90a919f2d..000000000000
--- a/mail-mta/exim/exim-4.32.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.32.ebuild,v 1.4 2004/07/14 16:50:36 agriffis 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}-18
-
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.gz
- 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/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.41.ebuild b/mail-mta/exim/exim-4.41.ebuild
index a7fd94db87f8..b2494a089299 100644
--- a/mail-mta/exim/exim-4.41.ebuild
+++ b/mail-mta/exim/exim-4.41.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.1 2004/07/22 21:38:46 peitolm Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.41.ebuild,v 1.2 2004/08/30 12:30:50 peitolm Exp $
inherit eutils
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.exim.org/"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc"
+KEYWORDS="x86 sparc"
#KEYWORDS="x86 sparc amd64 alpha hppa ppc"
PROVIDE="virtual/mta"
diff --git a/mail-mta/exim/exim-4.33.ebuild b/mail-mta/exim/exim-4.42.ebuild
index 3d25917c1153..f817df918b8e 100644
--- a/mail-mta/exim/exim-4.33.ebuild
+++ b/mail-mta/exim/exim-4.42.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.33.ebuild,v 1.4 2004/07/14 16:50:36 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.42.ebuild,v 1.1 2004/08/30 12:30:50 peitolm Exp $
inherit eutils
-IUSE="X dnsdb exiscan exiscan-acl ipv6 ldap lmtp maildir mbox mysql pam perl postgres sasl ssl tcpd wildlsearch"
+IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl wildlsearch dnsdb perl mbox X exiscan"
-EXISCANACL_VER=${PV}-20
+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
@@ -21,15 +21,18 @@ 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 )"
+ 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() {
@@ -40,7 +43,7 @@ src_unpack() {
epatch ${FILESDIR}/exim-4.14-tail.patch
- if use maildir; then
+ if ! use mbox; then
einfo "Patching maildir support into exim.conf"
epatch ${FILESDIR}/exim-4.20-maildir.patch
fi
@@ -180,24 +183,30 @@ 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
- 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
+ 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
- dosym exim /usr/sbin/sendmail
- dosym ../sbin/exim /usr/lib/sendmail
+ 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 \
@@ -242,4 +251,12 @@ 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/digest-exim-4.10 b/mail-mta/exim/files/digest-exim-4.10
deleted file mode 100644
index bde1295f7441..000000000000
--- a/mail-mta/exim/files/digest-exim-4.10
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 3248805102546701a83ddceb032303af exim-4.10.tar.gz 1333428
-MD5 a11a02044421705b7b5fee6742eca5c2 exiscan-4.10-16.tar.gz 94556
diff --git a/mail-mta/exim/files/digest-exim-4.12 b/mail-mta/exim/files/digest-exim-4.12
deleted file mode 100644
index b684cd6591ae..000000000000
--- a/mail-mta/exim/files/digest-exim-4.12
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 a69c8ebeec91559dea8fc4364ecb89a2 exim-4.12.tar.gz 1444383
-MD5 7ed67d3e10caf99174c693ff2016cf9c exiscan-4.12-21.tar.gz 100775
diff --git a/mail-mta/exim/files/digest-exim-4.14 b/mail-mta/exim/files/digest-exim-4.14
deleted file mode 100644
index bca81a3e6537..000000000000
--- a/mail-mta/exim/files/digest-exim-4.14
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 bebd65023b117e2fa7dcea46f1129556 exim-4.14.tar.gz 1504354
-MD5 3bd9b18f55c079bcd9af2eb07fec469b exiscan-4.14-26.tar.gz 63656
diff --git a/mail-mta/exim/files/digest-exim-4.20 b/mail-mta/exim/files/digest-exim-4.20
deleted file mode 100644
index 1bf1437b725c..000000000000
--- a/mail-mta/exim/files/digest-exim-4.20
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a1f06f1de1ab602a25d78ad2a20819f2 exim-4.20.tar.gz 1549612
-MD5 a18eb772895af7b190d17c5b151d4dd9 exiscan-4.20-26.tar.gz 63663
-MD5 5898fa2e00e85c771cffe741f3198c07 exiscan-acl-4.20-09.patch 263216
diff --git a/mail-mta/exim/files/digest-exim-4.20-r1 b/mail-mta/exim/files/digest-exim-4.20-r1
deleted file mode 100644
index 1bf1437b725c..000000000000
--- a/mail-mta/exim/files/digest-exim-4.20-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a1f06f1de1ab602a25d78ad2a20819f2 exim-4.20.tar.gz 1549612
-MD5 a18eb772895af7b190d17c5b151d4dd9 exiscan-4.20-26.tar.gz 63663
-MD5 5898fa2e00e85c771cffe741f3198c07 exiscan-acl-4.20-09.patch 263216
diff --git a/mail-mta/exim/files/digest-exim-4.20-r2 b/mail-mta/exim/files/digest-exim-4.20-r2
deleted file mode 100644
index 368f6db1d642..000000000000
--- a/mail-mta/exim/files/digest-exim-4.20-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a1f06f1de1ab602a25d78ad2a20819f2 exim-4.20.tar.gz 1549612
diff --git a/mail-mta/exim/files/digest-exim-4.21 b/mail-mta/exim/files/digest-exim-4.21
deleted file mode 100644
index 58c8ead0f650..000000000000
--- a/mail-mta/exim/files/digest-exim-4.21
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 eed92d34e02a5de1493d766fc92b0c94 exim-4.21.tar.gz 1625897
-MD5 c9571d38c50a41adad84bfb21669c2f9 exiscan-acl-4.21-10.patch 286429
diff --git a/mail-mta/exim/files/digest-exim-4.22 b/mail-mta/exim/files/digest-exim-4.22
deleted file mode 100644
index 7e970affc9da..000000000000
--- a/mail-mta/exim/files/digest-exim-4.22
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 20df3d13b1d3cd2cd95312f2293e0b40 exim-4.22.tar.gz 1607027
-MD5 68f1643ac7de3b4c818916e714de8159 exiscan-acl-4.22-10.patch 286429
diff --git a/mail-mta/exim/files/digest-exim-4.24 b/mail-mta/exim/files/digest-exim-4.24
deleted file mode 100644
index 72ea7eafa2c7..000000000000
--- a/mail-mta/exim/files/digest-exim-4.24
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 74f4116be9b71991b54b91abd7c99eec exim-4.24.tar.gz 1625449
-MD5 c8eb375adc7a7233d754eec20f07997f exiscan-acl-4.24-13.patch 290551
diff --git a/mail-mta/exim/files/digest-exim-4.24-r1 b/mail-mta/exim/files/digest-exim-4.24-r1
deleted file mode 100644
index 72ea7eafa2c7..000000000000
--- a/mail-mta/exim/files/digest-exim-4.24-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 74f4116be9b71991b54b91abd7c99eec exim-4.24.tar.gz 1625449
-MD5 c8eb375adc7a7233d754eec20f07997f exiscan-acl-4.24-13.patch 290551
diff --git a/mail-mta/exim/files/digest-exim-4.24-r2 b/mail-mta/exim/files/digest-exim-4.24-r2
deleted file mode 100644
index 72ea7eafa2c7..000000000000
--- a/mail-mta/exim/files/digest-exim-4.24-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 74f4116be9b71991b54b91abd7c99eec exim-4.24.tar.gz 1625449
-MD5 c8eb375adc7a7233d754eec20f07997f exiscan-acl-4.24-13.patch 290551
diff --git a/mail-mta/exim/files/digest-exim-4.24-r3 b/mail-mta/exim/files/digest-exim-4.24-r3
deleted file mode 100644
index 72ea7eafa2c7..000000000000
--- a/mail-mta/exim/files/digest-exim-4.24-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 74f4116be9b71991b54b91abd7c99eec exim-4.24.tar.gz 1625449
-MD5 c8eb375adc7a7233d754eec20f07997f exiscan-acl-4.24-13.patch 290551
diff --git a/mail-mta/exim/files/digest-exim-4.30 b/mail-mta/exim/files/digest-exim-4.30
deleted file mode 100644
index 2a8c077a8ce7..000000000000
--- a/mail-mta/exim/files/digest-exim-4.30
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 ba8fe22a527172bc3cf6481ba26712cb exim-4.30.tar.gz 1670421
-MD5 9e20b18f2be3983d73777b4f85b5db15 exiscan-acl-4.30-16.patch 367351
diff --git a/mail-mta/exim/files/digest-exim-4.30-r1 b/mail-mta/exim/files/digest-exim-4.30-r1
deleted file mode 100644
index 082fdb20e1d1..000000000000
--- a/mail-mta/exim/files/digest-exim-4.30-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ba8fe22a527172bc3cf6481ba26712cb exim-4.30.tar.gz 1670421
diff --git a/mail-mta/exim/files/digest-exim-4.31 b/mail-mta/exim/files/digest-exim-4.31
deleted file mode 100644
index eaabfbaa925e..000000000000
--- a/mail-mta/exim/files/digest-exim-4.31
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1bbc5823cd32d5a00175f32de104503f exim-4.31.tar.gz 1700513
-MD5 69fe6fce9e0ca72aaf2319a87e672fbf exiscan-acl-4.31-16.patch 367277
diff --git a/mail-mta/exim/files/digest-exim-4.32 b/mail-mta/exim/files/digest-exim-4.32
deleted file mode 100644
index ff81698596a3..000000000000
--- a/mail-mta/exim/files/digest-exim-4.32
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 27bbde30300200c2780cff7c7cbc6f8d exim-4.32.tar.gz 1706875
-MD5 8c49a4a25abe85ed69523a479567e24a exiscan-acl-4.32-18.patch 384568
diff --git a/mail-mta/exim/files/digest-exim-4.32-r1 b/mail-mta/exim/files/digest-exim-4.32-r1
deleted file mode 100644
index cf12c67744f8..000000000000
--- a/mail-mta/exim/files/digest-exim-4.32-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 27bbde30300200c2780cff7c7cbc6f8d exim-4.32.tar.gz 1706875
-MD5 c2f90a62f0535ccd3114f8d07a670af9 exiscan-acl-4.32-19.patch 391654
diff --git a/mail-mta/exim/files/digest-exim-4.33 b/mail-mta/exim/files/digest-exim-4.33
deleted file mode 100644
index 9b87feb03933..000000000000
--- a/mail-mta/exim/files/digest-exim-4.33
+++ /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.42 b/mail-mta/exim/files/digest-exim-4.42
new file mode 100644
index 000000000000..07bb94c5ece5
--- /dev/null
+++ b/mail-mta/exim/files/digest-exim-4.42
@@ -0,0 +1 @@
+MD5 eb6a06e70a78a03200b4e4aefbb7b0aa exim-4.42.tar.bz2 1360728