net-mail/swaks: New ebuild

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-04-24 10:21:13 +02:00
parent ef29f2185b
commit 4f22d8c684
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 43 additions and 0 deletions

1
net-mail/swaks/Manifest Normal file
View file

@ -0,0 +1 @@
DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e SHA512 3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>"Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH" - a full-featured Perl script for testing SMTP servers.</longdescription>
</pkgmetadata>

View file

@ -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
}