pygremlinbox-apsl 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pygremlinbox_apsl-1.0.0/LICENCE +215 -0
- pygremlinbox_apsl-1.0.0/PKG-INFO +240 -0
- pygremlinbox_apsl-1.0.0/pyproject.toml +43 -0
- pygremlinbox_apsl-1.0.0/setup.cfg +4 -0
- pygremlinbox_apsl-1.0.0/src/pygremlinbox_apsl/__init__.py +70 -0
- pygremlinbox_apsl-1.0.0/src/pygremlinbox_apsl.egg-info/PKG-INFO +240 -0
- pygremlinbox_apsl-1.0.0/src/pygremlinbox_apsl.egg-info/SOURCES.txt +7 -0
- pygremlinbox_apsl-1.0.0/src/pygremlinbox_apsl.egg-info/dependency_links.txt +1 -0
- pygremlinbox_apsl-1.0.0/src/pygremlinbox_apsl.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
APPLE PUBLIC SOURCE LICENSE
|
|
2
|
+
|
|
3
|
+
Version 2.0 - August 6, 2003
|
|
4
|
+
|
|
5
|
+
Please read this License carefully before downloading this software. By downloading or using this
|
|
6
|
+
software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to
|
|
7
|
+
the terms of this License, please do not download or use the software.
|
|
8
|
+
|
|
9
|
+
Apple Note: In January 2007, Apple changed its corporate name from "Apple Computer, Inc." to
|
|
10
|
+
"Apple Inc." This change has been reflected below and copyright years updated, but no other
|
|
11
|
+
changes have been made to the APSL 2.0.
|
|
12
|
+
|
|
13
|
+
1. General; Definitions. This License applies to any program or other work which Apple Inc.
|
|
14
|
+
("Apple") makes publicly available and which contains a notice placed by Apple
|
|
15
|
+
identifying such program or work as "Original Code" and stating that it is subject
|
|
16
|
+
to the terms of this Apple Public Source License version 2.0 ("License"). As used in
|
|
17
|
+
this License:
|
|
18
|
+
|
|
19
|
+
1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of
|
|
20
|
+
rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to
|
|
21
|
+
Apple and (ii) that cover subject matter contained in the Original Code, but only to the
|
|
22
|
+
extent necessary to use, reproduce and/or distribute the Original Code without
|
|
23
|
+
infringement; and (b) in the case where You are the grantor of rights, (i) claims of
|
|
24
|
+
patents that are now or hereafter acquired, owned by or assigned to You and (ii) that
|
|
25
|
+
cover subject matter in Your Modifications, taken alone or in combination with Original
|
|
26
|
+
Code.
|
|
27
|
+
|
|
28
|
+
1.2 "Contributor" means any person or entity that creates or contributes to the
|
|
29
|
+
creation of Modifications.
|
|
30
|
+
|
|
31
|
+
1.3 "Covered Code" means the Original Code, Modifications, the combination of Original
|
|
32
|
+
Code and any Modifications, and/or any respective portions thereof.
|
|
33
|
+
|
|
34
|
+
1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered
|
|
35
|
+
Code available, directly or indirectly, to anyone other than You; and/or (b) to use
|
|
36
|
+
Covered Code, alone or as part of a Larger Work, in any way to provide a service,
|
|
37
|
+
including but not limited to delivery of content, through electronic communication with a
|
|
38
|
+
client other than You.
|
|
39
|
+
|
|
40
|
+
1.5 "Larger Work" means a work which combines Covered Code or portions thereof with
|
|
41
|
+
code not governed by the terms of this License.
|
|
42
|
+
|
|
43
|
+
1.6 "Modifications" mean any addition to, deletion from, and/or change to, the
|
|
44
|
+
substance and/or structure of the Original Code, any previous Modifications, the
|
|
45
|
+
combination of Original Code and any previous Modifications, and/or any respective
|
|
46
|
+
portions thereof. When code is released as a series of files, a Modification is: (a) any
|
|
47
|
+
addition to or deletion from the contents of a file containing Covered Code; and/or (b)
|
|
48
|
+
any new file or other representation of computer program statements that contains any part
|
|
49
|
+
of Covered Code.
|
|
50
|
+
|
|
51
|
+
1.7 "Original Code" means (a) the Source Code of a program or other work as originally
|
|
52
|
+
made available by Apple under this License, including the Source Code of any updates or
|
|
53
|
+
upgrades to such programs or works made available by Apple under this License, and that
|
|
54
|
+
has been expressly identified by Apple as such in the header file(s) of such work; and (b)
|
|
55
|
+
the object code compiled from such Source Code and originally made available by Apple
|
|
56
|
+
under this License
|
|
57
|
+
|
|
58
|
+
1.8 "Source Code" means the human readable form of a program or other work that is
|
|
59
|
+
suitable for making modifications to it, including all modules it contains, plus any
|
|
60
|
+
associated interface definition files, scripts used to control compilation and
|
|
61
|
+
installation of an executable (object code).
|
|
62
|
+
|
|
63
|
+
1.9 "You" or "Your" means an individual or a legal entity exercising rights
|
|
64
|
+
under this License. For legal entities, "You" or "Your" includes any
|
|
65
|
+
entity which controls, is controlled by, or is under common control with, You, where
|
|
66
|
+
"control" means (a) the power, direct or indirect, to cause the direction or
|
|
67
|
+
management of such entity, whether by contract or otherwise, or (b) ownership of fifty
|
|
68
|
+
percent (50%) or more of the outstanding shares or beneficial ownership of such
|
|
69
|
+
entity.
|
|
70
|
+
|
|
71
|
+
2. Permitted Uses; Conditions & Restrictions. Subject to the terms and conditions of this
|
|
72
|
+
License, Apple hereby grants You, effective on the date You accept this License and download
|
|
73
|
+
the Original Code, a world-wide, royalty-free, non-exclusive license, to the extent of
|
|
74
|
+
Apple's Applicable Patent Rights and copyrights covering the Original Code, to do the
|
|
75
|
+
following:
|
|
76
|
+
|
|
77
|
+
2.1 Unmodified Code. You may use, reproduce, display, perform, internally distribute within Your
|
|
78
|
+
organization, and Externally Deploy verbatim, unmodified copies of the Original Code, for
|
|
79
|
+
commercial or non-commercial purposes, provided that in each instance:
|
|
80
|
+
|
|
81
|
+
(a) You must retain and reproduce in all copies of Original Code the copyright and other
|
|
82
|
+
proprietary notices and disclaimers of Apple as they appear in the Original Code, and
|
|
83
|
+
keep intact all notices in the Original Code that refer to this License; and
|
|
84
|
+
|
|
85
|
+
(b) You must include a copy of this License with every copy of Source Code of Covered Code
|
|
86
|
+
and documentation You distribute or Externally Deploy, and You may not offer or impose
|
|
87
|
+
any terms on such Source Code that alter or restrict this License or the
|
|
88
|
+
recipients' rights hereunder, except as permitted under Section 6.
|
|
89
|
+
|
|
90
|
+
2.2 Modified Code. You may modify Covered Code and use, reproduce, display, perform, internally
|
|
91
|
+
distribute within Your organization, and Externally Deploy Your Modifications and Covered
|
|
92
|
+
Code, for commercial or non-commercial purposes, provided that in each instance You also
|
|
93
|
+
meet all of these conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must satisfy all the conditions of Section 2.1 with respect to the Source Code of the
|
|
96
|
+
Covered Code;
|
|
97
|
+
|
|
98
|
+
(b) You must duplicate, to the extent it does not already exist, the notice in Exhibit A in
|
|
99
|
+
each file of the Source Code of all Your Modifications, and cause the modified files
|
|
100
|
+
to carry prominent notices stating that You changed the files and the date of any
|
|
101
|
+
change; and
|
|
102
|
+
|
|
103
|
+
(c) If You Externally Deploy Your Modifications, You must make Source Code of all Your
|
|
104
|
+
Externally Deployed Modifications either available to those to whom You have
|
|
105
|
+
Externally Deployed Your Modifications, or publicly available. Source Code of Your
|
|
106
|
+
Externally Deployed Modifications must be released under the terms set forth in this
|
|
107
|
+
License, including the license grants set forth in Section 3 below, for as long as you
|
|
108
|
+
Externally Deploy the Covered Code or twelve (12) months from the date of initial
|
|
109
|
+
External Deployment, whichever is longer. You should preferably distribute the Source
|
|
110
|
+
Code of Your Externally Deployed Modifications electronically (e.g. download from a
|
|
111
|
+
web site).
|
|
112
|
+
|
|
113
|
+
2.3 Distribution of Executable Versions. In addition, if You Externally Deploy Covered Code
|
|
114
|
+
(Original Code and/or Modifications) in object code, executable form only, You must
|
|
115
|
+
include a prominent notice, in the code itself as well as in related documentation,
|
|
116
|
+
stating that Source Code of the Covered Code is available under the terms of this License
|
|
117
|
+
with information on how and where to obtain such Source Code.
|
|
118
|
+
|
|
119
|
+
2.4 Third Party Rights. You expressly acknowledge and agree that although Apple and each
|
|
120
|
+
Contributor grants the licenses to their respective portions of the Covered Code set forth
|
|
121
|
+
herein, no assurances are provided by Apple or any Contributor that the Covered Code does
|
|
122
|
+
not infringe the patent or other intellectual property rights of any other entity. Apple
|
|
123
|
+
and each Contributor disclaim any liability to You for claims brought by any other entity
|
|
124
|
+
based on infringement of intellectual property rights or otherwise. As a condition to
|
|
125
|
+
exercising the rights and licenses granted hereunder, You hereby assume sole
|
|
126
|
+
responsibility to secure any other intellectual property rights needed, if any. For
|
|
127
|
+
example, if a third party patent license is required to allow You to distribute the
|
|
128
|
+
Covered Code, it is Your responsibility to acquire that license before distributing the
|
|
129
|
+
Covered Code.
|
|
130
|
+
|
|
131
|
+
3. Your Grants. In consideration of, and as a condition to, the licenses granted to You under this
|
|
132
|
+
License, You hereby grant to any person or entity receiving or distributing Covered Code under
|
|
133
|
+
this License a non-exclusive, royalty-free, perpetual, irrevocable license, under Your
|
|
134
|
+
Applicable Patent Rights and other intellectual property rights (other than patent) owned or
|
|
135
|
+
controlled by You, to use, reproduce, display, perform, modify, sublicense, distribute and
|
|
136
|
+
Externally Deploy Your Modifications of the same scope and extent as Apple's licenses
|
|
137
|
+
under Sections 2.1 and 2.2 above.
|
|
138
|
+
|
|
139
|
+
4. Larger Works. You may create a Larger Work by combining Covered Code with other code not governed
|
|
140
|
+
by the terms of this License and distribute the Larger Work as a single product. In each such
|
|
141
|
+
instance, You must make sure the requirements of this License are fulfilled for the Covered
|
|
142
|
+
Code or any portion thereof.
|
|
143
|
+
|
|
144
|
+
5. Limitations on Patent License. Except as expressly stated in Section 2, no other patent rights,
|
|
145
|
+
express or implied, are granted by Apple herein. Modifications and/or Larger Works may require
|
|
146
|
+
additional patent licenses from Apple which Apple may grant in its sole discretion.
|
|
147
|
+
|
|
148
|
+
6. Additional Terms. You may choose to offer, and to charge a fee for, warranty, support, indemnity
|
|
149
|
+
or liability obligations and/or other rights consistent with the scope of the license granted
|
|
150
|
+
herein ("Additional Terms") to one or more recipients of Covered Code. However, You
|
|
151
|
+
may do so only on Your own behalf and as Your sole responsibility, and not on behalf of Apple
|
|
152
|
+
or any Contributor. You must obtain the recipient's agreement that any such Additional
|
|
153
|
+
Terms are offered by You alone, and You hereby agree to indemnify, defend and hold Apple and
|
|
154
|
+
every Contributor harmless for any liability incurred by or claims asserted against Apple or
|
|
155
|
+
such Contributor by reason of any such Additional Terms.
|
|
156
|
+
|
|
157
|
+
7. Versions of the License. Apple may publish revised and/or new versions of this License from time
|
|
158
|
+
to time. Each version will be given a distinguishing version number. Once Original Code has
|
|
159
|
+
been published under a particular version of this License, You may continue to use it under
|
|
160
|
+
the terms of that version. You may also choose to use such Original Code under the terms of
|
|
161
|
+
any subsequent version of this License published by Apple. No one other than Apple has the
|
|
162
|
+
right to modify the terms applicable to Covered Code created under this License.
|
|
163
|
+
|
|
164
|
+
8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in part pre-release, untested,
|
|
165
|
+
or not fully tested works. The Covered Code may contain errors that could cause failures or
|
|
166
|
+
loss of data, and may be incomplete or contain inaccuracies. You expressly acknowledge and
|
|
167
|
+
agree that use of the Covered Code, or any portion thereof, is at Your sole and entire risk.
|
|
168
|
+
THE COVERED CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR SUPPORT OF
|
|
169
|
+
ANY KIND AND APPLE AND APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE"
|
|
170
|
+
FOR THE PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM ALL WARRANTIES
|
|
171
|
+
AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
172
|
+
AND/OR CONDITIONS OF MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR
|
|
173
|
+
PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE AND
|
|
174
|
+
EACH CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED
|
|
175
|
+
CODE, THAT THE FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS, THAT THE
|
|
176
|
+
OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE
|
|
177
|
+
COVERED CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN
|
|
178
|
+
APPLE AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY. You acknowledge
|
|
179
|
+
that the Covered Code is not intended for use in the operation of nuclear facilities, aircraft
|
|
180
|
+
navigation, communication systems, or air traffic control machines in which case the failure
|
|
181
|
+
of the Covered Code could lead to death, personal injury, or severe physical or environmental
|
|
182
|
+
damage.
|
|
183
|
+
|
|
184
|
+
9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT SHALL APPLE OR ANY
|
|
185
|
+
CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING
|
|
186
|
+
OUT OF OR RELATING TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY
|
|
187
|
+
PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE),
|
|
188
|
+
PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE
|
|
189
|
+
POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
|
|
190
|
+
INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
|
191
|
+
In no event shall Apple's total liability to You for all damages (other than as may
|
|
192
|
+
be required by applicable law in cases involving personal injury) exceed the amount of fifty
|
|
193
|
+
dollars ($50.00).
|
|
194
|
+
|
|
195
|
+
10. Trademarks. This License does not grant permission to use the trade names, trademarks, service
|
|
196
|
+
marks, or product names of Apple, except as required for reasonable and customary use in
|
|
197
|
+
describing the origin of the Original Code and reproducing the content of the copyright notice.
|
|
198
|
+
|
|
199
|
+
11. Integration. This License represents the complete agreement concerning the subject matter hereof.
|
|
200
|
+
If any provision of this License is held to be unenforceable, such provision shall be reformed
|
|
201
|
+
only to the extent necessary to make it enforceable. Any law or regulation which provides that
|
|
202
|
+
the language of a contract shall be construed against the drafter shall not be used to construe
|
|
203
|
+
this License against Apple.
|
|
204
|
+
|
|
205
|
+
12. Governing Law. This License shall be governed by and construed in accordance with the laws of the
|
|
206
|
+
State of California, as applied to agreements entered into and to be performed entirely within
|
|
207
|
+
California between California residents. This License shall not be governed by the United Nations
|
|
208
|
+
Convention on Contracts for the International Sale of Goods, the application of which is
|
|
209
|
+
expressly excluded. Any litigation relating to this License shall be subject to the jurisdiction
|
|
210
|
+
of the Federal Courts of the Northern District of California, with venue lying in Santa Clara
|
|
211
|
+
County, California, with the losing party responsible for costs, including, without limitation,
|
|
212
|
+
court costs and reasonable attorneys' fees and expenses. The application of the United Nations
|
|
213
|
+
Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or
|
|
214
|
+
regulation which provides that the language of a contract shall be construed against the drafter
|
|
215
|
+
shall not be used to construe this License against Apple.
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pygremlinbox-apsl
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: PyGremlinBox APSL - Supply chain security testing module with Apple Public Source License
|
|
5
|
+
Author-email: Supply Chain Security Tester <simon@sigre.xyz>
|
|
6
|
+
Maintainer-email: Supply Chain Security Tester <simon@sigre.xyz>
|
|
7
|
+
License: APPLE PUBLIC SOURCE LICENSE
|
|
8
|
+
|
|
9
|
+
Version 2.0 - August 6, 2003
|
|
10
|
+
|
|
11
|
+
Please read this License carefully before downloading this software. By downloading or using this
|
|
12
|
+
software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to
|
|
13
|
+
the terms of this License, please do not download or use the software.
|
|
14
|
+
|
|
15
|
+
Apple Note: In January 2007, Apple changed its corporate name from "Apple Computer, Inc." to
|
|
16
|
+
"Apple Inc." This change has been reflected below and copyright years updated, but no other
|
|
17
|
+
changes have been made to the APSL 2.0.
|
|
18
|
+
|
|
19
|
+
1. General; Definitions. This License applies to any program or other work which Apple Inc.
|
|
20
|
+
("Apple") makes publicly available and which contains a notice placed by Apple
|
|
21
|
+
identifying such program or work as "Original Code" and stating that it is subject
|
|
22
|
+
to the terms of this Apple Public Source License version 2.0 ("License"). As used in
|
|
23
|
+
this License:
|
|
24
|
+
|
|
25
|
+
1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of
|
|
26
|
+
rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to
|
|
27
|
+
Apple and (ii) that cover subject matter contained in the Original Code, but only to the
|
|
28
|
+
extent necessary to use, reproduce and/or distribute the Original Code without
|
|
29
|
+
infringement; and (b) in the case where You are the grantor of rights, (i) claims of
|
|
30
|
+
patents that are now or hereafter acquired, owned by or assigned to You and (ii) that
|
|
31
|
+
cover subject matter in Your Modifications, taken alone or in combination with Original
|
|
32
|
+
Code.
|
|
33
|
+
|
|
34
|
+
1.2 "Contributor" means any person or entity that creates or contributes to the
|
|
35
|
+
creation of Modifications.
|
|
36
|
+
|
|
37
|
+
1.3 "Covered Code" means the Original Code, Modifications, the combination of Original
|
|
38
|
+
Code and any Modifications, and/or any respective portions thereof.
|
|
39
|
+
|
|
40
|
+
1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered
|
|
41
|
+
Code available, directly or indirectly, to anyone other than You; and/or (b) to use
|
|
42
|
+
Covered Code, alone or as part of a Larger Work, in any way to provide a service,
|
|
43
|
+
including but not limited to delivery of content, through electronic communication with a
|
|
44
|
+
client other than You.
|
|
45
|
+
|
|
46
|
+
1.5 "Larger Work" means a work which combines Covered Code or portions thereof with
|
|
47
|
+
code not governed by the terms of this License.
|
|
48
|
+
|
|
49
|
+
1.6 "Modifications" mean any addition to, deletion from, and/or change to, the
|
|
50
|
+
substance and/or structure of the Original Code, any previous Modifications, the
|
|
51
|
+
combination of Original Code and any previous Modifications, and/or any respective
|
|
52
|
+
portions thereof. When code is released as a series of files, a Modification is: (a) any
|
|
53
|
+
addition to or deletion from the contents of a file containing Covered Code; and/or (b)
|
|
54
|
+
any new file or other representation of computer program statements that contains any part
|
|
55
|
+
of Covered Code.
|
|
56
|
+
|
|
57
|
+
1.7 "Original Code" means (a) the Source Code of a program or other work as originally
|
|
58
|
+
made available by Apple under this License, including the Source Code of any updates or
|
|
59
|
+
upgrades to such programs or works made available by Apple under this License, and that
|
|
60
|
+
has been expressly identified by Apple as such in the header file(s) of such work; and (b)
|
|
61
|
+
the object code compiled from such Source Code and originally made available by Apple
|
|
62
|
+
under this License
|
|
63
|
+
|
|
64
|
+
1.8 "Source Code" means the human readable form of a program or other work that is
|
|
65
|
+
suitable for making modifications to it, including all modules it contains, plus any
|
|
66
|
+
associated interface definition files, scripts used to control compilation and
|
|
67
|
+
installation of an executable (object code).
|
|
68
|
+
|
|
69
|
+
1.9 "You" or "Your" means an individual or a legal entity exercising rights
|
|
70
|
+
under this License. For legal entities, "You" or "Your" includes any
|
|
71
|
+
entity which controls, is controlled by, or is under common control with, You, where
|
|
72
|
+
"control" means (a) the power, direct or indirect, to cause the direction or
|
|
73
|
+
management of such entity, whether by contract or otherwise, or (b) ownership of fifty
|
|
74
|
+
percent (50%) or more of the outstanding shares or beneficial ownership of such
|
|
75
|
+
entity.
|
|
76
|
+
|
|
77
|
+
2. Permitted Uses; Conditions & Restrictions. Subject to the terms and conditions of this
|
|
78
|
+
License, Apple hereby grants You, effective on the date You accept this License and download
|
|
79
|
+
the Original Code, a world-wide, royalty-free, non-exclusive license, to the extent of
|
|
80
|
+
Apple's Applicable Patent Rights and copyrights covering the Original Code, to do the
|
|
81
|
+
following:
|
|
82
|
+
|
|
83
|
+
2.1 Unmodified Code. You may use, reproduce, display, perform, internally distribute within Your
|
|
84
|
+
organization, and Externally Deploy verbatim, unmodified copies of the Original Code, for
|
|
85
|
+
commercial or non-commercial purposes, provided that in each instance:
|
|
86
|
+
|
|
87
|
+
(a) You must retain and reproduce in all copies of Original Code the copyright and other
|
|
88
|
+
proprietary notices and disclaimers of Apple as they appear in the Original Code, and
|
|
89
|
+
keep intact all notices in the Original Code that refer to this License; and
|
|
90
|
+
|
|
91
|
+
(b) You must include a copy of this License with every copy of Source Code of Covered Code
|
|
92
|
+
and documentation You distribute or Externally Deploy, and You may not offer or impose
|
|
93
|
+
any terms on such Source Code that alter or restrict this License or the
|
|
94
|
+
recipients' rights hereunder, except as permitted under Section 6.
|
|
95
|
+
|
|
96
|
+
2.2 Modified Code. You may modify Covered Code and use, reproduce, display, perform, internally
|
|
97
|
+
distribute within Your organization, and Externally Deploy Your Modifications and Covered
|
|
98
|
+
Code, for commercial or non-commercial purposes, provided that in each instance You also
|
|
99
|
+
meet all of these conditions:
|
|
100
|
+
|
|
101
|
+
(a) You must satisfy all the conditions of Section 2.1 with respect to the Source Code of the
|
|
102
|
+
Covered Code;
|
|
103
|
+
|
|
104
|
+
(b) You must duplicate, to the extent it does not already exist, the notice in Exhibit A in
|
|
105
|
+
each file of the Source Code of all Your Modifications, and cause the modified files
|
|
106
|
+
to carry prominent notices stating that You changed the files and the date of any
|
|
107
|
+
change; and
|
|
108
|
+
|
|
109
|
+
(c) If You Externally Deploy Your Modifications, You must make Source Code of all Your
|
|
110
|
+
Externally Deployed Modifications either available to those to whom You have
|
|
111
|
+
Externally Deployed Your Modifications, or publicly available. Source Code of Your
|
|
112
|
+
Externally Deployed Modifications must be released under the terms set forth in this
|
|
113
|
+
License, including the license grants set forth in Section 3 below, for as long as you
|
|
114
|
+
Externally Deploy the Covered Code or twelve (12) months from the date of initial
|
|
115
|
+
External Deployment, whichever is longer. You should preferably distribute the Source
|
|
116
|
+
Code of Your Externally Deployed Modifications electronically (e.g. download from a
|
|
117
|
+
web site).
|
|
118
|
+
|
|
119
|
+
2.3 Distribution of Executable Versions. In addition, if You Externally Deploy Covered Code
|
|
120
|
+
(Original Code and/or Modifications) in object code, executable form only, You must
|
|
121
|
+
include a prominent notice, in the code itself as well as in related documentation,
|
|
122
|
+
stating that Source Code of the Covered Code is available under the terms of this License
|
|
123
|
+
with information on how and where to obtain such Source Code.
|
|
124
|
+
|
|
125
|
+
2.4 Third Party Rights. You expressly acknowledge and agree that although Apple and each
|
|
126
|
+
Contributor grants the licenses to their respective portions of the Covered Code set forth
|
|
127
|
+
herein, no assurances are provided by Apple or any Contributor that the Covered Code does
|
|
128
|
+
not infringe the patent or other intellectual property rights of any other entity. Apple
|
|
129
|
+
and each Contributor disclaim any liability to You for claims brought by any other entity
|
|
130
|
+
based on infringement of intellectual property rights or otherwise. As a condition to
|
|
131
|
+
exercising the rights and licenses granted hereunder, You hereby assume sole
|
|
132
|
+
responsibility to secure any other intellectual property rights needed, if any. For
|
|
133
|
+
example, if a third party patent license is required to allow You to distribute the
|
|
134
|
+
Covered Code, it is Your responsibility to acquire that license before distributing the
|
|
135
|
+
Covered Code.
|
|
136
|
+
|
|
137
|
+
3. Your Grants. In consideration of, and as a condition to, the licenses granted to You under this
|
|
138
|
+
License, You hereby grant to any person or entity receiving or distributing Covered Code under
|
|
139
|
+
this License a non-exclusive, royalty-free, perpetual, irrevocable license, under Your
|
|
140
|
+
Applicable Patent Rights and other intellectual property rights (other than patent) owned or
|
|
141
|
+
controlled by You, to use, reproduce, display, perform, modify, sublicense, distribute and
|
|
142
|
+
Externally Deploy Your Modifications of the same scope and extent as Apple's licenses
|
|
143
|
+
under Sections 2.1 and 2.2 above.
|
|
144
|
+
|
|
145
|
+
4. Larger Works. You may create a Larger Work by combining Covered Code with other code not governed
|
|
146
|
+
by the terms of this License and distribute the Larger Work as a single product. In each such
|
|
147
|
+
instance, You must make sure the requirements of this License are fulfilled for the Covered
|
|
148
|
+
Code or any portion thereof.
|
|
149
|
+
|
|
150
|
+
5. Limitations on Patent License. Except as expressly stated in Section 2, no other patent rights,
|
|
151
|
+
express or implied, are granted by Apple herein. Modifications and/or Larger Works may require
|
|
152
|
+
additional patent licenses from Apple which Apple may grant in its sole discretion.
|
|
153
|
+
|
|
154
|
+
6. Additional Terms. You may choose to offer, and to charge a fee for, warranty, support, indemnity
|
|
155
|
+
or liability obligations and/or other rights consistent with the scope of the license granted
|
|
156
|
+
herein ("Additional Terms") to one or more recipients of Covered Code. However, You
|
|
157
|
+
may do so only on Your own behalf and as Your sole responsibility, and not on behalf of Apple
|
|
158
|
+
or any Contributor. You must obtain the recipient's agreement that any such Additional
|
|
159
|
+
Terms are offered by You alone, and You hereby agree to indemnify, defend and hold Apple and
|
|
160
|
+
every Contributor harmless for any liability incurred by or claims asserted against Apple or
|
|
161
|
+
such Contributor by reason of any such Additional Terms.
|
|
162
|
+
|
|
163
|
+
7. Versions of the License. Apple may publish revised and/or new versions of this License from time
|
|
164
|
+
to time. Each version will be given a distinguishing version number. Once Original Code has
|
|
165
|
+
been published under a particular version of this License, You may continue to use it under
|
|
166
|
+
the terms of that version. You may also choose to use such Original Code under the terms of
|
|
167
|
+
any subsequent version of this License published by Apple. No one other than Apple has the
|
|
168
|
+
right to modify the terms applicable to Covered Code created under this License.
|
|
169
|
+
|
|
170
|
+
8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in part pre-release, untested,
|
|
171
|
+
or not fully tested works. The Covered Code may contain errors that could cause failures or
|
|
172
|
+
loss of data, and may be incomplete or contain inaccuracies. You expressly acknowledge and
|
|
173
|
+
agree that use of the Covered Code, or any portion thereof, is at Your sole and entire risk.
|
|
174
|
+
THE COVERED CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR SUPPORT OF
|
|
175
|
+
ANY KIND AND APPLE AND APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE"
|
|
176
|
+
FOR THE PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM ALL WARRANTIES
|
|
177
|
+
AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
178
|
+
AND/OR CONDITIONS OF MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR
|
|
179
|
+
PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE AND
|
|
180
|
+
EACH CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED
|
|
181
|
+
CODE, THAT THE FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS, THAT THE
|
|
182
|
+
OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE
|
|
183
|
+
COVERED CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN
|
|
184
|
+
APPLE AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY. You acknowledge
|
|
185
|
+
that the Covered Code is not intended for use in the operation of nuclear facilities, aircraft
|
|
186
|
+
navigation, communication systems, or air traffic control machines in which case the failure
|
|
187
|
+
of the Covered Code could lead to death, personal injury, or severe physical or environmental
|
|
188
|
+
damage.
|
|
189
|
+
|
|
190
|
+
9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT SHALL APPLE OR ANY
|
|
191
|
+
CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING
|
|
192
|
+
OUT OF OR RELATING TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY
|
|
193
|
+
PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE),
|
|
194
|
+
PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE
|
|
195
|
+
POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
|
|
196
|
+
INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
|
197
|
+
In no event shall Apple's total liability to You for all damages (other than as may
|
|
198
|
+
be required by applicable law in cases involving personal injury) exceed the amount of fifty
|
|
199
|
+
dollars ($50.00).
|
|
200
|
+
|
|
201
|
+
10. Trademarks. This License does not grant permission to use the trade names, trademarks, service
|
|
202
|
+
marks, or product names of Apple, except as required for reasonable and customary use in
|
|
203
|
+
describing the origin of the Original Code and reproducing the content of the copyright notice.
|
|
204
|
+
|
|
205
|
+
11. Integration. This License represents the complete agreement concerning the subject matter hereof.
|
|
206
|
+
If any provision of this License is held to be unenforceable, such provision shall be reformed
|
|
207
|
+
only to the extent necessary to make it enforceable. Any law or regulation which provides that
|
|
208
|
+
the language of a contract shall be construed against the drafter shall not be used to construe
|
|
209
|
+
this License against Apple.
|
|
210
|
+
|
|
211
|
+
12. Governing Law. This License shall be governed by and construed in accordance with the laws of the
|
|
212
|
+
State of California, as applied to agreements entered into and to be performed entirely within
|
|
213
|
+
California between California residents. This License shall not be governed by the United Nations
|
|
214
|
+
Convention on Contracts for the International Sale of Goods, the application of which is
|
|
215
|
+
expressly excluded. Any litigation relating to this License shall be subject to the jurisdiction
|
|
216
|
+
of the Federal Courts of the Northern District of California, with venue lying in Santa Clara
|
|
217
|
+
County, California, with the losing party responsible for costs, including, without limitation,
|
|
218
|
+
court costs and reasonable attorneys' fees and expenses. The application of the United Nations
|
|
219
|
+
Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or
|
|
220
|
+
regulation which provides that the language of a contract shall be construed against the drafter
|
|
221
|
+
shall not be used to construe this License against Apple.
|
|
222
|
+
Project-URL: Homepage, https://github.com/simonsigre/PyGremlinBox
|
|
223
|
+
Project-URL: Repository, https://github.com/simonsigre/PyGremlinBox.git
|
|
224
|
+
Project-URL: Issues, https://github.com/simonsigre/PyGremlinBox/issues
|
|
225
|
+
Keywords: security,supply-chain,testing,apsl,licence
|
|
226
|
+
Classifier: Development Status :: 4 - Beta
|
|
227
|
+
Classifier: Intended Audience :: Developers
|
|
228
|
+
Classifier: License :: OSI Approved :: Apple Public Source License
|
|
229
|
+
Classifier: Operating System :: OS Independent
|
|
230
|
+
Classifier: Programming Language :: Python :: 3
|
|
231
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
232
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
233
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
234
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
235
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
236
|
+
Classifier: Topic :: Security
|
|
237
|
+
Classifier: Topic :: Software Development :: Testing
|
|
238
|
+
Requires-Python: >=3.8
|
|
239
|
+
License-File: LICENCE
|
|
240
|
+
Dynamic: license-file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pygremlinbox-apsl"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "PyGremlinBox APSL - Supply chain security testing module with Apple Public Source License"
|
|
9
|
+
license = {file = "LICENCE"}
|
|
10
|
+
authors = [
|
|
11
|
+
{name = "Supply Chain Security Tester", email = "simon@sigre.xyz"}
|
|
12
|
+
]
|
|
13
|
+
maintainers = [
|
|
14
|
+
{name = "Supply Chain Security Tester", email = "simon@sigre.xyz"}
|
|
15
|
+
]
|
|
16
|
+
keywords = ["security", "supply-chain", "testing", "apsl", "licence"]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 4 - Beta",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"License :: OSI Approved :: Apple Public Source License",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
"Programming Language :: Python :: 3.8",
|
|
24
|
+
"Programming Language :: Python :: 3.9",
|
|
25
|
+
"Programming Language :: Python :: 3.10",
|
|
26
|
+
"Programming Language :: Python :: 3.11",
|
|
27
|
+
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Topic :: Security",
|
|
29
|
+
"Topic :: Software Development :: Testing"
|
|
30
|
+
]
|
|
31
|
+
requires-python = ">=3.8"
|
|
32
|
+
|
|
33
|
+
[project.urls]
|
|
34
|
+
Homepage = "https://github.com/simonsigre/PyGremlinBox"
|
|
35
|
+
Repository = "https://github.com/simonsigre/PyGremlinBox.git"
|
|
36
|
+
Issues = "https://github.com/simonsigre/PyGremlinBox/issues"
|
|
37
|
+
|
|
38
|
+
[tool.setuptools.packages.find]
|
|
39
|
+
where = ["src"]
|
|
40
|
+
include = ["pygremlinbox_*"]
|
|
41
|
+
|
|
42
|
+
[tool.setuptools.package-dir]
|
|
43
|
+
"" = "src"
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""
|
|
2
|
+
PyGremlinBox APSL - Supply chain security testing module.
|
|
3
|
+
|
|
4
|
+
This package is licenced under the Apple Public Source License v2.0 (APSL).
|
|
5
|
+
It is designed for testing supply chain security tools and their ability to detect
|
|
6
|
+
licences in Python packages.
|
|
7
|
+
|
|
8
|
+
The package provides basic functionality for licence detection testing whilst
|
|
9
|
+
maintaining compliance with APSL requirements.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
__version__ = "1.0.0"
|
|
13
|
+
__licence__ = "APSL-2.0"
|
|
14
|
+
|
|
15
|
+
import os
|
|
16
|
+
from pathlib import Path
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def get_licence_identifier():
|
|
20
|
+
"""
|
|
21
|
+
Return the licence identifier for this package.
|
|
22
|
+
|
|
23
|
+
Returns:
|
|
24
|
+
str: The SPDX licence identifier
|
|
25
|
+
"""
|
|
26
|
+
return "APSL-2.0"
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def retrieve_licence_content():
|
|
30
|
+
"""
|
|
31
|
+
Retrieve the full licence text content.
|
|
32
|
+
|
|
33
|
+
Returns:
|
|
34
|
+
str: The complete licence text, or error message if not found
|
|
35
|
+
"""
|
|
36
|
+
try:
|
|
37
|
+
# Look for licence file in package root
|
|
38
|
+
package_dir = Path(__file__).parent.parent.parent
|
|
39
|
+
licence_file = package_dir / "LICENCE"
|
|
40
|
+
|
|
41
|
+
if licence_file.exists():
|
|
42
|
+
return licence_file.read_text(encoding='utf-8')
|
|
43
|
+
else:
|
|
44
|
+
return f"Licence file not found at expected location: {licence_file}"
|
|
45
|
+
except Exception as e:
|
|
46
|
+
return f"Error reading licence file: {str(e)}"
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def get_package_metadata():
|
|
50
|
+
"""
|
|
51
|
+
Return basic metadata about this package.
|
|
52
|
+
|
|
53
|
+
Returns:
|
|
54
|
+
dict: Package metadata including name, version, and licence
|
|
55
|
+
"""
|
|
56
|
+
return {
|
|
57
|
+
"name": "pygremlinbox-apsl",
|
|
58
|
+
"version": __version__,
|
|
59
|
+
"licence": __licence__,
|
|
60
|
+
"description": "Supply chain security testing module with APSL licence",
|
|
61
|
+
"spdx_licence_id": "APSL-2.0"
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# Export main functions
|
|
66
|
+
__all__ = [
|
|
67
|
+
"get_licence_identifier",
|
|
68
|
+
"retrieve_licence_content",
|
|
69
|
+
"get_package_metadata"
|
|
70
|
+
]
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pygremlinbox-apsl
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: PyGremlinBox APSL - Supply chain security testing module with Apple Public Source License
|
|
5
|
+
Author-email: Supply Chain Security Tester <simon@sigre.xyz>
|
|
6
|
+
Maintainer-email: Supply Chain Security Tester <simon@sigre.xyz>
|
|
7
|
+
License: APPLE PUBLIC SOURCE LICENSE
|
|
8
|
+
|
|
9
|
+
Version 2.0 - August 6, 2003
|
|
10
|
+
|
|
11
|
+
Please read this License carefully before downloading this software. By downloading or using this
|
|
12
|
+
software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to
|
|
13
|
+
the terms of this License, please do not download or use the software.
|
|
14
|
+
|
|
15
|
+
Apple Note: In January 2007, Apple changed its corporate name from "Apple Computer, Inc." to
|
|
16
|
+
"Apple Inc." This change has been reflected below and copyright years updated, but no other
|
|
17
|
+
changes have been made to the APSL 2.0.
|
|
18
|
+
|
|
19
|
+
1. General; Definitions. This License applies to any program or other work which Apple Inc.
|
|
20
|
+
("Apple") makes publicly available and which contains a notice placed by Apple
|
|
21
|
+
identifying such program or work as "Original Code" and stating that it is subject
|
|
22
|
+
to the terms of this Apple Public Source License version 2.0 ("License"). As used in
|
|
23
|
+
this License:
|
|
24
|
+
|
|
25
|
+
1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of
|
|
26
|
+
rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to
|
|
27
|
+
Apple and (ii) that cover subject matter contained in the Original Code, but only to the
|
|
28
|
+
extent necessary to use, reproduce and/or distribute the Original Code without
|
|
29
|
+
infringement; and (b) in the case where You are the grantor of rights, (i) claims of
|
|
30
|
+
patents that are now or hereafter acquired, owned by or assigned to You and (ii) that
|
|
31
|
+
cover subject matter in Your Modifications, taken alone or in combination with Original
|
|
32
|
+
Code.
|
|
33
|
+
|
|
34
|
+
1.2 "Contributor" means any person or entity that creates or contributes to the
|
|
35
|
+
creation of Modifications.
|
|
36
|
+
|
|
37
|
+
1.3 "Covered Code" means the Original Code, Modifications, the combination of Original
|
|
38
|
+
Code and any Modifications, and/or any respective portions thereof.
|
|
39
|
+
|
|
40
|
+
1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered
|
|
41
|
+
Code available, directly or indirectly, to anyone other than You; and/or (b) to use
|
|
42
|
+
Covered Code, alone or as part of a Larger Work, in any way to provide a service,
|
|
43
|
+
including but not limited to delivery of content, through electronic communication with a
|
|
44
|
+
client other than You.
|
|
45
|
+
|
|
46
|
+
1.5 "Larger Work" means a work which combines Covered Code or portions thereof with
|
|
47
|
+
code not governed by the terms of this License.
|
|
48
|
+
|
|
49
|
+
1.6 "Modifications" mean any addition to, deletion from, and/or change to, the
|
|
50
|
+
substance and/or structure of the Original Code, any previous Modifications, the
|
|
51
|
+
combination of Original Code and any previous Modifications, and/or any respective
|
|
52
|
+
portions thereof. When code is released as a series of files, a Modification is: (a) any
|
|
53
|
+
addition to or deletion from the contents of a file containing Covered Code; and/or (b)
|
|
54
|
+
any new file or other representation of computer program statements that contains any part
|
|
55
|
+
of Covered Code.
|
|
56
|
+
|
|
57
|
+
1.7 "Original Code" means (a) the Source Code of a program or other work as originally
|
|
58
|
+
made available by Apple under this License, including the Source Code of any updates or
|
|
59
|
+
upgrades to such programs or works made available by Apple under this License, and that
|
|
60
|
+
has been expressly identified by Apple as such in the header file(s) of such work; and (b)
|
|
61
|
+
the object code compiled from such Source Code and originally made available by Apple
|
|
62
|
+
under this License
|
|
63
|
+
|
|
64
|
+
1.8 "Source Code" means the human readable form of a program or other work that is
|
|
65
|
+
suitable for making modifications to it, including all modules it contains, plus any
|
|
66
|
+
associated interface definition files, scripts used to control compilation and
|
|
67
|
+
installation of an executable (object code).
|
|
68
|
+
|
|
69
|
+
1.9 "You" or "Your" means an individual or a legal entity exercising rights
|
|
70
|
+
under this License. For legal entities, "You" or "Your" includes any
|
|
71
|
+
entity which controls, is controlled by, or is under common control with, You, where
|
|
72
|
+
"control" means (a) the power, direct or indirect, to cause the direction or
|
|
73
|
+
management of such entity, whether by contract or otherwise, or (b) ownership of fifty
|
|
74
|
+
percent (50%) or more of the outstanding shares or beneficial ownership of such
|
|
75
|
+
entity.
|
|
76
|
+
|
|
77
|
+
2. Permitted Uses; Conditions & Restrictions. Subject to the terms and conditions of this
|
|
78
|
+
License, Apple hereby grants You, effective on the date You accept this License and download
|
|
79
|
+
the Original Code, a world-wide, royalty-free, non-exclusive license, to the extent of
|
|
80
|
+
Apple's Applicable Patent Rights and copyrights covering the Original Code, to do the
|
|
81
|
+
following:
|
|
82
|
+
|
|
83
|
+
2.1 Unmodified Code. You may use, reproduce, display, perform, internally distribute within Your
|
|
84
|
+
organization, and Externally Deploy verbatim, unmodified copies of the Original Code, for
|
|
85
|
+
commercial or non-commercial purposes, provided that in each instance:
|
|
86
|
+
|
|
87
|
+
(a) You must retain and reproduce in all copies of Original Code the copyright and other
|
|
88
|
+
proprietary notices and disclaimers of Apple as they appear in the Original Code, and
|
|
89
|
+
keep intact all notices in the Original Code that refer to this License; and
|
|
90
|
+
|
|
91
|
+
(b) You must include a copy of this License with every copy of Source Code of Covered Code
|
|
92
|
+
and documentation You distribute or Externally Deploy, and You may not offer or impose
|
|
93
|
+
any terms on such Source Code that alter or restrict this License or the
|
|
94
|
+
recipients' rights hereunder, except as permitted under Section 6.
|
|
95
|
+
|
|
96
|
+
2.2 Modified Code. You may modify Covered Code and use, reproduce, display, perform, internally
|
|
97
|
+
distribute within Your organization, and Externally Deploy Your Modifications and Covered
|
|
98
|
+
Code, for commercial or non-commercial purposes, provided that in each instance You also
|
|
99
|
+
meet all of these conditions:
|
|
100
|
+
|
|
101
|
+
(a) You must satisfy all the conditions of Section 2.1 with respect to the Source Code of the
|
|
102
|
+
Covered Code;
|
|
103
|
+
|
|
104
|
+
(b) You must duplicate, to the extent it does not already exist, the notice in Exhibit A in
|
|
105
|
+
each file of the Source Code of all Your Modifications, and cause the modified files
|
|
106
|
+
to carry prominent notices stating that You changed the files and the date of any
|
|
107
|
+
change; and
|
|
108
|
+
|
|
109
|
+
(c) If You Externally Deploy Your Modifications, You must make Source Code of all Your
|
|
110
|
+
Externally Deployed Modifications either available to those to whom You have
|
|
111
|
+
Externally Deployed Your Modifications, or publicly available. Source Code of Your
|
|
112
|
+
Externally Deployed Modifications must be released under the terms set forth in this
|
|
113
|
+
License, including the license grants set forth in Section 3 below, for as long as you
|
|
114
|
+
Externally Deploy the Covered Code or twelve (12) months from the date of initial
|
|
115
|
+
External Deployment, whichever is longer. You should preferably distribute the Source
|
|
116
|
+
Code of Your Externally Deployed Modifications electronically (e.g. download from a
|
|
117
|
+
web site).
|
|
118
|
+
|
|
119
|
+
2.3 Distribution of Executable Versions. In addition, if You Externally Deploy Covered Code
|
|
120
|
+
(Original Code and/or Modifications) in object code, executable form only, You must
|
|
121
|
+
include a prominent notice, in the code itself as well as in related documentation,
|
|
122
|
+
stating that Source Code of the Covered Code is available under the terms of this License
|
|
123
|
+
with information on how and where to obtain such Source Code.
|
|
124
|
+
|
|
125
|
+
2.4 Third Party Rights. You expressly acknowledge and agree that although Apple and each
|
|
126
|
+
Contributor grants the licenses to their respective portions of the Covered Code set forth
|
|
127
|
+
herein, no assurances are provided by Apple or any Contributor that the Covered Code does
|
|
128
|
+
not infringe the patent or other intellectual property rights of any other entity. Apple
|
|
129
|
+
and each Contributor disclaim any liability to You for claims brought by any other entity
|
|
130
|
+
based on infringement of intellectual property rights or otherwise. As a condition to
|
|
131
|
+
exercising the rights and licenses granted hereunder, You hereby assume sole
|
|
132
|
+
responsibility to secure any other intellectual property rights needed, if any. For
|
|
133
|
+
example, if a third party patent license is required to allow You to distribute the
|
|
134
|
+
Covered Code, it is Your responsibility to acquire that license before distributing the
|
|
135
|
+
Covered Code.
|
|
136
|
+
|
|
137
|
+
3. Your Grants. In consideration of, and as a condition to, the licenses granted to You under this
|
|
138
|
+
License, You hereby grant to any person or entity receiving or distributing Covered Code under
|
|
139
|
+
this License a non-exclusive, royalty-free, perpetual, irrevocable license, under Your
|
|
140
|
+
Applicable Patent Rights and other intellectual property rights (other than patent) owned or
|
|
141
|
+
controlled by You, to use, reproduce, display, perform, modify, sublicense, distribute and
|
|
142
|
+
Externally Deploy Your Modifications of the same scope and extent as Apple's licenses
|
|
143
|
+
under Sections 2.1 and 2.2 above.
|
|
144
|
+
|
|
145
|
+
4. Larger Works. You may create a Larger Work by combining Covered Code with other code not governed
|
|
146
|
+
by the terms of this License and distribute the Larger Work as a single product. In each such
|
|
147
|
+
instance, You must make sure the requirements of this License are fulfilled for the Covered
|
|
148
|
+
Code or any portion thereof.
|
|
149
|
+
|
|
150
|
+
5. Limitations on Patent License. Except as expressly stated in Section 2, no other patent rights,
|
|
151
|
+
express or implied, are granted by Apple herein. Modifications and/or Larger Works may require
|
|
152
|
+
additional patent licenses from Apple which Apple may grant in its sole discretion.
|
|
153
|
+
|
|
154
|
+
6. Additional Terms. You may choose to offer, and to charge a fee for, warranty, support, indemnity
|
|
155
|
+
or liability obligations and/or other rights consistent with the scope of the license granted
|
|
156
|
+
herein ("Additional Terms") to one or more recipients of Covered Code. However, You
|
|
157
|
+
may do so only on Your own behalf and as Your sole responsibility, and not on behalf of Apple
|
|
158
|
+
or any Contributor. You must obtain the recipient's agreement that any such Additional
|
|
159
|
+
Terms are offered by You alone, and You hereby agree to indemnify, defend and hold Apple and
|
|
160
|
+
every Contributor harmless for any liability incurred by or claims asserted against Apple or
|
|
161
|
+
such Contributor by reason of any such Additional Terms.
|
|
162
|
+
|
|
163
|
+
7. Versions of the License. Apple may publish revised and/or new versions of this License from time
|
|
164
|
+
to time. Each version will be given a distinguishing version number. Once Original Code has
|
|
165
|
+
been published under a particular version of this License, You may continue to use it under
|
|
166
|
+
the terms of that version. You may also choose to use such Original Code under the terms of
|
|
167
|
+
any subsequent version of this License published by Apple. No one other than Apple has the
|
|
168
|
+
right to modify the terms applicable to Covered Code created under this License.
|
|
169
|
+
|
|
170
|
+
8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in part pre-release, untested,
|
|
171
|
+
or not fully tested works. The Covered Code may contain errors that could cause failures or
|
|
172
|
+
loss of data, and may be incomplete or contain inaccuracies. You expressly acknowledge and
|
|
173
|
+
agree that use of the Covered Code, or any portion thereof, is at Your sole and entire risk.
|
|
174
|
+
THE COVERED CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR SUPPORT OF
|
|
175
|
+
ANY KIND AND APPLE AND APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE"
|
|
176
|
+
FOR THE PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM ALL WARRANTIES
|
|
177
|
+
AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
178
|
+
AND/OR CONDITIONS OF MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR
|
|
179
|
+
PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE AND
|
|
180
|
+
EACH CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED
|
|
181
|
+
CODE, THAT THE FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS, THAT THE
|
|
182
|
+
OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE
|
|
183
|
+
COVERED CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN
|
|
184
|
+
APPLE AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY. You acknowledge
|
|
185
|
+
that the Covered Code is not intended for use in the operation of nuclear facilities, aircraft
|
|
186
|
+
navigation, communication systems, or air traffic control machines in which case the failure
|
|
187
|
+
of the Covered Code could lead to death, personal injury, or severe physical or environmental
|
|
188
|
+
damage.
|
|
189
|
+
|
|
190
|
+
9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT SHALL APPLE OR ANY
|
|
191
|
+
CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING
|
|
192
|
+
OUT OF OR RELATING TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY
|
|
193
|
+
PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE),
|
|
194
|
+
PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE
|
|
195
|
+
POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
|
|
196
|
+
INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
|
197
|
+
In no event shall Apple's total liability to You for all damages (other than as may
|
|
198
|
+
be required by applicable law in cases involving personal injury) exceed the amount of fifty
|
|
199
|
+
dollars ($50.00).
|
|
200
|
+
|
|
201
|
+
10. Trademarks. This License does not grant permission to use the trade names, trademarks, service
|
|
202
|
+
marks, or product names of Apple, except as required for reasonable and customary use in
|
|
203
|
+
describing the origin of the Original Code and reproducing the content of the copyright notice.
|
|
204
|
+
|
|
205
|
+
11. Integration. This License represents the complete agreement concerning the subject matter hereof.
|
|
206
|
+
If any provision of this License is held to be unenforceable, such provision shall be reformed
|
|
207
|
+
only to the extent necessary to make it enforceable. Any law or regulation which provides that
|
|
208
|
+
the language of a contract shall be construed against the drafter shall not be used to construe
|
|
209
|
+
this License against Apple.
|
|
210
|
+
|
|
211
|
+
12. Governing Law. This License shall be governed by and construed in accordance with the laws of the
|
|
212
|
+
State of California, as applied to agreements entered into and to be performed entirely within
|
|
213
|
+
California between California residents. This License shall not be governed by the United Nations
|
|
214
|
+
Convention on Contracts for the International Sale of Goods, the application of which is
|
|
215
|
+
expressly excluded. Any litigation relating to this License shall be subject to the jurisdiction
|
|
216
|
+
of the Federal Courts of the Northern District of California, with venue lying in Santa Clara
|
|
217
|
+
County, California, with the losing party responsible for costs, including, without limitation,
|
|
218
|
+
court costs and reasonable attorneys' fees and expenses. The application of the United Nations
|
|
219
|
+
Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or
|
|
220
|
+
regulation which provides that the language of a contract shall be construed against the drafter
|
|
221
|
+
shall not be used to construe this License against Apple.
|
|
222
|
+
Project-URL: Homepage, https://github.com/simonsigre/PyGremlinBox
|
|
223
|
+
Project-URL: Repository, https://github.com/simonsigre/PyGremlinBox.git
|
|
224
|
+
Project-URL: Issues, https://github.com/simonsigre/PyGremlinBox/issues
|
|
225
|
+
Keywords: security,supply-chain,testing,apsl,licence
|
|
226
|
+
Classifier: Development Status :: 4 - Beta
|
|
227
|
+
Classifier: Intended Audience :: Developers
|
|
228
|
+
Classifier: License :: OSI Approved :: Apple Public Source License
|
|
229
|
+
Classifier: Operating System :: OS Independent
|
|
230
|
+
Classifier: Programming Language :: Python :: 3
|
|
231
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
232
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
233
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
234
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
235
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
236
|
+
Classifier: Topic :: Security
|
|
237
|
+
Classifier: Topic :: Software Development :: Testing
|
|
238
|
+
Requires-Python: >=3.8
|
|
239
|
+
License-File: LICENCE
|
|
240
|
+
Dynamic: license-file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pygremlinbox_apsl
|