Commit 12da3ba4 authored by Dominique Dumont's avatar Dominique Dumont

Imported Upstream version 0.103011

parent fcdda23b
Revision history for Software-License
0.103011 2016-01-16 21:27:53-05:00 America/New_York
- do not load Sub::Install, since it isn't used!
- eliminate superfluous FULL STOP characters (".")
0.103010 2014-03-29 22:13:19-04:00 America/New_York
- fix guess_license_from_pod's return on GPL licenses
(thanks, Syohei YOSHIDA!)
......
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
This software is Copyright (c) 2014 by Ricardo Signes.
This software is Copyright (c) 2016 by Ricardo Signes.
This is free software, licensed under:
......@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
This software is Copyright (c) 2014 by Ricardo Signes.
This software is Copyright (c) 2016 by Ricardo Signes.
This is free software, licensed under:
......
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.014.
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.043.
Changes
LICENSE
MANIFEST
......@@ -37,7 +37,8 @@ lib/Software/License/SSLeay.pm
lib/Software/License/Sun.pm
lib/Software/License/Zlib.pm
lib/Software/LicenseUtils.pm
t/000-report-versions-tiny.t
t/00-report-prereqs.dd
t/00-report-prereqs.t
t/basic.t
t/bsd-url.t
t/custom-license
......@@ -46,6 +47,7 @@ t/guess_meta_license.t
t/meta-names.t
t/round-trip.t
t/short_name.t
t/two-dots.t
t/utils.t
xt/author/pod-syntax.t
xt/release/changes_has_content.t
xt/release/pod-syntax.t
This diff is collapsed.
This diff is collapsed.
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.014.
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.043.
use strict;
use warnings;
use 5.006;
use ExtUtils::MakeMaker 6.30;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "packages that provide templated software licenses",
"AUTHOR" => "Ricardo Signes <rjbs\@cpan.org>",
"BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Software-License",
"EXE_FILES" => [],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.006",
"NAME" => "Software::License",
"PREREQ_PM" => {
"Carp" => 0,
......@@ -26,17 +22,18 @@ my %WriteMakefileArgs = (
"File::Spec" => 0,
"IO::Dir" => 0,
"Module::Load" => 0,
"Sub::Install" => 0,
"Text::Template" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Test::More" => "0.96",
"Try::Tiny" => 0
},
"VERSION" => "0.103010",
"VERSION" => "0.103011",
"test" => {
"TESTS" => "t/*.t"
}
......@@ -46,10 +43,10 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
"Carp" => 0,
"Data::Section" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"IO::Dir" => 0,
"Module::Load" => 0,
"Sub::Install" => 0,
"Test::More" => "0.96",
"Text::Template" => 0,
"Try::Tiny" => 0,
......@@ -69,6 +66,3 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
This archive contains the distribution Software-License,
version 0.103010:
version 0.103011:
packages that provide templated software licenses
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
This README file was generated by Dist::Zilla::Plugin::Readme v5.014.
This README file was generated by Dist::Zilla::Plugin::Readme v5.043.
......@@ -3,9 +3,8 @@ use warnings;
use 5.006; # warnings
package Software::License;
# ABSTRACT: packages that provide templated software licenses
$Software::License::VERSION = '0.103010';
$Software::License::VERSION = '0.103011';
use Data::Section -setup => { header_re => qr/\A__([^_]+)__\Z/ };
use Sub::Install ();
use Text::Template ();
#pod =head1 SYNOPSIS
......@@ -47,6 +46,12 @@ sub new {
sub year { defined $_[0]->{year} ? $_[0]->{year} : (localtime)[5]+1900 }
sub holder { $_[0]->{holder} }
sub _dotless_holder {
my $holder = $_[0]->holder;
$holder =~ s/\.$//;
return $holder;
}
#pod =method name
#pod
#pod This method returns the name of the license, suitable for shoving in the middle
......@@ -174,9 +179,11 @@ sub _fill_in {
#pod * L<Software::License::Artistic_1_0>
#pod * L<Software::License::Artistic_2_0>
#pod * L<Software::License::BSD>
#pod * L<Software::License::CC0>
#pod * L<Software::License::CC0_1_0>
#pod * L<Software::License::Custom>
#pod * L<Software::License::FreeBSD>
#pod * L<Software::License::GFDL_1_2>
#pod * L<Software::License::GFDL_1_3>
#pod * L<Software::License::GPL_1>
#pod * L<Software::License::GPL_2>
#pod * L<Software::License::GPL_3>
......@@ -189,6 +196,7 @@ sub _fill_in {
#pod * L<Software::License::None>
#pod * L<Software::License::OpenSSL>
#pod * L<Software::License::Perl_5>
#pod * L<Software::License::PostgreSQL>
#pod * L<Software::License::QPL_1_0>
#pod * L<Software::License::SSLeay>
#pod * L<Software::License::Sun>
......@@ -208,7 +216,7 @@ Software::License - packages that provide templated software licenses
=head1 VERSION
version 0.103010
version 0.103011
=head1 SYNOPSIS
......@@ -331,7 +339,11 @@ L<Software::License::BSD>
=item *
L<Software::License::CC0>
L<Software::License::CC0_1_0>
=item *
L<Software::License::Custom>
=item *
......@@ -343,6 +355,10 @@ L<Software::License::GFDL_1_2>
=item *
L<Software::License::GFDL_1_3>
=item *
L<Software::License::GPL_1>
=item *
......@@ -391,6 +407,10 @@ L<Software::License::Perl_5>
=item *
L<Software::License::PostgreSQL>
=item *
L<Software::License::QPL_1_0>
=item *
......@@ -411,9 +431,93 @@ L<Software::License::Zlib>
Ricardo Signes <rjbs@cpan.org>
=head1 CONTRIBUTORS
=for stopwords Bernardo Rechea Bernhard Amann bowtie Brian Cassidy Phillips Craig Scrivner Dave Rolsky David E. Wheeler Golden Dominique Dumont Dylan William Hardison Flavio Poletti Florian Ragwitz Graham Knop Kenichi Ishigaki magnolia mikegrb Shlomi Fish Syohei YOSHIDA
=over 4
=item *
Bernardo Rechea <brbpub@gmail.com>
=item *
Bernhard Amann <bernhard@icsi.berkeley.edu>
=item *
bowtie <bowtie@cpan.org>
=item *
Brian Cassidy <bricas@cpan.org>
=item *
Brian Phillips <bphillips@digitalriver.com>
=item *
Craig Scrivner <scrivner@geology.cwu.edu>
=item *
Dave Rolsky <autarch@urth.org>
=item *
David E. Wheeler <david@justatheory.com>
=item *
David Golden <dagolden@cpan.org>
=item *
Dominique Dumont <dod@debian.org>
=item *
Dylan William Hardison <dylan@hardison.net>
=item *
Flavio Poletti <flavio@polettix.it>
=item *
Florian Ragwitz <rafl@debian.org>
=item *
Graham Knop <haarg@haarg.org>
=item *
Kenichi Ishigaki <ishigaki@cpan.org>
=item *
magnolia <magnolia.k@me.com>
=item *
mikegrb <mgreb@linode.com>
=item *
Shlomi Fish <shlomif@iglu.org.il>
=item *
Syohei YOSHIDA <syohex@gmail.com>
=back
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......@@ -422,7 +526,7 @@ the same terms as the Perl 5 programming language system itself.
__DATA__
__NOTICE__
This software is Copyright (c) {{$self->year}} by {{$self->holder}}.
This software is Copyright (c) {{$self->year}} by {{$self->_dotless_holder}}.
This is free software, licensed under:
......
use strict;
use warnings;
package Software::License::AGPL_3;
$Software::License::AGPL_3::VERSION = '0.103010';
$Software::License::AGPL_3::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: GNU Affero General Public License, Version 3
......@@ -23,7 +23,7 @@ Software::License::AGPL_3 - GNU Affero General Public License, Version 3
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -31,7 +31,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::Apache_1_1;
$Software::License::Apache_1_1::VERSION = '0.103010';
$Software::License::Apache_1_1::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The Apache Software License, Version 1.1
......@@ -22,7 +22,7 @@ Software::License::Apache_1_1 - The Apache Software License, Version 1.1
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::Apache_2_0;
$Software::License::Apache_2_0::VERSION = '0.103010';
$Software::License::Apache_2_0::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The Apache License, Version 2.0
......@@ -22,7 +22,7 @@ Software::License::Apache_2_0 - The Apache License, Version 2.0
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::Artistic_1_0;
$Software::License::Artistic_1_0::VERSION = '0.103010';
$Software::License::Artistic_1_0::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The Artistic License
......@@ -60,7 +60,7 @@ Software::License::Artistic_1_0 - The Artistic License
=head1 VERSION
version 0.103010
version 0.103011
=head1 OPTIONS
......@@ -89,7 +89,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::Artistic_2_0;
$Software::License::Artistic_2_0::VERSION = '0.103010';
$Software::License::Artistic_2_0::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The Artistic License 2.0
......@@ -22,7 +22,7 @@ Software::License::Artistic_2_0 - The Artistic License 2.0
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::BSD;
$Software::License::BSD::VERSION = '0.103010';
$Software::License::BSD::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The (three-clause) BSD License
......@@ -22,7 +22,7 @@ Software::License::BSD - The (three-clause) BSD License
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::CC0_1_0;
$Software::License::CC0_1_0::VERSION = '0.103010';
$Software::License::CC0_1_0::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: the "public domain"-like CC0 license, version 1.0
......@@ -36,7 +36,7 @@ Software::License::CC0_1_0 - the "public domain"-like CC0 license, version 1.0
=head1 VERSION
version 0.103010
version 0.103011
=head1 WARNING
......@@ -55,7 +55,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
......@@ -2,7 +2,7 @@ use strict;
use warnings;
package Software::License::Custom;
# ABSTRACT: custom license handler
$Software::License::Custom::VERSION = '0.103010';
$Software::License::Custom::VERSION = '0.103011';
use parent 'Software::License';
use Carp;
......@@ -205,7 +205,7 @@ Software::License::Custom - custom license handler
=head1 VERSION
version 0.103010
version 0.103011
=head1 DESCRIPTION
......@@ -342,7 +342,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::FreeBSD;
$Software::License::FreeBSD::VERSION = '0.103010';
$Software::License::FreeBSD::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The FreeBSD License (aka two-clause BSD)
......@@ -23,7 +23,7 @@ Software::License::FreeBSD - The FreeBSD License (aka two-clause BSD)
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -31,7 +31,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::GFDL_1_2;
$Software::License::GFDL_1_2::VERSION = '0.103010';
$Software::License::GFDL_1_2::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The GNU Free Documentation License v1.2
......@@ -22,7 +22,7 @@ Software::License::GFDL_1_2 - The GNU Free Documentation License v1.2
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......@@ -39,7 +39,7 @@ the same terms as the Perl 5 programming language system itself.
__DATA__
__NOTICE__
Copyright (c) {{$self->year}} {{$self->holder}}.
Copyright (c) {{$self->year}} {{$self->_dotless_holder}}.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
......
use strict;
use warnings;
package Software::License::GFDL_1_3;
$Software::License::GFDL_1_3::VERSION = '0.103010';
$Software::License::GFDL_1_3::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: The GNU Free Documentation License v1.3
......@@ -22,7 +22,7 @@ Software::License::GFDL_1_3 - The GNU Free Documentation License v1.3
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......@@ -39,7 +39,7 @@ the same terms as the Perl 5 programming language system itself.
__DATA__
__NOTICE__
Copyright (C) {{$self->year}} {{$self->holder}}.
Copyright (C) {{$self->year}} {{$self->_dotless_holder}}.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
......
use strict;
use warnings;
package Software::License::GPL_1;
$Software::License::GPL_1::VERSION = '0.103010';
$Software::License::GPL_1::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: GNU General Public License, Version 1
......@@ -22,7 +22,7 @@ Software::License::GPL_1 - GNU General Public License, Version 1
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::GPL_2;
$Software::License::GPL_2::VERSION = '0.103010';
$Software::License::GPL_2::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: GNU General Public License, Version 2
......@@ -22,7 +22,7 @@ Software::License::GPL_2 - GNU General Public License, Version 2
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::GPL_3;
$Software::License::GPL_3::VERSION = '0.103010';
$Software::License::GPL_3::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: GNU General Public License, Version 3
......@@ -22,7 +22,7 @@ Software::License::GPL_3 - GNU General Public License, Version 3
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::LGPL_2_1;
$Software::License::LGPL_2_1::VERSION = '0.103010';
$Software::License::LGPL_2_1::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: GNU Lesser General Public License, Version 2.1
......@@ -22,7 +22,7 @@ Software::License::LGPL_2_1 - GNU Lesser General Public License, Version 2.1
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -30,7 +30,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Ricardo Signes.
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
use strict;
use warnings;
package Software::License::LGPL_3_0;
$Software::License::LGPL_3_0::VERSION = '0.103010';
$Software::License::LGPL_3_0::VERSION = '0.103011';
use parent 'Software::License';
# ABSTRACT: GNU Lesser General Public License, Version 3
......@@ -37,7 +37,7 @@ Software::License::LGPL_3_0 - GNU Lesser General Public License, Version 3
=head1 VERSION
version 0.103010
version 0.103011
=head1 AUTHOR
......@@ -45,7 +45,7 @@ Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE