Skip to content

Commit 2e576fc

Browse files
committed
clarify license
which is artistic 1 or gpl 1 or later.
1 parent d4683a8 commit 2e576fc

File tree

163 files changed

+349
-2083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+349
-2083
lines changed

LICENSE

+11-336
Large diffs are not rendered by default.

LICENSE.artistic-1.0

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
The "Artistic License"
2+
3+
Preamble
4+
5+
The intent of this document is to state the conditions under which a
6+
Package may be copied, such that the Copyright Holder maintains some
7+
semblance of artistic control over the development of the package,
8+
while giving the users of the package the right to use and distribute
9+
the Package in a more-or-less customary fashion, plus the right to make
10+
reasonable modifications.
11+
12+
Definitions:
13+
14+
"Package" refers to the collection of files distributed by the
15+
Copyright Holder, and derivatives of that collection of files
16+
created through textual modification.
17+
18+
"Standard Version" refers to such a Package if it has not been
19+
modified, or has been modified in accordance with the wishes
20+
of the Copyright Holder as specified below.
21+
22+
"Copyright Holder" is whoever is named in the copyright or
23+
copyrights for the package.
24+
25+
"You" is you, if you're thinking about copying or distributing
26+
this Package.
27+
28+
"Reasonable copying fee" is whatever you can justify on the
29+
basis of media cost, duplication charges, time of people involved,
30+
and so on. (You will not be required to justify it to the
31+
Copyright Holder, but only to the computing community at large
32+
as a market that must bear the fee.)
33+
34+
"Freely Available" means that no fee is charged for the item
35+
itself, though there may be fees involved in handling the item.
36+
It also means that recipients of the item may redistribute it
37+
under the same conditions they received it.
38+
39+
1. You may make and give away verbatim copies of the source form of the
40+
Standard Version of this Package without restriction, provided that you
41+
duplicate all of the original copyright notices and associated disclaimers.
42+
43+
2. You may apply bug fixes, portability fixes and other modifications
44+
derived from the Public Domain or from the Copyright Holder. A Package
45+
modified in such a way shall still be considered the Standard Version.
46+
47+
3. You may otherwise modify your copy of this Package in any way, provided
48+
that you insert a prominent notice in each changed file stating how and
49+
when you changed that file, and provided that you do at least ONE of the
50+
following:
51+
52+
a) place your modifications in the Public Domain or otherwise make them
53+
Freely Available, such as by posting said modifications to Usenet or
54+
an equivalent medium, or placing the modifications on a major archive
55+
site such as uunet.uu.net, or by allowing the Copyright Holder to include
56+
your modifications in the Standard Version of the Package.
57+
58+
b) use the modified Package only within your corporation or organization.
59+
60+
c) rename any non-standard executables so the names do not conflict
61+
with standard executables, which must also be provided, and provide
62+
a separate manual page for each non-standard executable that clearly
63+
documents how it differs from the Standard Version.
64+
65+
d) make other distribution arrangements with the Copyright Holder.
66+
67+
4. You may distribute the programs of this Package in object code or
68+
executable form, provided that you do at least ONE of the following:
69+
70+
a) distribute a Standard Version of the executables and library files,
71+
together with instructions (in the manual page or equivalent) on where
72+
to get the Standard Version.
73+
74+
b) accompany the distribution with the machine-readable source of
75+
the Package with your modifications.
76+
77+
c) give non-standard executables non-standard names, and clearly
78+
document the differences in manual pages (or equivalent), together
79+
with instructions on where to get the Standard Version.
80+
81+
d) make other distribution arrangements with the Copyright Holder.
82+
83+
5. You may charge a reasonable copying fee for any distribution of this
84+
Package. You may charge any fee you choose for support of this
85+
Package. You may not charge a fee for this Package itself. However,
86+
you may distribute this Package in aggregate with other (possibly
87+
commercial) programs as part of a larger (possibly commercial) software
88+
distribution provided that you do not advertise this Package as a
89+
product of your own. You may embed this Package's interpreter within
90+
an executable of yours (by linking); this shall be construed as a mere
91+
form of aggregation, provided that the complete Standard Version of the
92+
interpreter is so embedded.
93+
94+
6. The scripts and library files supplied as input to or produced as
95+
output from the programs of this Package do not automatically fall
96+
under the copyright of this Package, but belong to whoever generated
97+
them, and may be sold commercially, and may be aggregated with this
98+
Package. If such scripts or library files are aggregated with this
99+
Package via the so-called "undump" or "unexec" methods of producing a
100+
binary executable image, then distribution of such an image shall
101+
neither be construed as a distribution of this Package nor shall it
102+
fall under the restrictions of Paragraphs 3 and 4, provided that you do
103+
not represent such an executable image as a Standard Version of this
104+
Package.
105+
106+
7. C subroutines (or comparably compiled subroutines in other
107+
languages) supplied by you and linked into this Package in order to
108+
emulate subroutines and variables of the language defined by this
109+
Package shall not be considered part of this Package, but are the
110+
equivalent of input as in Paragraph 6, provided these subroutines do
111+
not change the language in any way that would cause it to fail the
112+
regression tests for the language.
113+
114+
8. Aggregation of this Package with a commercial distribution is always
115+
permitted provided that the use of this Package is embedded; that is,
116+
when no overt attempt is made to make this Package's interfaces visible
117+
to the end user of the commercial distribution. Such use shall not be
118+
construed as a distribution of this Package.
119+
120+
9. The name of the Copyright Holder may not be used to endorse or promote
121+
products derived from this software without specific prior written permission.
122+
123+
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
124+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
125+
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
126+
127+
The End

LICENSE.gpl-1.0

+190
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
2+
GNU GENERAL PUBLIC LICENSE
3+
Version 1, February 1989
4+
5+
Copyright (C) 1989 Free Software Foundation, Inc.
6+
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7+
8+
Everyone is permitted to copy and distribute verbatim copies
9+
of this license document, but changing it is not allowed.
10+
11+
Preamble
12+
13+
The license agreements of most software companies try to keep users
14+
at the mercy of those companies. By contrast, our General Public
15+
License is intended to guarantee your freedom to share and change free
16+
software--to make sure the software is free for all its users. The
17+
General Public License applies to the Free Software Foundation's
18+
software and to any other program whose authors commit to using it.
19+
You can use it for your programs, too.
20+
21+
When we speak of free software, we are referring to freedom, not
22+
price. Specifically, the General Public License is designed to make
23+
sure that you have the freedom to give away or sell copies of free
24+
software, that you receive source code or can get it if you want it,
25+
that you can change the software or use pieces of it in new free
26+
programs; and that you know you can do these things.
27+
28+
To protect your rights, we need to make restrictions that forbid
29+
anyone to deny you these rights or to ask you to surrender the rights.
30+
These restrictions translate to certain responsibilities for you if you
31+
distribute copies of the software, or if you modify it.
32+
33+
For example, if you distribute copies of a such a program, whether
34+
gratis or for a fee, you must give the recipients all the rights that
35+
you have. You must make sure that they, too, receive or can get the
36+
source code. And you must tell them their rights.
37+
38+
We protect your rights with two steps: (1) copyright the software, and
39+
(2) offer you this license which gives you legal permission to copy,
40+
distribute and/or modify the software.
41+
42+
Also, for each author's protection and ours, we want to make certain
43+
that everyone understands that there is no warranty for this free
44+
software. If the software is modified by someone else and passed on, we
45+
want its recipients to know that what they have is not the original, so
46+
that any problems introduced by others will not reflect on the original
47+
authors' reputations.
48+
49+
The precise terms and conditions for copying, distribution and
50+
modification follow.
51+
52+
GNU GENERAL PUBLIC LICENSE
53+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
54+
55+
0. This License Agreement applies to any program or other work which
56+
contains a notice placed by the copyright holder saying it may be
57+
distributed under the terms of this General Public License. The
58+
"Program", below, refers to any such program or work, and a "work based
59+
on the Program" means either the Program or any work containing the
60+
Program or a portion of it, either verbatim or with modifications. Each
61+
licensee is addressed as "you".
62+
63+
1. You may copy and distribute verbatim copies of the Program's source
64+
code as you receive it, in any medium, provided that you conspicuously and
65+
appropriately publish on each copy an appropriate copyright notice and
66+
disclaimer of warranty; keep intact all the notices that refer to this
67+
General Public License and to the absence of any warranty; and give any
68+
other recipients of the Program a copy of this General Public License
69+
along with the Program. You may charge a fee for the physical act of
70+
transferring a copy.
71+
72+
2. You may modify your copy or copies of the Program or any portion of
73+
it, and copy and distribute such modifications under the terms of Paragraph
74+
1 above, provided that you also do the following:
75+
76+
a) cause the modified files to carry prominent notices stating that
77+
you changed the files and the date of any change; and
78+
79+
b) cause the whole of any work that you distribute or publish, that
80+
in whole or in part contains the Program or any part thereof, either
81+
with or without modifications, to be licensed at no charge to all
82+
third parties under the terms of this General Public License (except
83+
that you may choose to grant warranty protection to some or all
84+
third parties, at your option).
85+
86+
c) If the modified program normally reads commands interactively when
87+
run, you must cause it, when started running for such interactive use
88+
in the simplest and most usual way, to print or display an
89+
announcement including an appropriate copyright notice and a notice
90+
that there is no warranty (or else, saying that you provide a
91+
warranty) and that users may redistribute the program under these
92+
conditions, and telling the user how to view a copy of this General
93+
Public License.
94+
95+
d) You may charge a fee for the physical act of transferring a
96+
copy, and you may at your option offer warranty protection in
97+
exchange for a fee.
98+
99+
Mere aggregation of another independent work with the Program (or its
100+
derivative) on a volume of a storage or distribution medium does not bring
101+
the other work under the scope of these terms.
102+
103+
3. You may copy and distribute the Program (or a portion or derivative of
104+
it, under Paragraph 2) in object code or executable form under the terms of
105+
Paragraphs 1 and 2 above provided that you also do one of the following:
106+
107+
a) accompany it with the complete corresponding machine-readable
108+
source code, which must be distributed under the terms of
109+
Paragraphs 1 and 2 above; or,
110+
111+
b) accompany it with a written offer, valid for at least three
112+
years, to give any third party free (except for a nominal charge
113+
for the cost of distribution) a complete machine-readable copy of the
114+
corresponding source code, to be distributed under the terms of
115+
Paragraphs 1 and 2 above; or,
116+
117+
c) accompany it with the information you received as to where the
118+
corresponding source code may be obtained. (This alternative is
119+
allowed only for noncommercial distribution and only if you
120+
received the program in object code or executable form alone.)
121+
122+
Source code for a work means the preferred form of the work for making
123+
modifications to it. For an executable file, complete source code means
124+
all the source code for all modules it contains; but, as a special
125+
exception, it need not include source code for modules which are standard
126+
libraries that accompany the operating system on which the executable
127+
file runs, or for standard header files or definitions files that
128+
accompany that operating system.
129+
130+
4. You may not copy, modify, sublicense, distribute or transfer the
131+
Program except as expressly provided under this General Public License.
132+
Any attempt otherwise to copy, modify, sublicense, distribute or transfer
133+
the Program is void, and will automatically terminate your rights to use
134+
the Program under this License. However, parties who have received
135+
copies, or rights to use copies, from you under this General Public
136+
License will not have their licenses terminated so long as such parties
137+
remain in full compliance.
138+
139+
5. By copying, distributing or modifying the Program (or any work based
140+
on the Program) you indicate your acceptance of this license to do so,
141+
and all its terms and conditions.
142+
143+
6. Each time you redistribute the Program (or any work based on the
144+
Program), the recipient automatically receives a license from the original
145+
licensor to copy, distribute or modify the Program subject to these
146+
terms and conditions. You may not impose any further restrictions on the
147+
recipients' exercise of the rights granted herein.
148+
149+
7. The Free Software Foundation may publish revised and/or new versions
150+
of the General Public License from time to time. Such new versions will
151+
be similar in spirit to the present version, but may differ in detail to
152+
address new problems or concerns.
153+
154+
Each version is given a distinguishing version number. If the Program
155+
specifies a version number of the license which applies to it and "any
156+
later version", you have the option of following the terms and conditions
157+
either of that version or of any later version published by the Free
158+
Software Foundation. If the Program does not specify a version number of
159+
the license, you may choose any version ever published by the Free Software
160+
Foundation.
161+
162+
8. If you wish to incorporate parts of the Program into other free
163+
programs whose distribution conditions are different, write to the author
164+
to ask for permission. For software which is copyrighted by the Free
165+
Software Foundation, write to the Free Software Foundation; we sometimes
166+
make exceptions for this. Our decision will be guided by the two goals
167+
of preserving the free status of all derivatives of our free software and
168+
of promoting the sharing and reuse of software generally.
169+
170+
NO WARRANTY
171+
172+
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
173+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
174+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
175+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
176+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
177+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
178+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
179+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
180+
REPAIR OR CORRECTION.
181+
182+
10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
183+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
184+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
185+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
186+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
187+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
188+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
189+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
190+
POSSIBILITY OF SUCH DAMAGES.

MANIFEST

+3-1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ lib/Thruk/Views/GDRenderer.pm
149149
lib/Thruk/Views/JSONRenderer.pm
150150
lib/Thruk/Views/ToolkitRenderer.pm
151151
LICENSE
152+
LICENSE.artistic-1.0
153+
LICENSE.gpl-1.0
152154
log4perl.conf.example
153155
Makefile.PL
154156
MANIFEST
@@ -1641,13 +1643,13 @@ root/thruk/vendor/openlayer-2.13.1/theme/default/style.mobile.css
16411643
root/thruk/vendor/overlib-4.21.js
16421644
root/thruk/vendor/sprintf-ef8258f.js
16431645
root/thruk/vendor/strftime-min-1.3.js
1644-
script/Makefile.thruk
16451646
script/disable_debug_timer.sh
16461647
script/enable_debug_timer.sh
16471648
script/generate_timeperiod_transitions.pl
16481649
script/grafana_export.sh
16491650
script/html2pdf.js
16501651
script/html2pdf.sh
1652+
script/Makefile.thruk
16511653
script/nagexp
16521654
script/nagimp
16531655
script/naglint

Makefile.PL

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ use inc::Module::Install;
55
name 'thruk';
66
all_from 'lib/Thruk.pm';
77

8-
license 'gpl3';
8+
license 'perl';
99
resources(
1010
'homepage', => 'http://www.thruk.org',
1111
'bugtracker' => 'http://github.com/sni/Thruk/issues',
1212
'repository', => 'http://github.com/sni/Thruk',
13+
'license' => 'http://dev.perl.org/licenses/',
14+
'IRC' => 'irc://irc.freenode.org/#thruk',
15+
'MailingList' => 'https://groups.google.com/d/forum/thruk',
1316
);
1417

1518
requires 'parent' => 0; # required by Thruk

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,19 @@ Main Features / Advantages
5151
License
5252
-------
5353

54-
Licensed under the [GPLv2](LICENSE) License.
54+
Thruk is Copyright (c) 2009-2019 by Sven Nierlein and others.
55+
This is free software; you can redistribute it and/or modify it under the
56+
same terms as the Perl5 programming language system
57+
itself: under the terms of either:
58+
59+
a) the "Artistic License 1.0" as published by The Perl Foundation
60+
http://dev.perl.org/licenses/artistic.html
61+
62+
b) the GNU General Public License as published by the Free Software Foundation;
63+
either version 1 http://www.gnu.org/licenses/gpl-1.0.html
64+
or (at your option) any later version
65+
66+
`SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later`
5567

5668
Vendor specific libraries below ./root/thruk/vendor/ may have different
5769
licenes. See THANKS file for details.

docs/documentation/plugins.asciidoc

-7
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,6 @@ sub index {
496496
$c->stash->{hello_var} = 'Hello World!'; # This is our magic variable
497497
}
498498
499-
=head1 LICENSE
500-
501-
This library is free software, you can redistribute it and/or modify
502-
it under the same terms as Perl itself.
503-
504-
=cut
505-
506499
1;
507500
</pre>
508501
++++

0 commit comments

Comments
 (0)