summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE153
1 files changed, 153 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..cad39fc
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,153 @@
1Preamble
2--------
3
4Suhosin7 is in part based on original PHP code, which is licensed under
5the PHP License (see below). In order to make it as simple as possible,
6Suhosin7 is licensed under the PHP License version 3.01, too, where applicable
7and not otherwise stated within the source code.
8
9Note:
10 * Some parts of the PHP License are not applicable to non-PHP code. Whenever
11 this is the case, a common sense interpretation of the clause in question
12 should be applied. One interpretation of such a license is included below.
13
14 * The Mersenne Twister random number generator included in Suhosin7
15 comes with its own license. See execute_rnd.c for details.
16
17
18--------------------------------------------------------------------
19 The PHP License, version 3.01
20Copyright (c) 1999 - 2016 The PHP Group. All rights reserved.
21--------------------------------------------------------------------
22
23Redistribution and use in source and binary forms, with or without
24modification, is permitted provided that the following conditions
25are met:
26
27 1. Redistributions of source code must retain the above copyright
28 notice, this list of conditions and the following disclaimer.
29
30 2. Redistributions in binary form must reproduce the above copyright
31 notice, this list of conditions and the following disclaimer in
32 the documentation and/or other materials provided with the
33 distribution.
34
35 3. The name "PHP" must not be used to endorse or promote products
36 derived from this software without prior written permission. For
37 written permission, please contact group@php.net.
38
39 4. Products derived from this software may not be called "PHP", nor
40 may "PHP" appear in their name, without prior written permission
41 from group@php.net. You may indicate that your software works in
42 conjunction with PHP by saying "Foo for PHP" instead of calling
43 it "PHP Foo" or "phpfoo"
44
45 5. The PHP Group may publish revised and/or new versions of the
46 license from time to time. Each version will be given a
47 distinguishing version number.
48 Once covered code has been published under a particular version
49 of the license, you may always continue to use it under the terms
50 of that version. You may also choose to use such covered code
51 under the terms of any subsequent version of the license
52 published by the PHP Group. No one other than the PHP Group has
53 the right to modify the terms applicable to covered code created
54 under this License.
55
56 6. Redistributions of any form whatsoever must retain the following
57 acknowledgment:
58 "This product includes PHP software, freely available from
59 <http://www.php.net/software/>".
60
61THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
62ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
63THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
64PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
65DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
66INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
67(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
68SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
69HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
70STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
71ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
72OF THE POSSIBILITY OF SUCH DAMAGE.
73
74--------------------------------------------------------------------
75
76--------------------------------------------------------------------
77 The PHP License, version 3.01
78 - common sense interpretation for Suhosin7 -
79Original PHP code copyright notice:
80 Copyright (c) 1999 - 2016 The PHP Group. All rights reserved.
81Suhosin7 copyright notice for PHP code modifications and original
82Suhosin7 code:
83 Copyright (c) 2006-2007 The Hardened-PHP Project
84 Copyright (c) 2007-2016 SektionEins GmbH
85--------------------------------------------------------------------
86
87Redistribution and use in source and binary forms, with or without
88modification, is permitted provided that the following conditions
89are met:
90
91 1. Redistributions of source code must retain the above copyright
92 notice, this list of conditions and the following disclaimer.
93
94 2. Redistributions in binary form must reproduce the above copyright
95 notice, this list of conditions and the following disclaimer in
96 the documentation and/or other materials provided with the
97 distribution.
98
99 3. The name "PHP" must not be used to endorse or promote products
100 derived from this software without prior written permission. For
101 written permission, please contact group@php.net.
102
1033a. The name "Suhosin" must not be used to endorse or promote products
104 derived from this software without prior written permission. For
105 written permission, please contact info@sektioneins.de.
106
107 4. Products derived from this software may not be called "PHP", nor
108 may "PHP" appear in their name, without prior written permission
109 from group@php.net. You may indicate that your software works in
110 conjunction with PHP by saying "Foo for PHP" instead of calling
111 it "PHP Foo" or "phpfoo"
112
1134a. Products derived from this software may not be called "Suhosin", nor
114 may "Suhosin" appear in their name, without prior written permission
115 from info@sektioneins.de. You may indicate that your software works in
116 conjunction with PHP by saying "Foo for Suhosin" instead of calling
117 it "Suhosin Foo" or "suhosinfoo"
118
119 5. The PHP Group may publish revised and/or new versions of the
120 license from time to time. Each version will be given a
121 distinguishing version number.
122 Once covered code has been published under a particular version
123 of the license, you may always continue to use it under the terms
124 of that version. You may also choose to use such covered code
125 under the terms of any subsequent version of the license
126 published by the PHP Group. No one other than the PHP Group has
127 the right to modify the terms applicable to covered code created
128 under this License.
129
130 6. Redistributions of any form whatsoever must retain the following
131 acknowledgment:
132 "This product includes PHP software, freely available from
133 <http://www.php.net/software/>".
134
135 6a. Redistributions of any form whatsoever must retain the following
136 acknowledgment:
137 "This product includes Suhosin software, freely available from
138 <https://github.com/sektioneins/suhosin7>".
139
140THIS SOFTWARE IS PROVIDED BY SektionEins GmbH ``AS IS'' AND
141ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
142THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
143PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
144DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
145INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
146(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
147SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
148HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
149STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
150ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
151OF THE POSSIBILITY OF SUCH DAMAGE.
152
153--------------------------------------------------------------------