jdc 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/LICENSE +1277 -24
  2. data/Rakefile +13 -0
  3. data/bin/jdc +12 -2
  4. data/lib/admin/README.md +15 -0
  5. data/lib/admin/curl.rb +60 -0
  6. data/lib/admin/guid.rb +89 -0
  7. data/lib/admin/plugin.rb +6 -0
  8. data/lib/admin/service_auth_token.rb +94 -0
  9. data/lib/admin/service_broker/add.rb +47 -0
  10. data/lib/admin/service_broker/service_brokers.rb +24 -0
  11. data/lib/admin/set_quota.rb +44 -0
  12. data/lib/console/README.md +8 -0
  13. data/lib/console/console.rb +187 -0
  14. data/lib/console/plugin.rb +33 -0
  15. data/lib/jdc/cli/app/app.rb +43 -0
  16. data/lib/jdc/cli/app/apps.rb +87 -0
  17. data/lib/jdc/cli/app/base.rb +72 -0
  18. data/lib/jdc/cli/app/delete.rb +95 -0
  19. data/lib/jdc/cli/app/deprecated.rb +11 -0
  20. data/lib/jdc/cli/app/env.rb +78 -0
  21. data/lib/jdc/cli/app/events.rb +45 -0
  22. data/lib/jdc/cli/app/files.rb +137 -0
  23. data/lib/jdc/cli/app/health.rb +26 -0
  24. data/lib/jdc/cli/app/instances.rb +53 -0
  25. data/lib/jdc/cli/app/logs.rb +76 -0
  26. data/lib/jdc/cli/app/push/create.rb +108 -0
  27. data/lib/jdc/cli/app/push/interactions.rb +86 -0
  28. data/lib/jdc/cli/app/push/sync.rb +57 -0
  29. data/lib/jdc/cli/app/push.rb +103 -0
  30. data/lib/jdc/cli/app/rename.rb +35 -0
  31. data/lib/jdc/cli/app/restart.rb +31 -0
  32. data/lib/jdc/cli/app/scale.rb +63 -0
  33. data/lib/jdc/cli/app/start.rb +161 -0
  34. data/lib/jdc/cli/app/stats.rb +67 -0
  35. data/lib/jdc/cli/app/stop.rb +27 -0
  36. data/lib/jdc/cli/domain/base.rb +9 -0
  37. data/lib/jdc/cli/domain/domains.rb +40 -0
  38. data/lib/jdc/cli/domain/map.rb +55 -0
  39. data/lib/jdc/cli/domain/unmap.rb +56 -0
  40. data/lib/jdc/cli/help.rb +15 -0
  41. data/lib/jdc/cli/interactive.rb +105 -0
  42. data/lib/jdc/cli/login_requirements.rb +15 -0
  43. data/lib/jdc/cli/organization/base.rb +14 -0
  44. data/lib/jdc/cli/organization/create.rb +37 -0
  45. data/lib/jdc/cli/organization/delete.rb +63 -0
  46. data/lib/jdc/cli/organization/org.rb +45 -0
  47. data/lib/jdc/cli/organization/orgs.rb +30 -0
  48. data/lib/jdc/cli/organization/rename.rb +37 -0
  49. data/lib/jdc/cli/populators/base.rb +16 -0
  50. data/lib/jdc/cli/populators/organization.rb +32 -0
  51. data/lib/jdc/cli/populators/populator_methods.rb +64 -0
  52. data/lib/jdc/cli/populators/space.rb +33 -0
  53. data/lib/jdc/cli/populators/target.rb +13 -0
  54. data/lib/jdc/cli/route/base.rb +9 -0
  55. data/lib/jdc/cli/route/delete.rb +28 -0
  56. data/lib/jdc/cli/route/map.rb +68 -0
  57. data/lib/jdc/cli/route/routes.rb +26 -0
  58. data/lib/jdc/cli/route/unmap.rb +56 -0
  59. data/lib/jdc/cli/service/base.rb +9 -0
  60. data/lib/jdc/cli/service/bind.rb +44 -0
  61. data/lib/jdc/cli/service/create.rb +159 -0
  62. data/lib/jdc/cli/service/delete.rb +83 -0
  63. data/lib/jdc/cli/service/rename.rb +36 -0
  64. data/lib/jdc/cli/service/service.rb +42 -0
  65. data/lib/jdc/cli/service/service_instance_helper.rb +99 -0
  66. data/lib/jdc/cli/service/services.rb +111 -0
  67. data/lib/jdc/cli/service/unbind.rb +37 -0
  68. data/lib/jdc/cli/space/base.rb +29 -0
  69. data/lib/jdc/cli/space/create.rb +67 -0
  70. data/lib/jdc/cli/space/delete.rb +56 -0
  71. data/lib/jdc/cli/space/rename.rb +38 -0
  72. data/lib/jdc/cli/space/space.rb +66 -0
  73. data/lib/jdc/cli/space/spaces.rb +57 -0
  74. data/lib/jdc/cli/space/switch.rb +19 -0
  75. data/lib/jdc/cli/start/base.rb +41 -0
  76. data/lib/jdc/cli/start/colors.rb +13 -0
  77. data/lib/jdc/cli/start/target.rb +50 -0
  78. data/lib/jdc/cli/start/target_prettifier.rb +17 -0
  79. data/lib/jdc/cli/start/targets.rb +16 -0
  80. data/lib/jdc/cli/user/base.rb +30 -0
  81. data/lib/jdc/cli/user/create.rb +52 -0
  82. data/lib/jdc/cli/user/passwd.rb +37 -0
  83. data/lib/jdc/cli/user/register.rb +43 -0
  84. data/lib/jdc/cli/user/users.rb +32 -0
  85. data/lib/jdc/cli.rb +544 -0
  86. data/lib/jdc/constants.rb +11 -0
  87. data/lib/jdc/errors.rb +19 -0
  88. data/lib/jdc/object_extensions.rb +15 -0
  89. data/lib/jdc/plugin.rb +56 -0
  90. data/lib/jdc/spacing.rb +89 -0
  91. data/lib/jdc/spec_helper.rb +1 -0
  92. data/lib/jdc/test_support.rb +6 -0
  93. data/lib/jdc/version.rb +3 -0
  94. data/lib/jdc.rb +15 -2
  95. data/lib/manifests/errors.rb +35 -0
  96. data/lib/manifests/loader/builder.rb +39 -0
  97. data/lib/manifests/loader/normalizer.rb +145 -0
  98. data/lib/manifests/loader/resolver.rb +79 -0
  99. data/lib/manifests/loader.rb +31 -0
  100. data/lib/manifests/manifests.rb +344 -0
  101. data/lib/manifests/plugin.rb +140 -0
  102. data/lib/micro/README.md +9 -0
  103. data/lib/micro/errors.rb +4 -0
  104. data/lib/{jdc → micro}/micro.rb +15 -15
  105. data/lib/micro/plugin.rb +197 -0
  106. data/lib/micro/switcher/base.rb +79 -0
  107. data/lib/{jdc/micro → micro}/switcher/darwin.rb +5 -3
  108. data/lib/{jdc/micro → micro}/switcher/dummy.rb +1 -1
  109. data/lib/micro/switcher/linux.rb +16 -0
  110. data/lib/{jdc/micro → micro}/switcher/windows.rb +5 -5
  111. data/lib/{jdc/micro → micro}/vmrun.rb +26 -19
  112. data/lib/tasks/gem_release.rake +42 -0
  113. data/lib/tunnel/README.md +29 -0
  114. data/{config → lib/tunnel/config}/clients.yml +2 -2
  115. data/lib/tunnel/helper-app/Gemfile +10 -0
  116. data/lib/tunnel/helper-app/Gemfile.lock +48 -0
  117. data/{caldecott_helper → lib/tunnel/helper-app}/server.rb +5 -5
  118. data/lib/tunnel/plugin.rb +183 -0
  119. data/lib/tunnel/tunnel.rb +295 -0
  120. metadata +319 -89
  121. data/README.md +0 -102
  122. data/config/micro/paths.yml +0 -22
  123. data/config/micro/refresh_ip.rb +0 -20
  124. data/lib/cli/commands/admin.rb +0 -58
  125. data/lib/cli/commands/apps.rb +0 -1129
  126. data/lib/cli/commands/base.rb +0 -228
  127. data/lib/cli/commands/manifest.rb +0 -56
  128. data/lib/cli/commands/micro.rb +0 -115
  129. data/lib/cli/commands/misc.rb +0 -126
  130. data/lib/cli/commands/services.rb +0 -178
  131. data/lib/cli/commands/user.rb +0 -14
  132. data/lib/cli/config.rb +0 -173
  133. data/lib/cli/console_helper.rb +0 -170
  134. data/lib/cli/core_ext.rb +0 -122
  135. data/lib/cli/errors.rb +0 -19
  136. data/lib/cli/frameworks.rb +0 -265
  137. data/lib/cli/manifest_helper.rb +0 -302
  138. data/lib/cli/runner.rb +0 -505
  139. data/lib/cli/services_helper.rb +0 -84
  140. data/lib/cli/tunnel_helper.rb +0 -332
  141. data/lib/cli/usage.rb +0 -86
  142. data/lib/cli/version.rb +0 -7
  143. data/lib/cli/zip_util.rb +0 -77
  144. data/lib/cli.rb +0 -53
  145. data/lib/jdc/client.rb +0 -457
  146. data/lib/jdc/const.rb +0 -25
  147. data/lib/jdc/micro/switcher/base.rb +0 -97
  148. data/lib/jdc/micro/switcher/linux.rb +0 -16
  149. data/lib/jdc/signature/version.rb +0 -27
  150. data/lib/jdc/signer.rb +0 -13
  151. data/lib/jdc/timer.rb +0 -12
data/LICENSE CHANGED
@@ -1,24 +1,1277 @@
1
- Copyright (c) 2013 JingDong, All Rights Reserved
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.
20
-
21
- This software downloads additional open source software components upon install
22
- that are distributed under separate terms and conditions. Please see the license
23
- information provided in the individual software components for more information.
24
-
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
204
+ ===========================================================================
205
+ CF 09012012
206
+
207
+ CF 09012012 : includes a number of subcomponents with
208
+ separate copyright notices and license terms. The product that
209
+ includes this file does not necessarily use all the open source
210
+ subcomponents referred to below. Your use of the source
211
+ code for the these subcomponents is subject to the terms and
212
+ conditions of the following licenses.
213
+
214
+
215
+
216
+ SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES
217
+
218
+ >>> async_sinatra-0.5.0
219
+ >>> caldecott-0.0.3
220
+ >>> daemons-1.1.4
221
+ >>> em-websocket-0.3.1
222
+ >>> escape_utils-0.2.4
223
+ >>> rack-1.2.4
224
+ >>> sinatra-1.2.7
225
+ >>> thin-1.2.11
226
+ >>> tilt-1.3.3
227
+ >>> uuidtools-2.1.2
228
+
229
+
230
+
231
+ SECTION 2: Apache License, V2.0
232
+
233
+ >>> addressable-2.2.6
234
+
235
+
236
+
237
+ SECTION 3: Ruby Clause-6
238
+
239
+ >>> em-http-request-0.3.0
240
+ >>> eventmachine-0.12.10
241
+ >>> json-1.6.1
242
+
243
+
244
+
245
+ APPENDIX. Standard License Files
246
+
247
+ >>> Ruby Clause-6
248
+
249
+ >>> GNU Lesser General Public License, V2.1
250
+
251
+
252
+
253
+
254
+ --------------- SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES ----------
255
+
256
+ BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES are applicable to the following component(s).
257
+
258
+
259
+ >>> async_sinatra-0.5.0
260
+
261
+ LICENSE:
262
+
263
+ (The MIT License)
264
+
265
+ Copyright (c) 2009 James Tucker
266
+
267
+ Permission is hereby granted, free of charge, to any person obtaining
268
+ a copy of this software and associated documentation files (the
269
+ 'Software'), to deal in the Software without restriction, including
270
+ without limitation the rights to use, copy, modify, merge, publish,
271
+ distribute, sublicense, and/or sell copies of the Software, and to
272
+ permit persons to whom the Software is furnished to do so, subject to
273
+ the following conditions:
274
+
275
+ The above copyright notice and this permission notice shall be
276
+ included in all copies or substantial portions of the Software.
277
+
278
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
279
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
280
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
281
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
282
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
283
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
284
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
285
+
286
+
287
+ >>> caldecott-0.0.3
288
+
289
+ Copyright (c) 2010-2011 VMware Inc, All Rights Reserved
290
+
291
+ Permission is hereby granted, free of charge, to any person obtaining a copy
292
+ of this software and associated documentation files (the "Software"), to deal
293
+ in the Software without restriction, including without limitation the rights
294
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
295
+ copies of the Software, and to permit persons to whom the Software is
296
+ furnished to do so, subject to the following conditions:
297
+
298
+ The above copyright notice and this permission notice shall be included in
299
+ all copies or substantial portions of the Software.
300
+
301
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
302
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
303
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
304
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
305
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
306
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
307
+ THE SOFTWARE.
308
+
309
+ This software downloads additional open source software components upon install
310
+ that are distributed under separate terms and conditions. Please see the license
311
+ information provided in the individual software components for more information.
312
+
313
+
314
+ >>> daemons-1.1.4
315
+
316
+ Copyright (c) 2005-2011 Thomas Uehlinger
317
+
318
+ Permission is hereby granted, free of charge, to any person
319
+ obtaining a copy of this software and associated documentation
320
+ files (the "Software"), to deal in the Software without
321
+ restriction, including without limitation the rights to use,
322
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
323
+ copies of the Software, and to permit persons to whom the
324
+ Software is furnished to do so, subject to the following
325
+ conditions:
326
+
327
+ The above copyright notice and this permission notice shall be
328
+ included in all copies or substantial portions of the Software.
329
+
330
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
331
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
332
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
333
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
334
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
335
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
336
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
337
+ OTHER DEALINGS IN THE SOFTWARE.
338
+
339
+ This license does not apply to daemonize.rb, which is was written by
340
+ Travis Whitton und published under the following license:
341
+
342
+ The Daemonize extension module is copywrited free software by Travis Whitton
343
+ <whitton@atlantic.net>. You can redistribute it under the terms specified in
344
+ the COPYING file of the Ruby distribution.
345
+
346
+
347
+ >>> em-websocket-0.3.1
348
+
349
+ The MIT License - Copyright (c) 2009 Ilya Grigorik
350
+
351
+
352
+ >>> escape_utils-0.2.4
353
+
354
+ Copyright (c) 2010-2011 Brian Lopez - http://github.com/brianmario
355
+
356
+ Permission is hereby granted, free of charge, to any person obtaining
357
+ a copy of this software and associated documentation files (the
358
+ "Software"), to deal in the Software without restriction, including
359
+ without limitation the rights to use, copy, modify, merge, publish,
360
+ distribute, sublicense, and/or sell copies of the Software, and to
361
+ permit persons to whom the Software is furnished to do so, subject to
362
+ the following conditions:
363
+
364
+ The above copyright notice and this permission notice shall be
365
+ included in all copies or substantial portions of the Software.
366
+
367
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
368
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
369
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
370
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
371
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
372
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
373
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
374
+
375
+
376
+ >>> rack-1.2.4
377
+
378
+ Copyright (c) 2007, 2008, 2009, 2010 Christian Neukirchen <purl.org/net/chneukirchen>
379
+
380
+ Permission is hereby granted, free of charge, to any person obtaining a copy
381
+ of this software and associated documentation files (the "Software"), to
382
+ deal in the Software without restriction, including without limitation the
383
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
384
+ sell copies of the Software, and to permit persons to whom the Software is
385
+ furnished to do so, subject to the following conditions:
386
+
387
+ The above copyright notice and this permission notice shall be included in
388
+ all copies or substantial portions of the Software.
389
+
390
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
391
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
392
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
393
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
394
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
395
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
396
+
397
+
398
+ >>> sinatra-1.2.7
399
+
400
+ Copyright (c) 2007, 2008, 2009, 2010, 2011 Blake Mizerany
401
+
402
+ Permission is hereby granted, free of charge, to any person
403
+ obtaining a copy of this software and associated documentation
404
+ files (the "Software"), to deal in the Software without
405
+ restriction, including without limitation the rights to use,
406
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
407
+ copies of the Software, and to permit persons to whom the
408
+ Software is furnished to do so, subject to the following
409
+ conditions:
410
+
411
+ The above copyright notice and this permission notice shall be
412
+ included in all copies or substantial portions of the Software.
413
+
414
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
415
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
416
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
417
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
418
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
419
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
420
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
421
+ OTHER DEALINGS IN THE SOFTWARE.
422
+
423
+
424
+ >>> thin-1.2.11
425
+
426
+ Copyright (c) 2008 Marc-Andre Cournoyer
427
+
428
+ Permission is hereby granted, free of charge, to any person obtaining a copy
429
+ of this software and associated documentation files (the "Software"), to
430
+ deal in the Software without restriction, including without limitation the
431
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
432
+ sell copies of the Software, and to permit persons to whom the Software is
433
+ furnished to do so, subject to the following conditions:
434
+
435
+ The above copyright notice and this permission notice shall be included in
436
+ all copies or substantial portions of the Software.
437
+
438
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
439
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
440
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
441
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
442
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
443
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
444
+
445
+
446
+ >>> tilt-1.3.3
447
+
448
+ Copyright (c) 2010 Ryan Tomayko <http://tomayko.com/about>
449
+
450
+ Permission is hereby granted, free of charge, to any person obtaining a copy
451
+ of this software and associated documentation files (the "Software"), to
452
+ deal in the Software without restriction, including without limitation the
453
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
454
+ sell copies of the Software, and to permit persons to whom the Software is
455
+ furnished to do so, subject to the following conditions:
456
+
457
+ The above copyright notice and this permission notice shall be included in
458
+ all copies or substantial portions of the Software.
459
+
460
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
461
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
462
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
463
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
464
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
465
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
466
+
467
+
468
+ >>> uuidtools-2.1.2
469
+
470
+ UUIDTools, Copyright (c) 2005-2008 Bob Aman
471
+
472
+ Permission is hereby granted, free of charge, to any person obtaining
473
+ a copy of this software and associated documentation files (the
474
+ "Software"), to deal in the Software without restriction, including
475
+ without limitation the rights to use, copy, modify, merge, publish,
476
+ distribute, sublicense, and/or sell copies of the Software, and to
477
+ permit persons to whom the Software is furnished to do so, subject to
478
+ the following conditions:
479
+
480
+ The above copyright notice and this permission notice shall be
481
+ included in all copies or substantial portions of the Software.
482
+
483
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
484
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
485
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
486
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
487
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
488
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
489
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
490
+
491
+
492
+ --------------- SECTION 2: Apache License, V2.0 ----------
493
+
494
+ Apache License, V2.0 is applicable to the following component(s).
495
+
496
+
497
+ >>> addressable-2.2.6
498
+
499
+ Copyright (C) 2006-2011 Bob Aman
500
+
501
+ Licensed under the Apache License, Version 2.0 (the "License");
502
+ you may not use this file except in compliance with the License.
503
+ You may obtain a copy of the License at
504
+
505
+ http://www.apache.org/licenses/LICENSE-2.0
506
+
507
+ Unless required by applicable law or agreed to in writing, software
508
+ distributed under the License is distributed on an "AS IS" BASIS,
509
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
510
+ See the License for the specific language governing permissions and
511
+ limitations under the License.
512
+
513
+
514
+ --------------- SECTION 3: Ruby Clause-6 ----------
515
+
516
+ Ruby Clause-6 is applicable to the following component(s).
517
+
518
+
519
+ >>> em-http-request-0.3.0
520
+
521
+ Copyright (c) 2005 Zed A. Shaw
522
+ You can redistribute it and/or modify it under the same terms as Ruby.
523
+
524
+
525
+ >>> eventmachine-0.12.10
526
+
527
+ [PLEASE NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE RubyClause-6. PLEASE SEE THE APPENDIX TO REVIEW THE FULL TEXT OF THE RubyClause-6. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.]
528
+
529
+
530
+ LEGAL NOTICE INFORMATION
531
+ ------------------------
532
+
533
+ EventMachine is Copyright (C) 2006-07 by Francis Cianfrocca.
534
+
535
+ EventMachine is copyrighted software owned by Francis Cianfrocca
536
+ (blackhedd ... gmail.com). You may redistribute and/or modify this
537
+ software as long as you comply with either the terms of the GPL
538
+ (see the file GPL), or Ruby's license (see the file COPYING).
539
+
540
+ Your use of all the files in this distribution is controlled by these
541
+ license terms, except for those files specifically mentioned below:
542
+ EventMachine is copyrighted free software owned by Francis Cianfrocca
543
+ (blackhedd ... gmail.com). The Owner of this software permits you to
544
+ redistribute and/or modify the software under either the terms of the GPL
545
+ version 2 (see the file GPL), or the conditions below ("Ruby License"):
546
+
547
+ 1. You may make and give away verbatim copies of the source form of this
548
+ software without restriction, provided that you retain ALL of the
549
+ original copyright notices and associated disclaimers.
550
+
551
+ 2. You may modify your copy of the software in any way, provided that
552
+ you do at least ONE of the following:
553
+
554
+ a) place your modifications in the Public Domain or otherwise
555
+ make them Freely Available, such as by posting said
556
+ modifications to Usenet or an equivalent medium, or by allowing
557
+ the author to include your modifications in the software.
558
+
559
+ b) use the modified software only within your corporation or
560
+ organization.
561
+
562
+ c) give non-standard binaries non-standard names, with
563
+ instructions on where to get the original software distribution.
564
+
565
+ d) make other distribution arrangements with the Owner.
566
+
567
+ 3. You may distribute the software in object code or binary form,
568
+ provided that you do at least ONE of the following:
569
+
570
+ a) distribute the binaries and library files of the software,
571
+ together with instructions (in a manual page or equivalent)
572
+ on where to get the original distribution.
573
+
574
+ b) accompany the distribution with the machine-readable source of
575
+ the software.
576
+
577
+ c) give non-standard binaries non-standard names, with
578
+ instructions on where to get the original software distribution.
579
+
580
+ d) make other distribution arrangements with the Owner.
581
+
582
+ 4. You may modify and include parts of the software into any other
583
+ software (possibly commercial), provided you comply with the terms in
584
+ Sections 1, 2, and 3 above. But some files in the distribution
585
+ are not written by the Owner, so they may be made available to you
586
+ under different terms.
587
+
588
+ For the list of those files and their copying conditions, see the
589
+ file LEGAL.
590
+
591
+ 5. The scripts and library files supplied as input to or produced as
592
+ output from the software do not automatically fall under the
593
+ copyright of the software, but belong to whoever generated them,
594
+ and may be sold commercially, and may be aggregated with this
595
+ software.
596
+
597
+
598
+
599
+ ADDITIONAL LICENSE INFORMATION:
600
+
601
+
602
+ > LGPL 2.1
603
+
604
+ setup.rb
605
+
606
+ This file is Copyright (C) 2000-2005 by Minero Aoki
607
+ You can distribute/modify this file under the terms of
608
+ the GNU LGPL, Lesser General Public License version 2.1.
609
+
610
+ > Ruby Clause 6
611
+
612
+ lib/em/buftok.rb
613
+ This file is Copyright (C) 2007 by Tony Arcieri. This file is
614
+ covered by the terms of Ruby's License (see the file COPYING).
615
+
616
+
617
+ >>> json-1.6.1
618
+
619
+ JSON-JRuby, like json, is distributed under the Ruby license.
620
+
621
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
622
+ You can redistribute it and/or modify it under either the terms of the
623
+ 2-clause BSDL (see the file BSDL), or the conditions below:
624
+
625
+ 1. You may make and give away verbatim copies of the source form of the
626
+ software without restriction, provided that you duplicate all of the
627
+ original copyright notices and associated disclaimers.
628
+
629
+ 2. You may modify your copy of the software in any way, provided that
630
+ you do at least ONE of the following:
631
+
632
+ a) place your modifications in the Public Domain or otherwise
633
+ make them Freely Available, such as by posting said
634
+ modifications to Usenet or an equivalent medium, or by allowing
635
+ the author to include your modifications in the software.
636
+
637
+ b) use the modified software only within your corporation or
638
+ organization.
639
+
640
+ c) give non-standard binaries non-standard names, with
641
+ instructions on where to get the original software distribution.
642
+
643
+ d) make other distribution arrangements with the author.
644
+
645
+ 3. You may distribute the software in object code or binary form,
646
+ provided that you do at least ONE of the following:
647
+
648
+ a) distribute the binaries and library files of the software,
649
+ together with instructions (in the manual page or equivalent)
650
+ on where to get the original distribution.
651
+
652
+ b) accompany the distribution with the machine-readable source of
653
+ the software.
654
+
655
+ c) give non-standard binaries non-standard names, with
656
+ instructions on where to get the original software distribution.
657
+
658
+ d) make other distribution arrangements with the author.
659
+
660
+ 4. You may modify and include the part of the software into any other
661
+ software (possibly commercial). But some files in the distribution
662
+ are not written by the author, so that they are not under these terms.
663
+
664
+ For the list of those files and their copying conditions, see the
665
+ file LEGAL.
666
+
667
+ 5. The scripts and library files supplied as input to or produced as
668
+ output from the software do not automatically fall under the
669
+ copyright of the software, but belong to whomever generated them,
670
+ and may be sold commercially, and may be aggregated with this
671
+ software.
672
+
673
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
674
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
675
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
676
+ PURPOSE.
677
+
678
+
679
+ =============== APPENDIX. Standard License Files ==============
680
+
681
+
682
+
683
+ --------------- SECTION 1: Ruby Clause-6 -----------
684
+
685
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
686
+ You can redistribute it and/or modify it under either the terms of the GPL
687
+ (see COPYING.txt file), or the conditions below:
688
+
689
+ 1. You may make and give away verbatim copies of the source form of the
690
+ software without restriction, provided that you duplicate all of the
691
+ original copyright notices and associated disclaimers.
692
+
693
+
694
+ 2. You may modify your copy of the software in any way, provided that
695
+ you do at least ONE of the following:
696
+
697
+ a) place your modifications in the Public Domain or otherwise
698
+ make them Freely Available, such as by posting said
699
+ modifications to Usenet or an equivalent medium, or by allowing
700
+ the author to include your modifications in the software.
701
+
702
+ b) use the modified software only within your corporation or
703
+ organization.
704
+
705
+ c) rename any non-standard executables so the names do not conflict
706
+ with standard executables, which must also be provided.
707
+
708
+ d) make other distribution arrangements with the author.
709
+
710
+
711
+ 3. You may distribute the software in object code or executable
712
+ form, provided that you do at least ONE of the following:
713
+
714
+ a) distribute the executables and library files of the software,
715
+ together with instructions (in the manual page or equivalent)
716
+ on where to get the original distribution.
717
+
718
+ b) accompany the distribution with the machine-readable source of
719
+ the software.
720
+
721
+ c) give non-standard executables non-standard names, with
722
+ instructions on where to get the original software distribution.
723
+
724
+ d) make other distribution arrangements with the author.
725
+
726
+
727
+ 4. You may modify and include the part of the software into any other
728
+ software (possibly commercial). But some files in the distribution
729
+ are not written by the author, so that they are not under this terms.
730
+
731
+ They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
732
+ files under the ./missing directory. See each file for the copying
733
+ condition.
734
+
735
+
736
+ 5. The scripts and library files supplied as input to or produced as
737
+ output from the software do not automatically fall under the
738
+ copyright of the software, but belong to whomever generated them,
739
+ and may be sold commercially, and may be aggregated with this
740
+ software.
741
+
742
+
743
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
744
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
745
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
746
+ PURPOSE.
747
+
748
+
749
+
750
+
751
+
752
+ --------------- SECTION 2: GNU Lesser General Public License, V2.1-----------
753
+
754
+ GNU LESSER GENERAL PUBLIC LICENSE
755
+ Version 2.1, February 1999
756
+
757
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
758
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
759
+ Everyone is permitted to copy and distribute verbatim copies
760
+ of this license document, but changing it is not allowed.
761
+
762
+ [This is the first released version of the Lesser GPL. It also counts
763
+ as the successor of the GNU Library Public License, version 2, hence
764
+ the version number 2.1.]
765
+
766
+ Preamble
767
+
768
+ The licenses for most software are designed to take away your
769
+ freedom to share and change it. By contrast, the GNU General Public
770
+ Licenses are intended to guarantee your freedom to share and change
771
+ free software--to make sure the software is free for all its users.
772
+
773
+ This license, the Lesser General Public License, applies to some
774
+ specially designated software packages--typically libraries--of the
775
+ Free Software Foundation and other authors who decide to use it. You
776
+ can use it too, but we suggest you first think carefully about whether
777
+ this license or the ordinary General Public License is the better
778
+ strategy to use in any particular case, based on the explanations below.
779
+
780
+ When we speak of free software, we are referring to freedom of use,
781
+ not price. Our General Public Licenses are designed to make sure that
782
+ you have the freedom to distribute copies of free software (and charge
783
+ for this service if you wish); that you receive source code or can get
784
+ it if you want it; that you can change the software and use pieces of
785
+ it in new free programs; and that you are informed that you can do
786
+ these things.
787
+
788
+ To protect your rights, we need to make restrictions that forbid
789
+ distributors to deny you these rights or to ask you to surrender these
790
+ rights. These restrictions translate to certain responsibilities for
791
+ you if you distribute copies of the library or if you modify it.
792
+
793
+ For example, if you distribute copies of the library, whether gratis
794
+ or for a fee, you must give the recipients all the rights that we gave
795
+ you. You must make sure that they, too, receive or can get the source
796
+ code. If you link other code with the library, you must provide
797
+ complete object files to the recipients, so that they can relink them
798
+ with the library after making changes to the library and recompiling
799
+ it. And you must show them these terms so they know their rights.
800
+
801
+ We protect your rights with a two-step method: (1) we copyright the
802
+ library, and (2) we offer you this license, which gives you legal
803
+ permission to copy, distribute and/or modify the library.
804
+
805
+ To protect each distributor, we want to make it very clear that
806
+ there is no warranty for the free library. Also, if the library is
807
+ modified by someone else and passed on, the recipients should know
808
+ that what they have is not the original version, so that the original
809
+ author's reputation will not be affected by problems that might be
810
+ introduced by others.
811
+
812
+ Finally, software patents pose a constant threat to the existence of
813
+ any free program. We wish to make sure that a company cannot
814
+ effectively restrict the users of a free program by obtaining a
815
+ restrictive license from a patent holder. Therefore, we insist that
816
+ any patent license obtained for a version of the library must be
817
+ consistent with the full freedom of use specified in this license.
818
+
819
+ Most GNU software, including some libraries, is covered by the
820
+ ordinary GNU General Public License. This license, the GNU Lesser
821
+ General Public License, applies to certain designated libraries, and
822
+ is quite different from the ordinary General Public License. We use
823
+ this license for certain libraries in order to permit linking those
824
+ libraries into non-free programs.
825
+
826
+ When a program is linked with a library, whether statically or using
827
+ a shared library, the combination of the two is legally speaking a
828
+ combined work, a derivative of the original library. The ordinary
829
+ General Public License therefore permits such linking only if the
830
+ entire combination fits its criteria of freedom. The Lesser General
831
+ Public License permits more lax criteria for linking other code with
832
+ the library.
833
+
834
+ We call this license the "Lesser" General Public License because it
835
+ does Less to protect the user's freedom than the ordinary General
836
+ Public License. It also provides other free software developers Less
837
+ of an advantage over competing non-free programs. These disadvantages
838
+ are the reason we use the ordinary General Public License for many
839
+ libraries. However, the Lesser license provides advantages in certain
840
+ special circumstances.
841
+
842
+ For example, on rare occasions, there may be a special need to
843
+ encourage the widest possible use of a certain library, so that it becomes
844
+ a de-facto standard. To achieve this, non-free programs must be
845
+ allowed to use the library. A more frequent case is that a free
846
+ library does the same job as widely used non-free libraries. In this
847
+ case, there is little to gain by limiting the free library to free
848
+ software only, so we use the Lesser General Public License.
849
+
850
+ In other cases, permission to use a particular library in non-free
851
+ programs enables a greater number of people to use a large body of
852
+ free software. For example, permission to use the GNU C Library in
853
+ non-free programs enables many more people to use the whole GNU
854
+ operating system, as well as its variant, the GNU/Linux operating
855
+ system.
856
+
857
+ Although the Lesser General Public License is Less protective of the
858
+ users' freedom, it does ensure that the user of a program that is
859
+ linked with the Library has the freedom and the wherewithal to run
860
+ that program using a modified version of the Library.
861
+
862
+ The precise terms and conditions for copying, distribution and
863
+ modification follow. Pay close attention to the difference between a
864
+ "work based on the library" and a "work that uses the library". The
865
+ former contains code derived from the library, whereas the latter must
866
+ be combined with the library in order to run.
867
+
868
+ GNU LESSER GENERAL PUBLIC LICENSE
869
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
870
+
871
+ 0. This License Agreement applies to any software library or other
872
+ program which contains a notice placed by the copyright holder or
873
+ other authorized party saying it may be distributed under the terms of
874
+ this Lesser General Public License (also called "this License").
875
+ Each licensee is addressed as "you".
876
+
877
+ A "library" means a collection of software functions and/or data
878
+ prepared so as to be conveniently linked with application programs
879
+ (which use some of those functions and data) to form executables.
880
+
881
+ The "Library", below, refers to any such software library or work
882
+ which has been distributed under these terms. A "work based on the
883
+ Library" means either the Library or any derivative work under
884
+ copyright law: that is to say, a work containing the Library or a
885
+ portion of it, either verbatim or with modifications and/or translated
886
+ straightforwardly into another language. (Hereinafter, translation is
887
+ included without limitation in the term "modification".)
888
+
889
+ "Source code" for a work means the preferred form of the work for
890
+ making modifications to it. For a library, complete source code means
891
+ all the source code for all modules it contains, plus any associated
892
+ interface definition files, plus the scripts used to control compilation
893
+ and installation of the library.
894
+
895
+ Activities other than copying, distribution and modification are not
896
+ covered by this License; they are outside its scope. The act of
897
+ running a program using the Library is not restricted, and output from
898
+ such a program is covered only if its contents constitute a work based
899
+ on the Library (independent of the use of the Library in a tool for
900
+ writing it). Whether that is true depends on what the Library does
901
+ and what the program that uses the Library does.
902
+
903
+ 1. You may copy and distribute verbatim copies of the Library's
904
+ complete source code as you receive it, in any medium, provided that
905
+ you conspicuously and appropriately publish on each copy an
906
+ appropriate copyright notice and disclaimer of warranty; keep intact
907
+ all the notices that refer to this License and to the absence of any
908
+ warranty; and distribute a copy of this License along with the
909
+ Library.
910
+
911
+ You may charge a fee for the physical act of transferring a copy,
912
+ and you may at your option offer warranty protection in exchange for a
913
+ fee.
914
+
915
+ 2. You may modify your copy or copies of the Library or any portion
916
+ of it, thus forming a work based on the Library, and copy and
917
+ distribute such modifications or work under the terms of Section 1
918
+ above, provided that you also meet all of these conditions:
919
+
920
+ a) The modified work must itself be a software library.
921
+
922
+ b) You must cause the files modified to carry prominent notices
923
+ stating that you changed the files and the date of any change.
924
+
925
+ c) You must cause the whole of the work to be licensed at no
926
+ charge to all third parties under the terms of this License.
927
+
928
+ d) If a facility in the modified Library refers to a function or a
929
+ table of data to be supplied by an application program that uses
930
+ the facility, other than as an argument passed when the facility
931
+ is invoked, then you must make a good faith effort to ensure that,
932
+ in the event an application does not supply such function or
933
+ table, the facility still operates, and performs whatever part of
934
+ its purpose remains meaningful.
935
+
936
+ (For example, a function in a library to compute square roots has
937
+ a purpose that is entirely well-defined independent of the
938
+ application. Therefore, Subsection 2d requires that any
939
+ application-supplied function or table used by this function must
940
+ be optional: if the application does not supply it, the square
941
+ root function must still compute square roots.)
942
+
943
+ These requirements apply to the modified work as a whole. If
944
+ identifiable sections of that work are not derived from the Library,
945
+ and can be reasonably considered independent and separate works in
946
+ themselves, then this License, and its terms, do not apply to those
947
+ sections when you distribute them as separate works. But when you
948
+ distribute the same sections as part of a whole which is a work based
949
+ on the Library, the distribution of the whole must be on the terms of
950
+ this License, whose permissions for other licensees extend to the
951
+ entire whole, and thus to each and every part regardless of who wrote
952
+ it.
953
+
954
+ Thus, it is not the intent of this section to claim rights or contest
955
+ your rights to work written entirely by you; rather, the intent is to
956
+ exercise the right to control the distribution of derivative or
957
+ collective works based on the Library.
958
+
959
+ In addition, mere aggregation of another work not based on the Library
960
+ with the Library (or with a work based on the Library) on a volume of
961
+ a storage or distribution medium does not bring the other work under
962
+ the scope of this License.
963
+
964
+ 3. You may opt to apply the terms of the ordinary GNU General Public
965
+ License instead of this License to a given copy of the Library. To do
966
+ this, you must alter all the notices that refer to this License, so
967
+ that they refer to the ordinary GNU General Public License, version 2,
968
+ instead of to this License. (If a newer version than version 2 of the
969
+ ordinary GNU General Public License has appeared, then you can specify
970
+ that version instead if you wish.) Do not make any other change in
971
+ these notices.
972
+
973
+ Once this change is made in a given copy, it is irreversible for
974
+ that copy, so the ordinary GNU General Public License applies to all
975
+ subsequent copies and derivative works made from that copy.
976
+
977
+ This option is useful when you wish to copy part of the code of
978
+ the Library into a program that is not a library.
979
+
980
+ 4. You may copy and distribute the Library (or a portion or
981
+ derivative of it, under Section 2) in object code or executable form
982
+ under the terms of Sections 1 and 2 above provided that you accompany
983
+ it with the complete corresponding machine-readable source code, which
984
+ must be distributed under the terms of Sections 1 and 2 above on a
985
+ medium customarily used for software interchange.
986
+
987
+ If distribution of object code is made by offering access to copy
988
+ from a designated place, then offering equivalent access to copy the
989
+ source code from the same place satisfies the requirement to
990
+ distribute the source code, even though third parties are not
991
+ compelled to copy the source along with the object code.
992
+
993
+ 5. A program that contains no derivative of any portion of the
994
+ Library, but is designed to work with the Library by being compiled or
995
+ linked with it, is called a "work that uses the Library". Such a
996
+ work, in isolation, is not a derivative work of the Library, and
997
+ therefore falls outside the scope of this License.
998
+
999
+ However, linking a "work that uses the Library" with the Library
1000
+ creates an executable that is a derivative of the Library (because it
1001
+ contains portions of the Library), rather than a "work that uses the
1002
+ library". The executable is therefore covered by this License.
1003
+ Section 6 states terms for distribution of such executables.
1004
+
1005
+ When a "work that uses the Library" uses material from a header file
1006
+ that is part of the Library, the object code for the work may be a
1007
+ derivative work of the Library even though the source code is not.
1008
+ Whether this is true is especially significant if the work can be
1009
+ linked without the Library, or if the work is itself a library. The
1010
+ threshold for this to be true is not precisely defined by law.
1011
+
1012
+ If such an object file uses only numerical parameters, data
1013
+ structure layouts and accessors, and small macros and small inline
1014
+ functions (ten lines or less in length), then the use of the object
1015
+ file is unrestricted, regardless of whether it is legally a derivative
1016
+ work. (Executables containing this object code plus portions of the
1017
+ Library will still fall under Section 6.)
1018
+
1019
+ Otherwise, if the work is a derivative of the Library, you may
1020
+ distribute the object code for the work under the terms of Section 6.
1021
+ Any executables containing that work also fall under Section 6,
1022
+ whether or not they are linked directly with the Library itself.
1023
+
1024
+ 6. As an exception to the Sections above, you may also combine or
1025
+ link a "work that uses the Library" with the Library to produce a
1026
+ work containing portions of the Library, and distribute that work
1027
+ under terms of your choice, provided that the terms permit
1028
+ modification of the work for the customer's own use and reverse
1029
+ engineering for debugging such modifications.
1030
+
1031
+ You must give prominent notice with each copy of the work that the
1032
+ Library is used in it and that the Library and its use are covered by
1033
+ this License. You must supply a copy of this License. If the work
1034
+ during execution displays copyright notices, you must include the
1035
+ copyright notice for the Library among them, as well as a reference
1036
+ directing the user to the copy of this License. Also, you must do one
1037
+ of these things:
1038
+
1039
+ a) Accompany the work with the complete corresponding
1040
+ machine-readable source code for the Library including whatever
1041
+ changes were used in the work (which must be distributed under
1042
+ Sections 1 and 2 above); and, if the work is an executable linked
1043
+ with the Library, with the complete machine-readable "work that
1044
+ uses the Library", as object code and/or source code, so that the
1045
+ user can modify the Library and then relink to produce a modified
1046
+ executable containing the modified Library. (It is understood
1047
+ that the user who changes the contents of definitions files in the
1048
+ Library will not necessarily be able to recompile the application
1049
+ to use the modified definitions.)
1050
+
1051
+ b) Use a suitable shared library mechanism for linking with the
1052
+ Library. A suitable mechanism is one that (1) uses at run time a
1053
+ copy of the library already present on the user's computer system,
1054
+ rather than copying library functions into the executable, and (2)
1055
+ will operate properly with a modified version of the library, if
1056
+ the user installs one, as long as the modified version is
1057
+ interface-compatible with the version that the work was made with.
1058
+
1059
+ c) Accompany the work with a written offer, valid for at
1060
+ least three years, to give the same user the materials
1061
+ specified in Subsection 6a, above, for a charge no more
1062
+ than the cost of performing this distribution.
1063
+
1064
+ d) If distribution of the work is made by offering access to copy
1065
+ from a designated place, offer equivalent access to copy the above
1066
+ specified materials from the same place.
1067
+
1068
+ e) Verify that the user has already received a copy of these
1069
+ materials or that you have already sent this user a copy.
1070
+
1071
+ For an executable, the required form of the "work that uses the
1072
+ Library" must include any data and utility programs needed for
1073
+ reproducing the executable from it. However, as a special exception,
1074
+ the materials to be distributed need not include anything that is
1075
+ normally distributed (in either source or binary form) with the major
1076
+ components (compiler, kernel, and so on) of the operating system on
1077
+ which the executable runs, unless that component itself accompanies
1078
+ the executable.
1079
+
1080
+ It may happen that this requirement contradicts the license
1081
+ restrictions of other proprietary libraries that do not normally
1082
+ accompany the operating system. Such a contradiction means you cannot
1083
+ use both them and the Library together in an executable that you
1084
+ distribute.
1085
+
1086
+ 7. You may place library facilities that are a work based on the
1087
+ Library side-by-side in a single library together with other library
1088
+ facilities not covered by this License, and distribute such a combined
1089
+ library, provided that the separate distribution of the work based on
1090
+ the Library and of the other library facilities is otherwise
1091
+ permitted, and provided that you do these two things:
1092
+
1093
+ a) Accompany the combined library with a copy of the same work
1094
+ based on the Library, uncombined with any other library
1095
+ facilities. This must be distributed under the terms of the
1096
+ Sections above.
1097
+
1098
+ b) Give prominent notice with the combined library of the fact
1099
+ that part of it is a work based on the Library, and explaining
1100
+ where to find the accompanying uncombined form of the same work.
1101
+
1102
+ 8. You may not copy, modify, sublicense, link with, or distribute
1103
+ the Library except as expressly provided under this License. Any
1104
+ attempt otherwise to copy, modify, sublicense, link with, or
1105
+ distribute the Library is void, and will automatically terminate your
1106
+ rights under this License. However, parties who have received copies,
1107
+ or rights, from you under this License will not have their licenses
1108
+ terminated so long as such parties remain in full compliance.
1109
+
1110
+ 9. You are not required to accept this License, since you have not
1111
+ signed it. However, nothing else grants you permission to modify or
1112
+ distribute the Library or its derivative works. These actions are
1113
+ prohibited by law if you do not accept this License. Therefore, by
1114
+ modifying or distributing the Library (or any work based on the
1115
+ Library), you indicate your acceptance of this License to do so, and
1116
+ all its terms and conditions for copying, distributing or modifying
1117
+ the Library or works based on it.
1118
+
1119
+ 10. Each time you redistribute the Library (or any work based on the
1120
+ Library), the recipient automatically receives a license from the
1121
+ original licensor to copy, distribute, link with or modify the Library
1122
+ subject to these terms and conditions. You may not impose any further
1123
+ restrictions on the recipients' exercise of the rights granted herein.
1124
+ You are not responsible for enforcing compliance by third parties with
1125
+ this License.
1126
+
1127
+ 11. If, as a consequence of a court judgment or allegation of patent
1128
+ infringement or for any other reason (not limited to patent issues),
1129
+ conditions are imposed on you (whether by court order, agreement or
1130
+ otherwise) that contradict the conditions of this License, they do not
1131
+ excuse you from the conditions of this License. If you cannot
1132
+ distribute so as to satisfy simultaneously your obligations under this
1133
+ License and any other pertinent obligations, then as a consequence you
1134
+ may not distribute the Library at all. For example, if a patent
1135
+ license would not permit royalty-free redistribution of the Library by
1136
+ all those who receive copies directly or indirectly through you, then
1137
+ the only way you could satisfy both it and this License would be to
1138
+ refrain entirely from distribution of the Library.
1139
+
1140
+ If any portion of this section is held invalid or unenforceable under any
1141
+ particular circumstance, the balance of the section is intended to apply,
1142
+ and the section as a whole is intended to apply in other circumstances.
1143
+
1144
+ It is not the purpose of this section to induce you to infringe any
1145
+ patents or other property right claims or to contest validity of any
1146
+ such claims; this section has the sole purpose of protecting the
1147
+ integrity of the free software distribution system which is
1148
+ implemented by public license practices. Many people have made
1149
+ generous contributions to the wide range of software distributed
1150
+ through that system in reliance on consistent application of that
1151
+ system; it is up to the author/donor to decide if he or she is willing
1152
+ to distribute software through any other system and a licensee cannot
1153
+ impose that choice.
1154
+
1155
+ This section is intended to make thoroughly clear what is believed to
1156
+ be a consequence of the rest of this License.
1157
+
1158
+ 12. If the distribution and/or use of the Library is restricted in
1159
+ certain countries either by patents or by copyrighted interfaces, the
1160
+ original copyright holder who places the Library under this License may add
1161
+ an explicit geographical distribution limitation excluding those countries,
1162
+ so that distribution is permitted only in or among countries not thus
1163
+ excluded. In such case, this License incorporates the limitation as if
1164
+ written in the body of this License.
1165
+
1166
+ 13. The Free Software Foundation may publish revised and/or new
1167
+ versions of the Lesser General Public License from time to time.
1168
+ Such new versions will be similar in spirit to the present version,
1169
+ but may differ in detail to address new problems or concerns.
1170
+
1171
+ Each version is given a distinguishing version number. If the Library
1172
+ specifies a version number of this License which applies to it and
1173
+ "any later version", you have the option of following the terms and
1174
+ conditions either of that version or of any later version published by
1175
+ the Free Software Foundation. If the Library does not specify a
1176
+ license version number, you may choose any version ever published by
1177
+ the Free Software Foundation.
1178
+
1179
+ 14. If you wish to incorporate parts of the Library into other free
1180
+ programs whose distribution conditions are incompatible with these,
1181
+ write to the author to ask for permission. For software which is
1182
+ copyrighted by the Free Software Foundation, write to the Free
1183
+ Software Foundation; we sometimes make exceptions for this. Our
1184
+ decision will be guided by the two goals of preserving the free status
1185
+ of all derivatives of our free software and of promoting the sharing
1186
+ and reuse of software generally.
1187
+
1188
+ NO WARRANTY
1189
+
1190
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1191
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1192
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1193
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1194
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1195
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1196
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1197
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1198
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1199
+
1200
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1201
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1202
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1203
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1204
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1205
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1206
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1207
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1208
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1209
+ DAMAGES.
1210
+
1211
+ END OF TERMS AND CONDITIONS
1212
+
1213
+ How to Apply These Terms to Your New Libraries
1214
+
1215
+ If you develop a new library, and you want it to be of the greatest
1216
+ possible use to the public, we recommend making it free software that
1217
+ everyone can redistribute and change. You can do so by permitting
1218
+ redistribution under these terms (or, alternatively, under the terms of the
1219
+ ordinary General Public License).
1220
+
1221
+ To apply these terms, attach the following notices to the library. It is
1222
+ safest to attach them to the start of each source file to most effectively
1223
+ convey the exclusion of warranty; and each file should have at least the
1224
+ "copyright" line and a pointer to where the full notice is found.
1225
+
1226
+ <one line to give the library's name and a brief idea of what it does.>
1227
+ Copyright (C) <year> <name of author>
1228
+
1229
+ This library is free software; you can redistribute it and/or
1230
+ modify it under the terms of the GNU Lesser General Public
1231
+ License as published by the Free Software Foundation; either
1232
+ version 2.1 of the License, or (at your option) any later version.
1233
+
1234
+ This library is distributed in the hope that it will be useful,
1235
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1236
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1237
+ Lesser General Public License for more details.
1238
+
1239
+ You should have received a copy of the GNU Lesser General Public
1240
+ License along with this library; if not, write to the Free Software
1241
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1242
+
1243
+ Also add information on how to contact you by electronic and paper mail.
1244
+
1245
+ You should also get your employer (if you work as a programmer) or your
1246
+ school, if any, to sign a "copyright disclaimer" for the library, if
1247
+ necessary. Here is a sample; alter the names:
1248
+
1249
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
1250
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1251
+
1252
+ <signature of Ty Coon>, 1 April 1990
1253
+ Ty Coon, President of Vice
1254
+
1255
+ That's all there is to it!
1256
+
1257
+ ===========================================================================
1258
+
1259
+ To the extent any open source components are licensed under the
1260
+ GPL and/or LGPL, or other similar licenses that require the
1261
+ source code and/or modifications to source code to be made
1262
+ available (as would be noted above), you may obtain a copy of
1263
+ the source code corresponding to the binaries for such open
1264
+ source components and modifications thereto, if any, (the
1265
+ "Source Files"), by downloading the Source Files from VMware's website at
1266
+ http://www.vmware.com/download/open_source.html, or by sending a request, with
1267
+ your name and address to: VMware, Inc., 3401 Hillview Avenue,
1268
+ Palo Alto, CA 94304,United States of America. All such
1269
+ requests should clearly specify: OPEN SOURCE FILES REQUEST,
1270
+ Attention General Counsel. VMware shall mail a copy of the
1271
+ Source Files to you on a CD or equivalent physical medium. This
1272
+ offer to obtain a copy of the Source Files is valid for three
1273
+ years from the date you acquired this Software product. Alternatively,
1274
+ the Source Files may accompany the VMware product.
1275
+
1276
+
1277
+ [CFCF09012012NV121912]