-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* t/12: encapsulate test cleanups * promote Marc to author * add cleanup for sqlite tests * t/17 fixed * update PSL * remove test DB between runs * META update * DEVELOP: remove ref to dist::zilla * add .release shell scripts to automate release tasks * Changes: -> markdown, remove redundant tokens
- Loading branch information
Showing
61 changed files
with
2,805 additions
and
744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
NEWVER="1.$(date '+%Y%m%d')" | ||
echo "$NEWVER" | ||
|
||
sed -i '' \ | ||
-e "/VERSION =/ s/= .*$/= '$NEWVER';/" \ | ||
-e "/^version / s/.*/version $NEWVER/" \ | ||
$(find lib -type f -name '*.pm') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
YEAR=$(date "+%Y") | ||
|
||
sed -i '' \ | ||
-e "/copyright/ s/20[[:digit:]][[:digit:]]/$YEAR/" \ | ||
LICENSE $(find lib -type f -name '*.pm') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
pod2markdown lib/Mail/DMARC.pm > README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
TAGNAME="v1.$(date '+%Y%M%d')" | ||
echo "tag $TAGNAME" | ||
|
||
git tag "$TAGNAME" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Module::Build 0.3601; | ||
|
||
|
||
my %module_build_args = ( | ||
"build_requires" => { | ||
"Module::Build" => "0.3601" | ||
}, | ||
"configure_requires" => { | ||
"ExtUtils::MakeMaker" => 0, | ||
"File::ShareDir::Install" => "0.06", | ||
"Module::Build" => "0.3601" | ||
}, | ||
"dist_abstract" => "Perl implementation of DMARC", | ||
"dist_author" => [ | ||
"Matt Simerson <msimerson\@cpan.org>", | ||
"Davide Migliavacca <shari\@cpan.org>", | ||
"Marc Bradshaw <marc\@marcbradshaw.net>" | ||
], | ||
"dist_name" => "Mail-DMARC", | ||
"dist_version" => "1.20191024", | ||
"license" => "perl", | ||
"module_name" => "Mail::DMARC", | ||
"recommends" => { | ||
"CGI" => 0, | ||
"Email::Simple" => 0, | ||
"IO::Compress::Gzip" => 0, | ||
"IO::Compress::Zip" => 0, | ||
"IO::Uncompress::Gunzip" => 0, | ||
"IO::Uncompress::Unzip" => 0, | ||
"Mail::DKIM" => 0, | ||
# "MIME::Lite" => 0, | ||
"Net::HTTP" => 0, | ||
"Net::IMAP::Simple" => 0, | ||
"Net::Server" => 2, | ||
"XML::SAX::ParserFactory" => 0, | ||
"XML::Validator::Schema" => 0, | ||
}, | ||
"recursive_test_files" => 1, | ||
"requires" => { | ||
"CGI" => 0, | ||
"CPAN" => 0, | ||
"Carp" => 0, | ||
"Config::Tiny" => 0, | ||
"DBD::SQLite" => "1.31", | ||
"DBIx::Simple" => "1.35", | ||
"Data::Dumper" => 0, | ||
"Email::MIME" => 0, | ||
"Email::Simple" => 0, | ||
"Encode" => 0, | ||
"English" => 0, | ||
"File::ShareDir" => 0, | ||
"Getopt::Long" => 0, | ||
"HTTP::Request" => 0, | ||
"HTTP::Tiny" => 0, | ||
"IO::Compress::Gzip" => 0, | ||
"IO::Compress::Zip" => 0, | ||
"IO::File" => 0, | ||
"IO::Socket::SSL" => 0, | ||
"IO::Uncompress::Gunzip" => 0, | ||
"IO::Uncompress::Unzip" => 0, | ||
"JSON" => 0, | ||
"LWP::UserAgent" => 0, | ||
"Mail::DKIM::PrivateKey" => 0, | ||
"Mail::DKIM::Signer" => 0, | ||
"Mail::DKIM::TextWrap" => 0, | ||
"Net::DNS::Resolver" => 0, | ||
"Net::HTTP" => 0, | ||
"Net::IDN::Encode" => 0, | ||
"Net::IP" => 0, | ||
"Net::SMTPS" => 0, | ||
"Net::SSLeay" => 0, | ||
"Net::Server::HTTP" => 0, | ||
"POSIX" => 0, | ||
"Pod::Usage" => 0, | ||
"Regexp::Common" => "2013031301", | ||
"Socket" => 0, | ||
"Socket6" => "0.23", | ||
"Sys::Hostname" => 0, | ||
"Sys::Syslog" => 0, | ||
"Test::File::ShareDir" => 0, | ||
"URI" => 0, | ||
"XML::LibXML" => 0, | ||
"lib" => 0, | ||
"parent" => 0, | ||
"perl" => "5.008", | ||
"strict" => 0, | ||
"warnings" => 0 | ||
}, | ||
"script_files" => [ | ||
"bin/dmarc_update_public_suffix_list", | ||
"bin/dmarc_send_reports", | ||
"bin/dmarc_httpd", | ||
"bin/dmarc_lookup", | ||
"bin/dmarc_receive", | ||
"bin/dmarc_http_client", | ||
"bin/dmarc_view_reports" | ||
], | ||
"share_dir" => { | ||
"dist" => "share" | ||
}, | ||
"test_requires" => { | ||
"Test::Exception" => 0, | ||
"Test::File::ShareDir" => 0, | ||
"Test::More" => 0, | ||
"Test::Output" => 0 | ||
} | ||
); | ||
|
||
|
||
my %fallback_build_requires = ( | ||
"Module::Build" => "0.3601", | ||
"Test::Exception" => 0, | ||
"Test::File::ShareDir" => 0, | ||
"Test::More" => 0, | ||
"Test::Output" => 0 | ||
); | ||
|
||
|
||
unless ( eval { Module::Build->VERSION(0.4004) } ) { | ||
delete $module_build_args{test_requires}; | ||
$module_build_args{build_requires} = \%fallback_build_requires; | ||
} | ||
|
||
my $build = Module::Build->new(%module_build_args); | ||
|
||
$build->create_build_script; |
Oops, something went wrong.