From f26aa23dbc411d5639d2470993860e3b2322a66d Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sat, 10 Oct 2020 20:57:25 +0200 Subject: [PATCH] net-mail/swaks: Adding new version 20201010.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alarig Le Lay --- net-mail/swaks/Manifest | 1 + net-mail/swaks/swaks-20201010.0.ebuild | 39 ++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 net-mail/swaks/swaks-20201010.0.ebuild diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest index fded01e..26c9d23 100644 --- a/net-mail/swaks/Manifest +++ b/net-mail/swaks/Manifest @@ -1 +1,2 @@ DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e SHA512 3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339 +DIST swaks-20201010.0.tar.gz 110325 BLAKE2B e223a647096e9518bd5ed5c69e30d260b535d07115f03306e67aca214b40044cdd48e70d9a8de9d6a7279840521f70ac5586e9bf420445c013deefa3174a931e SHA512 1154a1987cca32a579b063310f88734faf3552a48a582ceb849c30e15e1c7ad5257629a64b06263fcee2f5c0f9d0821492567a21c9a18613cd7d7ca8b0727685 diff --git a/net-mail/swaks/swaks-20201010.0.ebuild b/net-mail/swaks/swaks-20201010.0.ebuild new file mode 100644 index 0000000..5808431 --- /dev/null +++ b/net-mail/swaks/swaks-20201010.0.ebuild @@ -0,0 +1,39 @@ +# 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" +BDEPEND="app-text/txt2man" + +src_compile() { + /usr/bin/txt2man -s 1 -t "${PN}" -v "Mail tools" doc/ref.txt \ + > swaks.1 \ + || die "man page compulation failed" +} + +src_install() { + dobin swaks + doman swaks.1 + dodoc README.txt doc/*.txt +}