Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/esmtp/
Date: Wed, 30 Sep 2015 11:59:24
Message-Id: 1443614343.2b33fec4774e03ad3fec53c10a734b9d2e36d4e3.hasufell@gentoo
1 commit: 2b33fec4774e03ad3fec53c10a734b9d2e36d4e3
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 30 11:32:52 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 30 11:59:03 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b33fec4
7
8 mail-mta/esmtp: add libressl support
9
10 mail-mta/esmtp/esmtp-1.2-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++++++
11 1 file changed, 45 insertions(+)
12
13 diff --git a/mail-mta/esmtp/esmtp-1.2-r1.ebuild b/mail-mta/esmtp/esmtp-1.2-r1.ebuild
14 new file mode 100644
15 index 0000000..6744a56
16 --- /dev/null
17 +++ b/mail-mta/esmtp/esmtp-1.2-r1.ebuild
18 @@ -0,0 +1,45 @@
19 +# Copyright 1999-2015 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI=5
24 +
25 +DESCRIPTION="esmtp is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail compatible syntax"
26 +HOMEPAGE="http://esmtp.sourceforge.net/"
27 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
28 +
29 +LICENSE="GPL-2"
30 +SLOT="0"
31 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
32 +IUSE="libressl"
33 +
34 +CDEPEND="
35 + net-libs/libesmtp
36 + !libressl? ( dev-libs/openssl:0= )
37 + libressl? ( dev-libs/libressl:= )
38 +"
39 +RDEPEND="${CDEPEND}
40 + !mail-mta/courier
41 + !mail-mta/exim
42 + !mail-mta/mini-qmail
43 + !mail-mta/msmtp
44 + !mail-mta/netqmail
45 + !mail-mta/nullmailer
46 + !mail-mta/postfix
47 + !mail-mta/qmail-ldap
48 + !mail-mta/sendmail
49 + !mail-mta/ssmtp
50 + !mail-mta/opensmtpd
51 +"
52 +DEPEND="${CDEPEND}
53 + sys-devel/flex
54 +"
55 +
56 +src_install() {
57 + emake DESTDIR="${D}" install
58 + dodoc AUTHORS ChangeLog NEWS README TODO sample.esmtprc
59 +}
60 +
61 +pkg_postinst() {
62 + elog "A sample esmtprc file has been installed in /usr/share/doc/${P}"
63 +}