View | Details | Raw Unified
Collapse All | Expand All

(-) exim-4.50-r1.ebuild (-23 / +11 lines)
 Lines 1-10    Link Here 
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.50-r1.ebuild,v 1.6 2005/07/02 19:06:09 kloeri Exp $
# $Header: $
inherit eutils
inherit eutils mailer
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dnsdb perl mbox X exiscan nis syslog"
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl lmtp ipv6 sasl dnsdb perl mbox X exiscan nis syslog"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2"
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2"
 Lines 12-18    Link Here 
SLOT="0"
SLOT="0"
LICENSE="GPL-2"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~hppa ~ppc sparc x86"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
PROVIDE="virtual/mta"
PROVIDE="virtual/mta"
DEPEND=">=sys-apps/sed-4.0.5
DEPEND=">=sys-apps/sed-4.0.5
 Lines 28-35    Link Here 
	X? ( virtual/x11 )"
	X? ( virtual/x11 )"
	# added X check for #57206
	# added X check for #57206
RDEPEND="${DEPEND}
RDEPEND="${DEPEND}
	mailwrapper? ( >=net-mail/mailwrapper-0.2 )
	!mailwrapper? ( !virtual/mta )
	>=net-mail/mailbase-0.00-r5"
	>=net-mail/mailbase-0.00-r5"
src_unpack() {
src_unpack() {
 Lines 193-215    Link Here 
	fi
	fi
	fperms 4755 /usr/sbin/exim
	fperms 4755 /usr/sbin/exim
	dodir /usr/bin /usr/sbin /usr/lib
	dodir /usr/bin /usr/sbin
	dosym ../sbin/exim /usr/bin/mailq
	dosym ../sbin/exim /usr/bin/newaliases
	einfo "The Exim ebuild will no longer touch /usr/bin/mail, so as not to interfere with mailx/nail."
	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/rsmtp
	dosym exim /usr/sbin/rmail
	if \[ ! -e /usr/lib/sendmail \];
	then
		dosym /usr/sbin/sendmail /usr/lib/sendmail
	fi
	if use mailwrapper
	if use mailwrapper
	then
	then
		insinto /etc/mail
		mailer_install_conf
		doins ${FILESDIR}/mailer.conf
	else
	else
		dosym exim /usr/sbin/sendmail
		dosym exim /usr/sbin/sendmail
		dosym /usr/sbin/sendmail /usr/lib/sendmail
		dosym /usr/sbin/exim /usr/bin/mailq
		dosym /usr/sbin/exim /usr/bin/newaliases
		dosym /usr/sbin/exim /usr/bin/rmail
	fi
	fi
	exeinto /usr/sbin
	exeinto /usr/sbin
 Lines 256-266    Link Here 
	einfo "/etc/exim/auth_conf.sub contains the configuration sub for using smtp auth."
	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."
	einfo "Please create /etc/exim/exim.conf from /etc/exim/exim.conf.dist."
	if ! use mailwrapper && [[ -e /etc/mailer.conf ]]
	mailer_pkg_postinst
	then
		einfo
		einfo "Since you emerged $PN without mailwrapper in USE,"
		einfo "you probably want to 'emerge -C mailwrapper' now."
		einfo
	fi
}
}