Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

434 lines
20KB

  1. Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  2. Upstream-Name: Composer
  3. Upstream-Contact: Jordi Boggiano <j.boggiano@seld.be>
  4. Source: https://github.com/composer/composer
  5. Files: *
  6. Copyright: 2016, Nils Adermann <naderman@naderman.de>
  7. 2016, Jordi Boggiano <j.boggiano@seld.be>
  8. License: Expat
  9. Files: res/cacert.pem
  10. Copyright: 2015, Mozilla Foundation
  11. License: MPL-2.0
  12. Files: src/Composer/Util/RemoteFilesystem.php
  13. src/Composer/Util/TlsHelper.php
  14. Copyright: 2016, Nils Adermann <naderman@naderman.de>
  15. 2016, Jordi Boggiano <j.boggiano@seld.be>
  16. 2013, Evan Coury <me@evancoury.com>
  17. License: Expat and BSD-2-Clause
  18. License: BSD-2-Clause
  19. Redistribution and use in source and binary forms, with or without modification,
  20. are permitted provided that the following conditions are met:
  21. .
  22. * Redistributions of source code must retain the above copyright notice,
  23. this list of conditions and the following disclaimer.
  24. .
  25. * Redistributions in binary form must reproduce the above copyright notice,
  26. this list of conditions and the following disclaimer in the documentation
  27. and/or other materials provided with the distribution.
  28. .
  29. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  30. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  31. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  32. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  33. ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  34. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  35. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  36. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  37. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  38. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  39. License: Expat
  40. Permission is hereby granted, free of charge, to any person obtaining a copy
  41. of this software and associated documentation files (the "Software"), to deal
  42. in the Software without restriction, including without limitation the rights
  43. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  44. copies of the Software, and to permit persons to whom the Software is furnished
  45. to do so, subject to the following conditions:
  46. .
  47. The above copyright notice and this permission notice shall be included in all
  48. copies or substantial portions of the Software.
  49. .
  50. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  51. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  52. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  53. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  54. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  55. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  56. THE SOFTWARE.
  57. License: MPL-2.0
  58. 1. Definitions
  59. --------------
  60. .
  61. 1.1. "Contributor"
  62. means each individual or legal entity that creates, contributes to
  63. the creation of, or owns Covered Software.
  64. .
  65. 1.2. "Contributor Version"
  66. means the combination of the Contributions of others (if any) used
  67. by a Contributor and that particular Contributor's Contribution.
  68. .
  69. 1.3. "Contribution"
  70. means Covered Software of a particular Contributor.
  71. .
  72. 1.4. "Covered Software"
  73. means Source Code Form to which the initial Contributor has attached
  74. the notice in Exhibit A, the Executable Form of such Source Code
  75. Form, and Modifications of such Source Code Form, in each case
  76. including portions thereof.
  77. .
  78. 1.5. "Incompatible With Secondary Licenses"
  79. means
  80. .
  81. (a) that the initial Contributor has attached the notice described
  82. in Exhibit B to the Covered Software; or
  83. .
  84. (b) that the Covered Software was made available under the terms of
  85. version 1.1 or earlier of the License, but not also under the
  86. terms of a Secondary License.
  87. .
  88. 1.6. "Executable Form"
  89. means any form of the work other than Source Code Form.
  90. .
  91. 1.7. "Larger Work"
  92. means a work that combines Covered Software with other material, in
  93. a separate file or files, that is not Covered Software.
  94. .
  95. 1.8. "License"
  96. means this document.
  97. .
  98. 1.9. "Licensable"
  99. means having the right to grant, to the maximum extent possible,
  100. whether at the time of the initial grant or subsequently, any and
  101. all of the rights conveyed by this License.
  102. .
  103. 1.10. "Modifications"
  104. means any of the following:
  105. .
  106. (a) any file in Source Code Form that results from an addition to,
  107. deletion from, or modification of the contents of Covered
  108. Software; or
  109. .
  110. (b) any new file in Source Code Form that contains any Covered
  111. Software.
  112. .
  113. 1.11. "Patent Claims" of a Contributor
  114. means any patent claim(s), including without limitation, method,
  115. process, and apparatus claims, in any patent Licensable by such
  116. Contributor that would be infringed, but for the grant of the
  117. License, by the making, using, selling, offering for sale, having
  118. made, import, or transfer of either its Contributions or its
  119. Contributor Version.
  120. .
  121. 1.12. "Secondary License"
  122. means either the GNU General Public License, Version 2.0, the GNU
  123. Lesser General Public License, Version 2.1, the GNU Affero General
  124. Public License, Version 3.0, or any later versions of those
  125. licenses.
  126. .
  127. 1.13. "Source Code Form"
  128. means the form of the work preferred for making modifications.
  129. .
  130. 1.14. "You" (or "Your")
  131. means an individual or a legal entity exercising rights under this
  132. License. For legal entities, "You" includes any entity that
  133. controls, is controlled by, or is under common control with You. For
  134. purposes of this definition, "control" means (a) the power, direct
  135. or indirect, to cause the direction or management of such entity,
  136. whether by contract or otherwise, or (b) ownership of more than
  137. fifty percent (50%) of the outstanding shares or beneficial
  138. ownership of such entity.
  139. .
  140. 2. License Grants and Conditions
  141. --------------------------------
  142. .
  143. 2.1. Grants
  144. .
  145. Each Contributor hereby grants You a world-wide, royalty-free,
  146. non-exclusive license:
  147. .
  148. (a) under intellectual property rights (other than patent or trademark)
  149. Licensable by such Contributor to use, reproduce, make available,
  150. modify, display, perform, distribute, and otherwise exploit its
  151. Contributions, either on an unmodified basis, with Modifications, or
  152. as part of a Larger Work; and
  153. .
  154. (b) under Patent Claims of such Contributor to make, use, sell, offer
  155. for sale, have made, import, and otherwise transfer either its
  156. Contributions or its Contributor Version.
  157. .
  158. 2.2. Effective Date
  159. .
  160. The licenses granted in Section 2.1 with respect to any Contribution
  161. become effective for each Contribution on the date the Contributor first
  162. distributes such Contribution.
  163. .
  164. 2.3. Limitations on Grant Scope
  165. .
  166. The licenses granted in this Section 2 are the only rights granted under
  167. this License. No additional rights or licenses will be implied from the
  168. distribution or licensing of Covered Software under this License.
  169. Notwithstanding Section 2.1(b) above, no patent license is granted by a
  170. Contributor:
  171. .
  172. (a) for any code that a Contributor has removed from Covered Software;
  173. or
  174. .
  175. (b) for infringements caused by: (i) Your and any other third party's
  176. modifications of Covered Software, or (ii) the combination of its
  177. Contributions with other software (except as part of its Contributor
  178. Version); or
  179. .
  180. (c) under Patent Claims infringed by Covered Software in the absence of
  181. its Contributions.
  182. .
  183. This License does not grant any rights in the trademarks, service marks,
  184. or logos of any Contributor (except as may be necessary to comply with
  185. the notice requirements in Section 3.4).
  186. .
  187. 2.4. Subsequent Licenses
  188. .
  189. No Contributor makes additional grants as a result of Your choice to
  190. distribute the Covered Software under a subsequent version of this
  191. License (see Section 10.2) or under the terms of a Secondary License (if
  192. permitted under the terms of Section 3.3).
  193. .
  194. 2.5. Representation
  195. .
  196. Each Contributor represents that the Contributor believes its
  197. Contributions are its original creation(s) or it has sufficient rights
  198. to grant the rights to its Contributions conveyed by this License.
  199. .
  200. 2.6. Fair Use
  201. .
  202. This License is not intended to limit any rights You have under
  203. applicable copyright doctrines of fair use, fair dealing, or other
  204. equivalents.
  205. .
  206. 2.7. Conditions
  207. .
  208. Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
  209. in Section 2.1.
  210. .
  211. 3. Responsibilities
  212. -------------------
  213. .
  214. 3.1. Distribution of Source Form
  215. .
  216. All distribution of Covered Software in Source Code Form, including any
  217. Modifications that You create or to which You contribute, must be under
  218. the terms of this License. You must inform recipients that the Source
  219. Code Form of the Covered Software is governed by the terms of this
  220. License, and how they can obtain a copy of this License. You may not
  221. attempt to alter or restrict the recipients' rights in the Source Code
  222. Form.
  223. .
  224. 3.2. Distribution of Executable Form
  225. .
  226. If You distribute Covered Software in Executable Form then:
  227. .
  228. (a) such Covered Software must also be made available in Source Code
  229. Form, as described in Section 3.1, and You must inform recipients of
  230. the Executable Form how they can obtain a copy of such Source Code
  231. Form by reasonable means in a timely manner, at a charge no more
  232. than the cost of distribution to the recipient; and
  233. .
  234. (b) You may distribute such Executable Form under the terms of this
  235. License, or sublicense it under different terms, provided that the
  236. license for the Executable Form does not attempt to limit or alter
  237. the recipients' rights in the Source Code Form under this License.
  238. .
  239. 3.3. Distribution of a Larger Work
  240. .
  241. You may create and distribute a Larger Work under terms of Your choice,
  242. provided that You also comply with the requirements of this License for
  243. the Covered Software. If the Larger Work is a combination of Covered
  244. Software with a work governed by one or more Secondary Licenses, and the
  245. Covered Software is not Incompatible With Secondary Licenses, this
  246. License permits You to additionally distribute such Covered Software
  247. under the terms of such Secondary License(s), so that the recipient of
  248. the Larger Work may, at their option, further distribute the Covered
  249. Software under the terms of either this License or such Secondary
  250. License(s).
  251. .
  252. 3.4. Notices
  253. .
  254. You may not remove or alter the substance of any license notices
  255. (including copyright notices, patent notices, disclaimers of warranty,
  256. or limitations of liability) contained within the Source Code Form of
  257. the Covered Software, except that You may alter any license notices to
  258. the extent required to remedy known factual inaccuracies.
  259. .
  260. 3.5. Application of Additional Terms
  261. .
  262. You may choose to offer, and to charge a fee for, warranty, support,
  263. indemnity or liability obligations to one or more recipients of Covered
  264. Software. However, You may do so only on Your own behalf, and not on
  265. behalf of any Contributor. You must make it absolutely clear that any
  266. such warranty, support, indemnity, or liability obligation is offered by
  267. You alone, and You hereby agree to indemnify every Contributor for any
  268. liability incurred by such Contributor as a result of warranty, support,
  269. indemnity or liability terms You offer. You may include additional
  270. disclaimers of warranty and limitations of liability specific to any
  271. jurisdiction.
  272. .
  273. 4. Inability to Comply Due to Statute or Regulation
  274. ---------------------------------------------------
  275. .
  276. If it is impossible for You to comply with any of the terms of this
  277. License with respect to some or all of the Covered Software due to
  278. statute, judicial order, or regulation then You must: (a) comply with
  279. the terms of this License to the maximum extent possible; and (b)
  280. describe the limitations and the code they affect. Such description must
  281. be placed in a text file included with all distributions of the Covered
  282. Software under this License. Except to the extent prohibited by statute
  283. or regulation, such description must be sufficiently detailed for a
  284. recipient of ordinary skill to be able to understand it.
  285. .
  286. 5. Termination
  287. --------------
  288. .
  289. 5.1. The rights granted under this License will terminate automatically
  290. if You fail to comply with any of its terms. However, if You become
  291. compliant, then the rights granted under this License from a particular
  292. Contributor are reinstated (a) provisionally, unless and until such
  293. Contributor explicitly and finally terminates Your grants, and (b) on an
  294. ongoing basis, if such Contributor fails to notify You of the
  295. non-compliance by some reasonable means prior to 60 days after You have
  296. come back into compliance. Moreover, Your grants from a particular
  297. Contributor are reinstated on an ongoing basis if such Contributor
  298. notifies You of the non-compliance by some reasonable means, this is the
  299. first time You have received notice of non-compliance with this License
  300. from such Contributor, and You become compliant prior to 30 days after
  301. Your receipt of the notice.
  302. .
  303. 5.2. If You initiate litigation against any entity by asserting a patent
  304. infringement claim (excluding declaratory judgment actions,
  305. counter-claims, and cross-claims) alleging that a Contributor Version
  306. directly or indirectly infringes any patent, then the rights granted to
  307. You by any and all Contributors for the Covered Software under Section
  308. 2.1 of this License shall terminate.
  309. .
  310. 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
  311. end user license agreements (excluding distributors and resellers) which
  312. have been validly granted by You or Your distributors under this License
  313. prior to termination shall survive termination.
  314. .
  315. ************************************************************************
  316. * *
  317. * 6. Disclaimer of Warranty *
  318. * ------------------------- *
  319. * *
  320. * Covered Software is provided under this License on an "as is" *
  321. * basis, without warranty of any kind, either expressed, implied, or *
  322. * statutory, including, without limitation, warranties that the *
  323. * Covered Software is free of defects, merchantable, fit for a *
  324. * particular purpose or non-infringing. The entire risk as to the *
  325. * quality and performance of the Covered Software is with You. *
  326. * Should any Covered Software prove defective in any respect, You *
  327. * (not any Contributor) assume the cost of any necessary servicing, *
  328. * repair, or correction. This disclaimer of warranty constitutes an *
  329. * essential part of this License. No use of any Covered Software is *
  330. * authorized under this License except under this disclaimer. *
  331. * *
  332. ************************************************************************
  333. .
  334. ************************************************************************
  335. * *
  336. * 7. Limitation of Liability *
  337. * -------------------------- *
  338. * *
  339. * Under no circumstances and under no legal theory, whether tort *
  340. * (including negligence), contract, or otherwise, shall any *
  341. * Contributor, or anyone who distributes Covered Software as *
  342. * permitted above, be liable to You for any direct, indirect, *
  343. * special, incidental, or consequential damages of any character *
  344. * including, without limitation, damages for lost profits, loss of *
  345. * goodwill, work stoppage, computer failure or malfunction, or any *
  346. * and all other commercial damages or losses, even if such party *
  347. * shall have been informed of the possibility of such damages. This *
  348. * limitation of liability shall not apply to liability for death or *
  349. * personal injury resulting from such party's negligence to the *
  350. * extent applicable law prohibits such limitation. Some *
  351. * jurisdictions do not allow the exclusion or limitation of *
  352. * incidental or consequential damages, so this exclusion and *
  353. * limitation may not apply to You. *
  354. * *
  355. ************************************************************************
  356. .
  357. 8. Litigation
  358. -------------
  359. .
  360. Any litigation relating to this License may be brought only in the
  361. courts of a jurisdiction where the defendant maintains its principal
  362. place of business and such litigation shall be governed by laws of that
  363. jurisdiction, without reference to its conflict-of-law provisions.
  364. Nothing in this Section shall prevent a party's ability to bring
  365. cross-claims or counter-claims.
  366. .
  367. 9. Miscellaneous
  368. ----------------
  369. .
  370. This License represents the complete agreement concerning the subject
  371. matter hereof. If any provision of this License is held to be
  372. unenforceable, such provision shall be reformed only to the extent
  373. necessary to make it enforceable. Any law or regulation which provides
  374. that the language of a contract shall be construed against the drafter
  375. shall not be used to construe this License against a Contributor.
  376. .
  377. 10. Versions of the License
  378. ---------------------------
  379. .
  380. 10.1. New Versions
  381. .
  382. Mozilla Foundation is the license steward. Except as provided in Section
  383. 10.3, no one other than the license steward has the right to modify or
  384. publish new versions of this License. Each version will be given a
  385. distinguishing version number.
  386. .
  387. 10.2. Effect of New Versions
  388. .
  389. You may distribute the Covered Software under the terms of the version
  390. of the License under which You originally received the Covered Software,
  391. or under the terms of any subsequent version published by the license
  392. steward.
  393. .
  394. 10.3. Modified Versions
  395. .
  396. If you create software not governed by this License, and you want to
  397. create a new license for such software, you may create and use a
  398. modified version of this License if you rename the license and remove
  399. any references to the name of the license steward (except to note that
  400. such modified license differs from this License).
  401. .
  402. 10.4. Distributing Source Code Form that is Incompatible With Secondary
  403. Licenses
  404. .
  405. If You choose to distribute Source Code Form that is Incompatible With
  406. Secondary Licenses under the terms of this version of the License, the
  407. notice described in Exhibit B of this License must be attached.
  408. .
  409. Exhibit A - Source Code Form License Notice
  410. -------------------------------------------
  411. .
  412. This Source Code Form is subject to the terms of the Mozilla Public
  413. License, v. 2.0. If a copy of the MPL was not distributed with this
  414. file, You can obtain one at http://mozilla.org/MPL/2.0/.
  415. .
  416. If it is not possible or desirable to put the notice in a particular
  417. file, then You may include the notice in a location (such as a LICENSE
  418. file in a relevant directory) where a recipient would be likely to look
  419. for such a notice.
  420. .
  421. You may add additional accurate notices of copyright ownership.
  422. .
  423. Exhibit B - "Incompatible With Secondary Licenses" Notice
  424. ---------------------------------------------------------
  425. .
  426. This Source Code Form is "Incompatible With Secondary Licenses", as
  427. defined by the Mozilla Public License, v. 2.0.