diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-09-30 13:32:52 +0200 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-09-30 13:59:03 +0200 |
commit | 2b33fec4774e03ad3fec53c10a734b9d2e36d4e3 (patch) | |
tree | 7bd8b3eb68e20e47ad5608c779111220ce8e1c47 /mail-mta | |
parent | net-libs/libesmtp: add libressl support (diff) | |
download | gentoo-2b33fec4774e03ad3fec53c10a734b9d2e36d4e3.tar.gz gentoo-2b33fec4774e03ad3fec53c10a734b9d2e36d4e3.tar.bz2 gentoo-2b33fec4774e03ad3fec53c10a734b9d2e36d4e3.zip |
mail-mta/esmtp: add libressl support
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/esmtp/esmtp-1.2-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mail-mta/esmtp/esmtp-1.2-r1.ebuild b/mail-mta/esmtp/esmtp-1.2-r1.ebuild new file mode 100644 index 000000000000..6744a565c0e4 --- /dev/null +++ b/mail-mta/esmtp/esmtp-1.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="esmtp is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail compatible syntax" +HOMEPAGE="http://esmtp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="libressl" + +CDEPEND=" + net-libs/libesmtp + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) +" +RDEPEND="${CDEPEND} + !mail-mta/courier + !mail-mta/exim + !mail-mta/mini-qmail + !mail-mta/msmtp + !mail-mta/netqmail + !mail-mta/nullmailer + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/ssmtp + !mail-mta/opensmtpd +" +DEPEND="${CDEPEND} + sys-devel/flex +" + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog NEWS README TODO sample.esmtprc +} + +pkg_postinst() { + elog "A sample esmtprc file has been installed in /usr/share/doc/${P}" +} |