line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
28029
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
53
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Software::License::WTFPL_2; |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
1
|
|
|
1
|
|
18
|
$Software::License::WTFPL_2::VERSION = '0.03'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
# ABSTRACT: The Do What The Fuck You Want To Public License, Version 2 |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6
|
use base 'Software::License'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
1109
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
2
|
|
|
2
|
1
|
31
|
sub name { 'DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004' } |
14
|
0
|
|
|
0
|
1
|
0
|
sub url { 'http://sam.zoy.org/wtfpl/COPYING' } |
15
|
1
|
|
|
1
|
1
|
6
|
sub meta_name { 'unrestricted' } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Software::License::WTFPL_2 - The Do What The Fuck You Want To Public License, Version 2 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 DESCRIPTION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
There is a long ongoing battle between GPL zealots and BSD fanatics, |
30
|
|
|
|
|
|
|
about which license type is the most free of the two. In fact, both |
31
|
|
|
|
|
|
|
license types have unacceptable obnoxious clauses (such as reproducing |
32
|
|
|
|
|
|
|
a huge disclaimer that is written in all caps) that severely restrain |
33
|
|
|
|
|
|
|
our freedoms. The WTFPL can solve this problem. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
When analysing whether a license is free or not, you usually check |
36
|
|
|
|
|
|
|
that it allows free usage, modification and redistribution. Then you |
37
|
|
|
|
|
|
|
check that the additional restrictions do not impair fundamental |
38
|
|
|
|
|
|
|
freedoms. The WTFPL renders this task trivial: it allows everything |
39
|
|
|
|
|
|
|
and has no additional restrictions. How could life be easier? You just |
40
|
|
|
|
|
|
|
DO WHAT THE FUCK YOU WANT TO. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=encoding utf8 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 FAQ |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=over 4 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item Is the WTFPL a valid license? |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Although the validity of the WTFPL has not been tested in courts, it |
51
|
|
|
|
|
|
|
is widely accepted as a valid license. Every major Linux distribution |
52
|
|
|
|
|
|
|
(Debian, Red Hat, Gentoo, SuSE, Mandrake, etc.) ships software |
53
|
|
|
|
|
|
|
licensed under the WTFPL, version 1 or 2. Bradley Kuhn (executive |
54
|
|
|
|
|
|
|
director of the Free Software Foundation) was quoted saying that the |
55
|
|
|
|
|
|
|
FSF’s folks agree the WTFPL is a valid free software license. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item Why is there no “no warranty” clause? |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
The WTFPL is an all-purpose license and does not cover only computer |
60
|
|
|
|
|
|
|
programs; it can be used for artwork, documentation and so on. As |
61
|
|
|
|
|
|
|
such, it only covers copying, distribution and modification. If you |
62
|
|
|
|
|
|
|
want to add a no warranty clause for a program, you may use the |
63
|
|
|
|
|
|
|
following wording in your source code: |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
/* This program is free software. It comes without any warranty, to |
66
|
|
|
|
|
|
|
* the extent permitted by applicable law. You can redistribute it |
67
|
|
|
|
|
|
|
* and/or modify it under the terms of the Do What The Fuck You Want |
68
|
|
|
|
|
|
|
* To Public License, Version 2, as published by Sam Hocevar. See |
69
|
|
|
|
|
|
|
* http://sam.zoy.org/wtfpl/COPYING for more details. */ |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item Isn’t this license basically public domain? |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
There is no such thing as “putting a work in the public domain”, you |
74
|
|
|
|
|
|
|
America-centered, Commonwealth-biased individual. Public domain varies |
75
|
|
|
|
|
|
|
with the jurisdictions, and it is in some places debatable whether |
76
|
|
|
|
|
|
|
someone who has not been dead for the last seventy years is entitled |
77
|
|
|
|
|
|
|
to put his own work in the public domain. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item Can’t you change the wording? It’s inappropriate / childish / not corporate-compliant. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
What the fuck is not clear in “DO WHAT THE FUCK YOU WANT TO”? If you |
82
|
|
|
|
|
|
|
do not like the license terms, just relicense the work under another |
83
|
|
|
|
|
|
|
license. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item Who uses the WTFPL? |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
The WTFPL on this website is version 2. Version 1 of the WTFPL was |
88
|
|
|
|
|
|
|
written by Banlu Kemiyatorn, who used it for some WindowMaker artwork. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
L has a WTFPL license |
91
|
|
|
|
|
|
|
category. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=item By the way, with the WTFPL, can I also… |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Oh but yes, of course you can. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=item But can I… |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Yes you can. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=item Can… |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Yes! |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=back |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 SEE ALSO |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
L |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 AUTHOR |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Florian Ragwitz |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
This software is Copyright (c) 2010 by Florian Ragwitz. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
This is free software, licensed under: |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004 |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=cut |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
__DATA__ |