Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/sendEmail/, net-mail/sendEmail/files/
Date: Tue, 30 Mar 2021 21:45:59
Message-Id: 1617140740.b424a6f07068788031835d186c3382f8e96a8092.sam@gentoo
1 commit: b424a6f07068788031835d186c3382f8e96a8092
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 21:12:52 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 21:45:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b424a6f0
7
8 net-mail/sendEmail: port to EAPI 7, drop base.eclass
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../files/1.56-overzealous-verify-mode-check.patch | 4 ++--
13 .../files/1.56-overzealous-version-check.patch | 4 ++--
14 net-mail/sendEmail/sendEmail-1.56-r2.ebuild | 25 +++++++++++-----------
15 3 files changed, 17 insertions(+), 16 deletions(-)
16
17 diff --git a/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch b/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
18 index f5c5c39ee5c..80b003917dc 100644
19 --- a/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
20 +++ b/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
21 @@ -1,5 +1,5 @@
22 ---- sendEmail 2013-05-21 16:44:18.000000000 +0100
23 -+++ sendEmail 2013-06-05 09:26:20.000000000 +0100
24 +--- a/sendEmail
25 ++++ b/sendEmail
26 @@ -1903,7 +1903,7 @@
27 if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
28 printmsg("DEBUG => Starting TLS", 2);
29
30 diff --git a/net-mail/sendEmail/files/1.56-overzealous-version-check.patch b/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
31 index 5cd47b06788..38a18df4acc 100644
32 --- a/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
33 +++ b/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
34 @@ -1,5 +1,5 @@
35 ---- a/sendEmail 2013-03-25 08:59:12.000000000 +0000
36 -+++ b/sendEmail 2013-03-25 08:59:22.000000000 +0000
37 +--- a/sendEmail
38 ++++ b/sendEmail
39 @@ -1903,7 +1903,7 @@
40 if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
41 printmsg("DEBUG => Starting TLS", 2);
42
43 diff --git a/net-mail/sendEmail/sendEmail-1.56-r2.ebuild b/net-mail/sendEmail/sendEmail-1.56-r2.ebuild
44 index 8b8af8e7a31..b84b856369c 100644
45 --- a/net-mail/sendEmail/sendEmail-1.56-r2.ebuild
46 +++ b/net-mail/sendEmail/sendEmail-1.56-r2.ebuild
47 @@ -1,29 +1,30 @@
48 -# Copyright 1999-2014 Gentoo Foundation
49 +# Copyright 1999-2021 Gentoo Authors
50 # Distributed under the terms of the GNU General Public License v2
51
52 -EAPI=5
53 -MY_P="${PN}-v${PV}"
54 -
55 -inherit base
56 +EAPI=7
57
58 +MY_P="${PN}-v${PV}"
59 DESCRIPTION="Command line based, SMTP email agent"
60 HOMEPAGE="http://caspian.dotconf.net/menu/Software/SendEmail/"
61 SRC_URI="http://caspian.dotconf.net/menu/Software/SendEmail/${MY_P}.tar.gz"
62 +S="${WORKDIR}/${MY_P}"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="amd64 ~ppc x86"
67 IUSE="ssl"
68
69 -DEPEND=""
70 -RDEPEND="dev-lang/perl
71 - ssl? ( dev-perl/IO-Socket-SSL )"
72 +RDEPEND="
73 + dev-lang/perl
74 + ssl? ( dev-perl/IO-Socket-SSL )
75 +"
76
77 -PATCHES=( "${FILESDIR}/${PV}-overzealous-version-check.patch"
78 - "${FILESDIR}/${PV}-overzealous-verify-mode-check.patch" )
79 -S="${WORKDIR}/${MY_P}"
80 +PATCHES=(
81 + "${FILESDIR}"/${PV}-overzealous-version-check.patch
82 + "${FILESDIR}"/${PV}-overzealous-verify-mode-check.patch
83 +)
84
85 src_install() {
86 dobin sendEmail
87 - dodoc CHANGELOG README TODO
88 + dodoc CHANGELOG README TODO
89 }