From 1c24ab4a293d3b21f272a8713fb5a62b87ef9583 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 16 Oct 2020 20:29:42 +0200 Subject: [PATCH] net-mail/swaks: Improving ebuild Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Alarig Le Lay --- net-mail/swaks/swaks-20201014.0.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/net-mail/swaks/swaks-20201014.0.ebuild b/net-mail/swaks/swaks-20201014.0.ebuild index c6bfe70..c546d07 100644 --- a/net-mail/swaks/swaks-20201014.0.ebuild +++ b/net-mail/swaks/swaks-20201014.0.ebuild @@ -6,14 +6,13 @@ EAPI=7 inherit perl-functions DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH" -HOMEPAGE="http://www.jetmore.org/john/code/swaks" +HOMEPAGE="https://www.jetmore.org/john/code/swaks/ +https://github.com/jetmore/swaks" SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ~ppc ~x86" -IUSE="ssl" - RDEPEND=" >=dev-perl/Authen-DigestMD5-0.04 >=dev-perl/Authen-NTLM-1.02 @@ -28,7 +27,6 @@ RDEPEND=" dev-perl/Email-Valid dev-perl/Params-Validate dev-perl/URI - ssl? ( dev-perl/IO-Socket-SSL ) virtual/perl-Data-Dumper virtual/perl-Digest-SHA virtual/perl-Getopt-Long @@ -46,3 +44,7 @@ src_install() { doman swaks.1 dodoc README.txt doc/*.txt } + +pkg_postinst() { + optfeature "ssl" dev-perl/IO-Socket-SSL +}