[swaks/epel7] include patch from swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch

mmckinst mmckinst at fedoraproject.org
Fri Oct 31 13:17:15 UTC 2014


commit a70b17b8d5901d1111b688ceb4edde6aa53ad2c2
Author: Mark McKinstry <mmckinst at umich.edu>
Date:   Fri Oct 31 09:17:14 2014 -0400

    include patch from swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch

 ...-POD-item-text-cannot-be-a-literal-number.patch |  127 ++++++++++++++++++++
 swaks.spec                                         |    7 +-
 2 files changed, 133 insertions(+), 1 deletions(-)
---
diff --git a/swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch b/swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch
new file mode 100644
index 0000000..29f6ad1
--- /dev/null
+++ b/swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch
@@ -0,0 +1,127 @@
+From b44b7dab250cdd6d0a186c40cb2606fbf1f51997 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Tue, 6 Aug 2013 13:59:05 +0200
+Subject: [PATCH] POD item text cannot be a literal number
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Recent POD parser consisders `=item 1' as an error because it's
+against POD specification.
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ swaks | 40 ++++++++++++++++++++--------------------
+ 1 file changed, 20 insertions(+), 20 deletions(-)
+
+diff --git a/swaks b/swaks
+index a1dbda4..e9d827b 100755
+--- a/swaks
++++ b/swaks
+@@ -3568,83 +3568,83 @@ This program was almost exclusively developed against Exim mail servers.  It was
+ 
+ =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
+ 
+-- 
+1.8.1.4
+
diff --git a/swaks.spec b/swaks.spec
index 9e5f8ee..29f315f 100644
--- a/swaks.spec
+++ b/swaks.spec
@@ -1,12 +1,13 @@
 Name:       swaks
 Version:    20130209.0
-Release:    3%{?dist}
+Release:    4%{?dist}
 Summary:    Command-line SMTP transaction tester
 
 Group:      Applications/Internet
 License:    GPLv2+
 URL:        http://www.jetmore.org/john/code/swaks
 Source0:    http://www.jetmore.org/john/code/swaks/swaks-%{version}.tar.gz
+Patch0:     swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch
 
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -25,6 +26,7 @@ various aspects of your SMTP server, including TLS and AUTH.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %install
 install -D -p -m 0755 swaks %{buildroot}%{_bindir}/swaks
@@ -38,6 +40,9 @@ mkdir -p %{buildroot}%{_mandir}/man1
 %doc LICENSE README doc/Changes.txt doc/recipes.txt doc/ref.txt
 
 %changelog
+* Fri Oct 31 2014 Mark McKinstry <mmckinst at nexcess.net> - 20130209.0-4
+- include patch from swaks-20130209.0-POD-item-text-cannot-be-a-literal-number.patch
+
 * Wed Jun 19 2013 Mark McKinstry <mmckinst at nexcess.net> - 20130209.0-3
 - fix email address in changelog
 


More information about the scm-commits mailing list