diff -Nru libmailtools-perl-2.20/ChangeLog libmailtools-perl-2.21/ChangeLog --- libmailtools-perl-2.20/ChangeLog 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/ChangeLog 2019-05-21 14:26:37.000000000 +0000 @@ -1,6 +1,21 @@ ==== version history for MailTools +version 2.21: Tue 21 May 16:26:30 CEST 2019 + + Fixes: + - fix metadata [Mohammad S Anwar] + + Improvements: + - add more to the README + - add Mail::Mailer option StartSSL for smtp backend + rt.cpan.org#125871 [Guilhem Moulin] + - deprecate Mail::Mailer backend smtps + - document need for escaping docs for Mail::Send + rt.cpan.org#129627 [Jonathan Kamens] + - document limit on parameters for Mail::Send::new() + rt.cpan.org#129633 [Sven Neuhaus] + version 2.20: Mon 22 Jan 18:14:44 CET 2018 Improvements: diff -Nru libmailtools-perl-2.20/debian/changelog libmailtools-perl-2.21/debian/changelog --- libmailtools-perl-2.20/debian/changelog 2019-07-14 19:53:59.000000000 +0000 +++ libmailtools-perl-2.21/debian/changelog 2019-07-25 03:13:36.000000000 +0000 @@ -1,3 +1,13 @@ +libmailtools-perl (2.21-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 2.21 + * Update upstream copyright years & email address. + * Install all upstream example programs instead of listing them individually. + * Update dependencies. + + -- intrigeri Thu, 25 Jul 2019 03:13:36 +0000 + libmailtools-perl (2.20-1) unstable; urgency=medium * Take over for the Debian Perl Group; Closes: #925005 -- RFA/ITA diff -Nru libmailtools-perl-2.20/debian/control libmailtools-perl-2.21/debian/control --- libmailtools-perl-2.20/debian/control 2019-07-14 19:53:59.000000000 +0000 +++ libmailtools-perl-2.21/debian/control 2019-07-25 03:13:36.000000000 +0000 @@ -5,9 +5,10 @@ Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper-compat (= 12) -Build-Depends-Indep: perl, - libnet-perl , - libtimedate-perl +Build-Depends-Indep: libnet-perl , + libtest-simple-perl , + libtimedate-perl , + perl Standards-Version: 4.4.0 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmailtools-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmailtools-perl.git @@ -15,11 +16,12 @@ Package: libmailtools-perl Architecture: all -Depends: ${perl:Depends}, - ${misc:Depends}, +Depends: ${misc:Depends}, + ${perl:Depends}, libnet-perl, - libtimedate-perl, - libnet-smtp-ssl-perl + libnet-smtp-ssl-perl, + libtest-simple-perl, + libtimedate-perl Description: modules to manipulate email in perl programs MailTools is a set of perl modules which provide an easy interface to manipulating email in an object-oriented fashion. diff -Nru libmailtools-perl-2.20/debian/copyright libmailtools-perl-2.21/debian/copyright --- libmailtools-perl-2.20/debian/copyright 2019-07-14 19:53:59.000000000 +0000 +++ libmailtools-perl-2.21/debian/copyright 2019-07-25 03:13:36.000000000 +0000 @@ -5,7 +5,7 @@ Files: * Copyright: 1995-2000, Graham Barr - 1995-2018, Mark Overmeer + 1995-2019, Mark Overmeer License: Artistic or GPL-1+ Files: examples/mail-mailer.pl diff -Nru libmailtools-perl-2.20/debian/libmailtools-perl.examples libmailtools-perl-2.21/debian/libmailtools-perl.examples --- libmailtools-perl-2.20/debian/libmailtools-perl.examples 2019-07-14 19:53:59.000000000 +0000 +++ libmailtools-perl-2.21/debian/libmailtools-perl.examples 2019-07-25 03:13:36.000000000 +0000 @@ -1,4 +1 @@ -examples/forwd_demo -examples/mail-mailer.pl -examples/rplyto_demo -examples/send_demo +examples/* diff -Nru libmailtools-perl-2.20/debian/upstream/metadata libmailtools-perl-2.21/debian/upstream/metadata --- libmailtools-perl-2.20/debian/upstream/metadata 2019-07-14 19:53:59.000000000 +0000 +++ libmailtools-perl-2.21/debian/upstream/metadata 2019-07-25 03:13:36.000000000 +0000 @@ -1,6 +1,6 @@ --- Archive: CPAN -Contact: Mark Overmeer +Contact: Mark Overmeer Name: MailTools Repository: https://github.com/markov2/perl5-MailTools.git Repository-Browse: https://github.com/markov2/perl5-MailTools diff -Nru libmailtools-perl-2.20/lib/Mail/Address.pm libmailtools-perl-2.21/lib/Mail/Address.pm --- libmailtools-perl-2.20/lib/Mail/Address.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Address.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Address; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; diff -Nru libmailtools-perl-2.20/lib/Mail/Cap.pm libmailtools-perl-2.21/lib/Mail/Cap.pm --- libmailtools-perl-2.20/lib/Mail/Cap.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Cap.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Cap; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; diff -Nru libmailtools-perl-2.20/lib/Mail/Field/AddrList.pm libmailtools-perl-2.21/lib/Mail/Field/AddrList.pm --- libmailtools-perl-2.20/lib/Mail/Field/AddrList.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Field/AddrList.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -10,7 +10,7 @@ package Mail::Field::AddrList; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Field'; diff -Nru libmailtools-perl-2.20/lib/Mail/Field/Date.pm libmailtools-perl-2.21/lib/Mail/Field/Date.pm --- libmailtools-perl-2.20/lib/Mail/Field/Date.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Field/Date.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Field::Date; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Field'; diff -Nru libmailtools-perl-2.20/lib/Mail/Field/Generic.pm libmailtools-perl-2.21/lib/Mail/Field/Generic.pm --- libmailtools-perl-2.20/lib/Mail/Field/Generic.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Field/Generic.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Field::Generic; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Field'; diff -Nru libmailtools-perl-2.20/lib/Mail/Field.pm libmailtools-perl-2.21/lib/Mail/Field.pm --- libmailtools-perl-2.20/lib/Mail/Field.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Field.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Field; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; diff -Nru libmailtools-perl-2.20/lib/Mail/Filter.pm libmailtools-perl-2.21/lib/Mail/Filter.pm --- libmailtools-perl-2.20/lib/Mail/Filter.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Filter.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Filter; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; diff -Nru libmailtools-perl-2.20/lib/Mail/Header.pm libmailtools-perl-2.21/lib/Mail/Header.pm --- libmailtools-perl-2.20/lib/Mail/Header.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Header.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Header; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; diff -Nru libmailtools-perl-2.20/lib/Mail/Internet.pm libmailtools-perl-2.21/lib/Mail/Internet.pm --- libmailtools-perl-2.20/lib/Mail/Internet.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Internet.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Internet; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; # use warnings? probably breaking too much code diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer/qmail.pm libmailtools-perl-2.21/lib/Mail/Mailer/qmail.pm --- libmailtools-perl-2.20/lib/Mail/Mailer/qmail.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer/qmail.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Mailer::qmail; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Mailer::rfc822'; diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer/rfc822.pm libmailtools-perl-2.21/lib/Mail/Mailer/rfc822.pm --- libmailtools-perl-2.20/lib/Mail/Mailer/rfc822.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer/rfc822.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Mailer::rfc822; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Mailer'; diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer/sendmail.pm libmailtools-perl-2.21/lib/Mail/Mailer/sendmail.pm --- libmailtools-perl-2.20/lib/Mail/Mailer/sendmail.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer/sendmail.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Mailer::sendmail; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Mailer::rfc822'; diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer/smtp.pm libmailtools-perl-2.21/lib/Mail/Mailer/smtp.pm --- libmailtools-perl-2.20/lib/Mail/Mailer/smtp.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer/smtp.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Mailer::smtp; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Mailer::rfc822'; @@ -27,7 +27,15 @@ $opt{Debug} ||= 0; my $smtp = Net::SMTP->new($host, %opt) - or return undef; + or return undef; + + if($opt{StartTLS}) + { $Net::SMTP::VERSION >= 1.28 + or die "StartTLS requires Net::SMTP 1.28"; + + $smtp->starttls + or return undef; + } if($opt{Auth}) { $smtp->auth(@{$opt{Auth}}) @@ -89,7 +97,7 @@ package Mail::Mailer::smtp::pipe; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; sub TIEHANDLE diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer/smtps.pm libmailtools-perl-2.21/lib/Mail/Mailer/smtps.pm --- libmailtools-perl-2.20/lib/Mail/Mailer/smtps.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer/smtps.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -10,7 +10,7 @@ package Mail::Mailer::smtps; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Mailer::rfc822'; @@ -94,7 +94,7 @@ package Mail::Mailer::smtps::pipe; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; sub TIEHANDLE diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer/testfile.pm libmailtools-perl-2.21/lib/Mail/Mailer/testfile.pm --- libmailtools-perl-2.20/lib/Mail/Mailer/testfile.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer/testfile.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Mailer::testfile; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Mail::Mailer::rfc822'; @@ -40,7 +40,7 @@ package Mail::Mailer::testfile::pipe; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; sub TIEHANDLE diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer.pm libmailtools-perl-2.21/lib/Mail/Mailer.pm --- libmailtools-perl-2.20/lib/Mail/Mailer.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Mailer; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'IO::Handle'; diff -Nru libmailtools-perl-2.20/lib/Mail/Mailer.pod libmailtools-perl-2.21/lib/Mail/Mailer.pod --- libmailtools-perl-2.20/lib/Mail/Mailer.pod 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Mailer.pod 2019-05-21 14:26:37.000000000 +0000 @@ -44,12 +44,18 @@ C fellows. The C options enables debugging output from C. +[added 2.21] You may also use the C<< StartTLS => 1 >> options to upgrade the +connection with STARTTLS. You need C version 1.28 (2014) for this +to work. + You may also use the C<< Auth => [ $user, $password ] >> option for SASL authentication. To make this work, you have to install the L distribution yourself: it is not automatically installed. =item C +This option is B when you have C 1.28 (2014) and above. + Use the smtp over ssl protocol via L to deliver the mail. Usage is identical to C. You have to install Authen::SASL as well. diff -Nru libmailtools-perl-2.20/lib/Mail/Send.pm libmailtools-perl-2.21/lib/Mail/Send.pm --- libmailtools-perl-2.20/lib/Mail/Send.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Send.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Send; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use strict; diff -Nru libmailtools-perl-2.20/lib/Mail/Send.pod libmailtools-perl-2.21/lib/Mail/Send.pod --- libmailtools-perl-2.20/lib/Mail/Send.pod 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Send.pod 2019-05-21 14:26:37.000000000 +0000 @@ -36,9 +36,10 @@ L creates e-mail messages without using the L knowledge, which means that all escaping and folding must be done by -you! Simplicity has its price. +you! Also: do not forget to escape leading dots. Simplicity has its price. -When you have time, take a look at Mail::Transport +When you have time, take a look at Mail::Transport which is part of +the MailBox suite. =head1 METHODS @@ -48,8 +49,9 @@ =item Mail::Send-EB(PAIRS) -A list of header fields (provided as key-value PAIRS) can be -used to initialize the object. +A list of header fields (provided as key-value PAIRS) can be used to +initialize the object, limited to the few provided as method: C, +C, C, and C. For other header fields, use L. =back @@ -86,7 +88,10 @@ The %options are used to initiate a mailer object via L. Then L is called -with the knowledge collected in this Mail::Send object. +with the knowledge collected in this C object. + +Be warned: this module implements raw smtp, which means that you have +to escape lines which start with a dot, by adding one in front. =back diff -Nru libmailtools-perl-2.20/lib/Mail/Util.pm libmailtools-perl-2.21/lib/Mail/Util.pm --- libmailtools-perl-2.20/lib/Mail/Util.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/Mail/Util.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Mail::Util; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; use base 'Exporter'; diff -Nru libmailtools-perl-2.20/lib/MailTools.pm libmailtools-perl-2.21/lib/MailTools.pm --- libmailtools-perl-2.20/lib/MailTools.pm 2018-01-22 17:14:50.000000000 +0000 +++ libmailtools-perl-2.21/lib/MailTools.pm 2019-05-21 14:26:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 1995-2018 by [Mark Overmeer]. +# Copyrights 1995-2019 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package MailTools; use vars '$VERSION'; -$VERSION = '2.20'; +$VERSION = '2.21'; diff -Nru libmailtools-perl-2.20/Makefile.PL libmailtools-perl-2.21/Makefile.PL --- libmailtools-perl-2.20/Makefile.PL 2018-01-22 17:14:29.000000000 +0000 +++ libmailtools-perl-2.21/Makefile.PL 2019-05-21 14:26:37.000000000 +0000 @@ -5,10 +5,10 @@ WriteMakefile ( NAME => 'MailTools' , DISTNAME => 'MailTools' - , VERSION => '2.20' - , AUTHOR => 'Mark Overmeer' + , VERSION => '2.21' + , AUTHOR => 'Mark Overmeer ' , ABSTRACT => 'Various ancient e-mail related modules' - , LICENSE => 'perl' + , LICENSE => 'perl_5' , PREREQ_PM => { Net::SMTP => 1.03 @@ -33,9 +33,9 @@ , url => 'https://github.com/markov2/perl5-MailTools.git' , web => 'https://github.com/markov2/perl5-MailTools' } + , homepage => 'http://perl.overmeer.net/CPAN/' + , license => [ 'http://dev.perl.org/licenses/' ] } - , homepage => 'http://perl.overmeer.net/CPAN/' - , license => [ 'http://dev.perl.org/licenses/' ] } ); diff -Nru libmailtools-perl-2.20/META.json libmailtools-perl-2.21/META.json --- libmailtools-perl-2.20/META.json 2018-01-22 17:14:51.000000000 +0000 +++ libmailtools-perl-2.21/META.json 2019-05-21 14:26:38.000000000 +0000 @@ -1,13 +1,12 @@ { "abstract" : "Various ancient e-mail related modules", "author" : [ - "Mark Overmeer" + "Mark Overmeer " ], "dynamic_config" : 1, "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010", "license" : [ - "perl_5", - "unknown" + "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", @@ -44,13 +43,16 @@ }, "release_status" : "stable", "resources" : { + "homepage" : "http://perl.overmeer.net/CPAN/", + "license" : [ + "http://dev.perl.org/licenses/" + ], "repository" : { "type" : "git", "url" : "https://github.com/markov2/perl5-MailTools.git", "web" : "https://github.com/markov2/perl5-MailTools" } }, - "version" : "2.20", - "x_homepage" : "http://perl.overmeer.net/CPAN/", + "version" : "2.21", "x_serialization_backend" : "JSON::PP version 2.94" } diff -Nru libmailtools-perl-2.20/META.yml libmailtools-perl-2.21/META.yml --- libmailtools-perl-2.20/META.yml 2018-01-22 17:14:51.000000000 +0000 +++ libmailtools-perl-2.21/META.yml 2019-05-21 14:26:38.000000000 +0000 @@ -1,14 +1,14 @@ --- abstract: 'Various ancient e-mail related modules' author: - - 'Mark Overmeer' + - 'Mark Overmeer ' build_requires: ExtUtils::MakeMaker: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010' -license: unknown +license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' @@ -25,7 +25,8 @@ Net::SMTP: '1.03' Test::More: '0' resources: + homepage: http://perl.overmeer.net/CPAN/ + license: http://dev.perl.org/licenses/ repository: https://github.com/markov2/perl5-MailTools.git -version: '2.20' -x_homepage: http://perl.overmeer.net/CPAN/ +version: '2.21' x_serialization_backend: 'CPAN::Meta::YAML version 0.011' diff -Nru libmailtools-perl-2.20/README libmailtools-perl-2.21/README --- libmailtools-perl-2.20/README 2017-12-06 09:41:03.000000000 +0000 +++ libmailtools-perl-2.21/README 2019-05-21 14:26:37.000000000 +0000 @@ -1,22 +1,25 @@ +=== README for MailTools version 2.21 += Generated on Tue May 21 16:26:37 2019 by OODoc 2.02 -=== README for MailTools +There are various ways to install this module: -MailTools is a set of Perl modules related to mail applications. -These modules are very old (partially written before MIME!). If you -start to write a new e-mail application, consider to use MailBox -instead (http://perl.overmeer.net/mailbox/) It is a little harder -to learn, but at least implements all RFCs correctly. - -You require perl 5.8.1 or later to use this library. When your Perl -is older, then use version 1.xx. - -You install the library by running these commands: - - perl Makefile.PL - make - make test - make install + (1) if you have a command-line, you can do: + perl -MCPAN -e 'install ' -There are also some demo scripts (see README.demos) -Please report any bugs/suggestions to + (2) if you use Windows, have a look at http://ppm.activestate.com/ + + (3) if you have downloaded this module manually (as root/administrator) + gzip -d MailTools-2.21.tar.gz + tar -xf MailTools-2.21.tar + cd MailTools-2.21 + perl Makefile.PL + make # optional + make test # optional + make install + +For usage, see the included manual-pages or + http://search.cpan.org/dist/MailTools-2.21/ + +Please report problems to http://rt.cpan.org/Dist/Display.html?Queue=MailTools + diff -Nru libmailtools-perl-2.20/README.md libmailtools-perl-2.21/README.md --- libmailtools-perl-2.20/README.md 2018-01-22 17:14:29.000000000 +0000 +++ libmailtools-perl-2.21/README.md 2019-05-21 14:26:37.000000000 +0000 @@ -7,12 +7,27 @@ and MailTools is one of the oldest modules on CPAN. It started off in 1995, -the year Perl 5.0 got released! +the year Perl 5.0 got released! That's just in the beginning of the +MIME standards. -**Please note:** Email has become more complex over the years. These -modules only understand very basic emails and fairly simple emails. -Later, this module got extended by the MIME::Entity modules... but when -you start all over, please look at Mail::Box! +Email has become more complex over the years. The components of +MailTools only understand very basic emails and fairly simple mime +headers. Fixing some things will break existing applications. + +The only reason for still maintaining it, is because it is used as example +in many books and therefore applications still use it. Not because it +is good. Sometimes it is good enough, though. + +Later, this module got extended by the MIME::Entity modules to support +multiparts and more smartness. But even those modules are quite limited, +considering modern emails. + +**Please note:** When you start all over, please consider Mail::Box! +For a feature overview, take a look at the +[MailBox overview](http://perl.overmeer.net/mailbox/html/Mail_Box-Overview/) +and +[MailBox features](http://perl.overmeer.net/mailbox/html/Mail_Box-Index/) +pages. ## Development → Release