Fix Auto-Test for messages.po
[friendica-addons.git/.git] / phpmailer / LICENSE
1 Copyright (c) 2010-2019 the Friendica Project
2
3         This program is free software: you can redistribute it and/or modify
4     it under the terms of the GNU Affero General Public License as published by
5     the Free Software Foundation, either version 3 of the License, or
6     (at your option) any later version.
7
8     This program is distributed in the hope that it will be useful,
9     but WITHOUT ANY WARRANTY; without even the implied warranty of
10     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11     GNU Affero General Public License for more details.
12
13     You should have received a copy of the GNU Affero General Public License
14     along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
16                     GNU AFFERO GENERAL PUBLIC LICENSE
17                        Version 3, 19 November 2007
18
19  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
20  Everyone is permitted to copy and distribute verbatim copies
21  of this license document, but changing it is not allowed.
22
23                             Preamble
24
25   The GNU Affero General Public License is a free, copyleft license for
26 software and other kinds of works, specifically designed to ensure
27 cooperation with the community in the case of network server software.
28
29   The licenses for most software and other practical works are designed
30 to take away your freedom to share and change the works.  By contrast,
31 our General Public Licenses are intended to guarantee your freedom to
32 share and change all versions of a program--to make sure it remains free
33 software for all its users.
34
35   When we speak of free software, we are referring to freedom, not
36 price.  Our General Public Licenses are designed to make sure that you
37 have the freedom to distribute copies of free software (and charge for
38 them if you wish), that you receive source code or can get it if you
39 want it, that you can change the software or use pieces of it in new
40 free programs, and that you know you can do these things.
41
42   Developers that use our General Public Licenses protect your rights
43 with two steps: (1) assert copyright on the software, and (2) offer
44 you this License which gives you legal permission to copy, distribute
45 and/or modify the software.
46
47   A secondary benefit of defending all users' freedom is that
48 improvements made in alternate versions of the program, if they
49 receive widespread use, become available for other developers to
50 incorporate.  Many developers of free software are heartened and
51 encouraged by the resulting cooperation.  However, in the case of
52 software used on network servers, this result may fail to come about.
53 The GNU General Public License permits making a modified version and
54 letting the public access it on a server without ever releasing its
55 source code to the public.
56
57   The GNU Affero General Public License is designed specifically to
58 ensure that, in such cases, the modified source code becomes available
59 to the community.  It requires the operator of a network server to
60 provide the source code of the modified version running there to the
61 users of that server.  Therefore, public use of a modified version, on
62 a publicly accessible server, gives the public access to the source
63 code of the modified version.
64
65   An older license, called the Affero General Public License and
66 published by Affero, was designed to accomplish similar goals.  This is
67 a different license, not a version of the Affero GPL, but Affero has
68 released a new version of the Affero GPL which permits relicensing under
69 this license.
70
71   The precise terms and conditions for copying, distribution and
72 modification follow.
73
74                        TERMS AND CONDITIONS
75
76   0. Definitions.
77
78   "This License" refers to version 3 of the GNU Affero General Public License.
79
80   "Copyright" also means copyright-like laws that apply to other kinds of
81 works, such as semiconductor masks.
82
83   "The Program" refers to any copyrightable work licensed under this
84 License.  Each licensee is addressed as "you".  "Licensees" and
85 "recipients" may be individuals or organizations.
86
87   To "modify" a work means to copy from or adapt all or part of the work
88 in a fashion requiring copyright permission, other than the making of an
89 exact copy.  The resulting work is called a "modified version" of the
90 earlier work or a work "based on" the earlier work.
91
92   A "covered work" means either the unmodified Program or a work based
93 on the Program.
94
95   To "propagate" a work means to do anything with it that, without
96 permission, would make you directly or secondarily liable for
97 infringement under applicable copyright law, except executing it on a
98 computer or modifying a private copy.  Propagation includes copying,
99 distribution (with or without modification), making available to the
100 public, and in some countries other activities as well.
101
102   To "convey" a wok means any kind of propagation that enables other
103 parties to make or receive copies.  Mere interaction with a user through
104 a computer network, with no transfer of a copy, is not conveying.
105
106   An interactive user interface displays "Appropriate Legal Notices"
107 to the extent that it includes a convenient and prominently visible
108 feature that (1) displays an appropriate copyright notice, and (2)
109 tells the user that there is no warranty for the work (except to the
110 extent that warranties are provided), that licensees may convey the
111 work under this License, and how to view a copy of this License.  If
112 the interface presents a list of user commands or options, such as a
113 menu, a prominent item in the list meets this criterion.
114
115   1. Source Code.
116
117   The "source code" for a work means the preferred form of the work
118 for making modifications to it.  "Object code" means any non-source
119 form of a work.
120
121   A "Standard Interface" means an interface that either is an official
122 standard defined by a recognized standards body, or, in the case of
123 interfaces specified for a particular programming language, one that
124 is widely used among developers working in that language.
125
126   The "System Libraries" of an executable work include anything, other
127 than the work as a whole, that (a) is included in the normal form of
128 packaging a Major Component, but which is not part of that Major
129 Component, and (b) serves only to enable use of the work with that
130 Major Component, or to implement a Standard Interface for which an
131 implementation is available to the public in source code form.  A
132 "Major Component", in this context, means a major essential component
133 (kernel, window system, and so on) of the specific operating system
134 (if any) on which the executable work runs, or a compiler used to
135 produce the work, or an object code interpreter used to run it.
136
137   The "Corresponding Source" for a work in object code form means all
138 the source code needed to generate, install, and (for an executable
139 work) run the object code and to modify the work, including scripts to
140 control those activities.  However, it does not include the work's
141 System Libraries, or general-purpose tools or generally available free
142 programs which are used unmodified in performing those activities but
143 which are not part of the work.  For example, Corresponding Source
144 includes interface definition files associated with source files for
145 the work, and the source code for shared libraries and dynamically
146 linked subprograms that the work is specifically designed to require,
147 such as by intimate data communication or control flow between those
148 subprograms and other parts of the work.
149
150   The Corresponding Source need not include anything that users
151 can regenerate automatically from other parts of the Corresponding
152 Source.
153
154   The Corresponding Source for a work in source code form is that
155 same work.
156
157   2. Basic Permissions.
158
159   All rights granted under this License are granted for the term of
160 copyright on the Program, and are irrevocable provided the stated
161 conditions are met.  This License explicitly affirms your unlimited
162 permission to run the unmodified Program.  The output from running a
163 covered work is covered by this License only if the output, given its
164 content, constitutes a covered work.  This License acknowledges your
165 rights of fair use or other equivalent, as provided by copyright law.
166
167   You may make, run and propagate covered works that you do not
168 convey, without conditions so long as your license otherwise remains
169 in force.  You may convey covered works to others for the sole purpose
170 of having them make modifications exclusively for you, or provide you
171 with facilities for running those works, provided that you comply with
172 the terms of this License in conveying all material for which you do
173 not control copyright.  Those thus making or running the covered works
174 for you must do so exclusively on your behalf, under your direction
175 and control, on terms that prohibit them from making any copies of
176 your copyrighted material outside their relationship with you.
177
178   Conveying under any other circumstances is permitted solely under
179 the conditions stated below.  Sublicensing is not allowed; section 10
180 makes it unnecessary.
181
182   3. Protecting Users' Legal Rights From Anti-Circumvention Law.
183
184   No covered work shall be deemed part of an effective technological
185 measure under any applicable law fulfilling obligations under article
186 11 of the WIPO copyright treaty adopted on 20 December 1996, or
187 similar laws prohibiting or restricting circumvention of such
188 measures.
189
190   When you convey a covered work, you waive any legal power to forbid
191 circumvention of technological measures to the extent such circumvention
192 is effected by exercising rights under this License with respect to
193 the covered work, and you disclaim any intention to limit operation or
194 modification of the work as a means of enforcing, against the work's
195 users, your or third parties' legal rights to forbid circumvention of
196 technological measures.
197
198   4. Conveying Verbatim Copies.
199
200   You may convey verbatim copies of the Program's source code as you
201 receive it, in any medium, provided that you conspicuously and
202 appropriately publish on each copy an appropriate copyright notice;
203 keep intact all notices stating that this License and any
204 non-permissive terms added in accord with section 7 apply to the code;
205 keep intact all notices of the absence of any warranty; and give all
206 recipients a copy of this License along with t
207     long as you offer spare parts or customer support for that product
208     model, to give anyone who possesses the object code either (1) a
209     copy of the Corresponding Source for all the software in the
210     product that is covered by this License, on a durable physical
211     medium customarily used for software interchange, for a price no
212     more than your reasonable cost of physically performing this
213     conveying of source, or (2) access to copy the
214     Corresponding Source from a network server at no charge.
215
216     c) Convey individual copies of the object code with a copy of the
217     written offer to provide the Corresponding Source.  This
218     alternative is allowed only occasionally and noncommercially, and
219     only if you received the object code with such an offer, in accord
220     with subsection 6b.
221
222     d) Convey the object code by offering access from a designated
223     place (gratis or for a charge), and offer equivalent access to the
224     Corresponding Source in the same way through the same place at no
225     further charge.  You need not require recipients to copy the
226     Corresponding Source along with the object code.  If the place to
227     copy the object code is a network server, the Corresponding Source
228     may be on a different server (operated by you or a third party)
229     that supports equivalent copying facilities, provided you maintain
230     clear directions next to the object code saying where to find the
231     Corresponding Source.  Regardless of what server hosts the
232     Corresponding Source, you remain obligated to ensure that it is
233     available for as long as needed to satisfy these requirements.
234
235     e) Convey the object code using peer-to-peer transmission, provided
236     you inform other peers where the object code and Corresponding
237     Source of the work are being offered to the general public at no
238     charge under subsection 6d.
239
240   A separable portion of the object code, whose source code is excluded
241 from the Corresponding Source as a System Library, need not be
242 included in conveying the object code work.
243
244   A "User Product" is either (1) a "consumer product", which means any
245 tangible personal property which is normally used for personal, family,
246 or household purposes, or (2) anything designed or sold for incorporation
247 into a dwelling.  In determining whether a product is a consumer product,
248 doubtful cases shall be resolved in favor of coverage.  For a particular
249 product received by a particular user, "normally used" refers to a
250 typical or common use of that class of product, regardless of the status
251 of the particular user or of the way in which the particular user
252 actually uses, or expects or is expected to use, the product.  A product
253 is a consumer product regardless of whether the product has substantial
254 commercial, industrial or non-consumer uses, unless such uses represent
255 the only significant mode of use of the product.
256
257   "Installation Information" for a User Product means any methods,
258 procedures, authorization keys, or other information required to install
259 and execute modified versions of a covered work in that User Product from
260 a modified version of its Corresponding Source.  The information must
261 suffice to ensure that the continued functioning of the modified object
262 code is in no case prevented or interfered with solely because
263 modification has been made.
264
265   If you convey an object code work under this section in, or with, or
266 specifically for use in, a User Product, and the conveying occurs as
267 part of a transaction in which the right of possession and use of the
268 User Product is transferred to the recipient in perpetuity or for a
269 fixed term (regardless of how the transaction is characterized), the
270 Corresponding Source conveyed under this section must be accompanied
271 by the Installation Information.  But this requirement does not apply
272 if neither you nor any third party retains the ability to install
273 modified object code on the User Product (for example, the work has
274 been installed in ROM).
275
276   The requirement to provide Installation Information does not include a
277 requirement to continue to provide support service, warranty, or updates
278 for a work that has been modified or installed by the recipient, or for
279 the User Product in which it has been modified or installed.  Access to a
280 network may be denied when the modification itself materially and
281 adversely affects the operation of the network or violates the rules and
282 protocols for communication across the network.
283
284   Corresponding Source conveyed, and Installation Information provided,
285 in accord with this section must be in a format that is publicly
286 documented (and with an implementation available to the public in
287 source code form), and must require no special password or key for
288 unpacking, reading or copying.
289
290   7. Additional Terms.
291
292   "Additional permissions" are terms that supplement the terms of this
293 License by making exceptions from one or more of its conditions.
294 Additional permissions that are applicable to the entire Program shall
295 be treated as though they were included in this License, to the extent
296 that they are valid under applicable law.  If additional permissions
297 apply only to part of the Program, that part may be used separately
298 under those permissions, but the entire Program remains governed by
299 this License without regard to the additional permissions.
300
301   When you convey a copy of a covered work, you may at your option
302 remove any additional permissions from that copy, or from any part of
303 it.  (Additional permissions may be written to require their own
304 removal in certain cases when you modify the work.)  You may place
305 additional permissions on material, added by you to a covered work,
306 for which you have or can give appropriate copyright permission.
307
308   Notwithstanding any other provision of this License, for material you
309 add to a covered work, you may (if authorized by the copyright holders of
310 that material) supplement the terms of this License with terms:
311
312     a) Disclaiming warranty or limiting liability differently from the
313     terms of sections 15 and 16 of this License; or
314
315     b) Requiring preservation of specified reasonable legal notices or
316     author attributions in that material or in the Appropriate Legal
317     Notices displayed by works containing it; or
318
319     c) Prohibiting misrepresentation of the origin of that material, or
320     requiring that modified versions of such material be marked in
321     reasonable ways as different from the original version; or
322
323     d) Limiting the use for publicity purposes of names of licensors or
324     authors of the material; or
325
326     e) Declining to grant rights under trademark law for use of some
327     trade names, trademarks, or service marks; or
328
329     f) Requiring indemnification of licensors and authors of that
330     material by anyone who conveys the material (or modified versions of
331     it) with contractual assumptions of liability to the recipient, for
332     any liability that these contractual assumptions directly impose on
333     those licensors and authors.
334
335   All other non-permissive additional terms are considered "further
336 restrictions" within the meaning of section 10.  If the Program as you
337 received it, or any part of it, contains a notice stating that it is
338 governed by this License along with a term that is a further
339 restriction, you may remove that term.  If a license document contains
340 a further restriction but permits relicensing or conveying under this
341 License, you may add to a covered work material governed by the terms
342 of that license document, provided that the further restriction does
343 not survive such relicensing or conveying.
344
345   If you add terms to a covered work in accord with this section, you
346 must place, in the relevant source files, a statement of the
347 additional terms that apply to those files, or a notice indicating
348 where to find the applicable terms.
349
350   Additional terms, permissive or non-permissive, may be stated in the
351 form of a separately written license, or stated as exceptions;
352 the above requirements apply either way.
353
354   8. Termination.
355
356   You may not propagate or modify a covered work except as expressly
357 provided under this License.  Any attempt otherwise to propagate or
358 modify it is void, and will automatically terminate your rights under
359 this License (including any patent licenses granted under the third
360 paragraph of section 11).
361
362   However, if you cease all violation of this License, then your
363 license from a particular copyright holder is reinstated (a)
364 provisionally, unless and until the copyright holder explicitly and
365 finally terminates your license, and (b) permanently, if the copyright
366 holder fails to notify you of the violation by some reasonable means
367 prior to 60 days after the cessation.
368
369   Moreover, your license from a particular copyright holder is
370 reinstated permanently if the copyright holder notifies you of the
371 violation by some reasonable means, this is the first time you have
372 received notice of violation of this License (for any work) from that
373 copyright holder, and you cure the violation prior to 30 days after
374 your receipt of the notice.
375
376   Termination of your rights under this section does not terminate the
377 licenses of parties who have received copies or rights from you under
378 this License.  If your rights have been terminated and not permanently
379 reinstated, you do not qualify to receive new licenses for the same
380 material under section 10.
381
382   9. Acceptance Not Required for Having Copies.
383
384   You are not required to accept this License in order to receive or
385 run a copy of the Program.  Ancillary propagation of a covered work
386 occurring solely as a consequence of using peer-to-peer transmission
387 to receive a copy likewise does not require acceptance.  However,
388 nothing other than this License grants you permission to propagate or
389 modify any covered work.  These actions infringe copyright if you do
390 not accept this License.  Therefore, by modifying or propagating a
391 covered work, you indicate your acceptance of this License to do so.
392
393   10. Automatic Licensing of Downstream Recipients.
394
395   E to
396 make, use, sell, offer for sale, import and otherwise run, modify and
397 propagate the contents of its contributor version.
398
399   In the following three paragraphs, a "patent license" is any express
400 agreement or commitment, however denominated, not to enforce a patent
401 (such as an express permission to practice a patent or covenant not to
402 sue for patent infringement).  To "grant" such a patent license to a
403 party means to make such an agreement or commitment not to enforce a
404 patent against the party.
405
406   If you convey a covered work, knowingly relying on a patent license,
407 and the Corresponding Source of the work is not available for anyone
408 to copy, free of charge and under the terms of this License, through a
409 publicly available network server or other readily accessible means,
410 then you must either (1) cause the Corresponding Source to be so
411 available, or (2) arrange to deprive yourself of the benefit of the
412 patent license for this particular work, or (3) arrange, in a manner
413 consistent with the requirements of this License, to extend the patent
414 license to downstream recipients.  "Knowingly relying" means you have
415 actual knowledge that, but for the patent license, your conveying the
416 covered work in a country, or your recipient's use of the covered work
417 in a country, would infringe one or more identifiable patents in that
418 country that you have reason to believe are valid.
419
420   If, pursuant to or in connection with a single transaction or
421 arrangement, you convey, or propagate by procuring conveyance of, a
422 covered work, and grant a patent license to some of the parties
423 receiving the covered work authorizing them to use, propagate, modify
424 or convey a specific copy of the covered work, then the patent license
425 you grant is automatically extended to all recipients of the covered
426 work and works based on it.
427
428   A patent license is "discriminatory" if it does not include within
429 the scope of its coverage, prohibits the exercise of, or is
430 conditioned on the non-exercise of one or more of the rights that are
431 specifically granted under this License.  You may not convey a covered
432 work if you are a party to an arrangement with a third party that is
433 in the business of distributing software, under which you make payment
434 to the third party based on the extent of your activity of conveying
435 the work, and under which the third party grants, to any of the
436 parties who would receive the covered work from you, a discriminatory
437 patent license (a) in connection with copies of the covered work
438 conveyed by you (or copies made from those copies), or (b) primarily
439 for and in connection with specific products or compilations that
440 contain the covered work, unless you entered into that arrangement,
441 or that patent license was granted, prior to 28 March 2007.
442
443   Nothing in this License shall be construed as excluding or limiting
444 any implied license or other defenses to infringement that may
445 otherwise be available to you under applicable patent law.
446
447   12. No Surrender of Others' Freedom.
448
449   If conditions are imposed on you (whether by court order, agreement or
450 otherwise) that contradict the conditions of this License, they do not
451 excuse you from the conditions of this License.  If you cannot convey a
452 covered work so as to satisfy simultaneously your obligations under this
453 License and any other pertinent obligations, then as a consequence you may
454 not convey it at all.  For example, if you agree to terms that obligate you
455 to collect a royalty for further conveying from those to whom you convey
456 the Program, the only way you could satisfy both those terms and this
457 License would be to refrain entirely from conveying the Program.
458
459   13. Remote Network Interaction; Use with the GNU General Public License.
460
461   Notwithstanding any other provision of this License, if you modify the
462 Program, your modified version must prominently offer all users
463 interacting with it remotely through a computer network (if your version
464 supports such interaction) an opportunity to receive the Corresponding
465 Source of your version by providing access to the Corresponding Source
466 from a network server at no charge, through some standard or customary
467 means of facilitating copying of software.  This Corresponding Source
468 shall include the Corresponding Source for any work covered by version 3
469 of the GNU General Public License that is incorporated pursuant to the
470 following paragraph.
471
472   Notwithstanding any other provision of this License, you have
473 permission to link or combine any covered work with a work licensed
474 under version 3 of the GNU General Public License into a single
475 combined work, and to convey the resulting work.  The terms of this
476 License will continue to apply to the part which is the covered work,
477 but the work with which it is combined will remain governed by version
478 3 of the GNU General Public License.
479
480   14. Revised Versions of this License.
481
482   The Free Software Foundation may publish revised and/or new versions of
483 the GNU Affero General Public License from time to time.  Such new versions
484 will be similar in spirit to the present version, but may differ in detail to
485 address new problems or concerns.
486
487   Each version is given a distinguishing version number.  If the
488 Program specifies that a certain numbered version of the GNU Affero General
489 Public License "or any later version" applies to it, you have the
490 option of following the terms and conditions either of that numbered
491 version orch source file to most effectively
492 state the exclusion of warranty; and each file should have at least
493 the "copyright" line and a pointer to where the full notice is found.
494
495     <one line to give the program's name and a brief idea of what it does.>
496     Copyright (C) <year>  <name of author>
497
498     This program is free software: you can redistribute it and/or modify
499     it under the terms of the GNU Affero General Public License as published by
500     the Free Software Foundation, either version 3 of the License, or
501     (at your option) any later version.
502
503     This program is distributed in the hope that it will be useful,
504     but WITHOUT ANY WARRANTY; without even the implied warranty of
505     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
506     GNU Affero General Public License for more details.
507
508     You should have received a copy of the GNU Affero General Public License
509     along with this program.  If not, see <http://www.gnu.org/licenses/>.
510
511 Also add information on how to contact you by electronic and paper mail.
512
513   If your software can interact with users remotely through a computer
514 network, you should also make sure that it provides a way for users to
515 get its source.  For example, if your program is a web application, its
516 interface could display a "Source" link that leads users to an archive
517 of the code.  There are many ways you could offer source, and different
518 solutions will be better for different programs; see section 13 for the
519 specific requirements.
520
521   You should also get your employer (if you work as a programmer) or school,
522 if any, to sign a "copyright disclaimer" for the program, if necessary.
523 For more information on this, and how to apply and follow the GNU AGPL, see
524 <http://www.gnu.org/licenses/>.