net-mail/swaks: Improving ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-10-16 20:29:42 +02:00
parent b5e5a6cab0
commit 1c24ab4a29
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC

View file

@ -6,14 +6,13 @@ EAPI=7
inherit perl-functions inherit perl-functions
DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH" 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" SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz"
LICENSE="GPL-2" LICENSE="GPL-2+"
SLOT="0" SLOT="0"
KEYWORDS="amd64 ~ppc ~x86" KEYWORDS="amd64 ~ppc ~x86"
IUSE="ssl"
RDEPEND=" RDEPEND="
>=dev-perl/Authen-DigestMD5-0.04 >=dev-perl/Authen-DigestMD5-0.04
>=dev-perl/Authen-NTLM-1.02 >=dev-perl/Authen-NTLM-1.02
@ -28,7 +27,6 @@ RDEPEND="
dev-perl/Email-Valid dev-perl/Email-Valid
dev-perl/Params-Validate dev-perl/Params-Validate
dev-perl/URI dev-perl/URI
ssl? ( dev-perl/IO-Socket-SSL )
virtual/perl-Data-Dumper virtual/perl-Data-Dumper
virtual/perl-Digest-SHA virtual/perl-Digest-SHA
virtual/perl-Getopt-Long virtual/perl-Getopt-Long
@ -46,3 +44,7 @@ src_install() {
doman swaks.1 doman swaks.1
dodoc README.txt doc/*.txt dodoc README.txt doc/*.txt
} }
pkg_postinst() {
optfeature "ssl" dev-perl/IO-Socket-SSL
}