summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-30 21:12:52 +0000
committerSam James <sam@gentoo.org>2021-03-30 21:45:40 +0000
commitb424a6f07068788031835d186c3382f8e96a8092 (patch)
tree79ee564516b77669825b8f9da1c24fdd7e257942 /net-mail/sendEmail
parentwww-apps/grafana-bin: bump to v7.5.2 (diff)
downloadgentoo-b424a6f07068788031835d186c3382f8e96a8092.tar.gz
gentoo-b424a6f07068788031835d186c3382f8e96a8092.tar.bz2
gentoo-b424a6f07068788031835d186c3382f8e96a8092.zip
net-mail/sendEmail: port to EAPI 7, drop base.eclass
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/sendEmail')
-rw-r--r--net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch4
-rw-r--r--net-mail/sendEmail/files/1.56-overzealous-version-check.patch4
-rw-r--r--net-mail/sendEmail/sendEmail-1.56-r2.ebuild25
3 files changed, 17 insertions, 16 deletions
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
index f5c5c39ee5c..80b003917dc 100644
--- a/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
+++ b/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
@@ -1,5 +1,5 @@
---- sendEmail 2013-05-21 16:44:18.000000000 +0100
-+++ sendEmail 2013-06-05 09:26:20.000000000 +0100
+--- a/sendEmail
++++ b/sendEmail
@@ -1903,7 +1903,7 @@
if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
printmsg("DEBUG => Starting TLS", 2);
diff --git a/net-mail/sendEmail/files/1.56-overzealous-version-check.patch b/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
index 5cd47b06788..38a18df4acc 100644
--- a/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
+++ b/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
@@ -1,5 +1,5 @@
---- a/sendEmail 2013-03-25 08:59:12.000000000 +0000
-+++ b/sendEmail 2013-03-25 08:59:22.000000000 +0000
+--- a/sendEmail
++++ b/sendEmail
@@ -1903,7 +1903,7 @@
if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
printmsg("DEBUG => Starting TLS", 2);
diff --git a/net-mail/sendEmail/sendEmail-1.56-r2.ebuild b/net-mail/sendEmail/sendEmail-1.56-r2.ebuild
index 8b8af8e7a31..b84b856369c 100644
--- a/net-mail/sendEmail/sendEmail-1.56-r2.ebuild
+++ b/net-mail/sendEmail/sendEmail-1.56-r2.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-MY_P="${PN}-v${PV}"
-
-inherit base
+EAPI=7
+MY_P="${PN}-v${PV}"
DESCRIPTION="Command line based, SMTP email agent"
HOMEPAGE="http://caspian.dotconf.net/menu/Software/SendEmail/"
SRC_URI="http://caspian.dotconf.net/menu/Software/SendEmail/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="ssl"
-DEPEND=""
-RDEPEND="dev-lang/perl
- ssl? ( dev-perl/IO-Socket-SSL )"
+RDEPEND="
+ dev-lang/perl
+ ssl? ( dev-perl/IO-Socket-SSL )
+"
-PATCHES=( "${FILESDIR}/${PV}-overzealous-version-check.patch"
- "${FILESDIR}/${PV}-overzealous-verify-mode-check.patch" )
-S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}"/${PV}-overzealous-version-check.patch
+ "${FILESDIR}"/${PV}-overzealous-verify-mode-check.patch
+)
src_install() {
dobin sendEmail
- dodoc CHANGELOG README TODO
+ dodoc CHANGELOG README TODO
}