Skip to content

Commit

Permalink
fix POD error in Setup/Test
Browse files Browse the repository at this point in the history
version bump to 5.48
  • Loading branch information
msimerson committed Sep 11, 2014
1 parent 6cf6fd7 commit 63ab74e
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MYMETA.*
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Mail Toaster Changes
5.48 - Sep 10, 2014
fix POD error in Mail/Toaster/Setup/Test
bump version number

5.47 - May 20, 2014
fix for qpop3d not having service symlink installed
added CHKUSER_MBXQUOTA to tcp.smtp
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Mail::Toaster;
use strict;
use warnings;

our $VERSION = '5.47';
our $VERSION = '5.48';

use Carp;
use Cwd;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Apache.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Mail::Toaster::Apache;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
use English qw( -no_match_vars );
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Base;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
use Params::Validate ':all';
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/DNS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::DNS;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Params::Validate ':all';

Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Darwin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Darwin;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
use Params::Validate ':all';
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Ezmlm.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

package Mail::Toaster::Ezmlm;

Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/FreeBSD.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::FreeBSD;
use strict;
use warnings;

our $VERSION = '5.47';
our $VERSION = '5.48';

use Carp;
use File::Copy;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Logs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Logs;
use strict;
use warnings;

our $VERSION = 5.44;
our $VERSION = 5.48;

# the output of warnings and diagnostics should not be enabled in production.
# the SNMP daemon depends on the output of maillogs, so we need to return
Expand Down
4 changes: 2 additions & 2 deletions lib/Mail/Toaster/Mysql.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Mysql;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
#use DBI; # eval'ed in connect
Expand Down Expand Up @@ -94,7 +94,7 @@ sub connect {
my $dsn = "DBI:$dbv->{'driver'}:database=$dbv->{'db'};"
. "host=$dbv->{'host'};port=$dbv->{'port'}";

eval "use DBI";
eval "use DBI"; ## no critic ( ProhibitStringyEval )
return $self->error($@) if $@;

$dbh = DBI->connect( $dsn, $dbv->{'user'}, $dbv->{'pass'},
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Qmail.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Qmail;
use strict;
use warnings;

our $VERSION = '5.47';
our $VERSION = '5.48';

use Carp;
use English qw( -no_match_vars );
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Setup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Setup;
use strict;
use warnings;

our $VERSION = '5.47';
our $VERSION = '5.48';

use Carp;
use Config;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Setup/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Setup::Config;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

#use Carp;
#use Config;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Setup/Maildrop.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Setup::Maildrop;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use English '-no_match_vars';
use Params::Validate ':all';
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Setup/Simscan.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Setup::Simscan;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
#use Config;
Expand Down
13 changes: 8 additions & 5 deletions lib/Mail/Toaster/Setup/Test.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Setup::Test;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
use English '-no_match_vars';
Expand Down Expand Up @@ -34,7 +34,7 @@ sub email_send {
};

foreach ( qw/ clean spam eicar attach clam / ) {
open(my $INJECT, "| $ibin -a -f \"\" $email" ) or
open(my $INJECT, "|", "$ibin -a -f \"\" $email" ) or
return $self->error( "couldn't send using qmail-inject!");
my $method = 'email_send_' . $_;
$self->$method( $INJECT, $email );
Expand Down Expand Up @@ -230,7 +230,7 @@ sub imap_auth_nossl {
return;
};

eval "use Mail::IMAPClient";
eval "use Mail::IMAPClient"; ## no critic ( ProhibitStringyEval )
if ( $EVAL_ERROR ) {
$self->audit("unable to load Mail::IMAPClient");
return;
Expand Down Expand Up @@ -326,7 +326,7 @@ sub pop3_auth {

my $r = $self->util->install_module( "Mail::POP3Client", verbose => 0,);
$self->pretty("checking Mail::POP3Client", $r );
eval "use Mail::POP3Client";
eval "use Mail::POP3Client"; ## no critic ( ProhibitStringyEval )
if ( $EVAL_ERROR ) {
print "unable to load Mail::POP3Client, skipping POP3 tests\n";
return;
Expand Down Expand Up @@ -394,7 +394,7 @@ sub smtp_auth {

my @modules = ('IO::Socket::INET', 'IO::Socket::SSL', 'Net::SSLeay', 'Socket qw(:DEFAULT :crlf)','Net::SMTP_auth');
foreach ( @modules ) {
eval "use $_";
eval "use $_"; ## no critic ( ProhibitStringyEval )
die $@ if $@;
$self->pretty( "loading $_", 'ok' );
};
Expand Down Expand Up @@ -899,6 +899,7 @@ sub ucspi {
__END__;
=over 4
=item email_send
Expand Down Expand Up @@ -952,4 +953,6 @@ Sends an email message with the Eicar virus inline. It should trigger the AV eng
Sends a sample spam message that SpamAssassin should block.
=back
=cut
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Setup/Vpopmail.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::Toaster::Setup::Vpopmail;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Carp;
use English '-no_match_vars';
Expand Down
2 changes: 1 addition & 1 deletion lib/Mail/Toaster/Utility.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package Mail::Toaster::Utility;
use strict;
use warnings;

our $VERSION = '5.44';
our $VERSION = '5.48';

use Cwd;
use Carp;
Expand Down

0 comments on commit 63ab74e

Please sign in to comment.