Codebase list libdebian-copyright-perl / c59dbae
Merge tag 'upstream/0.2' Upstream version 0.2 Xavier Guimard 11 years ago
21 changed file(s) with 1452 addition(s) and 120 deletion(s). Raw diff Collapse all Expand all
1111 'Test::More' => 0,
1212 'Perl6::Slurp' => 0,
1313 'Test::LongString' => 0,
14 'Test::Exception' => 0,
15 'Test::Deep' => 0,
16 'Test::NoWarnings' => 0,
1417 },
1518 configure_requires => { 'Module::Build' => 0.38 },
1619 requires => {
1922 'Tie::IxHash' => 0,
2023 'Array::Unique' => 0,
2124 'Class::Accessor'=> 0,
25 perl=>'5.10.1',
2226 },
2327 add_to_cleanup => [ 'Debian-Copyright-*' ],
2428 create_makefile_pl => 'traditional',
00 Revision history for Debian-Copyright
11
2 0.1 Date/time
2 0.2 23-07-2012
3 Added support for full bodies that occur in License
4 clauses in Files stanzas
5 Added some real life copyright tests from mysql
6 Used comments from Charles Plessy, Closes: #70544
7 Worked through some of the missing test coverage
8 Updated copyright notices
9
10 0.1 12-08-2011
311 First version, released on an unsuspecting world.
412
1414 README
1515 t/00.load.t
1616 t/01.basic.t
17 t/02.mysql.t
1718 t/data/add1
1819 t/data/copyright
20 t/data/invalid
21 t/data/invalid2
22 t/data/mysql
1923 t/manifest.t
2024 t/perlcritic.t
2125 t/pod-coverage.t
33 "Nicholas Bamber <nicholas@periapt.co.uk>"
44 ],
55 "dynamic_config" : 1,
6 "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110930",
6 "generated_by" : "Module::Build version 0.4001, CPAN::Meta::Converter version 2.110440",
77 "license" : [
8 "open_source"
8 "gpl_1"
99 ],
1010 "meta-spec" : {
1111 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
1616 "build" : {
1717 "requires" : {
1818 "Perl6::Slurp" : 0,
19 "Test::Deep" : 0,
20 "Test::Exception" : 0,
1921 "Test::LongString" : 0,
20 "Test::More" : 0
22 "Test::More" : 0,
23 "Test::NoWarnings" : 0
2124 }
2225 },
2326 "configure" : {
3134 "Class::Accessor" : 0,
3235 "Parse::DebControl" : 0,
3336 "Tie::IxHash" : 0,
34 "perl" : "5.006"
37 "perl" : "v5.10.1"
3538 }
3639 }
3740 },
3841 "provides" : {
3942 "Debian::Copyright" : {
4043 "file" : "lib/Debian/Copyright.pm",
41 "version" : "0.1"
44 "version" : "0.2"
4245 },
4346 "Debian::Copyright::Stanza" : {
4447 "file" : "lib/Debian/Copyright/Stanza.pm",
45 "version" : "0.1"
48 "version" : "0.2"
4649 },
4750 "Debian::Copyright::Stanza::Files" : {
4851 "file" : "lib/Debian/Copyright/Stanza/Files.pm",
49 "version" : "0.1"
52 "version" : "0.2"
5053 },
5154 "Debian::Copyright::Stanza::Header" : {
5255 "file" : "lib/Debian/Copyright/Stanza/Header.pm",
53 "version" : "0.1"
56 "version" : "0.2"
5457 },
5558 "Debian::Copyright::Stanza::License" : {
5659 "file" : "lib/Debian/Copyright/Stanza/License.pm",
57 "version" : "0.1"
60 "version" : "0.2"
5861 },
5962 "Debian::Copyright::Stanza::OrSeparated" : {
6063 "file" : "lib/Debian/Copyright/Stanza/OrSeparated.pm",
61 "version" : "0.1"
64 "version" : "0.2"
6265 }
6366 },
6467 "release_status" : "stable",
7073 "url" : "http://github.com/periapt/Debian-Copyright/tree"
7174 }
7275 },
73 "version" : "0.1"
76 "version" : "0.2"
7477 }
33 - 'Nicholas Bamber <nicholas@periapt.co.uk>'
44 build_requires:
55 Perl6::Slurp: 0
6 Test::Deep: 0
7 Test::Exception: 0
68 Test::LongString: 0
79 Test::More: 0
10 Test::NoWarnings: 0
811 configure_requires:
912 Module::Build: 0.38
1013 dynamic_config: 1
11 generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110930'
12 license: open_source
14 generated_by: 'Module::Build version 0.4001, CPAN::Meta::Converter version 2.110440'
15 license: gpl
1316 meta-spec:
1417 url: http://module-build.sourceforge.net/META-spec-v1.4.html
1518 version: 1.4
1720 provides:
1821 Debian::Copyright:
1922 file: lib/Debian/Copyright.pm
20 version: 0.1
23 version: 0.2
2124 Debian::Copyright::Stanza:
2225 file: lib/Debian/Copyright/Stanza.pm
23 version: 0.1
26 version: 0.2
2427 Debian::Copyright::Stanza::Files:
2528 file: lib/Debian/Copyright/Stanza/Files.pm
26 version: 0.1
29 version: 0.2
2730 Debian::Copyright::Stanza::Header:
2831 file: lib/Debian/Copyright/Stanza/Header.pm
29 version: 0.1
32 version: 0.2
3033 Debian::Copyright::Stanza::License:
3134 file: lib/Debian/Copyright/Stanza/License.pm
32 version: 0.1
35 version: 0.2
3336 Debian::Copyright::Stanza::OrSeparated:
3437 file: lib/Debian/Copyright/Stanza/OrSeparated.pm
35 version: 0.1
38 version: 0.2
3639 requires:
3740 Array::Unique: 0
3841 Class::Accessor: 0
3942 Parse::DebControl: 0
4043 Tie::IxHash: 0
41 perl: 5.006
44 perl: v5.10.1
4245 resources:
4346 license: http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt
4447 repository: http://github.com/periapt/Debian-Copyright/tree
45 version: 0.1
48 version: 0.2
0 # Note: this file was auto-generated by Module::Build::Compat version 0.3800
1 require 5.006;
0 # Note: this file was auto-generated by Module::Build::Compat version 0.4001
1 require 5.010001;
22 use ExtUtils::MakeMaker;
33 WriteMakefile
44 (
5 'NAME' => 'Debian::Copyright',
6 'VERSION_FROM' => 'lib/Debian/Copyright.pm',
7 'PREREQ_PM' => {
8 'Array::Unique' => 0,
9 'Class::Accessor' => 0,
10 'Parse::DebControl' => 0,
11 'Perl6::Slurp' => 0,
12 'Test::LongString' => 0,
13 'Test::More' => 0,
14 'Tie::IxHash' => 0
15 },
16 'INSTALLDIRS' => 'site',
17 'EXE_FILES' => [],
18 'PL_FILES' => {}
19 )
5 'NAME' => 'Debian::Copyright',
6 'VERSION_FROM' => 'lib/Debian/Copyright.pm',
7 'PREREQ_PM' => {
8 'Array::Unique' => 0,
9 'Class::Accessor' => 0,
10 'Parse::DebControl' => 0,
11 'Perl6::Slurp' => 0,
12 'Test::Deep' => 0,
13 'Test::Exception' => 0,
14 'Test::LongString' => 0,
15 'Test::More' => 0,
16 'Test::NoWarnings' => 0,
17 'Tie::IxHash' => 0
18 },
19 'INSTALLDIRS' => 'site',
20 'EXE_FILES' => [],
21 'PL_FILES' => {}
22 )
2023 ;
11 Debian::Copyright - manage Debian copyright files
22
33 VERSION
4 This document describes Debian::Copyright version 0.1 .
4 This document describes Debian::Copyright version 0.2 .
55
66 SYNOPSIS
77 my $c = Debian::Copyright->new(); # construct a new
88 $c->read($file1); # parse debian copyright file
99 $c->read($file2); # parse a second
10 $c->write($ofile); # write to file
10 $c->write($ofile); # write to file
1111
1212 DESCRIPTION
1313 Debian::Copyright can be used for the representation, manipulation and
1414 merging of Debian copyright files in an object-oriented way. It provides
1515 easy reading and writing of the debian/copyright file found in Debian
16 source packages.
16 source packages. Debian has recently started standardising its copyright
17 files around the machine-readable DEP-5/Format:
18 http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
19 format.
20
21 note on terminology
22 The term "Stanza" derives from the dh-make-perl tool. The official term
23 would now be "Paragraph". For the purposes of discussing the DEP-5
24 format the terms are used interchangeably in this documentation.
1725
1826 FIELDS
1927 header
5563
5664 LIMITATIONS
5765 This module is written with one particular version of DEP-5 in mind.
58 When required it should be easy to add support for extra versions, but
59 at the moment the supported version is the one generally used in the
60 Debian Perl Group.
66 Furthermore version 0.1 of this software was for a draft version the
67 standard. The changes in going from draft to standard were such that it
68 was not worth attempting to maintain backwards compatibility.
6169 Test coverage is not yet complete.
6270
71 INCOMPATIBILITIES
72 This version is not backwards compatible with version 0.1.
73
74 ACKNOWLEDGEMENTS
75 Thanks to Charles Plessy for various comments regarding the
76 documentation.
77
6378 COPYRIGHT & LICENSE
64 Copyright (C) 2011 Nicholas Bamber nicholas@periapt.co.uk
79 Copyright (C) 2011-2012 Nicholas Bamber nicholas@periapt.co.uk
6580
6681 This module was adapted from Debian::Control. Copyright (C) 2009 Damyan
6782 Ivanov dmn@debian.org [Portions]
33
44 =head1 VERSION
55
6 This document describes Debian::Copyright::Stanza::Files version 0.1 .
6 This document describes Debian::Copyright::Stanza::Files version 0.2 .
77
88 =head1 SYNOPSIS
99
3232
3333 =item Copyright
3434
35 =item X_Comment
35 =item Comment
3636
3737 =back
3838
3939 =cut
4040
4141 package Debian::Copyright::Stanza::Files;
42 require v5.10.1;
4243 use strict;
4344 use warnings;
4445 use base qw(Debian::Copyright::Stanza);
4546 use constant fields => qw (
46 Files Copyright License X_Comment
47 Files Copyright License Comment
4748 );
4849
49 our $VERSION = '0.1';
50 our $VERSION = '0.2';
5051
5152 =head1 CONSTRUCTOR
5253
7677
7778 =head1 COPYRIGHT & LICENSE
7879
79 Copyright (C) 2011 Nicholas Bamber L<nicholas@periapt.co.uk>
80 Copyright (C) 2011-12 Nicholas Bamber L<nicholas@periapt.co.uk>
8081
8182 This module is substantially based upon L<Debian::Control::Stanza::Source>.
8283 Copyright (C) 2009 Damyan Ivanov L<dmn@debian.org>
33
44 =head1 VERSION
55
6 This document describes Debian::Copyright::Stanza::Header version 0.1 .
6 This document describes Debian::Copyright::Stanza::Header version 0.2 .
77
88 =head1 SYNOPSIS
99
2626
2727 =over
2828
29 =item Format_Specification
29 =item Format
3030
31 =item Name
31 =item Upstream_Name
3232
33 =item X_Comment
33 =item Comment
3434
35 =item Maintainer
35 =item Upstream_Contact
3636
3737 =item Source
38
39 =item Disclaimer
40
41 =item License
42
43 =item Copyright
3844
3945 =back
4046
4147 =cut
4248
4349 package Debian::Copyright::Stanza::Header;
50 require v5.10.1;
4451 use strict;
4552 use warnings;
4653 use base qw(Debian::Copyright::Stanza);
54
4755 use constant fields => qw (
48 Format_Specification Maintainer Source Name X_Comment
56 Format
57 Upstream_Name
58 Upstream_Contact
59 Source
60 Disclaimer
61 Comment
62 License
63 Copyright
4964 );
5065
51 our $VERSION = '0.1';
66 our $VERSION = '0.2';
5267
5368 =head1 CONSTRUCTOR
5469
7085
7186 =head1 COPYRIGHT & LICENSE
7287
73 Copyright (C) 2011 Nicholas Bamber L<nicholas@periapt.co.uk>
88 Copyright (C) 2011-12 Nicholas Bamber L<nicholas@periapt.co.uk>
7489
7590 This module is substantially based upon L<Debian::Control::Stanza::Source>.
7691 Copyright (C) 2009 Damyan Ivanov L<dmn@debian.org>
33
44 =head1 VERSION
55
6 This document describes Debian::Copyright::Stanza::License version 0.1 .
6 This document describes Debian::Copyright::Stanza::License version 0.2 .
77
88 =head1 SYNOPSIS
99
2828
2929 =item License
3030
31 =item Comment
32
3133 =back
3234
3335 =cut
3436
3537 package Debian::Copyright::Stanza::License;
38 require v5.10.1;
3639 use strict;
3740 use warnings;
3841 use base qw(Debian::Copyright::Stanza);
3942 use constant fields => qw (
40 X_Comment License
43 License Comment
4144 );
4245
43 our $VERSION = '0.1';
46 our $VERSION = '0.2';
4447
4548 =head1 CONSTRUCTOR
4649
6265
6366 =head1 COPYRIGHT & LICENSE
6467
65 Copyright (C) 2011 Nicholas Bamber L<nicholas@periapt.co.uk>
68 Copyright (C) 2011-12 Nicholas Bamber L<nicholas@periapt.co.uk>
6669
6770 This module is substantially based upon L<Debian::Control::Stanza::Source>.
6871 Copyright (C) 2009 Damyan Ivanov L<dmn@debian.org>
00 package Debian::Copyright::Stanza::OrSeparated;
1 require v5.10.1;
12 use strict;
23 use warnings;
34
78 '""' => \&as_string,
89 'eq' => \&equals;
910
10 our $VERSION = '0.1';
11 our $VERSION = '0.2';
1112
1213 =head1 NAME
1314
1516
1617 =head1 VERSION
1718
18 This document describes Debian::Copyright::Stanza::OrSeparated version 0.1 .
19 This document describes Debian::Copyright::Stanza::OrSeparated version 0.2 .
1920
2021 =cut
2122
3132 =head1 DESCRIPTION
3233
3334 Debian::Copyright::Stanza::OrSeparated abstracts handling of the License
34 fields in Files blocks, which are lists separated by 'or'.
35 fields in Files blocks, which are lists separated by 'or'. It also supports
36 a body field representing the optional extended description of a License field.
3537
3638 =head1 CONSTRUCTOR
3739
4446 =cut
4547
4648 sub new {
47 my $self = bless [], shift;
49 my $self = bless {list=>[],body=>""}, shift;
4850
49 tie @$self, 'Array::Unique';
51 tie @{$self->{list}}, 'Array::Unique';
5052
51 $self->add(@_) if @_;
53 my $body = exists $self->{body} ? $self->{body} : "";
54 my @list = ();
55 foreach my $e (@_) {
56 if ($e =~ m{\A([^\n]+)\n(.+)\z}xms) {
57 push @list, $1;
58 $body .= $2;
59 }
60 else {
61 push @list, $e;
62 }
63 }
64 $self->add(@list) if @list;
65 $self->{body} = $body if $body;
5266
5367 $self;
5468 }
6579
6680 sub as_string
6781 {
68 return join( ' or ', @{ $_[0] } );
82 my $self = shift;
83 my $body = exists $self->{body} ? "\n$self->{body}" : "";
84 return join( ' or ', @{ $self->{list} } ).$body;
6985 }
7086
7187 =head2 equals
103119 sub add {
104120 my ( $self, @items) = @_;
105121
106 push @$self, $self->_parse(@items);
122 push @{$self->{list}}, $self->_parse(@items);
107123 }
108124
109125 =head2 sort
115131 sub sort {
116132 my $self = shift;
117133
118 @$self = sort @$self;
134 @{$self->{list}} = sort @{$self->{list}};
119135 }
120136
137 =head1 COPYRIGHT & LICENSE
138
139 Copyright (C) 2011-12 Nicholas Bamber L<nicholas@periapt.co.uk>
140
141 This program is free software; you can redistribute it and/or modify it under
142 the terms of the GNU General Public License version 2 as published by the Free
143 Software Foundation.
144
145 This program is distributed in the hope that it will be useful, but WITHOUT ANY
146 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
147 PARTICULAR PURPOSE.
148
149 =cut
121150
122151 1;
152
153 1;
33
44 =head1 VERSION
55
6 This document describes Debian::Copyright::Stanza version 0.1 .
6 This document describes Debian::Copyright::Stanza version 0.2 .
77
88 =head1 SYNOPSIS
99
2929
3030 package Debian::Copyright::Stanza;
3131
32 require v5.10.0;
32 require v5.10.1;
3333 use strict;
3434 use base qw( Class::Accessor Tie::IxHash );
3535 use Carp qw(croak);
3636 use Debian::Copyright::Stanza::OrSeparated;
3737
38 our $VERSION = '0.1';
38 our $VERSION = '0.2';
3939
4040 =head1 FIELDS
4141
33
44 =head1 VERSION
55
6 This document describes Debian::Copyright version 0.1 .
6 This document describes Debian::Copyright version 0.2 .
77
88 =head1 SYNOPSIS
99
1010 my $c = Debian::Copyright->new(); # construct a new
1111 $c->read($file1); # parse debian copyright file
1212 $c->read($file2); # parse a second
13 $c->write($ofile); # write to file
13 $c->write($ofile); # write to file
1414
1515 =head1 DESCRIPTION
1616
1717 Debian::Copyright can be used for the representation, manipulation and
1818 merging of Debian copyright files in an object-oriented way. It provides easy
1919 reading and writing of the F<debian/copyright> file found in Debian source
20 packages.
20 packages. Debian has recently started standardising its copyright files
21 around the machine-readable
22 L<DEP-5/Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/>
23 format.
24
25 =head2 note on terminology
26
27 The term "Stanza" derives from the
28 L<dh-make-perl|http://packages.debian.org/sid/dh-make-perl> tool. The official
29 term would now be "Paragraph". For the purposes of discussing the DEP-5 format the terms are used interchangeably in this documentation.
2130
2231 =head1 FIELDS
2332
4251 =cut
4352
4453 package Debian::Copyright;
54 require v5.10.1;
4555 use base 'Class::Accessor';
4656 use strict;
4757 use Carp;
4858
49 our $VERSION = '0.1';
59 our $VERSION = '0.2';
5060
5161 __PACKAGE__->mk_accessors(qw( _parser header files licenses ));
5262
106116 my $stanzas = $self->_parser->$parser_method( $file,
107117 { useTieIxHash => 1, verbMultiLine => 1 } );
108118
119 if (exists $stanzas->[0]->{Format}) {
120 my $header = shift @$stanzas;
121 if (! $self->header) {
122 $self->header( Debian::Copyright::Stanza::Header->new($header) );
123 }
124 }
125
109126 for (@$stanzas) {
110 if ( $_->{'Format-Specification'}) {
111 if (! $self->header) {
112 $self->header( Debian::Copyright::Stanza::Header->new($_) );
113 }
114 }
115 elsif ( $_->{Files} ) {
127 next if $_->{Format};
128 if ( $_->{Files} ) {
116129 $self->files->Push(
117130 $_->{Files} => Debian::Copyright::Stanza::Files->new($_) );
131 next;
118132 }
119 elsif ( $_->{License} ) {
133 if ( $_->{License} ) {
120134 my $license = $_->{License};
121135 if ($license =~ m{\A([^\n]+)$}xms) {
122136 $license = $1;
126140 }
127141 $self->licenses->Push(
128142 $license => Debian::Copyright::Stanza::License->new($_) );
143 next;
129144 }
130 else {
131 die "Got copyright stanza with unrecognised field\n";
132 }
145 die "Got copyright stanza with unrecognised field\n";
133146 }
134147 return;
135148 }
173186 =over
174187
175188 =item This module is written with one particular version of
176 L<DEP-5|http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135>
177 in mind. When required it should be easy to add support for extra versions,
178 but at the moment the supported version is the one generally used in the
179 Debian Perl Group.
189 L<DEP-5|http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/>
190 in mind. Furthermore version 0.1 of this software was for a draft
191 version the standard. The changes in going from draft to standard
192 were such that it was not worth attempting to maintain backwards
193 compatibility.
180194
181195 =item Test coverage is not yet complete.
182196
183197 =back
184198
199 =head1 INCOMPATIBILITIES
200
201 This version is not backwards compatible with version 0.1.
202
203 =head1 ACKNOWLEDGEMENTS
204
205 Thanks to Charles Plessy for various comments regarding the documentation.
206
185207 =head1 COPYRIGHT & LICENSE
186208
187 Copyright (C) 2011 Nicholas Bamber L<nicholas@periapt.co.uk>
209 Copyright (C) 2011-2012 Nicholas Bamber L<nicholas@periapt.co.uk>
188210
189211 This module was adapted from L<Debian::Control>.
190212 Copyright (C) 2009 Damyan Ivanov L<dmn@debian.org> [Portions]
0 use Test::More tests => 30;
0 use Test::More tests => 36;
11
22 use Debian::Copyright;
33
44 # replace by Test::File::Contents?
55 use Perl6::Slurp;
66 use Test::LongString;
7 use Test::Deep;
8 use Test::Exception;
79
810 my $copyright = Debian::Copyright->new;
911 isa_ok($copyright, 'Debian::Copyright');
1012 $copyright->read('t/data/copyright');
11 like($copyright->header, qr{\AFormat-Specification:\s}xms, 'Header stanza');
13 like($copyright->header, qr{\AFormat:\s}xms, 'Header stanza');
1214 is($copyright->files->Length, 2, 'files length');
1315 is($copyright->files->Keys(0), '*', 'key files(0)');
1416 is($copyright->files->Values(0)->Files, '*', 'files(0)->Files');
3133 my $data = undef;
3234 $copyright->write(\$data);
3335 is_string($data, $contents, "file contents");
36
37 my $copyright2 = Debian::Copyright->new;
38 isa_ok($copyright2, 'Debian::Copyright');
39 $copyright2->read(\$contents);
40 cmp_deeply($copyright, $copyright2, "file versus string");
3441
3542 $copyright->read('t/data/add1');
3643 $copyright->write(\$data);
5562 is($copyright->files->Values(2)->Files, 'test/*', 'files(2)->Files');
5663 is($copyright->licenses->Keys(2), 'BSD', 'key licenses(2)');
5764
65 my $copyright3 = Debian::Copyright->new;
66 isa_ok($copyright3, 'Debian::Copyright');
67 throws_ok { $copyright3->read('t/data/invalid') } qr/Invalid field given \(Blah\)/;
5868
69 my $copyright4 = Debian::Copyright->new;
70 isa_ok($copyright4, 'Debian::Copyright');
71 throws_ok { $copyright4->read('t/data/invalid2') } qr/Got copyright stanza with unrecognised field/;
72
73
0 use Test::More tests => 62;
1 use Debian::Copyright;
2 use Test::Deep;
3 use Test::LongString;
4 use Test::NoWarnings;
5
6 my $copyright = Debian::Copyright->new;
7 isa_ok($copyright, 'Debian::Copyright');
8 $copyright->read('t/data/mysql');
9 is($copyright->header->Format, 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/', 'Format');
10 is($copyright->header->Upstream_Name, 'MySQL 5.5', 'Upstream-Name');
11 is($copyright->header->Upstream_Contact, 'http://bugs.mysql.com/', 'Upstream-Contact');
12 is($copyright->header->Source, 'http://dev.mysql.com/downloads/mysql/5.5.html', 'Source');
13 my $s =<<'EOS';
14 The file Docs/mysql.info is removed from the upstream source
15 because it is incompatible with the Debian Free Software Guidelines.
16 See debian/README.source for how this repacking was done.
17 .
18 Originally produced by a modified version of licensecheck2dep5
19 from CDBS by Clint Byrum <clint@ubuntu.com>. Hand modified to reduce
20 redundancy in the output and add appropriate license text.
21 .
22 Also, MySQL carries the "FOSS License Exception" specified in README
23 .
24 Quoting from README:
25 .
26 MySQL FOSS License Exception We want free and open source
27 software applications under certain licenses to be able to use
28 specified GPL-licensed MySQL client libraries despite the fact
29 that not all such FOSS licenses are compatible with version
30 2 of the GNU General Public License. Therefore there are
31 special exceptions to the terms and conditions of the GPLv2
32 as applied to these client libraries, which are identified
33 and described in more detail in the FOSS License Exception at
34 <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
35 .
36 The text of the Above URL is quoted below, as of Aug 17, 2011.
37 .
38 > FOSS License Exception
39 > .
40 > Updated July 1, 2010
41 > .
42 > What is the FOSS License Exception? Oracle's Free and Open Source
43 > Software ("FOSS") License Exception (formerly known as the FLOSS
44 > License Exception) allows developers of FOSS applications to include
45 > Oracle's MySQL Client Libraries (also referred to as "MySQL Drivers"
46 > or "MySQL Connectors") with their FOSS applications. MySQL Client
47 > Libraries are typically licensed pursuant to version 2 of the General
48 > Public License ("GPL"), but this exception permits distribution of
49 > certain MySQL Client Libraries with a developer's FOSS applications
50 > licensed under the terms of another FOSS license listed below,
51 > even though such other FOSS license may be incompatible with the GPL.
52 > .
53 > The following terms and conditions describe the circumstances under
54 > which Oracle's FOSS License Exception applies.
55 > .
56 > Oracle's FOSS License Exception Terms and Conditions Definitions.
57 > "Derivative Work" means a derivative work, as defined under applicable
58 > copyright law, formed entirely from the Program and one or more
59 > FOSS Applications.
60 > .
61 > "FOSS Application" means a free and open source software application
62 > distributed subject to a license listed in the section below titled
63 > "FOSS License List."
64 > .
65 > "FOSS Notice" means a notice placed by Oracle or MySQL in a copy
66 > of the MySQL Client Libraries stating that such copy of the MySQL
67 > Client Libraries may be distributed under Oracle's or MySQL's FOSS
68 > (or FLOSS) License Exception.
69 > .
70 > "Independent Work" means portions of the Derivative Work that are not
71 > derived from the Program and can reasonably be considered independent
72 > and separate works.
73 > .
74 > "Program" means a copy of Oracle's MySQL Client Libraries that
75 > contains a FOSS Notice.
76 > .
77 > A FOSS application developer ("you" or "your") may distribute a
78 > Derivative Work provided that you and the Derivative Work meet all
79 > of the following conditions: You obey the GPL in all respects for
80 > the Program and all portions (including modifications) of the Program
81 > included in the Derivative Work (provided that this condition does not
82 > apply to Independent Works); The Derivative Work does not include any
83 > work licensed under the GPL other than the Program; You distribute
84 > Independent Works subject to a license listed in the section below
85 > titled "FOSS License List"; You distribute Independent Works in
86 > object code or executable form with the complete corresponding
87 > machine-readable source code on the same medium and under the same
88 > FOSS license applying to the object code or executable forms; All
89 > works that are aggregated with the Program or the Derivative Work
90 > on a medium or volume of storage are not derivative works of the
91 > Program, Derivative Work or FOSS Application, and must reasonably
92 > be considered independent and separate works. Oracle reserves all
93 > rights not expressly granted in these terms and conditions. If all
94 > of the above conditions are not met, then this FOSS License Exception
95 > does not apply to you or your Derivative Work.
96 > .
97 > FOSS License List
98 > .
99 > License Name Version(s)/Copyright Date
100 > Release Early Certified Software
101 > Academic Free License 2.0
102 > Apache Software License 1.0/1.1/2.0
103 > Apple Public Source License 2.0
104 > Artistic license From Perl 5.8.0
105 > BSD license "July 22 1999"
106 > Common Development and Distribution License (CDDL) 1.0
107 > Common Public License 1.0
108 > Eclipse Public License 1.0
109 > European Union Public License (EUPL)[1] 1.1
110 > GNU Library or "Lesser" General Public License (LGPL) 2.0/2.1/3.0
111 > GNU General Public License (GPL) 3.0
112 > IBM Public License 1.0
113 > Jabber Open Source License 1.0
114 > MIT License (As listed in file MIT-License.txt) -
115 > Mozilla Public License (MPL) 1.0/1.1
116 > Open Software License 2.0
117 > OpenSSL license (with original SSLeay license) "2003" ("1998")
118 > PHP License 3.0/3.01
119 > Python license (CNRI Python License) -
120 > Python Software Foundation License 2.1.1
121 > Sleepycat License "1999"
122 > University of Illinois/NCSA Open Source License -
123 > W3C License "2001"
124 > X11 License "2001"
125 > Zlib/libpng License -
126 > Zope Public License 2.0
127 > [1] When an Independent Work is licensed under a "Compatible License"
128 > pursuant to the EUPL, the Compatible License rather than the EUPL is
129 > the applicable license for purposes of these FOSS License Exception
130 > Terms and Conditions.
131 .
132 The above text is subject to this copyright notice:
133 © 2010, Oracle and/or its affiliates.
134 EOS
135 chomp $s;
136 is_string($copyright->header->Comment, "\n$s", 'Comment');
137
138 is($copyright->files->Length, 42, 'no of files');
139
140 $s = <<'EOS';
141 cmd-line-utils/libedit/config.h
142 dbug/example1.c
143 dbug/example2.c
144 dbug/example3.c
145 dbug/factorial.c
146 dbug/main.c
147 dbug/my_main.c
148 dbug/remove_function_from_trace.pl
149 dbug/tests.c
150 dbug/tests-t.pl
151 extra/yassl/src/dummy.cpp
152 include/probes_mysql_nodtrace.h
153 libmysqld/resource.h
154 mysql-test/*
155 regex/*
156 sql-bench/graph-compare-results.sh
157 storage/ndb/bin/*
158 storage/ndb/demos/*
159 support-files/binary-configure.sh
160 support-files/my-huge.cnf.sh
161 support-files/my-innodb-heavy-4G.cnf.sh
162 support-files/my-large.cnf.sh
163 support-files/my-medium.cnf.sh
164 support-files/my-small.cnf.sh
165 support-files/mysqld_multi.server.sh
166 support-files/mysql-log-rotate.sh
167 support-files/mysql.server-sys5.sh
168 EOS
169 is($copyright->files->Keys(0), $s);
170
171 $s= <<'EOS';
172 BUILD/*
173 Docs/*
174 client/*
175 client/echo.c
176 client/get_password.c
177 cmake/*
178 dbug/dbug_add_tags.pl
179 extra/*
180 include/*
181 libmysql/*
182 libmysqld/*
183 libservices/*
184 mysql-test/include/have_perfschema.inc
185 mysql-test/include/have_perfschema.inc
186 mysql-test/lib/mtr_cases.pm
187 mysql-test/lib/mtr_gcov.pl
188 mysql-test/lib/mtr_gprof.pl
189 mysql-test/lib/mtr_io.pl
190 mysql-test/lib/mtr_match.pm
191 mysql-test/lib/mtr_misc.pl
192 mysql-test/lib/mtr_process.pl
193 mysql-test/lib/mtr_report.pm
194 mysql-test/lib/mtr_results.pm
195 mysql-test/lib/mtr_stress.pl
196 mysql-test/lib/mtr_unique.pm
197 mysql-test/lib/My/ConfigFactory.pm
198 mysql-test/lib/My/Config.pm
199 mysql-test/lib/My/CoreDump.pm
200 mysql-test/lib/My/File/*
201 mysql-test/lib/My/Find.pm
202 mysql-test/lib/My/Handles.pm
203 mysql-test/lib/My/Options.pm
204 mysql-test/lib/My/Platform.pm
205 mysql-test/lib/My/SafeProcess/Base.pm
206 mysql-test/lib/My/SafeProcess.pm
207 mysql-test/lib/My/SafeProcess/safe_kill_win.cc
208 mysql-test/lib/My/SafeProcess/safe_process.cc
209 mysql-test/lib/My/SafeProcess/safe_process.pl
210 mysql-test/lib/My/SafeProcess/safe_process_win.cc
211 mysql-test/lib/My/SysInfo.pm
212 mysql-test/lib/My/Test.pm
213 mysql-test/lib/t/*
214 mysql-test/lib/v1/mtr_cases.pl
215 mysql-test/lib/v1/mtr_gcov.pl
216 mysql-test/lib/v1/mtr_gprof.pl
217 mysql-test/lib/v1/mtr_im.pl
218 mysql-test/lib/v1/mtr_io.pl
219 mysql-test/lib/v1/mtr_match.pl
220 mysql-test/lib/v1/mtr_misc.pl
221 mysql-test/lib/v1/mtr_process.pl
222 mysql-test/lib/v1/mtr_report.pl
223 mysql-test/lib/v1/mtr_stress.pl
224 mysql-test/lib/v1/mtr_timer.pl
225 mysql-test/lib/v1/mtr_unique.pl
226 mysql-test/lib/v1/My/*
227 mysql-test/lib/v1/My/*
228 mysql-test/lib/v1/mysql-test-run.pl
229 mysql-test/mysql-stress-test.pl
230 mysql-test/mysql-test-run.pl
231 mysql-test/std_data/*
232 mysql-test/suite/perfschema/include/*
233 mysql-test/suite/perfschema_stress/include/*
234 mysql-test/suite/perfschema_stress/include/*
235 mysys/*
236 packaging/WiX/ca/*
237 plugin/audit_null/*
238 plugin/auth/*
239 plugin/daemon_example/*
240 plugin/fulltext/*
241 plugin/semisync/semisync_slave.cc
242 plugin/semisync/semisync_slave.h
243 scripts/*
244 sql/*
245 sql-common/*
246 storage/*
247 strings/*
248 support-files/config.huge.ini.sh
249 support-files/config.medium.ini.sh
250 support-files/config.small.ini.sh
251 support-files/MacOSX/Description.plist.sh
252 support-files/MacOSX/Info.plist.sh
253 support-files/MacOSX/StartupParameters.plist.sh
254 support-files/MySQL-shared-compat.spec.sh
255 support-files/mysql.spec.sh
256 support-files/ndb-config-2-node.ini.sh
257 tests/*
258 unittest/*
259 vio/*
260 EOS
261 is($copyright->files->Keys(1), $s);
262 is($copyright->files->Keys(2), 'storage/innobase/*');
263 is($copyright->files->Keys(3), 'cmd-line-utils/readline/*');
264 is($copyright->files->Keys(4), 'cmd-line-utils/libedit/*');
265
266 $s = <<'EOS';
267 cmd-line-utils/libedit/filecomplete.c
268 cmd-line-utils/libedit/filecomplete.h
269 cmd-line-utils/libedit/np/fgetln.c
270 cmd-line-utils/libedit/read.h
271 cmd-line-utils/libedit/readline.c
272 cmd-line-utils/libedit/readline/*
273 EOS
274 is($copyright->files->Keys(5), $s);
275
276 $s= <<'EOS';
277 client/completion_hash.h
278 scripts/mysqlaccess.sh
279 scripts/mysql_fix_extensions.sh
280 scripts/mysql_setpermission.sh
281 sql-bench/*
282 storage/myisam/ftbench/ft-test-run.sh
283 storage/myisam/mi_test_all.sh
284 storage/ndb/test/run-test/atrt-analyze-result.sh
285 storage/ndb/test/run-test/atrt-clear-result.sh
286 storage/ndb/test/run-test/atrt-gather-result.sh
287 storage/ndb/test/run-test/atrt-setup.sh
288 storage/ndb/test/run-test/make-config.sh
289 storage/ndb/test/run-test/make-html-reports.sh
290 storage/ndb/test/run-test/make-index.sh
291 storage/ndb/test/run-test/ndb-autotest.sh
292 strings/strxmov.c
293 strings/strxnmov.c
294 support-files/MacOSX/postflight.sh
295 support-files/MacOSX/preflight.sh
296 EOS
297 is($copyright->files->Keys(6), $s);
298
299 $s= <<'EOS';
300 storage/archive/azio.c
301 storage/archive/azlib.h
302 zlib/*
303 EOS
304 is($copyright->files->Keys(7), $s);
305
306 $s= <<'EOS';
307 sql-bench/innotest1.sh
308 sql-bench/innotest1a.sh
309 sql-bench/innotest1b.sh
310 sql-bench/innotest2.sh
311 sql-bench/innotest2a.sh
312 sql-bench/innotest2b.sh
313 EOS
314 is($copyright->files->Keys(8), $s);
315
316 $s= <<'EOS';
317 storage/innobase/btr/btr0sea.c
318 storage/innobase/include/log0log.h
319 storage/innobase/include/os0sync.h
320 storage/innobase/log/log0log.c
321 storage/innobase/row/row0sel.c
322 EOS
323 is($copyright->files->Keys(9), $s);
324
325 $s= <<'EOS';
326 storage/innobase/btr/btr0cur.c
327 storage/innobase/buf/buf0buf.c
328 storage/innobase/include/sync0rw.h
329 storage/innobase/include/sync0sync.h
330 storage/innobase/sync/*
331 EOS
332 is($copyright->files->Keys(10), $s);
333
334 $s= <<'EOS';
335 storage/myisam/rt_index.h
336 storage/myisam/rt_key.c
337 storage/myisam/rt_mbr.c
338 storage/myisam/rt_mbr.h
339 storage/myisam/sp_defs.h
340 EOS
341 is($copyright->files->Keys(11), $s);
342
343 $s= <<'EOS';
344 storage/innobase/include/ut0bh.h
345 storage/innobase/trx/trx0rseg.c
346 storage/innobase/ut/ut0bh.c
347 storage/innobase/ut/ut0ut.c
348 EOS
349 is($copyright->files->Keys(12), $s);
350
351 $s= <<'EOS';
352 plugin/semisync/semisync.cc
353 plugin/semisync/semisync.h
354 plugin/semisync/semisync_slave_plugin.cc
355 EOS
356 is($copyright->files->Keys(13), $s);
357
358 $s= <<'EOS';
359 strings/ctype-bin.c
360 strings/ctype-eucjpms.c
361 strings/ctype-ujis.c
362 EOS
363 is($copyright->files->Keys(14), $s);
364
365 $s= <<'EOS';
366 scripts/mysqld_safe.sh
367 support-files/mysql-multi.server.sh
368 support-files/mysql.server.sh
369 EOS
370 is($copyright->files->Keys(15), $s);
371
372 $s= <<'EOS';
373 sql/sql_yacc.cc
374 sql/sql_yacc.h
375 EOS
376 is($copyright->files->Keys(16), $s);
377
378 $s= <<'EOS';
379 storage/innobase/include/pars0grm.h
380 storage/innobase/pars/pars0grm.c
381 EOS
382 is($copyright->files->Keys(17), $s);
383
384 $s= <<'EOS';
385 storage/innobase/include/srv0srv.h
386 storage/innobase/srv/srv0start.c
387 EOS
388 is($copyright->files->Keys(18), $s);
389
390 $s= <<'EOS';
391 plugin/semisync/semisync_master.cc
392 plugin/semisync/semisync_master_plugin.cc
393 EOS
394 is($copyright->files->Keys(19), $s);
395
396 $s= <<'EOS';
397 storage/innobase/include/os0file.h
398 storage/innobase/os/os0file.c
399 EOS
400 is($copyright->files->Keys(20), $s);
401 is_string($copyright->files->Keys(21), "include/t_ctype.h\n strings/t_ctype.h\n");
402 is_string($copyright->files->Keys(22), "cmd-line-utils/libedit/np/strlcat.c\n cmd-line-utils/libedit/np/strlcpy.c\n");
403 is_string($copyright->files->Keys(23), "sql/nt_servc.cc\n sql/nt_servc.h\n");
404 is_string($copyright->files->Keys(24), "dbug/dbug.c\n dbug/dbug_long.h\n");
405 is($copyright->files->Keys(25), 'cmd-line-utils/libedit/np/vis.c');
406 is($copyright->files->Keys(26), 'scripts/dheadgen.pl');
407 is($copyright->files->Keys(27), 'storage/ndb/test/src/getarg.c');
408 is($copyright->files->Keys(28), 'storage/ndb/test/include/getarg.h');
409 is($copyright->files->Keys(29), 'storage/innobase/handler/ha_innodb.cc');
410 is($copyright->files->Keys(30), 'plugin/semisync/semisync_master.h');
411 is($copyright->files->Keys(31), 'storage/innobase/srv/srv0srv.c');
412 is($copyright->files->Keys(32), 'storage/innobase/ut/ut0rbt.c');
413 is($copyright->files->Keys(33), 'strings/ctype-win1250ch.c');
414 is($copyright->files->Keys(34), 'strings/ctype-tis620.c');
415 is($copyright->files->Keys(35), 'storage/innobase/handler/ha_innodb.h');
416 is($copyright->files->Keys(36), 'strings/dtoa.c');
417 is($copyright->files->Keys(37), 'scripts/mysqldumpslow.sh');
418 is($copyright->files->Keys(38), 'libmysqld/lib_sql.cc');
419 is($copyright->files->Keys(39), 'tests/mail_to_db.pl');
420 is($copyright->files->Keys(40), 'dbug/dbug_analyze.c');
421 is($copyright->files->Values(40)->Files, 'dbug/dbug_analyze.c');
422 is($copyright->files->Values(40)->Copyright, '1987 June Binayak Banerjee');
423 is_string($copyright->files->Values(40)->License, "public-domain\n This program may be freely distributed under the same terms and\n conditions as Fred Fish's Dbug package.");
424 is($copyright->files->Keys(41), 'regex/regexp.c');
425 is($copyright->licenses->Length, 4, 'no of licenses');
426 is($copyright->licenses->Keys(0), 'GPL-2', 'GPL-2');
427 is($copyright->licenses->Keys(1), 'GPL-2+', 'GPL-2+');
428 is($copyright->licenses->Keys(2), 'LGPL', 'LGPL');
429 is($copyright->licenses->Keys(3), 'BSD (3 clause)', 'BSD (3 clause)');
430 like_string($copyright->licenses->Values(0), qr/GNU\s+General\s+Public\s+License\s+version\s+2/xms, 'GPL-2');
431 like_string($copyright->licenses->Values(1), qr/GNU\s+General\s+Public\s+License\s+version\s+2/xms, 'GPL-2+');
432 like_string($copyright->licenses->Values(2), qr/GNU\s+Library\s+General\s+Public\s+License\s+version\s+2/xms, 'LGPL');
433 like_string($copyright->licenses->Values(3), qr/THIS\s+SOFTWARE\s+IS\s+PROVIDED\s+BY\s+THE\s+REGENTS\s+AND\s+CONTRIBUTORS/xms, 'BSD');
0 Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=136
1 Maintainer: Nicholas Bamber <nicholas@periapt.co.uk>
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Contact: Nicholas Bamber <nicholas@periapt.co.uk>
2 Upstream-Name: pkg-components
23 Source: http://github.com/periapt/pkg-components
3 Name: pkg-components
44 X-Comment: This is a test.
55
66 Files: test/*
0 Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
1 Maintainer: Nicholas Bamber <nicholas@periapt.co.uk>
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: pkg-components
2 Upstream-Contact: Nicholas Bamber <nicholas@periapt.co.uk>
23 Source: http://github.com/periapt/pkg-components
3 Name: pkg-components
44
55 Files: *
66 Copyright:
0 Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
1 Blah: Nicholas Bamber <nicholas@periapt.co.uk>
2 Blah2: http://github.com/periapt/pkg-components
3 Blah3: pkg-components
0 Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
1 Upstream-Contact: Nicholas Bamber <nicholas@periapt.co.uk>
2 Source: http://github.com/periapt/pkg-components
3 Upstream-Name: pkg-components
4
5 Blah: *
6 Blah2:
7 2010-2011, Nicholas Bamber <nicholas@periapt.co.uk>
8 Blah3: Artistic or GPL-2+
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: MySQL 5.5
2 Upstream-Contact: http://bugs.mysql.com/
3 Source: http://dev.mysql.com/downloads/mysql/5.5.html
4 Comment:
5 The file Docs/mysql.info is removed from the upstream source
6 because it is incompatible with the Debian Free Software Guidelines.
7 See debian/README.source for how this repacking was done.
8 .
9 Originally produced by a modified version of licensecheck2dep5
10 from CDBS by Clint Byrum <clint@ubuntu.com>. Hand modified to reduce
11 redundancy in the output and add appropriate license text.
12 .
13 Also, MySQL carries the "FOSS License Exception" specified in README
14 .
15 Quoting from README:
16 .
17 MySQL FOSS License Exception We want free and open source
18 software applications under certain licenses to be able to use
19 specified GPL-licensed MySQL client libraries despite the fact
20 that not all such FOSS licenses are compatible with version
21 2 of the GNU General Public License. Therefore there are
22 special exceptions to the terms and conditions of the GPLv2
23 as applied to these client libraries, which are identified
24 and described in more detail in the FOSS License Exception at
25 <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
26 .
27 The text of the Above URL is quoted below, as of Aug 17, 2011.
28 .
29 > FOSS License Exception
30 > .
31 > Updated July 1, 2010
32 > .
33 > What is the FOSS License Exception? Oracle's Free and Open Source
34 > Software ("FOSS") License Exception (formerly known as the FLOSS
35 > License Exception) allows developers of FOSS applications to include
36 > Oracle's MySQL Client Libraries (also referred to as "MySQL Drivers"
37 > or "MySQL Connectors") with their FOSS applications. MySQL Client
38 > Libraries are typically licensed pursuant to version 2 of the General
39 > Public License ("GPL"), but this exception permits distribution of
40 > certain MySQL Client Libraries with a developer's FOSS applications
41 > licensed under the terms of another FOSS license listed below,
42 > even though such other FOSS license may be incompatible with the GPL.
43 > .
44 > The following terms and conditions describe the circumstances under
45 > which Oracle's FOSS License Exception applies.
46 > .
47 > Oracle's FOSS License Exception Terms and Conditions Definitions.
48 > "Derivative Work" means a derivative work, as defined under applicable
49 > copyright law, formed entirely from the Program and one or more
50 > FOSS Applications.
51 > .
52 > "FOSS Application" means a free and open source software application
53 > distributed subject to a license listed in the section below titled
54 > "FOSS License List."
55 > .
56 > "FOSS Notice" means a notice placed by Oracle or MySQL in a copy
57 > of the MySQL Client Libraries stating that such copy of the MySQL
58 > Client Libraries may be distributed under Oracle's or MySQL's FOSS
59 > (or FLOSS) License Exception.
60 > .
61 > "Independent Work" means portions of the Derivative Work that are not
62 > derived from the Program and can reasonably be considered independent
63 > and separate works.
64 > .
65 > "Program" means a copy of Oracle's MySQL Client Libraries that
66 > contains a FOSS Notice.
67 > .
68 > A FOSS application developer ("you" or "your") may distribute a
69 > Derivative Work provided that you and the Derivative Work meet all
70 > of the following conditions: You obey the GPL in all respects for
71 > the Program and all portions (including modifications) of the Program
72 > included in the Derivative Work (provided that this condition does not
73 > apply to Independent Works); The Derivative Work does not include any
74 > work licensed under the GPL other than the Program; You distribute
75 > Independent Works subject to a license listed in the section below
76 > titled "FOSS License List"; You distribute Independent Works in
77 > object code or executable form with the complete corresponding
78 > machine-readable source code on the same medium and under the same
79 > FOSS license applying to the object code or executable forms; All
80 > works that are aggregated with the Program or the Derivative Work
81 > on a medium or volume of storage are not derivative works of the
82 > Program, Derivative Work or FOSS Application, and must reasonably
83 > be considered independent and separate works. Oracle reserves all
84 > rights not expressly granted in these terms and conditions. If all
85 > of the above conditions are not met, then this FOSS License Exception
86 > does not apply to you or your Derivative Work.
87 > .
88 > FOSS License List
89 > .
90 > License Name Version(s)/Copyright Date
91 > Release Early Certified Software
92 > Academic Free License 2.0
93 > Apache Software License 1.0/1.1/2.0
94 > Apple Public Source License 2.0
95 > Artistic license From Perl 5.8.0
96 > BSD license "July 22 1999"
97 > Common Development and Distribution License (CDDL) 1.0
98 > Common Public License 1.0
99 > Eclipse Public License 1.0
100 > European Union Public License (EUPL)[1] 1.1
101 > GNU Library or "Lesser" General Public License (LGPL) 2.0/2.1/3.0
102 > GNU General Public License (GPL) 3.0
103 > IBM Public License 1.0
104 > Jabber Open Source License 1.0
105 > MIT License (As listed in file MIT-License.txt) -
106 > Mozilla Public License (MPL) 1.0/1.1
107 > Open Software License 2.0
108 > OpenSSL license (with original SSLeay license) "2003" ("1998")
109 > PHP License 3.0/3.01
110 > Python license (CNRI Python License) -
111 > Python Software Foundation License 2.1.1
112 > Sleepycat License "1999"
113 > University of Illinois/NCSA Open Source License -
114 > W3C License "2001"
115 > X11 License "2001"
116 > Zlib/libpng License -
117 > Zope Public License 2.0
118 > [1] When an Independent Work is licensed under a "Compatible License"
119 > pursuant to the EUPL, the Compatible License rather than the EUPL is
120 > the applicable license for purposes of these FOSS License Exception
121 > Terms and Conditions.
122 .
123 The above text is subject to this copyright notice:
124 © 2010, Oracle and/or its affiliates.
125
126 Files: cmd-line-utils/libedit/config.h
127 dbug/example1.c
128 dbug/example2.c
129 dbug/example3.c
130 dbug/factorial.c
131 dbug/main.c
132 dbug/my_main.c
133 dbug/remove_function_from_trace.pl
134 dbug/tests.c
135 dbug/tests-t.pl
136 extra/yassl/src/dummy.cpp
137 include/probes_mysql_nodtrace.h
138 libmysqld/resource.h
139 mysql-test/*
140 regex/*
141 sql-bench/graph-compare-results.sh
142 storage/ndb/bin/*
143 storage/ndb/demos/*
144 support-files/binary-configure.sh
145 support-files/my-huge.cnf.sh
146 support-files/my-innodb-heavy-4G.cnf.sh
147 support-files/my-large.cnf.sh
148 support-files/my-medium.cnf.sh
149 support-files/my-small.cnf.sh
150 support-files/mysqld_multi.server.sh
151 support-files/mysql-log-rotate.sh
152 support-files/mysql.server-sys5.sh
153 Copyright: UNKNOWN
154 Comment: These files fall under the blanket license specified in the file
155 COPYING and README
156 License: GPL-2
157 GPLv2 Disclaimer
158 For the avoidance of doubt, except that if any license choice
159 other than GPL or LGPL is available it will apply instead,
160 Oracle elects to use only the General Public License version 2
161 (GPLv2) at this time for any software where a choice of GPL
162 license versions is made available with the language indicating
163 that GPLv2 or any later version may be used, or where a choice
164 of which version of the GPL is applied is otherwise unspecified.
165
166 Files: BUILD/*
167 Docs/*
168 client/*
169 client/echo.c
170 client/get_password.c
171 cmake/*
172 dbug/dbug_add_tags.pl
173 extra/*
174 include/*
175 libmysql/*
176 libmysqld/*
177 libservices/*
178 mysql-test/include/have_perfschema.inc
179 mysql-test/include/have_perfschema.inc
180 mysql-test/lib/mtr_cases.pm
181 mysql-test/lib/mtr_gcov.pl
182 mysql-test/lib/mtr_gprof.pl
183 mysql-test/lib/mtr_io.pl
184 mysql-test/lib/mtr_match.pm
185 mysql-test/lib/mtr_misc.pl
186 mysql-test/lib/mtr_process.pl
187 mysql-test/lib/mtr_report.pm
188 mysql-test/lib/mtr_results.pm
189 mysql-test/lib/mtr_stress.pl
190 mysql-test/lib/mtr_unique.pm
191 mysql-test/lib/My/ConfigFactory.pm
192 mysql-test/lib/My/Config.pm
193 mysql-test/lib/My/CoreDump.pm
194 mysql-test/lib/My/File/*
195 mysql-test/lib/My/Find.pm
196 mysql-test/lib/My/Handles.pm
197 mysql-test/lib/My/Options.pm
198 mysql-test/lib/My/Platform.pm
199 mysql-test/lib/My/SafeProcess/Base.pm
200 mysql-test/lib/My/SafeProcess.pm
201 mysql-test/lib/My/SafeProcess/safe_kill_win.cc
202 mysql-test/lib/My/SafeProcess/safe_process.cc
203 mysql-test/lib/My/SafeProcess/safe_process.pl
204 mysql-test/lib/My/SafeProcess/safe_process_win.cc
205 mysql-test/lib/My/SysInfo.pm
206 mysql-test/lib/My/Test.pm
207 mysql-test/lib/t/*
208 mysql-test/lib/v1/mtr_cases.pl
209 mysql-test/lib/v1/mtr_gcov.pl
210 mysql-test/lib/v1/mtr_gprof.pl
211 mysql-test/lib/v1/mtr_im.pl
212 mysql-test/lib/v1/mtr_io.pl
213 mysql-test/lib/v1/mtr_match.pl
214 mysql-test/lib/v1/mtr_misc.pl
215 mysql-test/lib/v1/mtr_process.pl
216 mysql-test/lib/v1/mtr_report.pl
217 mysql-test/lib/v1/mtr_stress.pl
218 mysql-test/lib/v1/mtr_timer.pl
219 mysql-test/lib/v1/mtr_unique.pl
220 mysql-test/lib/v1/My/*
221 mysql-test/lib/v1/My/*
222 mysql-test/lib/v1/mysql-test-run.pl
223 mysql-test/mysql-stress-test.pl
224 mysql-test/mysql-test-run.pl
225 mysql-test/std_data/*
226 mysql-test/suite/perfschema/include/*
227 mysql-test/suite/perfschema_stress/include/*
228 mysql-test/suite/perfschema_stress/include/*
229 mysys/*
230 packaging/WiX/ca/*
231 plugin/audit_null/*
232 plugin/auth/*
233 plugin/daemon_example/*
234 plugin/fulltext/*
235 plugin/semisync/semisync_slave.cc
236 plugin/semisync/semisync_slave.h
237 scripts/*
238 sql/*
239 sql-common/*
240 storage/*
241 strings/*
242 support-files/config.huge.ini.sh
243 support-files/config.medium.ini.sh
244 support-files/config.small.ini.sh
245 support-files/MacOSX/Description.plist.sh
246 support-files/MacOSX/Info.plist.sh
247 support-files/MacOSX/StartupParameters.plist.sh
248 support-files/MySQL-shared-compat.spec.sh
249 support-files/mysql.spec.sh
250 support-files/ndb-config-2-node.ini.sh
251 tests/*
252 unittest/*
253 vio/*
254 Copyright: 1979-2008 MySQL AB
255 1995-2010 MySQL AB Sun Microsystems Inc
256 1994-1997,2000-2011 Oracle and/or its affiliates.
257 License: GPL-2
258
259 Files: storage/innobase/*
260 Copyright: 1994-2011 Innobase Oy.
261 License: GPL-2
262
263 Files: cmd-line-utils/readline/*
264 Copyright: 1987-2006 Free Software Foundation Inc
265 License: GPL-2+
266
267 Files: cmd-line-utils/libedit/*
268 Copyright: 1989-1990,1992-1993 The Regents of the University of California.
269 License: BSD (3 clause)
270
271 Files: cmd-line-utils/libedit/filecomplete.c
272 cmd-line-utils/libedit/filecomplete.h
273 cmd-line-utils/libedit/np/fgetln.c
274 cmd-line-utils/libedit/read.h
275 cmd-line-utils/libedit/readline.c
276 cmd-line-utils/libedit/readline/*
277 Copyright: 1997-2001 The NetBSD Foundation Inc
278 License: BSD (2 clause)
279 This code is derived from software contributed to The NetBSD Foundation
280 by Jaromir Dolecek.
281 .
282 Redistribution and use in source and binary forms, with or without
283 modification, are permitted provided that the following conditions
284 are met:
285 1. Redistributions of source code must retain the above copyright
286 notice, this list of conditions and the following disclaimer.
287 2. Redistributions in binary form must reproduce the above copyright
288 notice, this list of conditions and the following disclaimer in the
289 documentation and/or other materials provided with the distribution.
290 .
291 THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
292 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
293 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
294 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
295 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
296 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
297 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
298 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
299 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
300 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
301 POSSIBILITY OF SUCH DAMAGE.
302
303 Files: client/completion_hash.h
304 scripts/mysqlaccess.sh
305 scripts/mysql_fix_extensions.sh
306 scripts/mysql_setpermission.sh
307 sql-bench/*
308 storage/myisam/ftbench/ft-test-run.sh
309 storage/myisam/mi_test_all.sh
310 storage/ndb/test/run-test/atrt-analyze-result.sh
311 storage/ndb/test/run-test/atrt-clear-result.sh
312 storage/ndb/test/run-test/atrt-gather-result.sh
313 storage/ndb/test/run-test/atrt-setup.sh
314 storage/ndb/test/run-test/make-config.sh
315 storage/ndb/test/run-test/make-html-reports.sh
316 storage/ndb/test/run-test/make-index.sh
317 storage/ndb/test/run-test/ndb-autotest.sh
318 strings/strxmov.c
319 strings/strxnmov.c
320 support-files/MacOSX/postflight.sh
321 support-files/MacOSX/preflight.sh
322 Copyright: 2000-2009 MySQL AB Sun Microsystems Inc
323 2000-2007 MySQL AB
324 License: LGPL
325
326 Files: storage/archive/azio.c
327 storage/archive/azlib.h
328 zlib/*
329 Copyright: 1995-2005 Jean-loup Gailly and Mark Adler
330 License: zlib/libpng
331 This software is provided 'as-is', without any express or implied
332 warranty. In no event will the authors be held liable for any damages
333 arising from the use of this software.
334 .
335 Permission is granted to anyone to use this software for any purpose,
336 including commercial applications, and to alter it and redistribute it
337 freely, subject to the following restrictions:
338 .
339 1. The origin of this software must not be misrepresented; you must not
340 claim that you wrote the original software. If you use this software
341 in a product, an acknowledgment in the product documentation would be
342 appreciated but is not required.
343 2. Altered source versions must be plainly marked as such, and must not be
344 misrepresented as being the original software.
345 3. This notice may not be removed or altered from any source distribution.
346
347 Files: sql-bench/innotest1.sh
348 sql-bench/innotest1a.sh
349 sql-bench/innotest1b.sh
350 sql-bench/innotest2.sh
351 sql-bench/innotest2a.sh
352 sql-bench/innotest2b.sh
353 Copyright: 2000-2002 Innobase Oy & MySQL AB
354 Comment: These files fall under the blanket license specified in the file COPYING
355 License: GPL-2
356
357 Files: storage/innobase/btr/btr0sea.c
358 storage/innobase/include/log0log.h
359 storage/innobase/include/os0sync.h
360 storage/innobase/log/log0log.c
361 storage/innobase/row/row0sel.c
362 Copyright: 1995-1997,2009-2010 Innobase Oy.
363 2008-2009 Google Inc
364 License: GPL-2
365
366 Files: storage/innobase/btr/btr0cur.c
367 storage/innobase/buf/buf0buf.c
368 storage/innobase/include/sync0rw.h
369 storage/innobase/include/sync0sync.h
370 storage/innobase/sync/*
371 Copyright: 1994-2011 Oracle and/or its affiliates.
372 2008 Google Inc
373 License: GPL-2
374
375 Files: storage/myisam/rt_index.h
376 storage/myisam/rt_key.c
377 storage/myisam/rt_mbr.c
378 storage/myisam/rt_mbr.h
379 storage/myisam/sp_defs.h
380 Copyright: 2000,2002-2006 MySQL AB & Ramil Kalimullin
381 License: GPL-2
382
383 Files: storage/innobase/include/ut0bh.h
384 storage/innobase/trx/trx0rseg.c
385 storage/innobase/ut/ut0bh.c
386 storage/innobase/ut/ut0ut.c
387 Copyright: 1996,2010-2011 Oracle Corpn.
388 License: GPL-2
389
390 Files: plugin/semisync/semisync.cc
391 plugin/semisync/semisync.h
392 plugin/semisync/semisync_slave_plugin.cc
393 Copyright: 2008 MySQL AB
394 2007 Google Inc
395 License: GPL-2
396
397 Files: strings/ctype-bin.c
398 strings/ctype-eucjpms.c
399 strings/ctype-ujis.c
400 Copyright: 2000,2002,2005-2011 Oracle and/or its affiliates. & tommy@valley.ne.jp
401 License: LGPL
402 On Debian and systems the full text of the GNU Library General Public
403 License version 2 can be found in the file
404 `/usr/share/common-licenses/LGPL-2`
405
406 Files: scripts/mysqld_safe.sh
407 support-files/mysql-multi.server.sh
408 support-files/mysql.server.sh
409 Copyright: 1996 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB
410 License: public-domain
411 This file is public domain and comes with NO WARRANTY of any kind
412
413 Files: sql/sql_yacc.cc
414 sql/sql_yacc.h
415 Copyright: 1984,1989-1990,2000-2006 Free Software Foundation, Inc.
416 License: GPL-2+
417
418 Files: storage/innobase/include/pars0grm.h
419 storage/innobase/pars/pars0grm.c
420 Copyright: 1995-2009 Innobase Oy.
421 1984,1989-1990,2000-2004 Free Software Foundation Inc.
422 License: GPL-2
423 As a special exception, when this file is copied by Bison into a
424 Bison output file, you may use that output file without restriction.
425 This special exception was added by the Free Software Foundation
426 in version 1.24 of Bison.
427 .
428 This program is free software; you can redistribute it and/or modify it under
429 the terms of the GNU General Public License as published by the Free Software
430 Foundation; version 2 of the License.
431 .
432 This program is distributed in the hope that it will be useful, but WITHOUT
433 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
434 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
435 .
436 You should have received a copy of the GNU General Public License along with
437 this program; if not, write to the Free Software Foundation, Inc.,
438 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
439
440 Files: storage/innobase/include/srv0srv.h
441 storage/innobase/srv/srv0start.c
442 Copyright: 1995-1996,2010-2011 Innobase Oy.
443 2008-2009 Google Inc
444 2009 Percona Inc
445 License: GPL-2
446
447 Files: plugin/semisync/semisync_master.cc
448 plugin/semisync/semisync_master_plugin.cc
449 Copyright: 2008-2009 MySQL AB Sun Microsystems Inc
450 2007 Google Inc
451 License: GPL-2
452
453 Files: storage/innobase/include/os0file.h
454 storage/innobase/os/os0file.c
455 Copyright: 1995-2010 Innobase Oy.
456 2009 Percona Inc
457 License: GPL-2
458
459 Files: include/t_ctype.h
460 strings/t_ctype.h
461 Copyright: 2000 MySQL AB
462 1998 Theppitak Karoonboonyanan
463 1998-1999 Pruet Boonma
464 License: GPL-2
465
466 Files: cmd-line-utils/libedit/np/strlcat.c
467 cmd-line-utils/libedit/np/strlcpy.c
468 Copyright: 1998 Todd C. Miller <Todd.Miller@courtesan.com>
469 License: ISC
470 Permission to use, copy, modify, and distribute this software for any
471 purpose with or without fee is hereby granted, provided that the above
472 copyright notice and this permission notice appear in all copies.
473 .
474 THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL
475 WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
476 OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE
477 FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
478 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
479 OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
480 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
481
482 Files: sql/nt_servc.cc
483 sql/nt_servc.h
484 Copyright: 1998 Abandoned Irena Pancirov - Irnet Snc
485 License: public-domain
486 This file is public domain and comes with NO WARRANTY of any kind
487
488 Files: dbug/dbug.c
489 dbug/dbug_long.h
490 Copyright: 1987 Abandoned Fred Fish
491 License: public-domain
492 N O T I C E
493 .
494 Copyright Abandoned, 1987, Fred Fish
495 .
496 .
497 This previously copyrighted work has been placed into the public
498 domain by the author and may be freely used for any purpose,
499 private or commercial.
500 .
501 Because of the number of inquiries I was receiving about the use
502 of this product in commercially developed works I have decided to
503 simply make it public domain to further its unrestricted use. I
504 specifically would be most happy to see this material become a
505 part of the standard Unix distributions by AT&T and the Berkeley
506 Computer Science Research Group, and a standard part of the GNU
507 system from the Free Software Foundation.
508 .
509 I would appreciate it, as a courtesy, if this notice is left in
510 all copies and derivative works. Thank you.
511 .
512 The author makes no warranty of any kind with respect to this
513 product and explicitly disclaims any implied warranties of mer-
514 chantability or fitness for any particular purpose.
515
516 Files: cmd-line-utils/libedit/np/vis.c
517 Copyright: 1989-1993 The Regents of the University of California.
518 1999-2005 The NetBSD Foundation Inc
519 License: BSD (3 clause)
520 Redistribution and use in source and binary forms, with or without
521 modification, are permitted provided that the following conditions
522 are met:
523 1. Redistributions of source code must retain the above copyright
524 notice, this list of conditions and the following disclaimer.
525 2. Redistributions in binary form must reproduce the above copyright
526 notice, this list of conditions and the following disclaimer in the
527 documentation and/or other materials provided with the distribution.
528 3. Neither the name of the University nor the names of its contributors
529 may be used to endorse or promote products derived from this software
530 without specific prior written permission.
531 .
532 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
533 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
534 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
535 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
536 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
537 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
538 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
539 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
540 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
541 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
542 SUCH DAMAGE.
543
544 Files: scripts/dheadgen.pl
545 Copyright: 2008-2009 Sun Microsystems Inc
546 License: BSD (3 clause)
547
548 Files: storage/ndb/test/src/getarg.c
549 Copyright: 1997-2000 - Kungliga Tekniska Högskolan
550 License: BSD (3 clause)
551
552 Files: storage/ndb/test/include/getarg.h
553 Copyright: 2003 MySQL AB
554 1997-1999 Kungliga Tekniska Högskolan
555 License: BSD (3 clause) GPL-2
556 This program is free software; you can redistribute it and/or modify
557 it under the terms of the GNU General Public License as published by
558 the Free Software Foundation; version 2 of the License.
559 .
560 This program is distributed in the hope that it will be useful,
561 but WITHOUT ANY WARRANTY; without even the implied warranty of
562 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
563 GNU General Public License for more details.
564 .
565 You should have received a copy of the GNU General Public License
566 along with this program; if not, write to the Free Software Foundation, Inc.,
567 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
568 .
569 Copyright (c) 1997, 1999 Kungliga Tekniska Högskolan
570 (Royal Institute of Technology, Stockholm, Sweden).
571 All rights reserved.
572 .
573 Redistribution and use in source and binary forms, with or without
574 modification, are permitted provided that the following conditions
575 are met:
576 .
577 1. Redistributions of source code must retain the above copyright
578 notice, this list of conditions and the following disclaimer.
579 .
580 2. Redistributions in binary form must reproduce the above copyright
581 notice, this list of conditions and the following disclaimer in the
582 documentation and/or other materials provided with the distribution.
583 .
584 3. Neither the name of the Institute nor the names of its contributors
585 may be used to endorse or promote products derived from this software
586 without specific prior written permission.
587 .
588 THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
589 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
590 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
591 ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
592 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
593 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
594 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
595 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
596 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
597 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
598 SUCH DAMAGE.
599
600 Files: storage/innobase/handler/ha_innodb.cc
601 Copyright: 2008-2009 Google Inc
602 2009 Percona Inc
603 2000-2011 MySQL AB & Innobase Oy.
604 License: GPL-2
605
606 Files: plugin/semisync/semisync_master.h
607 Copyright: 2008-2009 MySQL AB Sun Microsystems Inc
608 2007 Google Inc
609 License: GPL-2
610
611 Files: storage/innobase/srv/srv0srv.c
612 Copyright: 2008-2009 Google Inc
613 1995-2011 Oracle and/or its affiliates.
614 2009 Percona Inc
615 License: GPL-2
616
617 Files: storage/innobase/ut/ut0rbt.c
618 Copyright: 2007-2010 Innobase Oy.
619 2007 Oracle/Innobase Oy
620 License: GPL-2
621
622 Files: strings/ctype-win1250ch.c
623 Copyright: 2002-2010 Oracle and/or its affiliates.
624 2001 Jan Pazdziora
625 License: GPL-2
626
627 Files: strings/ctype-tis620.c
628 Copyright: 1998 Theppitak Karoonboonyanan <thep@links.nectec.or.th>
629 1989-1991 Samphan Raruenrom <samphan@thai.com>
630 2000-2010 Oracle and/or its affiliates.
631 2003 Sathit Jittanupat
632 2001 Korakot Chaovavanich <korakot@iname.com> and
633 1998-1999 Pruet Boonma <pruet@eng.cmu.ac.th>
634 License: GPL-2
635
636 Files: storage/innobase/handler/ha_innodb.h
637 Copyright: 2000-2010 MySQL AB & Innobase Oy.
638 License: GPL-2
639
640 Files: strings/dtoa.c
641 Copyright: 2007-2010 Oracle and/or its affiliates.
642 1991,2000-2001 Lucent Technologies
643 License: LGPL
644
645 Files: scripts/mysqldumpslow.sh
646 Copyright: 2000-2002,2005-2009 MySQL AB Sun Microsystems Inc
647 License: LGPL
648
649 Files: libmysqld/lib_sql.cc
650 Copyright: 2000 SWsoft company
651 License: SWsoft
652 This material is provided "as is", with absolutely no warranty expressed
653 or implied. Any use is at your own risk.
654 .
655 Permission to use or copy this software for any purpose is hereby granted
656 without fee, provided the above notices are retained on all copies.
657 Permission to modify the code and to distribute modified code is granted,
658 provided the above notices are retained, and a notice that the code was
659 modified is included with the above copyright notice.
660
661 Files: tests/mail_to_db.pl
662 Copyright: 1998 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB
663 License: public-domain
664 This file is public domain and comes with NO WARRANTY of any kind
665
666 Files: dbug/dbug_analyze.c
667 Copyright: 1987 June Binayak Banerjee
668 License: public-domain
669 This program may be freely distributed under the same terms and
670 conditions as Fred Fish's Dbug package.
671
672 Files: regex/regexp.c
673 Copyright: 1986 University of Toronto
674 License: BSD-like
675 Permission is granted to anyone to use this software for any
676 purpose on any computer system, and to redistribute it freely,
677 subject to the following restrictions:
678 .
679 1. The author is not responsible for the consequences of use of
680 this software, no matter how awful, even if they arise
681 from defects in it.
682 .
683 2. The origin of this software must not be misrepresented, either
684 by explicit claim or by omission.
685 .
686 3. Altered versions must be plainly marked as such, and must not
687 be misrepresented as being the original software.
688
689 License: GPL-2
690 This program is free software; you can redistribute it and/or modify
691 it under the terms of the GNU General Public License as published by
692 the Free Software Foundation; version 2 of the License.
693 .
694 This program is distributed in the hope that it will be useful,
695 but WITHOUT ANY WARRANTY; without even the implied warranty of
696 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
697 GNU General Public License for more details.
698 .
699 You should have received a copy of the GNU General Public License
700 along with this program; if not, write to the Free Software Foundation, Inc.,
701 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
702 .
703 On Debian and systems the full text of the GNU General Public
704 License version 2 can be found in the file
705 `/usr/share/common-licenses/GPL-2`
706
707 License: GPL-2+
708 This file is part of GNU Readline, a library for reading lines
709 of text with interactive input and history editing.
710 .
711 Readline is free software; you can redistribute it and/or modify it
712 under the terms of the GNU General Public License as published by the
713 Free Software Foundation; either version 2, or (at your option) any
714 later version.
715 .
716 Readline is distributed in the hope that it will be useful, but
717 WITHOUT ANY WARRANTY; without even the implied warranty of
718 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
719 General Public License for more details.
720 .
721 You should have received a copy of the GNU General Public License
722 along with Readline; see the file COPYING. If not, write to the Free
723 Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
724 .
725 On Debian and systems the full text of the GNU General Public
726 License version 2 can be found in the file
727 `/usr/share/common-licenses/GPL-2`
728
729 License: LGPL
730 This library is free software; you can redistribute it and/or
731 modify it under the terms of the GNU Library General Public
732 License as published by the Free Software Foundation; version 2
733 of the License.
734 .
735 This library is distributed in the hope that it will be useful,
736 but WITHOUT ANY WARRANTY; without even the implied warranty of
737 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
738 Library General Public License for more details.
739 .
740 You should have received a copy of the GNU Library General Public
741 License along with this library; if not, write to the Free
742 Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
743 MA 02110-1301, USA
744 .
745 On Debian and systems the full text of the GNU Library General Public
746 License version 2 can be found in the file
747 `/usr/share/common-licenses/LGPL-2`
748
749 License: BSD (3 clause)
750 Redistribution and use in source and binary forms, with or without
751 modification, are permitted provided that the following conditions
752 are met:
753 1. Redistributions of source code must retain the above copyright
754 notice, this list of conditions and the following disclaimer.
755 2. Redistributions in binary form must reproduce the above copyright
756 notice, this list of conditions and the following disclaimer in the
757 documentation and/or other materials provided with the distribution.
758 3. Neither the name of the University nor the names of its contributors
759 may be used to endorse or promote products derived from this software
760 without specific prior written permission.
761 .
762 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
763 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
764 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
765 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
766 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
767 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
768 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
769 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
770 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
771 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
772 SUCH DAMAGE.
00 use strict;
11 use warnings;
2 use English qw(-no_match_vars);
32 use Test::More;
43
54 if ( not $ENV{TEST_AUTHOR} ) {
98
109 eval { require Test::Spelling; };
1110
12 if ( $EVAL_ERROR ) {
11 if ( $@) {
1312 my $msg = 'Test::Spelling required to criticise code';
1413 plan( skip_all => $msg );
1514 }
1817 Damyan
1918 CPAN
2019 Bamber
21 Cees
22 Hek
2320 github
2421 AnnoCPAN
2522 RT
2623 API
27 SiteSuite
2824 crypted
29 SHA
30 CRC
31 DBD
32 DBH
33 SQL
34 DBI
35 username
36 usernames
37 CALLBACKS
38 CALLBACKS
3925 HTML
40 LDAP
41 RUNMODES
4226 TODO
4327 URL
28 dh
29 Plessy
4430 CAPAUTHTOKEN
45 webserver
4631 Hardcode
4732 hardcode
4833 everytime