1BAREOS is a fork of the Bacula source code. 2Please find below (1) our license information, (2) the preexisting license information 3of Bacula (from 16/11/2012, i.e. the date the source was forked into BAREOS), and 4(3) the license text of the AGPLv3. Our license information (1) is applicable to all 5changes to the preexisting code of Bacula. 6 71. 8 9BAREOS LICENSE SPECIFICS 10 11The following license terms apply to the BAREOS code: 12 13Trademark: 14 15The name BAREOS is a registered trademark of Bareos GmbH & Co. KG 16 17Bareos is licensed under the AGPL version 3 (see 3. below). Some parts of the code 18are licensed under permissive licenses: 19 20a) 21For the native NDMP support we imported some BSD 2 clause code which has the 22following copyright: 23 24/* 25 * Copyright (c) 1998,1999,2000 26 * Traakan, Inc., Los Altos, CA 27 * All rights reserved. 28 * 29 * Redistribution and use in source and binary forms, with or without 30 * modification, are permitted provided that the following conditions 31 * are met: 32 * 1. Redistributions of source code must retain the above copyright 33 * notice unmodified, this list of conditions, and the following 34 * disclaimer. 35 * 2. Redistributions in binary form must reproduce the above copyright 36 * notice, this list of conditions and the following disclaimer in the 37 * documentation and/or other materials provided with the distribution. 38 * 39 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 40 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 41 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 42 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 43 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 45 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 47 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 48 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 49 * SUCH DAMAGE. 50 */ 51 52b) 53Furthermore we included code from src/lib/bmtio.h which has the following copyright: 54 55/*- 56 * Copyright (c) 1982, 1986, 1993 57 * The Regents of the University of California. All rights reserved. 58 * 59 * Redistribution and use in source and binary forms, with or without 60 * modification, are permitted provided that the following conditions 61 * are met: 62 * 1. Redistributions of source code must retain the above copyright 63 * notice, this list of conditions and the following disclaimer. 64 * 2. Redistributions in binary form must reproduce the above copyright 65 * notice, this list of conditions and the following disclaimer in the 66 * documentation and/or other materials provided with the distribution. 67 * 4. Neither the name of the University nor the names of its contributors 68 * may be used to endorse or promote products derived from this software 69 * without specific prior written permission. 70 * 71 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 72 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 73 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 74 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 75 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 76 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 77 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 78 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 79 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 80 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 81 * SUCH DAMAGE. 82 * 83 * @(#)mtio.h 8.1 (Berkeley) 6/2/93 84 * $FreeBSD: stable/7/sys/sys/mtio.h 139825 2005-01-07 02:29:27Z imp $ 85 */ 86 87The new source header doesn't include a reference to the AUTHORS file 88in each source file but we still maintain the AUTHORS file with all 89authors of the orignal project ("Bacula") and any new authors for code 90submitted to the BAREOS project.The AUTHORS file can be found in the main 91directory. 92 93=========================================== 94 952. 96 97History: 98The original Bacula code was Copyright Kern Sibbald and John Walker. 99After November 2004, it became Copyright Kern Sibbald, and finally, 100the copyright was transferred to the Free Software Foundation Europe 101on 15 November 2006. The license was changed from GPLv2 to AGPLv3 102on 24 July 2010. 103 104Trademark: 105The name Bacula is a registered trademark of Kern Sibbald. 106 107=================================== 108 109License: 110For the most part, Bacula is licensed under the AGPL version 3. This 111code is listed under Copyright Free Software Foundation Europe e.V. 112What follows is the addition(s) to the AGPL version 3 license, that 113applies to code that is copyrighted by the Free Software Foundation 114Europe e.V. 115 116Linking: 117As a special exception to the AGPLv3, the Bacula Project gives 118permission to link the code of its release of Bacula with the OpenSSL 119project's "OpenSSL" library (or with modified versions of it that use 120the same license as the "OpenSSL" library), and distribute the linked 121executables. You must obey the GNU Affero General Public License in all 122respects for all of the code used other than "OpenSSL". 123 124As a special exception to the AGPLv3, the Bacula Project gives 125permission to link the code of its release of the Bacula Win32 File 126daemon with the Microsoft supplied Volume Shadow Copy (VSS) libraries 127and distribute the linked executables. You must obey the GNU General 128Public License in all respects for all of the code used other than for 129the Microsoft VSS code, where you must obey their license terms. 130 131The Bacula Project gives permission for plugins with AGPLv3 compatible 132licenses to be loaded and distributed with the Bacula executables as 133long as the combined work is distributed under the terms listed in the 134Bacula LICENSE file. A full list of AGPLv3 compatible licenses can be 135found at: http://www.fsf.org/licensing/licenses/. If you wish to load 136or distribute plugins with different licensing terms please contact 137the Bacula Project at: license@bacula.org 138 139=================================== 140 141 142What follows is information from the authors of the code: 143 144License: 145To the best of our knowledge, all code used in Bacula, which is 146copyrighted by a third party, has licenses that are compatible 147with the OpenSSL license, and so given the exception that we have 148made to the AGPLv3 above, Bacula can be freely linked and distributed 149with the OpenSSL libraries. 150 151Intellectual Property rights: 152Recipient understands that although each Contributor to Bacula grants 153the licenses to its Contributions set forth herein, no assurances are 154provided by any Contributor that the Program does not infringe the 155patent or other intellectual property rights of any other entity. 156Each Contributor disclaims any liability to Recipient for claims 157brought by any other entity based on infringement of intellectual 158property rights or otherwise. As a condition to exercising the rights 159and licenses granted hereunder, each Recipient hereby assumes sole 160responsibility to secure any other intellectual property rights 161needed, if any. For example, if a third party patent license is 162required to allow Recipient to distribute the Program, it is 163Recipient's responsibility to acquire that license before distributing 164the Program. 165 166Copyrights: 167Each Contributor to Bacula represents that to its knowledge it has 168sufficient copyright rights in its Contribution, if any, to grant 169the copyright license set forth in this Agreement. 170 171Code falling under the above conditions will be marked as follows: 172 173 Bacula® - The Network Backup Solution 174 175 Copyright (C) 2000-2010 Free Software Foundation Europe e.V. 176 177 The main author of Bacula is Kern Sibbald, with contributions from 178 many others, a complete list can be found in the file AUTHORS. 179 This program is Free Software; you can redistribute it and/or 180 modify it under the terms of version three of the GNU Affero General Public 181 License as published by the Free Software Foundation plus additions 182 that are listed in the file LICENSE. 183 184 This program is distributed in the hope that it will be useful, but 185 WITHOUT ANY WARRANTY; without even the implied warranty of 186 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 187 General Public License for more details. 188 189 You should have received a copy of the GNU Affero General Public License 190 along with this program; if not, write to the Free Software 191 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 192 02110-1301, USA. 193 194 Bacula® is a registered trademark of Kern Sibbald. 195 196 The licensor of Bacula is the Free Software Foundation Europe 197 (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, 198 Switzerland, email:ftf@fsfeurope.org. 199 200 201Windows: 202Certain source code used to build the Windows version of the 203Bacula File daemon is copyrighted and or trademarked by Microsoft 204and may contain Microsoft intellectual property (examples: 205Microsoft VC++, the source to the VSS libraries, the Microsoft C 206runtime libraries). As such we cannot and do not distribute that 207software. We are permitted however to distribute Bacula with the 208necessary Microsoft libraries in binary form. 209 210You may obtain the parts that we cannot distribute as follows. The 211Microsoft compiler available for purchase, and Microsoft provides a free 212version of the compiler. The source code and libraries are available for 213download from Microsoft public Web servers. We have documented in the 214src/win32 directory the URLs from which we obtained the library source, and 215how we build the Windows File daemon and many users have succeeded in doing 216so themselves. Our intention is to respect as closely as possible Open 217Source practices while maintaining full respect for proprietary and 218copyrighted code. 219 220GPLv2 or later license: 221 src/tools/bsmtp.c 222 Copyright (C) 1997 Ralf S. Engelschall, All Rights Reserved. 223 (note, bsmtp.c does not use OpenSSL, nor is it used with the code 224 of any other part of Bacula) 225 2263 clause BSD License notice for inclusion with the binary: 227 src/lib/fnmatch.c 228 * Copyright (c) 1989, 1993, 1994 229 * The Regents of the University of California. All rights reserved. 230 src/lib/fnmatch.h 231 * Copyright (c) 1992, 1993 232 * The Regents of the University of California. All rights reserved. 233 234Permissive licenses: 235 src/lib/var.c/h 236 ** OSSP var - Variable Expansion 237 ** Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com> 238 ** Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/) 239 ** Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/) 240 241 src/lib/bsnprintf.c 242 * Copyright Patrick Powell 1995 243 244 src/bregex.c/h 245 * Copyright (c) 1991 Tatu Ylonen, Espoo, Finland 246 247 src/lib/sha1.c/h 248 Copyright (C) The Internet Society (2001). All Rights Reserved. 249 250 src/win32/compat/getopt.c 251 "... licensed under IBM copyrights to use the IBM-provided source code 252 in any way he or she deems fit ..." 253 254 src/win32/compat/sys/mtio.h (LGPL) 255 Copyright (C) 1996, 1997 Free Software Foundation, Inc. 256 257 258Bacula can be enabled with data encryption and/or communications 259encryption. If this is the case, you will be including OpenSSL code that 260that contains cryptographic software written by Eric Young 261(eay@cryptsoft.com) and also software written by Tim Hudson 262(tjh@cryptsoft.com). 263 264There are parts of Bacula that are licensed under the LGPL so 265that those files may be used in proprietary code to interface with 266Bacula. 267 268Finally there are parts of Bacula that are in the public domain. 269 270THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 271IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 272TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 273PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 274OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 275EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 276PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 277PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 278LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 279NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 280SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 281 2823. 283 284 GNU AFFERO GENERAL PUBLIC LICENSE 285 Version 3, 19 November 2007 286 287 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 288 Everyone is permitted to copy and distribute verbatim copies 289 of this license document, but changing it is not allowed. 290 291 Preamble 292 293 The GNU Affero General Public License is a free, copyleft license for 294software and other kinds of works, specifically designed to ensure 295cooperation with the community in the case of network server software. 296 297 The licenses for most software and other practical works are designed 298to take away your freedom to share and change the works. By contrast, 299our General Public Licenses are intended to guarantee your freedom to 300share and change all versions of a program--to make sure it remains free 301software for all its users. 302 303 When we speak of free software, we are referring to freedom, not 304price. Our General Public Licenses are designed to make sure that you 305have the freedom to distribute copies of free software (and charge for 306them if you wish), that you receive source code or can get it if you 307want it, that you can change the software or use pieces of it in new 308free programs, and that you know you can do these things. 309 310 Developers that use our General Public Licenses protect your rights 311with two steps: (1) assert copyright on the software, and (2) offer 312you this License which gives you legal permission to copy, distribute 313and/or modify the software. 314 315 A secondary benefit of defending all users' freedom is that 316improvements made in alternate versions of the program, if they 317receive widespread use, become available for other developers to 318incorporate. Many developers of free software are heartened and 319encouraged by the resulting cooperation. However, in the case of 320software used on network servers, this result may fail to come about. 321The GNU General Public License permits making a modified version and 322letting the public access it on a server without ever releasing its 323source code to the public. 324 325 The GNU Affero General Public License is designed specifically to 326ensure that, in such cases, the modified source code becomes available 327to the community. It requires the operator of a network server to 328provide the source code of the modified version running there to the 329users of that server. Therefore, public use of a modified version, on 330a publicly accessible server, gives the public access to the source 331code of the modified version. 332 333 An older license, called the Affero General Public License and 334published by Affero, was designed to accomplish similar goals. This is 335a different license, not a version of the Affero GPL, but Affero has 336released a new version of the Affero GPL which permits relicensing under 337this license. 338 339 The precise terms and conditions for copying, distribution and 340modification follow. 341 342 TERMS AND CONDITIONS 343 344 0. Definitions. 345 346 "This License" refers to version 3 of the GNU Affero General Public License. 347 348 "Copyright" also means copyright-like laws that apply to other kinds of 349works, such as semiconductor masks. 350 351 "The Program" refers to any copyrightable work licensed under this 352License. Each licensee is addressed as "you". "Licensees" and 353"recipients" may be individuals or organizations. 354 355 To "modify" a work means to copy from or adapt all or part of the work 356in a fashion requiring copyright permission, other than the making of an 357exact copy. The resulting work is called a "modified version" of the 358earlier work or a work "based on" the earlier work. 359 360 A "covered work" means either the unmodified Program or a work based 361on the Program. 362 363 To "propagate" a work means to do anything with it that, without 364permission, would make you directly or secondarily liable for 365infringement under applicable copyright law, except executing it on a 366computer or modifying a private copy. Propagation includes copying, 367distribution (with or without modification), making available to the 368public, and in some countries other activities as well. 369 370 To "convey" a work means any kind of propagation that enables other 371parties to make or receive copies. Mere interaction with a user through 372a computer network, with no transfer of a copy, is not conveying. 373 374 An interactive user interface displays "Appropriate Legal Notices" 375to the extent that it includes a convenient and prominently visible 376feature that (1) displays an appropriate copyright notice, and (2) 377tells the user that there is no warranty for the work (except to the 378extent that warranties are provided), that licensees may convey the 379work under this License, and how to view a copy of this License. If 380the interface presents a list of user commands or options, such as a 381menu, a prominent item in the list meets this criterion. 382 383 1. Source Code. 384 385 The "source code" for a work means the preferred form of the work 386for making modifications to it. "Object code" means any non-source 387form of a work. 388 389 A "Standard Interface" means an interface that either is an official 390standard defined by a recognized standards body, or, in the case of 391interfaces specified for a particular programming language, one that 392is widely used among developers working in that language. 393 394 The "System Libraries" of an executable work include anything, other 395than the work as a whole, that (a) is included in the normal form of 396packaging a Major Component, but which is not part of that Major 397Component, and (b) serves only to enable use of the work with that 398Major Component, or to implement a Standard Interface for which an 399implementation is available to the public in source code form. A 400"Major Component", in this context, means a major essential component 401(kernel, window system, and so on) of the specific operating system 402(if any) on which the executable work runs, or a compiler used to 403produce the work, or an object code interpreter used to run it. 404 405 The "Corresponding Source" for a work in object code form means all 406the source code needed to generate, install, and (for an executable 407work) run the object code and to modify the work, including scripts to 408control those activities. However, it does not include the work's 409System Libraries, or general-purpose tools or generally available free 410programs which are used unmodified in performing those activities but 411which are not part of the work. For example, Corresponding Source 412includes interface definition files associated with source files for 413the work, and the source code for shared libraries and dynamically 414linked subprograms that the work is specifically designed to require, 415such as by intimate data communication or control flow between those 416subprograms and other parts of the work. 417 418 The Corresponding Source need not include anything that users 419can regenerate automatically from other parts of the Corresponding 420Source. 421 422 The Corresponding Source for a work in source code form is that 423same work. 424 425 2. Basic Permissions. 426 427 All rights granted under this License are granted for the term of 428copyright on the Program, and are irrevocable provided the stated 429conditions are met. This License explicitly affirms your unlimited 430permission to run the unmodified Program. The output from running a 431covered work is covered by this License only if the output, given its 432content, constitutes a covered work. This License acknowledges your 433rights of fair use or other equivalent, as provided by copyright law. 434 435 You may make, run and propagate covered works that you do not 436convey, without conditions so long as your license otherwise remains 437in force. You may convey covered works to others for the sole purpose 438of having them make modifications exclusively for you, or provide you 439with facilities for running those works, provided that you comply with 440the terms of this License in conveying all material for which you do 441not control copyright. Those thus making or running the covered works 442for you must do so exclusively on your behalf, under your direction 443and control, on terms that prohibit them from making any copies of 444your copyrighted material outside their relationship with you. 445 446 Conveying under any other circumstances is permitted solely under 447the conditions stated below. Sublicensing is not allowed; section 10 448makes it unnecessary. 449 450 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 451 452 No covered work shall be deemed part of an effective technological 453measure under any applicable law fulfilling obligations under article 45411 of the WIPO copyright treaty adopted on 20 December 1996, or 455similar laws prohibiting or restricting circumvention of such 456measures. 457 458 When you convey a covered work, you waive any legal power to forbid 459circumvention of technological measures to the extent such circumvention 460is effected by exercising rights under this License with respect to 461the covered work, and you disclaim any intention to limit operation or 462modification of the work as a means of enforcing, against the work's 463users, your or third parties' legal rights to forbid circumvention of 464technological measures. 465 466 4. Conveying Verbatim Copies. 467 468 You may convey verbatim copies of the Program's source code as you 469receive it, in any medium, provided that you conspicuously and 470appropriately publish on each copy an appropriate copyright notice; 471keep intact all notices stating that this License and any 472non-permissive terms added in accord with section 7 apply to the code; 473keep intact all notices of the absence of any warranty; and give all 474recipients a copy of this License along with the Program. 475 476 You may charge any price or no price for each copy that you convey, 477and you may offer support or warranty protection for a fee. 478 479 5. Conveying Modified Source Versions. 480 481 You may convey a work based on the Program, or the modifications to 482produce it from the Program, in the form of source code under the 483terms of section 4, provided that you also meet all of these conditions: 484 485 a) The work must carry prominent notices stating that you modified 486 it, and giving a relevant date. 487 488 b) The work must carry prominent notices stating that it is 489 released under this License and any conditions added under section 490 7. This requirement modifies the requirement in section 4 to 491 "keep intact all notices". 492 493 c) You must license the entire work, as a whole, under this 494 License to anyone who comes into possession of a copy. This 495 License will therefore apply, along with any applicable section 7 496 additional terms, to the whole of the work, and all its parts, 497 regardless of how they are packaged. This License gives no 498 permission to license the work in any other way, but it does not 499 invalidate such permission if you have separately received it. 500 501 d) If the work has interactive user interfaces, each must display 502 Appropriate Legal Notices; however, if the Program has interactive 503 interfaces that do not display Appropriate Legal Notices, your 504 work need not make them do so. 505 506 A compilation of a covered work with other separate and independent 507works, which are not by their nature extensions of the covered work, 508and which are not combined with it such as to form a larger program, 509in or on a volume of a storage or distribution medium, is called an 510"aggregate" if the compilation and its resulting copyright are not 511used to limit the access or legal rights of the compilation's users 512beyond what the individual works permit. Inclusion of a covered work 513in an aggregate does not cause this License to apply to the other 514parts of the aggregate. 515 516 6. Conveying Non-Source Forms. 517 518 You may convey a covered work in object code form under the terms 519of sections 4 and 5, provided that you also convey the 520machine-readable Corresponding Source under the terms of this License, 521in one of these ways: 522 523 a) Convey the object code in, or embodied in, a physical product 524 (including a physical distribution medium), accompanied by the 525 Corresponding Source fixed on a durable physical medium 526 customarily used for software interchange. 527 528 b) Convey the object code in, or embodied in, a physical product 529 (including a physical distribution medium), accompanied by a 530 written offer, valid for at least three years and valid for as 531 long as you offer spare parts or customer support for that product 532 model, to give anyone who possesses the object code either (1) a 533 copy of the Corresponding Source for all the software in the 534 product that is covered by this License, on a durable physical 535 medium customarily used for software interchange, for a price no 536 more than your reasonable cost of physically performing this 537 conveying of source, or (2) access to copy the 538 Corresponding Source from a network server at no charge. 539 540 c) Convey individual copies of the object code with a copy of the 541 written offer to provide the Corresponding Source. This 542 alternative is allowed only occasionally and noncommercially, and 543 only if you received the object code with such an offer, in accord 544 with subsection 6b. 545 546 d) Convey the object code by offering access from a designated 547 place (gratis or for a charge), and offer equivalent access to the 548 Corresponding Source in the same way through the same place at no 549 further charge. You need not require recipients to copy the 550 Corresponding Source along with the object code. If the place to 551 copy the object code is a network server, the Corresponding Source 552 may be on a different server (operated by you or a third party) 553 that supports equivalent copying facilities, provided you maintain 554 clear directions next to the object code saying where to find the 555 Corresponding Source. Regardless of what server hosts the 556 Corresponding Source, you remain obligated to ensure that it is 557 available for as long as needed to satisfy these requirements. 558 559 e) Convey the object code using peer-to-peer transmission, provided 560 you inform other peers where the object code and Corresponding 561 Source of the work are being offered to the general public at no 562 charge under subsection 6d. 563 564 A separable portion of the object code, whose source code is excluded 565from the Corresponding Source as a System Library, need not be 566included in conveying the object code work. 567 568 A "User Product" is either (1) a "consumer product", which means any 569tangible personal property which is normally used for personal, family, 570or household purposes, or (2) anything designed or sold for incorporation 571into a dwelling. In determining whether a product is a consumer product, 572doubtful cases shall be resolved in favor of coverage. For a particular 573product received by a particular user, "normally used" refers to a 574typical or common use of that class of product, regardless of the status 575of the particular user or of the way in which the particular user 576actually uses, or expects or is expected to use, the product. A product 577is a consumer product regardless of whether the product has substantial 578commercial, industrial or non-consumer uses, unless such uses represent 579the only significant mode of use of the product. 580 581 "Installation Information" for a User Product means any methods, 582procedures, authorization keys, or other information required to install 583and execute modified versions of a covered work in that User Product from 584a modified version of its Corresponding Source. The information must 585suffice to ensure that the continued functioning of the modified object 586code is in no case prevented or interfered with solely because 587modification has been made. 588 589 If you convey an object code work under this section in, or with, or 590specifically for use in, a User Product, and the conveying occurs as 591part of a transaction in which the right of possession and use of the 592User Product is transferred to the recipient in perpetuity or for a 593fixed term (regardless of how the transaction is characterized), the 594Corresponding Source conveyed under this section must be accompanied 595by the Installation Information. But this requirement does not apply 596if neither you nor any third party retains the ability to install 597modified object code on the User Product (for example, the work has 598been installed in ROM). 599 600 The requirement to provide Installation Information does not include a 601requirement to continue to provide support service, warranty, or updates 602for a work that has been modified or installed by the recipient, or for 603the User Product in which it has been modified or installed. Access to a 604network may be denied when the modification itself materially and 605adversely affects the operation of the network or violates the rules and 606protocols for communication across the network. 607 608 Corresponding Source conveyed, and Installation Information provided, 609in accord with this section must be in a format that is publicly 610documented (and with an implementation available to the public in 611source code form), and must require no special password or key for 612unpacking, reading or copying. 613 614 7. Additional Terms. 615 616 "Additional permissions" are terms that supplement the terms of this 617License by making exceptions from one or more of its conditions. 618Additional permissions that are applicable to the entire Program shall 619be treated as though they were included in this License, to the extent 620that they are valid under applicable law. If additional permissions 621apply only to part of the Program, that part may be used separately 622under those permissions, but the entire Program remains governed by 623this License without regard to the additional permissions. 624 625 When you convey a copy of a covered work, you may at your option 626remove any additional permissions from that copy, or from any part of 627it. (Additional permissions may be written to require their own 628removal in certain cases when you modify the work.) You may place 629additional permissions on material, added by you to a covered work, 630for which you have or can give appropriate copyright permission. 631 632 Notwithstanding any other provision of this License, for material you 633add to a covered work, you may (if authorized by the copyright holders of 634that material) supplement the terms of this License with terms: 635 636 a) Disclaiming warranty or limiting liability differently from the 637 terms of sections 15 and 16 of this License; or 638 639 b) Requiring preservation of specified reasonable legal notices or 640 author attributions in that material or in the Appropriate Legal 641 Notices displayed by works containing it; or 642 643 c) Prohibiting misrepresentation of the origin of that material, or 644 requiring that modified versions of such material be marked in 645 reasonable ways as different from the original version; or 646 647 d) Limiting the use for publicity purposes of names of licensors or 648 authors of the material; or 649 650 e) Declining to grant rights under trademark law for use of some 651 trade names, trademarks, or service marks; or 652 653 f) Requiring indemnification of licensors and authors of that 654 material by anyone who conveys the material (or modified versions of 655 it) with contractual assumptions of liability to the recipient, for 656 any liability that these contractual assumptions directly impose on 657 those licensors and authors. 658 659 All other non-permissive additional terms are considered "further 660restrictions" within the meaning of section 10. If the Program as you 661received it, or any part of it, contains a notice stating that it is 662governed by this License along with a term that is a further 663restriction, you may remove that term. If a license document contains 664a further restriction but permits relicensing or conveying under this 665License, you may add to a covered work material governed by the terms 666of that license document, provided that the further restriction does 667not survive such relicensing or conveying. 668 669 If you add terms to a covered work in accord with this section, you 670must place, in the relevant source files, a statement of the 671additional terms that apply to those files, or a notice indicating 672where to find the applicable terms. 673 674 Additional terms, permissive or non-permissive, may be stated in the 675form of a separately written license, or stated as exceptions; 676the above requirements apply either way. 677 678 8. Termination. 679 680 You may not propagate or modify a covered work except as expressly 681provided under this License. Any attempt otherwise to propagate or 682modify it is void, and will automatically terminate your rights under 683this License (including any patent licenses granted under the third 684paragraph of section 11). 685 686 However, if you cease all violation of this License, then your 687license from a particular copyright holder is reinstated (a) 688provisionally, unless and until the copyright holder explicitly and 689finally terminates your license, and (b) permanently, if the copyright 690holder fails to notify you of the violation by some reasonable means 691prior to 60 days after the cessation. 692 693 Moreover, your license from a particular copyright holder is 694reinstated permanently if the copyright holder notifies you of the 695violation by some reasonable means, this is the first time you have 696received notice of violation of this License (for any work) from that 697copyright holder, and you cure the violation prior to 30 days after 698your receipt of the notice. 699 700 Termination of your rights under this section does not terminate the 701licenses of parties who have received copies or rights from you under 702this License. If your rights have been terminated and not permanently 703reinstated, you do not qualify to receive new licenses for the same 704material under section 10. 705 706 9. Acceptance Not Required for Having Copies. 707 708 You are not required to accept this License in order to receive or 709run a copy of the Program. Ancillary propagation of a covered work 710occurring solely as a consequence of using peer-to-peer transmission 711to receive a copy likewise does not require acceptance. However, 712nothing other than this License grants you permission to propagate or 713modify any covered work. These actions infringe copyright if you do 714not accept this License. Therefore, by modifying or propagating a 715covered work, you indicate your acceptance of this License to do so. 716 717 10. Automatic Licensing of Downstream Recipients. 718 719 Each time you convey a covered work, the recipient automatically 720receives a license from the original licensors, to run, modify and 721propagate that work, subject to this License. You are not responsible 722for enforcing compliance by third parties with this License. 723 724 An "entity transaction" is a transaction transferring control of an 725organization, or substantially all assets of one, or subdividing an 726organization, or merging organizations. If propagation of a covered 727work results from an entity transaction, each party to that 728transaction who receives a copy of the work also receives whatever 729licenses to the work the party's predecessor in interest had or could 730give under the previous paragraph, plus a right to possession of the 731Corresponding Source of the work from the predecessor in interest, if 732the predecessor has it or can get it with reasonable efforts. 733 734 You may not impose any further restrictions on the exercise of the 735rights granted or affirmed under this License. For example, you may 736not impose a license fee, royalty, or other charge for exercise of 737rights granted under this License, and you may not initiate litigation 738(including a cross-claim or counterclaim in a lawsuit) alleging that 739any patent claim is infringed by making, using, selling, offering for 740sale, or importing the Program or any portion of it. 741 742 11. Patents. 743 744 A "contributor" is a copyright holder who authorizes use under this 745License of the Program or a work on which the Program is based. The 746work thus licensed is called the contributor's "contributor version". 747 748 A contributor's "essential patent claims" are all patent claims 749owned or controlled by the contributor, whether already acquired or 750hereafter acquired, that would be infringed by some manner, permitted 751by this License, of making, using, or selling its contributor version, 752but do not include claims that would be infringed only as a 753consequence of further modification of the contributor version. For 754purposes of this definition, "control" includes the right to grant 755patent sublicenses in a manner consistent with the requirements of 756this License. 757 758 Each contributor grants you a non-exclusive, worldwide, royalty-free 759patent license under the contributor's essential patent claims, to 760make, use, sell, offer for sale, import and otherwise run, modify and 761propagate the contents of its contributor version. 762 763 In the following three paragraphs, a "patent license" is any express 764agreement or commitment, however denominated, not to enforce a patent 765(such as an express permission to practice a patent or covenant not to 766sue for patent infringement). To "grant" such a patent license to a 767party means to make such an agreement or commitment not to enforce a 768patent against the party. 769 770 If you convey a covered work, knowingly relying on a patent license, 771and the Corresponding Source of the work is not available for anyone 772to copy, free of charge and under the terms of this License, through a 773publicly available network server or other readily accessible means, 774then you must either (1) cause the Corresponding Source to be so 775available, or (2) arrange to deprive yourself of the benefit of the 776patent license for this particular work, or (3) arrange, in a manner 777consistent with the requirements of this License, to extend the patent 778license to downstream recipients. "Knowingly relying" means you have 779actual knowledge that, but for the patent license, your conveying the 780covered work in a country, or your recipient's use of the covered work 781in a country, would infringe one or more identifiable patents in that 782country that you have reason to believe are valid. 783 784 If, pursuant to or in connection with a single transaction or 785arrangement, you convey, or propagate by procuring conveyance of, a 786covered work, and grant a patent license to some of the parties 787receiving the covered work authorizing them to use, propagate, modify 788or convey a specific copy of the covered work, then the patent license 789you grant is automatically extended to all recipients of the covered 790work and works based on it. 791 792 A patent license is "discriminatory" if it does not include within 793the scope of its coverage, prohibits the exercise of, or is 794conditioned on the non-exercise of one or more of the rights that are 795specifically granted under this License. You may not convey a covered 796work if you are a party to an arrangement with a third party that is 797in the business of distributing software, under which you make payment 798to the third party based on the extent of your activity of conveying 799the work, and under which the third party grants, to any of the 800parties who would receive the covered work from you, a discriminatory 801patent license (a) in connection with copies of the covered work 802conveyed by you (or copies made from those copies), or (b) primarily 803for and in connection with specific products or compilations that 804contain the covered work, unless you entered into that arrangement, 805or that patent license was granted, prior to 28 March 2007. 806 807 Nothing in this License shall be construed as excluding or limiting 808any implied license or other defenses to infringement that may 809otherwise be available to you under applicable patent law. 810 811 12. No Surrender of Others' Freedom. 812 813 If conditions are imposed on you (whether by court order, agreement or 814otherwise) that contradict the conditions of this License, they do not 815excuse you from the conditions of this License. If you cannot convey a 816covered work so as to satisfy simultaneously your obligations under this 817License and any other pertinent obligations, then as a consequence you may 818not convey it at all. For example, if you agree to terms that obligate you 819to collect a royalty for further conveying from those to whom you convey 820the Program, the only way you could satisfy both those terms and this 821License would be to refrain entirely from conveying the Program. 822 823 13. Remote Network Interaction; Use with the GNU General Public License. 824 825 Notwithstanding any other provision of this License, if you modify the 826Program, your modified version must prominently offer all users 827interacting with it remotely through a computer network (if your version 828supports such interaction) an opportunity to receive the Corresponding 829Source of your version by providing access to the Corresponding Source 830from a network server at no charge, through some standard or customary 831means of facilitating copying of software. This Corresponding Source 832shall include the Corresponding Source for any work covered by version 3 833of the GNU General Public License that is incorporated pursuant to the 834following paragraph. 835 836 Notwithstanding any other provision of this License, you have 837permission to link or combine any covered work with a work licensed 838under version 3 of the GNU General Public License into a single 839combined work, and to convey the resulting work. The terms of this 840License will continue to apply to the part which is the covered work, 841but the work with which it is combined will remain governed by version 8423 of the GNU General Public License. 843 844 14. Revised Versions of this License. 845 846 The Free Software Foundation may publish revised and/or new versions of 847the GNU Affero General Public License from time to time. Such new versions 848will be similar in spirit to the present version, but may differ in detail to 849address new problems or concerns. 850 851 Each version is given a distinguishing version number. If the 852Program specifies that a certain numbered version of the GNU Affero General 853Public License "or any later version" applies to it, you have the 854option of following the terms and conditions either of that numbered 855version or of any later version published by the Free Software 856Foundation. If the Program does not specify a version number of the 857GNU Affero General Public License, you may choose any version ever published 858by the Free Software Foundation. 859 860 If the Program specifies that a proxy can decide which future 861versions of the GNU Affero General Public License can be used, that proxy's 862public statement of acceptance of a version permanently authorizes you 863to choose that version for the Program. 864 865 Later license versions may give you additional or different 866permissions. However, no additional obligations are imposed on any 867author or copyright holder as a result of your choosing to follow a 868later version. 869 870 15. Disclaimer of Warranty. 871 872 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 873APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 874HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 875OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 876THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 877PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 878IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 879ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 880 881 16. Limitation of Liability. 882 883 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 884WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 885THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 886GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 887USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 888DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 889PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 890EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 891SUCH DAMAGES. 892 893 17. Interpretation of Sections 15 and 16. 894 895 If the disclaimer of warranty and limitation of liability provided 896above cannot be given local legal effect according to their terms, 897reviewing courts shall apply local law that most closely approximates 898an absolute waiver of all civil liability in connection with the 899Program, unless a warranty or assumption of liability accompanies a 900copy of the Program in return for a fee. 901 902 END OF TERMS AND CONDITIONS 903 904 How to Apply These Terms to Your New Programs 905 906 If you develop a new program, and you want it to be of the greatest 907possible use to the public, the best way to achieve this is to make it 908free software which everyone can redistribute and change under these terms. 909 910 To do so, attach the following notices to the program. It is safest 911to attach them to the start of each source file to most effectively 912state the exclusion of warranty; and each file should have at least 913the "copyright" line and a pointer to where the full notice is found. 914 915 <one line to give the program's name and a brief idea of what it does.> 916 Copyright (C) <year> <name of author> 917 918 This program is free software: you can redistribute it and/or modify 919 it under the terms of the GNU Affero General Public License as published by 920 the Free Software Foundation, either version 3 of the License, or 921 (at your option) any later version. 922 923 This program is distributed in the hope that it will be useful, 924 but WITHOUT ANY WARRANTY; without even the implied warranty of 925 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 926 GNU Affero General Public License for more details. 927 928 You should have received a copy of the GNU Affero General Public License 929 along with this program. If not, see <http://www.gnu.org/licenses/>. 930 931Also add information on how to contact you by electronic and paper mail. 932 933 If your software can interact with users remotely through a computer 934network, you should also make sure that it provides a way for users to 935get its source. For example, if your program is a web application, its 936interface could display a "Source" link that leads users to an archive 937of the code. There are many ways you could offer source, and different 938solutions will be better for different programs; see section 13 for the 939specific requirements. 940 941 You should also get your employer (if you work as a programmer) or school, 942if any, to sign a "copyright disclaimer" for the program, if necessary. 943For more information on this, and how to apply and follow the GNU AGPL, see 944<http://www.gnu.org/licenses/>. 945 946=========================================== 947