debian/0002775000000000000000000000000012205446030007166 5ustar debian/changelog0000664000000000000000000001527212205446030011045 0ustar swaks (20130209.0-3) unstable; urgency=medium * Fix pod compatibility with perl 5.18 by using "=item 0Z<>" instead of "=item 0". Closes: #720500 * Point vcs* to anonscm.debian.org. -- Andreas Metzler Thu, 22 Aug 2013 19:29:49 +0200 swaks (20130209.0-2) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Thu, 09 May 2013 17:52:48 +0200 swaks (20130209.0-1) experimental; urgency=low * New upstream release: + Adds -tls-cert and -tls-key options to specify the certificate Swaks will use when negotiationg TLS. (Closes: #497654) * Import updated watchfile from QA by Bart Martens. -- Andreas Metzler Sun, 10 Feb 2013 08:56:15 +0100 swaks (20120320.0-1) unstable; urgency=low * New upstream release (Closes: #513549, #621841) * Removed "usedigestsha" patch (integrated upstream) * Standards-version 3.9.2→3.9.3 (no changes needed) -- Gunnar Wolf Wed, 21 Mar 2012 11:46:40 -0600 swaks (20111230.0-1) unstable; urgency=low * New upstream version. + Includes fix for timezone offset calculation. Closes: #646084 + New option --protect-prompt stops swaks from echoing authentication data input at prompt. Closes: #650024 + Uses Authen::SASL instead of Authen::DigestMD5 for DigestMD5 authentication. Update Suggests and README.Debian accordingly. * Drop patches/fix_--header_behaviour, included in upstream release. * Update patches/man-instead-of-pod. * Fixes suggested by lintian: + Grammar error in description (allows [-one-] to). + debian/control: Do not specify section/priority in binary package stanza. + In debian/copyright refer to specific version of GPL in /usr/share/common-licenses. + Add dummy targets for build-arch and build-indep to debian/rules. * Ship recipes.txt in /usr/share/doc/swaks, stop compressing below 4k files. * Authen::NTLM is available in sid and squeeze, suggest it and drop README.Debian. * patches/usedigestsha.diff: Use Digest::SHA instead of Digest::SHA1. -- Andreas Metzler Sat, 31 Dec 2011 15:27:20 +0100 swaks (20100211.0-4) unstable; urgency=low * Drop patches/round_for_timelocal, upstream includes a different fix. Closes: #620167 -- Andreas Metzler Fri, 01 Apr 2011 19:25:09 +0200 swaks (20100211.0-3) unstable; urgency=low * Fix --header-* (Closes: #608338) * Bumped up policy to 3.9.1.0 (no changes needed) -- Gunnar Wolf Wed, 05 Jan 2011 22:23:12 -0600 swaks (20100211.0-2) unstable; urgency=low * Missed incorporating changes in 0+20061116.0-4 (patch for #566013), as it was not properly imported into git tree -- Gunnar Wolf Fri, 12 Feb 2010 08:37:00 -0600 swaks (20100211.0-1) unstable; urgency=low * New upstream release * Noted new upstream homepage * Standards-version 3.8.3 → 3.8.4 (no changes needed) * Added debian/watch * New upstream version includes support for a configuration file (Closes: #403208) -- Gunnar Wolf Thu, 11 Feb 2010 23:12:18 -0600 swaks (0+20061116.0-4) unstable; urgency=low * Fixed bug triggered by reading timelocal across second boundaries (Closes: #566013) * Switched source format to 3.0 (quilt) * Standards-version 3.8.0→3.8.3 (no changes needed) -- Gunnar Wolf Tue, 02 Feb 2010 16:23:07 -0600 swaks (0+20061116.0-3) unstable; urgency=low * Added Vcs-Git and Vcs-Browser fields - Yes, this package is now maintained in a proper VCS (-: * Standards-version -> 3.8.0 (no changes needed) * Moved the homepage from the description to its proper field * Upgraded libnet-dns-perl and libnet-ssleay-perl from Suggests: to Recommends: (Closes: #486309) -- Gunnar Wolf Wed, 12 Nov 2008 13:53:45 -0600 swaks (0+20061116.0-2) unstable; urgency=low * Make swaks --help work with this upstream version. -- Andreas Metzler Thu, 16 Nov 2006 19:56:19 +0100 swaks (0+20061116.0-1) unstable; urgency=low * New upstream version 20061116.0. - swaks will now interact correctly with a server that advertised auth types in non-caps. (Closes: #392182) - New --protocol option allows specifying transaction protocols. --protocol smtp uses HELO instead of EHLO. (Closes: #381222) * Update debian/copyright. -- Andreas Metzler Thu, 16 Nov 2006 19:25:43 +0100 swaks (0+20060621.0-2) unstable; urgency=low * Executes 'man swaks' instead of 'perldoc swaks' when usage instructions are requested - This avoids depending on (or at least recommending) an extra package, and is in fact even faster. This change, of course, is Debian specific, as we build the man at package creation time, and should not be pushed upstream (Closes: #381411) -- Gunnar Wolf Tue, 14 Nov 2006 11:22:12 -0600 swaks (0+20060621.0-1) unstable; urgency=low * New upstream version 20060621.0 - new option --body to read message body from file or stdin. (Closes: #354084) - new option --add-header. (Closes: #366317) - loads of other stuff. * update debian/copyright. * Standards-Veersion 3.7.2, no changes required. -- Andreas Metzler Thu, 22 Jun 2006 19:01:42 +0200 swaks (0+20050625.8-1) unstable; urgency=low * New upstream version 20050625.8 - new option --pipe allowing interaction with exim4 -bh ... (Closes: #309462) - new option --socket to allow smtp over unix domain socket - bugfixes. * debian/copyright - update copyright statement - new contact-address to upstream author. * Standards-Version: 3.6.2, no changes required. -- Andreas Metzler Sun, 26 Jun 2005 08:25:47 +0200 swaks (0+20040404.1-1) unstable; urgency=low * New upstream version 20040404.1. - CRLF handling redone (Closes: #241368) (Report by Jason Thomas). - --no-data-fixup option added. * update debian/copyright. -- Andreas Metzler Mon, 5 Apr 2004 09:57:00 +0200 swaks (0+20040128.1-1) unstable; urgency=low * New upstream version (includes error checking for -q opt, see upstream's changelog on the webpage). -- Andreas Metzler Thu, 29 Jan 2004 11:06:33 +0100 swaks (0+20031218.0-1) unstable; urgency=low * New upstream version, including --tls-on-connect. * Link to homepage (with upstream's changelog) in package description. -- Andreas Metzler Mon, 26 Jan 2004 14:13:02 +0100 swaks (0+20031211.2-1) unstable; urgency=low * Uploaded to Debian (Closes: #223695) -- Andreas Metzler Mon, 15 Dec 2003 11:28:36 +0100 debian/gbp.conf0000664000000000000000000000015312105652704010610 0ustar # Git-buildpackage configuration [git-buildpackage] export-dir = ../build-area tarball-dir = ../build-area debian/rules0000775000000000000000000000314012105652704010250 0ustar #!/usr/bin/make -f INSTALL = install INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 build: # nothing to do build-arch: # nothing to do build-indep: # nothing to do clean: test -d debian -rm -rf debian/tmp debian/files checkroot: test "0" = "`id -u`" binary-indep: checkroot build test -d debian $(INSTALL_DIR) debian/tmp/DEBIAN \ debian/tmp/usr/bin debian/tmp/usr/share/man/man1 \ debian/tmp/usr/share/doc/swaks/examples $(INSTALL_SCRIPT) swaks debian/tmp/usr/bin/ pod2man --center=SWAKS --section=1 \ swaks debian/tmp/usr/share/man/man1/swaks.1 $(INSTALL_FILE) debian/changelog \ debian/tmp/usr/share/doc/swaks/changelog.Debian $(INSTALL_FILE) doc/Changes.txt \ debian/tmp/usr/share/doc/swaks/changelog $(INSTALL_FILE) debian/copyright \ debian/tmp/usr/share/doc/swaks/ $(INSTALL_FILE) doc/recipes.txt debian/tmp/usr/share/doc/swaks/examples/ find debian/tmp/usr/share/man/man1 debian/tmp/usr/share/doc/swaks/ \ -type f -size +4096c -exec gzip -v9 {} + (cd debian/tmp; find -type f | sed s#^./## | grep -v DEBIAN | \ xargs md5sum > DEBIAN/md5sums && \ chmod 644 DEBIAN/md5sums ) dpkg-gencontrol -isp # fix permissions find debian/tmp/usr/share/man debian/tmp/usr/share/doc \ -type f -print0 | xargs -0r chmod 644 dpkg --build debian/tmp .. binary-arch: #nothing to do binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean checkroot build build-arch build-indep debian/copyright0000664000000000000000000000220112105652704011120 0ustar This package was debianized by Andreas Metzler on Mon Dez 15 11:24:01 CET 2003 It was downloaded from http://www.jetmore.org/john/code/#swaks Upstream Author: John Jetmore Copyright: Copyright (c) 2003-2008,2010-2013 John Jetmore This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0002775000000000000000000000000012105652704010474 5ustar debian/source/format0000664000000000000000000000001412105652704011700 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000024612105652704010225 0ustar version=3 http://www.jetmore.org/john/code/swaks/ .*/swaks-(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz)) # Bart Martens Sat, 24 Nov 2012 12:38:36 +0000 debian/control0000664000000000000000000000166012205445474010605 0ustar Source: swaks Section: mail Priority: optional Maintainer: Andreas Metzler Uploaders: Gunnar Wolf Build-Depends: perl Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/collab-maint/swaks.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/swaks.git Homepage: http://www.jetmore.org/john/code/swaks/ Package: swaks Depends: perl Recommends: libnet-dns-perl, libnet-ssleay-perl Suggests: perl-doc, libauthen-sasl-perl, libauthen-ntlm-perl Architecture: all Description: SMTP command-line test tool swaks (Swiss Army Knife SMTP) is a command-line tool written in Perl for testing SMTP setups; it supports STARTTLS and SMTP AUTH (PLAIN, LOGIN, CRAM-MD5, SPA, and DIGEST-MD5). swaks allows one to stop the SMTP dialog at any stage, e.g to check RCPT TO: without actually sending a mail. . If you are spending too much time iterating "telnet foo.example 25" swaks is for you. debian/patches/0002775000000000000000000000000012205445203010616 5ustar debian/patches/perldoc_5.18_fixes.diff0000664000000000000000000000443012205445203014750 0ustar Description: Fixup pod syntax for perl 5.18 Author: Andreas Metzler Bug-Debian: http://bugs.debian.org/720500 Origin: vendor Last-Update: <2013-08-22> diff --git a/swaks b/swaks index a1dbda4..05d7720 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 0Z<> no errors occurred -=item 1 +=item 1Z<> error parsing command line options -=item 2 +=item 2Z<> error connecting to remote server -=item 3 +=item 3Z<> unknown connection type -=item 4 +=item 4Z<> while running with connection type of "pipe", fatal problem writing to or reading from the child process -=item 5 +=item 5Z<> 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 6Z<> 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 10Z<> error in prerequisites (needed module not available) -=item 21 +=item 21Z<> error reading initial banner from server -=item 22 +=item 22Z<> error in HELO transaction -=item 23 +=item 23Z<> error in MAIL transaction -=item 24 +=item 24Z<> no RCPTs accepted -=item 25 +=item 25Z<> server returned error to DATA request -=item 26 +=item 26Z<> server did not accept mail following data -=item 27 +=item 27Z<> server returned error after normal-session quit request -=item 28 +=item 28Z<> error in AUTH transaction -=item 29 +=item 29Z<> error in TLS transaction -=item 32 +=item 32Z<> error in EHLO following TLS negotiation -=item 33 +=item 33Z<> error in XCLIENT transaction -=item 34 +=item 34Z<> error in EHLO following XCLIENT debian/patches/man-instead-of-pod0000664000000000000000000000157212105652704014133 0ustar Description: Run 'man' instead of 'perldoc' if help is requested Debian systems are guaranteed to have man installed, and we package the Swaks manpage. This reduces manpage render time and package dependency count. Author: Gunnar Wolf Bug-Debian: http://bugs.debian.org/381411 Origin: vendor Forwarded: not-needed Last-Update: <2011-12-31> Index: swaks/swaks =================================================================== --- swaks.orig/swaks 2012-03-21 10:34:04.000000000 -0600 +++ swaks/swaks 2012-03-21 11:26:31.000000000 -0600 @@ -2377,7 +2377,7 @@ $ENV{PATH} .= ":" unless $ENV{PATH} eq ""; $ENV{PATH} = "$ENV{PATH}$Config::Config{'installscript'}"; $< = $> = 1 if ($> == 0 || $< == 0); - exec("perldoc", $0) || exit(1); + exec("man", "swaks") || exit(1); # make parser happy %Config::Config = (); } elsif ($ARGV[0] =~ /^--version$/i) { debian/patches/series0000664000000000000000000000005312205445070012031 0ustar man-instead-of-pod perldoc_5.18_fixes.diff