summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/swaks
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/swaks')
-rw-r--r--net-mail/swaks/Manifest1
-rw-r--r--net-mail/swaks/files/swaks-perl-5.18.patch106
-rw-r--r--net-mail/swaks/metadata.xml6
-rw-r--r--net-mail/swaks/swaks-20130209.0-r1.ebuild42
-rw-r--r--net-mail/swaks/swaks-20130209.0.ebuild35
5 files changed, 190 insertions, 0 deletions
diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest
new file mode 100644
index 000000000000..71e78fd28a7b
--- /dev/null
+++ b/net-mail/swaks/Manifest
@@ -0,0 +1 @@
+DIST swaks-20130209.0.tar.gz 102227 SHA256 0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c SHA512 bf3c639f2c227d8219d5bc98a3d3519886471168c16e38d036283eeb1bb786c80bb80a648637150b3eb1903ef0c0d01bc37fd7b4f55af66a20f7bef18067b118 WHIRLPOOL 2eaf63e060f6d2816ad3140e966d2048844ece2ad92409cdccb4b1ecc47967e11368eb02ca0183d6c40acdce08ba48506290d629c4aefa9ff514494bc9fd3dba
diff --git a/net-mail/swaks/files/swaks-perl-5.18.patch b/net-mail/swaks/files/swaks-perl-5.18.patch
new file mode 100644
index 000000000000..3fd89341474e
--- /dev/null
+++ b/net-mail/swaks/files/swaks-perl-5.18.patch
@@ -0,0 +1,106 @@
+--- swaks-20130209.0.orig/doc/ref.pod 2014-04-02 19:30:12.742814178 +0300
++++ swaks-20130209.0.orig/doc/ref.pod 2014-04-02 19:31:49.135105112 +0300
+@@ -824,83 +824,83 @@
+
+ =over 4
+
+-=item 0
++=item C<0>
+
+ no errors occurred
+
+-=item 1
++=item C<1>
+
+ error parsing command line options
+
+-=item 2
++=item C<2>
+
+ error connecting to remote server
+
+-=item 3
++=item C<3>
+
+ unknown connection type
+
+-=item 4
++=item C<4>
+
+ while running with connection type of "pipe", fatal problem writing to or reading from the child process
+
+-=item 5
++=item C<5>
+
+ while running with connection type of "pipe", child process died unexpectedly. This can mean that the program specified with --pipe doesn't exist.
+
+-=item 6
++=item C<6>
+
+ Connection closed unexpectedly. If the close is detected in response to the 'QUIT' swaks sends following an unexpected response, the error code for that unexpected response is used instead. For instance, if a mail server returns a 550 response to a MAIL FROM: and then immediately closes the connection, swaks detects that the connection is closed, but uses the more specific exit code 23 to detail the nature of the failure. If instead the server return a 250 code and then immediately closes the connection, swaks will use the exit code 6 because there is not a more specific exit code.
+
+-=item 10
++=item C<10>
+
+ error in prerequisites (needed module not available)
+
+-=item 21
++=item C<21>
+
+ error reading initial banner from server
+
+-=item 22
++=item C<22>
+
+ error in HELO transaction
+
+-=item 23
++=item C<23>
+
+ error in MAIL transaction
+
+-=item 24
++=item C<24>
+
+ no RCPTs accepted
+
+-=item 25
++=item C<25>
+
+ server returned error to DATA request
+
+-=item 26
++=item C<26>
+
+ server did not accept mail following data
+
+-=item 27
++=item C<27>
+
+ server returned error after normal-session quit request
+
+-=item 28
++=item C<28>
+
+ error in AUTH transaction
+
+-=item 29
++=item C<29>
+
+ error in TLS transaction
+
+-=item 32
++=item C<32>
+
+ error in EHLO following TLS negotiation
+
+-=item 33
++=item C<33>
+
+ error in XCLIENT transaction
+
+-=item 34
++=item C<34>
+
+ error in EHLO following XCLIENT
+
diff --git a/net-mail/swaks/metadata.xml b/net-mail/swaks/metadata.xml
new file mode 100644
index 000000000000..36c2242fcb91
--- /dev/null
+++ b/net-mail/swaks/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+<longdescription>"Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH" - a full-featured Perl script for testing SMTP servers.</longdescription>
+</pkgmetadata>
diff --git a/net-mail/swaks/swaks-20130209.0-r1.ebuild b/net-mail/swaks/swaks-20130209.0-r1.ebuild
new file mode 100644
index 000000000000..046cb9acae87
--- /dev/null
+++ b/net-mail/swaks/swaks-20130209.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+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_prepare() {
+ epatch "${FILESDIR}"/${PN}-perl-5.18.patch
+}
+
+src_compile() {
+ /usr/bin/pod2man -s 1 doc/ref.pod swaks.1 || die "man page compulation failed"
+}
+
+src_install() {
+ newbin swaks swaks || die "newbin failed"
+ doman swaks.1 || die
+ dodoc README doc/*.txt || die
+}
diff --git a/net-mail/swaks/swaks-20130209.0.ebuild b/net-mail/swaks/swaks-20130209.0.ebuild
new file mode 100644
index 000000000000..ae07f3aea1dd
--- /dev/null
+++ b/net-mail/swaks/swaks-20130209.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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() {
+ newbin swaks swaks || die "newbin failed"
+ doman swaks.1 || die
+ dodoc README doc/*.txt || die
+}