From 4f22d8c684098a39b80d69ef41008ff59d85683e Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 24 Apr 2020 10:21:13 +0200 Subject: [PATCH] net-mail/swaks: New ebuild Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay --- net-mail/swaks/Manifest | 1 + net-mail/swaks/metadata.xml | 6 +++++ net-mail/swaks/swaks-20190914.0.ebuild | 36 ++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 net-mail/swaks/Manifest create mode 100644 net-mail/swaks/metadata.xml create mode 100644 net-mail/swaks/swaks-20190914.0.ebuild diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest new file mode 100644 index 0000000..fded01e --- /dev/null +++ b/net-mail/swaks/Manifest @@ -0,0 +1 @@ +DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e SHA512 3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339 diff --git a/net-mail/swaks/metadata.xml b/net-mail/swaks/metadata.xml new file mode 100644 index 0000000..24e041d --- /dev/null +++ b/net-mail/swaks/metadata.xml @@ -0,0 +1,6 @@ + + + + +"Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH" - a full-featured Perl script for testing SMTP servers. + diff --git a/net-mail/swaks/swaks-20190914.0.ebuild b/net-mail/swaks/swaks-20190914.0.ebuild new file mode 100644 index 0000000..f99a1ee --- /dev/null +++ b/net-mail/swaks/swaks-20190914.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH" +HOMEPAGE="http://www.jetmore.org/john/code/swaks" +SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="ssl" + +DEPEND=">=dev-lang/perl-5.8.8" + +RDEPEND="${DEPEND} + >=dev-perl/Net-DNS-0.65 + ssl? ( >=dev-perl/Net-SSLeay-1.35 ) + >=virtual/perl-MIME-Base64-3.07 + >=virtual/perl-Digest-MD5-2.39 + >=virtual/perl-Time-HiRes-1.97 + >=virtual/perl-Time-Local-1.19 + >=dev-perl/Authen-NTLM-1.02 + >=dev-perl/Authen-DigestMD5-0.04 + virtual/perl-Digest-SHA" + +src_compile() { + /usr/bin/pod2man -s 1 doc/ref.pod swaks.1 || die "man page compulation failed" +} + +src_install() { + dobin swaks + doman swaks.1 + dodoc README.txt doc/*.txt +}