xref: /dflybsd-src/contrib/grep/COPYING (revision 91b9ed38d3db6a8a8ac5b66da1d43e6e331e259a)
195b7b453SJohn Marino                    GNU GENERAL PUBLIC LICENSE
295b7b453SJohn Marino                       Version 3, 29 June 2007
395b7b453SJohn Marino
4*09d4459fSDaniel Fojt Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
595b7b453SJohn Marino Everyone is permitted to copy and distribute verbatim copies
695b7b453SJohn Marino of this license document, but changing it is not allowed.
795b7b453SJohn Marino
895b7b453SJohn Marino                            Preamble
995b7b453SJohn Marino
1095b7b453SJohn Marino  The GNU General Public License is a free, copyleft license for
1195b7b453SJohn Marinosoftware and other kinds of works.
1295b7b453SJohn Marino
1395b7b453SJohn Marino  The licenses for most software and other practical works are designed
1495b7b453SJohn Marinoto take away your freedom to share and change the works.  By contrast,
1595b7b453SJohn Marinothe GNU General Public License is intended to guarantee your freedom to
1695b7b453SJohn Marinoshare and change all versions of a program--to make sure it remains free
1795b7b453SJohn Marinosoftware for all its users.  We, the Free Software Foundation, use the
1895b7b453SJohn MarinoGNU General Public License for most of our software; it applies also to
1995b7b453SJohn Marinoany other work released this way by its authors.  You can apply it to
2095b7b453SJohn Marinoyour programs, too.
2195b7b453SJohn Marino
2295b7b453SJohn Marino  When we speak of free software, we are referring to freedom, not
2395b7b453SJohn Marinoprice.  Our General Public Licenses are designed to make sure that you
2495b7b453SJohn Marinohave the freedom to distribute copies of free software (and charge for
2595b7b453SJohn Marinothem if you wish), that you receive source code or can get it if you
2695b7b453SJohn Marinowant it, that you can change the software or use pieces of it in new
2795b7b453SJohn Marinofree programs, and that you know you can do these things.
2895b7b453SJohn Marino
2995b7b453SJohn Marino  To protect your rights, we need to prevent others from denying you
3095b7b453SJohn Marinothese rights or asking you to surrender the rights.  Therefore, you have
3195b7b453SJohn Marinocertain responsibilities if you distribute copies of the software, or if
3295b7b453SJohn Marinoyou modify it: responsibilities to respect the freedom of others.
3395b7b453SJohn Marino
3495b7b453SJohn Marino  For example, if you distribute copies of such a program, whether
3595b7b453SJohn Marinogratis or for a fee, you must pass on to the recipients the same
3695b7b453SJohn Marinofreedoms that you received.  You must make sure that they, too, receive
3795b7b453SJohn Marinoor can get the source code.  And you must show them these terms so they
3895b7b453SJohn Marinoknow their rights.
3995b7b453SJohn Marino
4095b7b453SJohn Marino  Developers that use the GNU GPL protect your rights with two steps:
4195b7b453SJohn Marino(1) assert copyright on the software, and (2) offer you this License
4295b7b453SJohn Marinogiving you legal permission to copy, distribute and/or modify it.
4395b7b453SJohn Marino
4495b7b453SJohn Marino  For the developers' and authors' protection, the GPL clearly explains
4595b7b453SJohn Marinothat there is no warranty for this free software.  For both users' and
4695b7b453SJohn Marinoauthors' sake, the GPL requires that modified versions be marked as
4795b7b453SJohn Marinochanged, so that their problems will not be attributed erroneously to
4895b7b453SJohn Marinoauthors of previous versions.
4995b7b453SJohn Marino
5095b7b453SJohn Marino  Some devices are designed to deny users access to install or run
5195b7b453SJohn Marinomodified versions of the software inside them, although the manufacturer
5295b7b453SJohn Marinocan do so.  This is fundamentally incompatible with the aim of
5395b7b453SJohn Marinoprotecting users' freedom to change the software.  The systematic
5495b7b453SJohn Marinopattern of such abuse occurs in the area of products for individuals to
5595b7b453SJohn Marinouse, which is precisely where it is most unacceptable.  Therefore, we
5695b7b453SJohn Marinohave designed this version of the GPL to prohibit the practice for those
5795b7b453SJohn Marinoproducts.  If such problems arise substantially in other domains, we
5895b7b453SJohn Marinostand ready to extend this provision to those domains in future versions
5995b7b453SJohn Marinoof the GPL, as needed to protect the freedom of users.
6095b7b453SJohn Marino
6195b7b453SJohn Marino  Finally, every program is threatened constantly by software patents.
6295b7b453SJohn MarinoStates should not allow patents to restrict development and use of
6395b7b453SJohn Marinosoftware on general-purpose computers, but in those that do, we wish to
6495b7b453SJohn Marinoavoid the special danger that patents applied to a free program could
6595b7b453SJohn Marinomake it effectively proprietary.  To prevent this, the GPL assures that
6695b7b453SJohn Marinopatents cannot be used to render the program non-free.
6795b7b453SJohn Marino
6895b7b453SJohn Marino  The precise terms and conditions for copying, distribution and
6995b7b453SJohn Marinomodification follow.
7095b7b453SJohn Marino
7195b7b453SJohn Marino                       TERMS AND CONDITIONS
7295b7b453SJohn Marino
7395b7b453SJohn Marino  0. Definitions.
7495b7b453SJohn Marino
7595b7b453SJohn Marino  "This License" refers to version 3 of the GNU General Public License.
7695b7b453SJohn Marino
7795b7b453SJohn Marino  "Copyright" also means copyright-like laws that apply to other kinds of
7895b7b453SJohn Marinoworks, such as semiconductor masks.
7995b7b453SJohn Marino
8095b7b453SJohn Marino  "The Program" refers to any copyrightable work licensed under this
8195b7b453SJohn MarinoLicense.  Each licensee is addressed as "you".  "Licensees" and
8295b7b453SJohn Marino"recipients" may be individuals or organizations.
8395b7b453SJohn Marino
8495b7b453SJohn Marino  To "modify" a work means to copy from or adapt all or part of the work
8595b7b453SJohn Marinoin a fashion requiring copyright permission, other than the making of an
8695b7b453SJohn Marinoexact copy.  The resulting work is called a "modified version" of the
8795b7b453SJohn Marinoearlier work or a work "based on" the earlier work.
8895b7b453SJohn Marino
8995b7b453SJohn Marino  A "covered work" means either the unmodified Program or a work based
9095b7b453SJohn Marinoon the Program.
9195b7b453SJohn Marino
9295b7b453SJohn Marino  To "propagate" a work means to do anything with it that, without
9395b7b453SJohn Marinopermission, would make you directly or secondarily liable for
9495b7b453SJohn Marinoinfringement under applicable copyright law, except executing it on a
9595b7b453SJohn Marinocomputer or modifying a private copy.  Propagation includes copying,
9695b7b453SJohn Marinodistribution (with or without modification), making available to the
9795b7b453SJohn Marinopublic, and in some countries other activities as well.
9895b7b453SJohn Marino
9995b7b453SJohn Marino  To "convey" a work means any kind of propagation that enables other
10095b7b453SJohn Marinoparties to make or receive copies.  Mere interaction with a user through
10195b7b453SJohn Marinoa computer network, with no transfer of a copy, is not conveying.
10295b7b453SJohn Marino
10395b7b453SJohn Marino  An interactive user interface displays "Appropriate Legal Notices"
10495b7b453SJohn Marinoto the extent that it includes a convenient and prominently visible
10595b7b453SJohn Marinofeature that (1) displays an appropriate copyright notice, and (2)
10695b7b453SJohn Marinotells the user that there is no warranty for the work (except to the
10795b7b453SJohn Marinoextent that warranties are provided), that licensees may convey the
10895b7b453SJohn Marinowork under this License, and how to view a copy of this License.  If
10995b7b453SJohn Marinothe interface presents a list of user commands or options, such as a
11095b7b453SJohn Marinomenu, a prominent item in the list meets this criterion.
11195b7b453SJohn Marino
11295b7b453SJohn Marino  1. Source Code.
11395b7b453SJohn Marino
11495b7b453SJohn Marino  The "source code" for a work means the preferred form of the work
11595b7b453SJohn Marinofor making modifications to it.  "Object code" means any non-source
11695b7b453SJohn Marinoform of a work.
11795b7b453SJohn Marino
11895b7b453SJohn Marino  A "Standard Interface" means an interface that either is an official
11995b7b453SJohn Marinostandard defined by a recognized standards body, or, in the case of
12095b7b453SJohn Marinointerfaces specified for a particular programming language, one that
12195b7b453SJohn Marinois widely used among developers working in that language.
12295b7b453SJohn Marino
12395b7b453SJohn Marino  The "System Libraries" of an executable work include anything, other
12495b7b453SJohn Marinothan the work as a whole, that (a) is included in the normal form of
12595b7b453SJohn Marinopackaging a Major Component, but which is not part of that Major
12695b7b453SJohn MarinoComponent, and (b) serves only to enable use of the work with that
12795b7b453SJohn MarinoMajor Component, or to implement a Standard Interface for which an
12895b7b453SJohn Marinoimplementation is available to the public in source code form.  A
12995b7b453SJohn Marino"Major Component", in this context, means a major essential component
13095b7b453SJohn Marino(kernel, window system, and so on) of the specific operating system
13195b7b453SJohn Marino(if any) on which the executable work runs, or a compiler used to
13295b7b453SJohn Marinoproduce the work, or an object code interpreter used to run it.
13395b7b453SJohn Marino
13495b7b453SJohn Marino  The "Corresponding Source" for a work in object code form means all
13595b7b453SJohn Marinothe source code needed to generate, install, and (for an executable
13695b7b453SJohn Marinowork) run the object code and to modify the work, including scripts to
13795b7b453SJohn Marinocontrol those activities.  However, it does not include the work's
13895b7b453SJohn MarinoSystem Libraries, or general-purpose tools or generally available free
13995b7b453SJohn Marinoprograms which are used unmodified in performing those activities but
14095b7b453SJohn Marinowhich are not part of the work.  For example, Corresponding Source
14195b7b453SJohn Marinoincludes interface definition files associated with source files for
14295b7b453SJohn Marinothe work, and the source code for shared libraries and dynamically
14395b7b453SJohn Marinolinked subprograms that the work is specifically designed to require,
14495b7b453SJohn Marinosuch as by intimate data communication or control flow between those
14595b7b453SJohn Marinosubprograms and other parts of the work.
14695b7b453SJohn Marino
14795b7b453SJohn Marino  The Corresponding Source need not include anything that users
14895b7b453SJohn Marinocan regenerate automatically from other parts of the Corresponding
14995b7b453SJohn MarinoSource.
15095b7b453SJohn Marino
15195b7b453SJohn Marino  The Corresponding Source for a work in source code form is that
15295b7b453SJohn Marinosame work.
15395b7b453SJohn Marino
15495b7b453SJohn Marino  2. Basic Permissions.
15595b7b453SJohn Marino
15695b7b453SJohn Marino  All rights granted under this License are granted for the term of
15795b7b453SJohn Marinocopyright on the Program, and are irrevocable provided the stated
15895b7b453SJohn Marinoconditions are met.  This License explicitly affirms your unlimited
15995b7b453SJohn Marinopermission to run the unmodified Program.  The output from running a
16095b7b453SJohn Marinocovered work is covered by this License only if the output, given its
16195b7b453SJohn Marinocontent, constitutes a covered work.  This License acknowledges your
16295b7b453SJohn Marinorights of fair use or other equivalent, as provided by copyright law.
16395b7b453SJohn Marino
16495b7b453SJohn Marino  You may make, run and propagate covered works that you do not
16595b7b453SJohn Marinoconvey, without conditions so long as your license otherwise remains
16695b7b453SJohn Marinoin force.  You may convey covered works to others for the sole purpose
16795b7b453SJohn Marinoof having them make modifications exclusively for you, or provide you
16895b7b453SJohn Marinowith facilities for running those works, provided that you comply with
16995b7b453SJohn Marinothe terms of this License in conveying all material for which you do
17095b7b453SJohn Marinonot control copyright.  Those thus making or running the covered works
17195b7b453SJohn Marinofor you must do so exclusively on your behalf, under your direction
17295b7b453SJohn Marinoand control, on terms that prohibit them from making any copies of
17395b7b453SJohn Marinoyour copyrighted material outside their relationship with you.
17495b7b453SJohn Marino
17595b7b453SJohn Marino  Conveying under any other circumstances is permitted solely under
17695b7b453SJohn Marinothe conditions stated below.  Sublicensing is not allowed; section 10
17795b7b453SJohn Marinomakes it unnecessary.
17895b7b453SJohn Marino
17995b7b453SJohn Marino  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
18095b7b453SJohn Marino
18195b7b453SJohn Marino  No covered work shall be deemed part of an effective technological
18295b7b453SJohn Marinomeasure under any applicable law fulfilling obligations under article
18395b7b453SJohn Marino11 of the WIPO copyright treaty adopted on 20 December 1996, or
18495b7b453SJohn Marinosimilar laws prohibiting or restricting circumvention of such
18595b7b453SJohn Marinomeasures.
18695b7b453SJohn Marino
18795b7b453SJohn Marino  When you convey a covered work, you waive any legal power to forbid
18895b7b453SJohn Marinocircumvention of technological measures to the extent such circumvention
18995b7b453SJohn Marinois effected by exercising rights under this License with respect to
19095b7b453SJohn Marinothe covered work, and you disclaim any intention to limit operation or
19195b7b453SJohn Marinomodification of the work as a means of enforcing, against the work's
19295b7b453SJohn Marinousers, your or third parties' legal rights to forbid circumvention of
19395b7b453SJohn Marinotechnological measures.
19495b7b453SJohn Marino
19595b7b453SJohn Marino  4. Conveying Verbatim Copies.
19695b7b453SJohn Marino
19795b7b453SJohn Marino  You may convey verbatim copies of the Program's source code as you
19895b7b453SJohn Marinoreceive it, in any medium, provided that you conspicuously and
19995b7b453SJohn Marinoappropriately publish on each copy an appropriate copyright notice;
20095b7b453SJohn Marinokeep intact all notices stating that this License and any
20195b7b453SJohn Marinonon-permissive terms added in accord with section 7 apply to the code;
20295b7b453SJohn Marinokeep intact all notices of the absence of any warranty; and give all
20395b7b453SJohn Marinorecipients a copy of this License along with the Program.
20495b7b453SJohn Marino
20595b7b453SJohn Marino  You may charge any price or no price for each copy that you convey,
20695b7b453SJohn Marinoand you may offer support or warranty protection for a fee.
20795b7b453SJohn Marino
20895b7b453SJohn Marino  5. Conveying Modified Source Versions.
20995b7b453SJohn Marino
21095b7b453SJohn Marino  You may convey a work based on the Program, or the modifications to
21195b7b453SJohn Marinoproduce it from the Program, in the form of source code under the
21295b7b453SJohn Marinoterms of section 4, provided that you also meet all of these conditions:
21395b7b453SJohn Marino
21495b7b453SJohn Marino    a) The work must carry prominent notices stating that you modified
21595b7b453SJohn Marino    it, and giving a relevant date.
21695b7b453SJohn Marino
21795b7b453SJohn Marino    b) The work must carry prominent notices stating that it is
21895b7b453SJohn Marino    released under this License and any conditions added under section
21995b7b453SJohn Marino    7.  This requirement modifies the requirement in section 4 to
22095b7b453SJohn Marino    "keep intact all notices".
22195b7b453SJohn Marino
22295b7b453SJohn Marino    c) You must license the entire work, as a whole, under this
22395b7b453SJohn Marino    License to anyone who comes into possession of a copy.  This
22495b7b453SJohn Marino    License will therefore apply, along with any applicable section 7
22595b7b453SJohn Marino    additional terms, to the whole of the work, and all its parts,
22695b7b453SJohn Marino    regardless of how they are packaged.  This License gives no
22795b7b453SJohn Marino    permission to license the work in any other way, but it does not
22895b7b453SJohn Marino    invalidate such permission if you have separately received it.
22995b7b453SJohn Marino
23095b7b453SJohn Marino    d) If the work has interactive user interfaces, each must display
23195b7b453SJohn Marino    Appropriate Legal Notices; however, if the Program has interactive
23295b7b453SJohn Marino    interfaces that do not display Appropriate Legal Notices, your
23395b7b453SJohn Marino    work need not make them do so.
23495b7b453SJohn Marino
23595b7b453SJohn Marino  A compilation of a covered work with other separate and independent
23695b7b453SJohn Marinoworks, which are not by their nature extensions of the covered work,
23795b7b453SJohn Marinoand which are not combined with it such as to form a larger program,
23895b7b453SJohn Marinoin or on a volume of a storage or distribution medium, is called an
23995b7b453SJohn Marino"aggregate" if the compilation and its resulting copyright are not
24095b7b453SJohn Marinoused to limit the access or legal rights of the compilation's users
24195b7b453SJohn Marinobeyond what the individual works permit.  Inclusion of a covered work
24295b7b453SJohn Marinoin an aggregate does not cause this License to apply to the other
24395b7b453SJohn Marinoparts of the aggregate.
24495b7b453SJohn Marino
24595b7b453SJohn Marino  6. Conveying Non-Source Forms.
24695b7b453SJohn Marino
24795b7b453SJohn Marino  You may convey a covered work in object code form under the terms
24895b7b453SJohn Marinoof sections 4 and 5, provided that you also convey the
24995b7b453SJohn Marinomachine-readable Corresponding Source under the terms of this License,
25095b7b453SJohn Marinoin one of these ways:
25195b7b453SJohn Marino
25295b7b453SJohn Marino    a) Convey the object code in, or embodied in, a physical product
25395b7b453SJohn Marino    (including a physical distribution medium), accompanied by the
25495b7b453SJohn Marino    Corresponding Source fixed on a durable physical medium
25595b7b453SJohn Marino    customarily used for software interchange.
25695b7b453SJohn Marino
25795b7b453SJohn Marino    b) Convey the object code in, or embodied in, a physical product
25895b7b453SJohn Marino    (including a physical distribution medium), accompanied by a
25995b7b453SJohn Marino    written offer, valid for at least three years and valid for as
26095b7b453SJohn Marino    long as you offer spare parts or customer support for that product
26195b7b453SJohn Marino    model, to give anyone who possesses the object code either (1) a
26295b7b453SJohn Marino    copy of the Corresponding Source for all the software in the
26395b7b453SJohn Marino    product that is covered by this License, on a durable physical
26495b7b453SJohn Marino    medium customarily used for software interchange, for a price no
26595b7b453SJohn Marino    more than your reasonable cost of physically performing this
26695b7b453SJohn Marino    conveying of source, or (2) access to copy the
26795b7b453SJohn Marino    Corresponding Source from a network server at no charge.
26895b7b453SJohn Marino
26995b7b453SJohn Marino    c) Convey individual copies of the object code with a copy of the
27095b7b453SJohn Marino    written offer to provide the Corresponding Source.  This
27195b7b453SJohn Marino    alternative is allowed only occasionally and noncommercially, and
27295b7b453SJohn Marino    only if you received the object code with such an offer, in accord
27395b7b453SJohn Marino    with subsection 6b.
27495b7b453SJohn Marino
27595b7b453SJohn Marino    d) Convey the object code by offering access from a designated
27695b7b453SJohn Marino    place (gratis or for a charge), and offer equivalent access to the
27795b7b453SJohn Marino    Corresponding Source in the same way through the same place at no
27895b7b453SJohn Marino    further charge.  You need not require recipients to copy the
27995b7b453SJohn Marino    Corresponding Source along with the object code.  If the place to
28095b7b453SJohn Marino    copy the object code is a network server, the Corresponding Source
28195b7b453SJohn Marino    may be on a different server (operated by you or a third party)
28295b7b453SJohn Marino    that supports equivalent copying facilities, provided you maintain
28395b7b453SJohn Marino    clear directions next to the object code saying where to find the
28495b7b453SJohn Marino    Corresponding Source.  Regardless of what server hosts the
28595b7b453SJohn Marino    Corresponding Source, you remain obligated to ensure that it is
28695b7b453SJohn Marino    available for as long as needed to satisfy these requirements.
28795b7b453SJohn Marino
28895b7b453SJohn Marino    e) Convey the object code using peer-to-peer transmission, provided
28995b7b453SJohn Marino    you inform other peers where the object code and Corresponding
29095b7b453SJohn Marino    Source of the work are being offered to the general public at no
29195b7b453SJohn Marino    charge under subsection 6d.
29295b7b453SJohn Marino
29395b7b453SJohn Marino  A separable portion of the object code, whose source code is excluded
29495b7b453SJohn Marinofrom the Corresponding Source as a System Library, need not be
29595b7b453SJohn Marinoincluded in conveying the object code work.
29695b7b453SJohn Marino
29795b7b453SJohn Marino  A "User Product" is either (1) a "consumer product", which means any
29895b7b453SJohn Marinotangible personal property which is normally used for personal, family,
29995b7b453SJohn Marinoor household purposes, or (2) anything designed or sold for incorporation
30095b7b453SJohn Marinointo a dwelling.  In determining whether a product is a consumer product,
30195b7b453SJohn Marinodoubtful cases shall be resolved in favor of coverage.  For a particular
30295b7b453SJohn Marinoproduct received by a particular user, "normally used" refers to a
30395b7b453SJohn Marinotypical or common use of that class of product, regardless of the status
30495b7b453SJohn Marinoof the particular user or of the way in which the particular user
30595b7b453SJohn Marinoactually uses, or expects or is expected to use, the product.  A product
30695b7b453SJohn Marinois a consumer product regardless of whether the product has substantial
30795b7b453SJohn Marinocommercial, industrial or non-consumer uses, unless such uses represent
30895b7b453SJohn Marinothe only significant mode of use of the product.
30995b7b453SJohn Marino
31095b7b453SJohn Marino  "Installation Information" for a User Product means any methods,
31195b7b453SJohn Marinoprocedures, authorization keys, or other information required to install
31295b7b453SJohn Marinoand execute modified versions of a covered work in that User Product from
31395b7b453SJohn Marinoa modified version of its Corresponding Source.  The information must
31495b7b453SJohn Marinosuffice to ensure that the continued functioning of the modified object
31595b7b453SJohn Marinocode is in no case prevented or interfered with solely because
31695b7b453SJohn Marinomodification has been made.
31795b7b453SJohn Marino
31895b7b453SJohn Marino  If you convey an object code work under this section in, or with, or
31995b7b453SJohn Marinospecifically for use in, a User Product, and the conveying occurs as
32095b7b453SJohn Marinopart of a transaction in which the right of possession and use of the
32195b7b453SJohn MarinoUser Product is transferred to the recipient in perpetuity or for a
32295b7b453SJohn Marinofixed term (regardless of how the transaction is characterized), the
32395b7b453SJohn MarinoCorresponding Source conveyed under this section must be accompanied
32495b7b453SJohn Marinoby the Installation Information.  But this requirement does not apply
32595b7b453SJohn Marinoif neither you nor any third party retains the ability to install
32695b7b453SJohn Marinomodified object code on the User Product (for example, the work has
32795b7b453SJohn Marinobeen installed in ROM).
32895b7b453SJohn Marino
32995b7b453SJohn Marino  The requirement to provide Installation Information does not include a
33095b7b453SJohn Marinorequirement to continue to provide support service, warranty, or updates
33195b7b453SJohn Marinofor a work that has been modified or installed by the recipient, or for
33295b7b453SJohn Marinothe User Product in which it has been modified or installed.  Access to a
33395b7b453SJohn Marinonetwork may be denied when the modification itself materially and
33495b7b453SJohn Marinoadversely affects the operation of the network or violates the rules and
33595b7b453SJohn Marinoprotocols for communication across the network.
33695b7b453SJohn Marino
33795b7b453SJohn Marino  Corresponding Source conveyed, and Installation Information provided,
33895b7b453SJohn Marinoin accord with this section must be in a format that is publicly
33995b7b453SJohn Marinodocumented (and with an implementation available to the public in
34095b7b453SJohn Marinosource code form), and must require no special password or key for
34195b7b453SJohn Marinounpacking, reading or copying.
34295b7b453SJohn Marino
34395b7b453SJohn Marino  7. Additional Terms.
34495b7b453SJohn Marino
34595b7b453SJohn Marino  "Additional permissions" are terms that supplement the terms of this
34695b7b453SJohn MarinoLicense by making exceptions from one or more of its conditions.
34795b7b453SJohn MarinoAdditional permissions that are applicable to the entire Program shall
34895b7b453SJohn Marinobe treated as though they were included in this License, to the extent
34995b7b453SJohn Marinothat they are valid under applicable law.  If additional permissions
35095b7b453SJohn Marinoapply only to part of the Program, that part may be used separately
35195b7b453SJohn Marinounder those permissions, but the entire Program remains governed by
35295b7b453SJohn Marinothis License without regard to the additional permissions.
35395b7b453SJohn Marino
35495b7b453SJohn Marino  When you convey a copy of a covered work, you may at your option
35595b7b453SJohn Marinoremove any additional permissions from that copy, or from any part of
35695b7b453SJohn Marinoit.  (Additional permissions may be written to require their own
35795b7b453SJohn Marinoremoval in certain cases when you modify the work.)  You may place
35895b7b453SJohn Marinoadditional permissions on material, added by you to a covered work,
35995b7b453SJohn Marinofor which you have or can give appropriate copyright permission.
36095b7b453SJohn Marino
36195b7b453SJohn Marino  Notwithstanding any other provision of this License, for material you
36295b7b453SJohn Marinoadd to a covered work, you may (if authorized by the copyright holders of
36395b7b453SJohn Marinothat material) supplement the terms of this License with terms:
36495b7b453SJohn Marino
36595b7b453SJohn Marino    a) Disclaiming warranty or limiting liability differently from the
36695b7b453SJohn Marino    terms of sections 15 and 16 of this License; or
36795b7b453SJohn Marino
36895b7b453SJohn Marino    b) Requiring preservation of specified reasonable legal notices or
36995b7b453SJohn Marino    author attributions in that material or in the Appropriate Legal
37095b7b453SJohn Marino    Notices displayed by works containing it; or
37195b7b453SJohn Marino
37295b7b453SJohn Marino    c) Prohibiting misrepresentation of the origin of that material, or
37395b7b453SJohn Marino    requiring that modified versions of such material be marked in
37495b7b453SJohn Marino    reasonable ways as different from the original version; or
37595b7b453SJohn Marino
37695b7b453SJohn Marino    d) Limiting the use for publicity purposes of names of licensors or
37795b7b453SJohn Marino    authors of the material; or
37895b7b453SJohn Marino
37995b7b453SJohn Marino    e) Declining to grant rights under trademark law for use of some
38095b7b453SJohn Marino    trade names, trademarks, or service marks; or
38195b7b453SJohn Marino
38295b7b453SJohn Marino    f) Requiring indemnification of licensors and authors of that
38395b7b453SJohn Marino    material by anyone who conveys the material (or modified versions of
38495b7b453SJohn Marino    it) with contractual assumptions of liability to the recipient, for
38595b7b453SJohn Marino    any liability that these contractual assumptions directly impose on
38695b7b453SJohn Marino    those licensors and authors.
38795b7b453SJohn Marino
38895b7b453SJohn Marino  All other non-permissive additional terms are considered "further
38995b7b453SJohn Marinorestrictions" within the meaning of section 10.  If the Program as you
39095b7b453SJohn Marinoreceived it, or any part of it, contains a notice stating that it is
39195b7b453SJohn Marinogoverned by this License along with a term that is a further
39295b7b453SJohn Marinorestriction, you may remove that term.  If a license document contains
39395b7b453SJohn Marinoa further restriction but permits relicensing or conveying under this
39495b7b453SJohn MarinoLicense, you may add to a covered work material governed by the terms
39595b7b453SJohn Marinoof that license document, provided that the further restriction does
39695b7b453SJohn Marinonot survive such relicensing or conveying.
39795b7b453SJohn Marino
39895b7b453SJohn Marino  If you add terms to a covered work in accord with this section, you
39995b7b453SJohn Marinomust place, in the relevant source files, a statement of the
40095b7b453SJohn Marinoadditional terms that apply to those files, or a notice indicating
40195b7b453SJohn Marinowhere to find the applicable terms.
40295b7b453SJohn Marino
40395b7b453SJohn Marino  Additional terms, permissive or non-permissive, may be stated in the
40495b7b453SJohn Marinoform of a separately written license, or stated as exceptions;
40595b7b453SJohn Marinothe above requirements apply either way.
40695b7b453SJohn Marino
40795b7b453SJohn Marino  8. Termination.
40895b7b453SJohn Marino
40995b7b453SJohn Marino  You may not propagate or modify a covered work except as expressly
41095b7b453SJohn Marinoprovided under this License.  Any attempt otherwise to propagate or
41195b7b453SJohn Marinomodify it is void, and will automatically terminate your rights under
41295b7b453SJohn Marinothis License (including any patent licenses granted under the third
41395b7b453SJohn Marinoparagraph of section 11).
41495b7b453SJohn Marino
41595b7b453SJohn Marino  However, if you cease all violation of this License, then your
41695b7b453SJohn Marinolicense from a particular copyright holder is reinstated (a)
41795b7b453SJohn Marinoprovisionally, unless and until the copyright holder explicitly and
41895b7b453SJohn Marinofinally terminates your license, and (b) permanently, if the copyright
41995b7b453SJohn Marinoholder fails to notify you of the violation by some reasonable means
42095b7b453SJohn Marinoprior to 60 days after the cessation.
42195b7b453SJohn Marino
42295b7b453SJohn Marino  Moreover, your license from a particular copyright holder is
42395b7b453SJohn Marinoreinstated permanently if the copyright holder notifies you of the
42495b7b453SJohn Marinoviolation by some reasonable means, this is the first time you have
42595b7b453SJohn Marinoreceived notice of violation of this License (for any work) from that
42695b7b453SJohn Marinocopyright holder, and you cure the violation prior to 30 days after
42795b7b453SJohn Marinoyour receipt of the notice.
42895b7b453SJohn Marino
42995b7b453SJohn Marino  Termination of your rights under this section does not terminate the
43095b7b453SJohn Marinolicenses of parties who have received copies or rights from you under
43195b7b453SJohn Marinothis License.  If your rights have been terminated and not permanently
43295b7b453SJohn Marinoreinstated, you do not qualify to receive new licenses for the same
43395b7b453SJohn Marinomaterial under section 10.
43495b7b453SJohn Marino
43595b7b453SJohn Marino  9. Acceptance Not Required for Having Copies.
43695b7b453SJohn Marino
43795b7b453SJohn Marino  You are not required to accept this License in order to receive or
43895b7b453SJohn Marinorun a copy of the Program.  Ancillary propagation of a covered work
43995b7b453SJohn Marinooccurring solely as a consequence of using peer-to-peer transmission
44095b7b453SJohn Marinoto receive a copy likewise does not require acceptance.  However,
44195b7b453SJohn Marinonothing other than this License grants you permission to propagate or
44295b7b453SJohn Marinomodify any covered work.  These actions infringe copyright if you do
44395b7b453SJohn Marinonot accept this License.  Therefore, by modifying or propagating a
44495b7b453SJohn Marinocovered work, you indicate your acceptance of this License to do so.
44595b7b453SJohn Marino
44695b7b453SJohn Marino  10. Automatic Licensing of Downstream Recipients.
44795b7b453SJohn Marino
44895b7b453SJohn Marino  Each time you convey a covered work, the recipient automatically
44995b7b453SJohn Marinoreceives a license from the original licensors, to run, modify and
45095b7b453SJohn Marinopropagate that work, subject to this License.  You are not responsible
45195b7b453SJohn Marinofor enforcing compliance by third parties with this License.
45295b7b453SJohn Marino
45395b7b453SJohn Marino  An "entity transaction" is a transaction transferring control of an
45495b7b453SJohn Marinoorganization, or substantially all assets of one, or subdividing an
45595b7b453SJohn Marinoorganization, or merging organizations.  If propagation of a covered
45695b7b453SJohn Marinowork results from an entity transaction, each party to that
45795b7b453SJohn Marinotransaction who receives a copy of the work also receives whatever
45895b7b453SJohn Marinolicenses to the work the party's predecessor in interest had or could
45995b7b453SJohn Marinogive under the previous paragraph, plus a right to possession of the
46095b7b453SJohn MarinoCorresponding Source of the work from the predecessor in interest, if
46195b7b453SJohn Marinothe predecessor has it or can get it with reasonable efforts.
46295b7b453SJohn Marino
46395b7b453SJohn Marino  You may not impose any further restrictions on the exercise of the
46495b7b453SJohn Marinorights granted or affirmed under this License.  For example, you may
46595b7b453SJohn Marinonot impose a license fee, royalty, or other charge for exercise of
46695b7b453SJohn Marinorights granted under this License, and you may not initiate litigation
46795b7b453SJohn Marino(including a cross-claim or counterclaim in a lawsuit) alleging that
46895b7b453SJohn Marinoany patent claim is infringed by making, using, selling, offering for
46995b7b453SJohn Marinosale, or importing the Program or any portion of it.
47095b7b453SJohn Marino
47195b7b453SJohn Marino  11. Patents.
47295b7b453SJohn Marino
47395b7b453SJohn Marino  A "contributor" is a copyright holder who authorizes use under this
47495b7b453SJohn MarinoLicense of the Program or a work on which the Program is based.  The
47595b7b453SJohn Marinowork thus licensed is called the contributor's "contributor version".
47695b7b453SJohn Marino
47795b7b453SJohn Marino  A contributor's "essential patent claims" are all patent claims
47895b7b453SJohn Marinoowned or controlled by the contributor, whether already acquired or
47995b7b453SJohn Marinohereafter acquired, that would be infringed by some manner, permitted
48095b7b453SJohn Marinoby this License, of making, using, or selling its contributor version,
48195b7b453SJohn Marinobut do not include claims that would be infringed only as a
48295b7b453SJohn Marinoconsequence of further modification of the contributor version.  For
48395b7b453SJohn Marinopurposes of this definition, "control" includes the right to grant
48495b7b453SJohn Marinopatent sublicenses in a manner consistent with the requirements of
48595b7b453SJohn Marinothis License.
48695b7b453SJohn Marino
48795b7b453SJohn Marino  Each contributor grants you a non-exclusive, worldwide, royalty-free
48895b7b453SJohn Marinopatent license under the contributor's essential patent claims, to
48995b7b453SJohn Marinomake, use, sell, offer for sale, import and otherwise run, modify and
49095b7b453SJohn Marinopropagate the contents of its contributor version.
49195b7b453SJohn Marino
49295b7b453SJohn Marino  In the following three paragraphs, a "patent license" is any express
49395b7b453SJohn Marinoagreement or commitment, however denominated, not to enforce a patent
49495b7b453SJohn Marino(such as an express permission to practice a patent or covenant not to
49595b7b453SJohn Marinosue for patent infringement).  To "grant" such a patent license to a
49695b7b453SJohn Marinoparty means to make such an agreement or commitment not to enforce a
49795b7b453SJohn Marinopatent against the party.
49895b7b453SJohn Marino
49995b7b453SJohn Marino  If you convey a covered work, knowingly relying on a patent license,
50095b7b453SJohn Marinoand the Corresponding Source of the work is not available for anyone
50195b7b453SJohn Marinoto copy, free of charge and under the terms of this License, through a
50295b7b453SJohn Marinopublicly available network server or other readily accessible means,
50395b7b453SJohn Marinothen you must either (1) cause the Corresponding Source to be so
50495b7b453SJohn Marinoavailable, or (2) arrange to deprive yourself of the benefit of the
50595b7b453SJohn Marinopatent license for this particular work, or (3) arrange, in a manner
50695b7b453SJohn Marinoconsistent with the requirements of this License, to extend the patent
50795b7b453SJohn Marinolicense to downstream recipients.  "Knowingly relying" means you have
50895b7b453SJohn Marinoactual knowledge that, but for the patent license, your conveying the
50995b7b453SJohn Marinocovered work in a country, or your recipient's use of the covered work
51095b7b453SJohn Marinoin a country, would infringe one or more identifiable patents in that
51195b7b453SJohn Marinocountry that you have reason to believe are valid.
51295b7b453SJohn Marino
51395b7b453SJohn Marino  If, pursuant to or in connection with a single transaction or
51495b7b453SJohn Marinoarrangement, you convey, or propagate by procuring conveyance of, a
51595b7b453SJohn Marinocovered work, and grant a patent license to some of the parties
51695b7b453SJohn Marinoreceiving the covered work authorizing them to use, propagate, modify
51795b7b453SJohn Marinoor convey a specific copy of the covered work, then the patent license
51895b7b453SJohn Marinoyou grant is automatically extended to all recipients of the covered
51995b7b453SJohn Marinowork and works based on it.
52095b7b453SJohn Marino
52195b7b453SJohn Marino  A patent license is "discriminatory" if it does not include within
52295b7b453SJohn Marinothe scope of its coverage, prohibits the exercise of, or is
52395b7b453SJohn Marinoconditioned on the non-exercise of one or more of the rights that are
52495b7b453SJohn Marinospecifically granted under this License.  You may not convey a covered
52595b7b453SJohn Marinowork if you are a party to an arrangement with a third party that is
52695b7b453SJohn Marinoin the business of distributing software, under which you make payment
52795b7b453SJohn Marinoto the third party based on the extent of your activity of conveying
52895b7b453SJohn Marinothe work, and under which the third party grants, to any of the
52995b7b453SJohn Marinoparties who would receive the covered work from you, a discriminatory
53095b7b453SJohn Marinopatent license (a) in connection with copies of the covered work
53195b7b453SJohn Marinoconveyed by you (or copies made from those copies), or (b) primarily
53295b7b453SJohn Marinofor and in connection with specific products or compilations that
53395b7b453SJohn Marinocontain the covered work, unless you entered into that arrangement,
53495b7b453SJohn Marinoor that patent license was granted, prior to 28 March 2007.
53595b7b453SJohn Marino
53695b7b453SJohn Marino  Nothing in this License shall be construed as excluding or limiting
53795b7b453SJohn Marinoany implied license or other defenses to infringement that may
53895b7b453SJohn Marinootherwise be available to you under applicable patent law.
53995b7b453SJohn Marino
54095b7b453SJohn Marino  12. No Surrender of Others' Freedom.
54195b7b453SJohn Marino
54295b7b453SJohn Marino  If conditions are imposed on you (whether by court order, agreement or
54395b7b453SJohn Marinootherwise) that contradict the conditions of this License, they do not
54495b7b453SJohn Marinoexcuse you from the conditions of this License.  If you cannot convey a
54595b7b453SJohn Marinocovered work so as to satisfy simultaneously your obligations under this
54695b7b453SJohn MarinoLicense and any other pertinent obligations, then as a consequence you may
54795b7b453SJohn Marinonot convey it at all.  For example, if you agree to terms that obligate you
54895b7b453SJohn Marinoto collect a royalty for further conveying from those to whom you convey
54995b7b453SJohn Marinothe Program, the only way you could satisfy both those terms and this
55095b7b453SJohn MarinoLicense would be to refrain entirely from conveying the Program.
55195b7b453SJohn Marino
55295b7b453SJohn Marino  13. Use with the GNU Affero General Public License.
55395b7b453SJohn Marino
55495b7b453SJohn Marino  Notwithstanding any other provision of this License, you have
55595b7b453SJohn Marinopermission to link or combine any covered work with a work licensed
55695b7b453SJohn Marinounder version 3 of the GNU Affero General Public License into a single
55795b7b453SJohn Marinocombined work, and to convey the resulting work.  The terms of this
55895b7b453SJohn MarinoLicense will continue to apply to the part which is the covered work,
55995b7b453SJohn Marinobut the special requirements of the GNU Affero General Public License,
56095b7b453SJohn Marinosection 13, concerning interaction through a network will apply to the
56195b7b453SJohn Marinocombination as such.
56295b7b453SJohn Marino
56395b7b453SJohn Marino  14. Revised Versions of this License.
56495b7b453SJohn Marino
56595b7b453SJohn Marino  The Free Software Foundation may publish revised and/or new versions of
56695b7b453SJohn Marinothe GNU General Public License from time to time.  Such new versions will
56795b7b453SJohn Marinobe similar in spirit to the present version, but may differ in detail to
56895b7b453SJohn Marinoaddress new problems or concerns.
56995b7b453SJohn Marino
57095b7b453SJohn Marino  Each version is given a distinguishing version number.  If the
57195b7b453SJohn MarinoProgram specifies that a certain numbered version of the GNU General
57295b7b453SJohn MarinoPublic License "or any later version" applies to it, you have the
57395b7b453SJohn Marinooption of following the terms and conditions either of that numbered
57495b7b453SJohn Marinoversion or of any later version published by the Free Software
57595b7b453SJohn MarinoFoundation.  If the Program does not specify a version number of the
57695b7b453SJohn MarinoGNU General Public License, you may choose any version ever published
57795b7b453SJohn Marinoby the Free Software Foundation.
57895b7b453SJohn Marino
57995b7b453SJohn Marino  If the Program specifies that a proxy can decide which future
58095b7b453SJohn Marinoversions of the GNU General Public License can be used, that proxy's
58195b7b453SJohn Marinopublic statement of acceptance of a version permanently authorizes you
58295b7b453SJohn Marinoto choose that version for the Program.
58395b7b453SJohn Marino
58495b7b453SJohn Marino  Later license versions may give you additional or different
58595b7b453SJohn Marinopermissions.  However, no additional obligations are imposed on any
58695b7b453SJohn Marinoauthor or copyright holder as a result of your choosing to follow a
58795b7b453SJohn Marinolater version.
58895b7b453SJohn Marino
58995b7b453SJohn Marino  15. Disclaimer of Warranty.
59095b7b453SJohn Marino
59195b7b453SJohn Marino  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
59295b7b453SJohn MarinoAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
59395b7b453SJohn MarinoHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
59495b7b453SJohn MarinoOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
59595b7b453SJohn MarinoTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59695b7b453SJohn MarinoPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
59795b7b453SJohn MarinoIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
59895b7b453SJohn MarinoALL NECESSARY SERVICING, REPAIR OR CORRECTION.
59995b7b453SJohn Marino
60095b7b453SJohn Marino  16. Limitation of Liability.
60195b7b453SJohn Marino
60295b7b453SJohn Marino  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
60395b7b453SJohn MarinoWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
60495b7b453SJohn MarinoTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
60595b7b453SJohn MarinoGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
60695b7b453SJohn MarinoUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
60795b7b453SJohn MarinoDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
60895b7b453SJohn MarinoPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
60995b7b453SJohn MarinoEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
61095b7b453SJohn MarinoSUCH DAMAGES.
61195b7b453SJohn Marino
61295b7b453SJohn Marino  17. Interpretation of Sections 15 and 16.
61395b7b453SJohn Marino
61495b7b453SJohn Marino  If the disclaimer of warranty and limitation of liability provided
61595b7b453SJohn Marinoabove cannot be given local legal effect according to their terms,
61695b7b453SJohn Marinoreviewing courts shall apply local law that most closely approximates
61795b7b453SJohn Marinoan absolute waiver of all civil liability in connection with the
61895b7b453SJohn MarinoProgram, unless a warranty or assumption of liability accompanies a
61995b7b453SJohn Marinocopy of the Program in return for a fee.
62095b7b453SJohn Marino
62195b7b453SJohn Marino                     END OF TERMS AND CONDITIONS
62295b7b453SJohn Marino
62395b7b453SJohn Marino            How to Apply These Terms to Your New Programs
62495b7b453SJohn Marino
62595b7b453SJohn Marino  If you develop a new program, and you want it to be of the greatest
62695b7b453SJohn Marinopossible use to the public, the best way to achieve this is to make it
62795b7b453SJohn Marinofree software which everyone can redistribute and change under these terms.
62895b7b453SJohn Marino
62995b7b453SJohn Marino  To do so, attach the following notices to the program.  It is safest
63095b7b453SJohn Marinoto attach them to the start of each source file to most effectively
63195b7b453SJohn Marinostate the exclusion of warranty; and each file should have at least
63295b7b453SJohn Marinothe "copyright" line and a pointer to where the full notice is found.
63395b7b453SJohn Marino
63495b7b453SJohn Marino    <one line to give the program's name and a brief idea of what it does.>
63595b7b453SJohn Marino    Copyright (C) <year>  <name of author>
63695b7b453SJohn Marino
63795b7b453SJohn Marino    This program is free software: you can redistribute it and/or modify
63895b7b453SJohn Marino    it under the terms of the GNU General Public License as published by
63995b7b453SJohn Marino    the Free Software Foundation, either version 3 of the License, or
64095b7b453SJohn Marino    (at your option) any later version.
64195b7b453SJohn Marino
64295b7b453SJohn Marino    This program is distributed in the hope that it will be useful,
64395b7b453SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
64495b7b453SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
64595b7b453SJohn Marino    GNU General Public License for more details.
64695b7b453SJohn Marino
64795b7b453SJohn Marino    You should have received a copy of the GNU General Public License
648*09d4459fSDaniel Fojt    along with this program.  If not, see <https://www.gnu.org/licenses/>.
64995b7b453SJohn Marino
65095b7b453SJohn MarinoAlso add information on how to contact you by electronic and paper mail.
65195b7b453SJohn Marino
65295b7b453SJohn Marino  If the program does terminal interaction, make it output a short
65395b7b453SJohn Marinonotice like this when it starts in an interactive mode:
65495b7b453SJohn Marino
65595b7b453SJohn Marino    <program>  Copyright (C) <year>  <name of author>
65695b7b453SJohn Marino    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
65795b7b453SJohn Marino    This is free software, and you are welcome to redistribute it
65895b7b453SJohn Marino    under certain conditions; type `show c' for details.
65995b7b453SJohn Marino
66095b7b453SJohn MarinoThe hypothetical commands `show w' and `show c' should show the appropriate
66195b7b453SJohn Marinoparts of the General Public License.  Of course, your program's commands
66295b7b453SJohn Marinomight be different; for a GUI interface, you would use an "about box".
66395b7b453SJohn Marino
66495b7b453SJohn Marino  You should also get your employer (if you work as a programmer) or school,
66595b7b453SJohn Marinoif any, to sign a "copyright disclaimer" for the program, if necessary.
66695b7b453SJohn MarinoFor more information on this, and how to apply and follow the GNU GPL, see
667*09d4459fSDaniel Fojt<https://www.gnu.org/licenses/>.
66895b7b453SJohn Marino
66995b7b453SJohn Marino  The GNU General Public License does not permit incorporating your program
67095b7b453SJohn Marinointo proprietary programs.  If your program is a subroutine library, you
67195b7b453SJohn Marinomay consider it more useful to permit linking proprietary applications with
67295b7b453SJohn Marinothe library.  If this is what you want to do, use the GNU Lesser General
67395b7b453SJohn MarinoPublic License instead of this License.  But first, please read
674*09d4459fSDaniel Fojt<https://www.gnu.org/licenses/why-not-lgpl.html>.
675