162306a36Sopenharmony_ciValid-License-Identifier: GPL-1.0+
262306a36Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/GPL-1.0.html
362306a36Sopenharmony_ciUsage-Guide:
462306a36Sopenharmony_ci  The GNU General Public License (GPL) version 1 should not be used in new
562306a36Sopenharmony_ci  code. For existing kernel code the 'or any later version' option is
662306a36Sopenharmony_ci  required to be compatible with the general license of the project: GPLv2.
762306a36Sopenharmony_ci  To use the license in source code, put the following SPDX tag/value pair
862306a36Sopenharmony_ci  into a comment according to the placement guidelines in the licensing
962306a36Sopenharmony_ci  rules documentation:
1062306a36Sopenharmony_ci    SPDX-License-Identifier: GPL-1.0+
1162306a36Sopenharmony_ciLicense-Text:
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci	    GNU GENERAL PUBLIC LICENSE
1462306a36Sopenharmony_ci	     Version 1, February 1989
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci Copyright (C) 1989 Free Software Foundation, Inc.
1762306a36Sopenharmony_ci                    675 Mass Ave, Cambridge, MA 02139, USA
1862306a36Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies
1962306a36Sopenharmony_ci of this license document, but changing it is not allowed.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci			    Preamble
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci  The license agreements of most software companies try to keep users
2462306a36Sopenharmony_ciat the mercy of those companies.  By contrast, our General Public
2562306a36Sopenharmony_ciLicense is intended to guarantee your freedom to share and change free
2662306a36Sopenharmony_cisoftware--to make sure the software is free for all its users.  The
2762306a36Sopenharmony_ciGeneral Public License applies to the Free Software Foundation's
2862306a36Sopenharmony_cisoftware and to any other program whose authors commit to using it.
2962306a36Sopenharmony_ciYou can use it for your programs, too.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci  When we speak of free software, we are referring to freedom, not
3262306a36Sopenharmony_ciprice.  Specifically, the General Public License is designed to make
3362306a36Sopenharmony_cisure that you have the freedom to give away or sell copies of free
3462306a36Sopenharmony_cisoftware, that you receive source code or can get it if you want it,
3562306a36Sopenharmony_cithat you can change the software or use pieces of it in new free
3662306a36Sopenharmony_ciprograms; and that you know you can do these things.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci  To protect your rights, we need to make restrictions that forbid
3962306a36Sopenharmony_cianyone to deny you these rights or to ask you to surrender the rights.
4062306a36Sopenharmony_ciThese restrictions translate to certain responsibilities for you if you
4162306a36Sopenharmony_cidistribute copies of the software, or if you modify it.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci  For example, if you distribute copies of a such a program, whether
4462306a36Sopenharmony_cigratis or for a fee, you must give the recipients all the rights that
4562306a36Sopenharmony_ciyou have.  You must make sure that they, too, receive or can get the
4662306a36Sopenharmony_cisource code.  And you must tell them their rights.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci  We protect your rights with two steps: (1) copyright the software, and
4962306a36Sopenharmony_ci(2) offer you this license which gives you legal permission to copy,
5062306a36Sopenharmony_cidistribute and/or modify the software.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci  Also, for each author's protection and ours, we want to make certain
5362306a36Sopenharmony_cithat everyone understands that there is no warranty for this free
5462306a36Sopenharmony_cisoftware.  If the software is modified by someone else and passed on, we
5562306a36Sopenharmony_ciwant its recipients to know that what they have is not the original, so
5662306a36Sopenharmony_cithat any problems introduced by others will not reflect on the original
5762306a36Sopenharmony_ciauthors' reputations.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci  The precise terms and conditions for copying, distribution and
6062306a36Sopenharmony_cimodification follow.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ci		    GNU GENERAL PUBLIC LICENSE
6362306a36Sopenharmony_ci   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ci  0. This License Agreement applies to any program or other work which
6662306a36Sopenharmony_cicontains a notice placed by the copyright holder saying it may be
6762306a36Sopenharmony_cidistributed under the terms of this General Public License.  The
6862306a36Sopenharmony_ci"Program", below, refers to any such program or work, and a "work based
6962306a36Sopenharmony_cion the Program" means either the Program or any work containing the
7062306a36Sopenharmony_ciProgram or a portion of it, either verbatim or with modifications.  Each
7162306a36Sopenharmony_cilicensee is addressed as "you".
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ci  1. You may copy and distribute verbatim copies of the Program's source
7462306a36Sopenharmony_cicode as you receive it, in any medium, provided that you conspicuously and
7562306a36Sopenharmony_ciappropriately publish on each copy an appropriate copyright notice and
7662306a36Sopenharmony_cidisclaimer of warranty; keep intact all the notices that refer to this
7762306a36Sopenharmony_ciGeneral Public License and to the absence of any warranty; and give any
7862306a36Sopenharmony_ciother recipients of the Program a copy of this General Public License
7962306a36Sopenharmony_cialong with the Program.  You may charge a fee for the physical act of
8062306a36Sopenharmony_citransferring a copy.
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ci  2. You may modify your copy or copies of the Program or any portion of
8362306a36Sopenharmony_ciit, and copy and distribute such modifications under the terms of Paragraph
8462306a36Sopenharmony_ci1 above, provided that you also do the following:
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci    a) cause the modified files to carry prominent notices stating that
8762306a36Sopenharmony_ci    you changed the files and the date of any change; and
8862306a36Sopenharmony_ci
8962306a36Sopenharmony_ci    b) cause the whole of any work that you distribute or publish, that
9062306a36Sopenharmony_ci    in whole or in part contains the Program or any part thereof, either
9162306a36Sopenharmony_ci    with or without modifications, to be licensed at no charge to all
9262306a36Sopenharmony_ci    third parties under the terms of this General Public License (except
9362306a36Sopenharmony_ci    that you may choose to grant warranty protection to some or all
9462306a36Sopenharmony_ci    third parties, at your option).
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci    c) If the modified program normally reads commands interactively when
9762306a36Sopenharmony_ci    run, you must cause it, when started running for such interactive use
9862306a36Sopenharmony_ci    in the simplest and most usual way, to print or display an
9962306a36Sopenharmony_ci    announcement including an appropriate copyright notice and a notice
10062306a36Sopenharmony_ci    that there is no warranty (or else, saying that you provide a
10162306a36Sopenharmony_ci    warranty) and that users may redistribute the program under these
10262306a36Sopenharmony_ci    conditions, and telling the user how to view a copy of this General
10362306a36Sopenharmony_ci    Public License.
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ci    d) You may charge a fee for the physical act of transferring a
10662306a36Sopenharmony_ci    copy, and you may at your option offer warranty protection in
10762306a36Sopenharmony_ci    exchange for a fee.
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ciMere aggregation of another independent work with the Program (or its
11062306a36Sopenharmony_ciderivative) on a volume of a storage or distribution medium does not bring
11162306a36Sopenharmony_cithe other work under the scope of these terms.
11262306a36Sopenharmony_ci
11362306a36Sopenharmony_ci  3. You may copy and distribute the Program (or a portion or derivative of
11462306a36Sopenharmony_ciit, under Paragraph 2) in object code or executable form under the terms of
11562306a36Sopenharmony_ciParagraphs 1 and 2 above provided that you also do one of the following:
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci    a) accompany it with the complete corresponding machine-readable
11862306a36Sopenharmony_ci    source code, which must be distributed under the terms of
11962306a36Sopenharmony_ci    Paragraphs 1 and 2 above; or,
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ci    b) accompany it with a written offer, valid for at least three
12262306a36Sopenharmony_ci    years, to give any third party free (except for a nominal charge
12362306a36Sopenharmony_ci    for the cost of distribution) a complete machine-readable copy of the
12462306a36Sopenharmony_ci    corresponding source code, to be distributed under the terms of
12562306a36Sopenharmony_ci    Paragraphs 1 and 2 above; or,
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ci    c) accompany it with the information you received as to where the
12862306a36Sopenharmony_ci    corresponding source code may be obtained.  (This alternative is
12962306a36Sopenharmony_ci    allowed only for noncommercial distribution and only if you
13062306a36Sopenharmony_ci    received the program in object code or executable form alone.)
13162306a36Sopenharmony_ci
13262306a36Sopenharmony_ciSource code for a work means the preferred form of the work for making
13362306a36Sopenharmony_cimodifications to it.  For an executable file, complete source code means
13462306a36Sopenharmony_ciall the source code for all modules it contains; but, as a special
13562306a36Sopenharmony_ciexception, it need not include source code for modules which are standard
13662306a36Sopenharmony_cilibraries that accompany the operating system on which the executable
13762306a36Sopenharmony_cifile runs, or for standard header files or definitions files that
13862306a36Sopenharmony_ciaccompany that operating system.
13962306a36Sopenharmony_ci
14062306a36Sopenharmony_ci  4. You may not copy, modify, sublicense, distribute or transfer the
14162306a36Sopenharmony_ciProgram except as expressly provided under this General Public License.
14262306a36Sopenharmony_ciAny attempt otherwise to copy, modify, sublicense, distribute or transfer
14362306a36Sopenharmony_cithe Program is void, and will automatically terminate your rights to use
14462306a36Sopenharmony_cithe Program under this License.  However, parties who have received
14562306a36Sopenharmony_cicopies, or rights to use copies, from you under this General Public
14662306a36Sopenharmony_ciLicense will not have their licenses terminated so long as such parties
14762306a36Sopenharmony_ciremain in full compliance.
14862306a36Sopenharmony_ci
14962306a36Sopenharmony_ci  5. By copying, distributing or modifying the Program (or any work based
15062306a36Sopenharmony_cion the Program) you indicate your acceptance of this license to do so,
15162306a36Sopenharmony_ciand all its terms and conditions.
15262306a36Sopenharmony_ci
15362306a36Sopenharmony_ci  6. Each time you redistribute the Program (or any work based on the
15462306a36Sopenharmony_ciProgram), the recipient automatically receives a license from the original
15562306a36Sopenharmony_cilicensor to copy, distribute or modify the Program subject to these
15662306a36Sopenharmony_citerms and conditions.  You may not impose any further restrictions on the
15762306a36Sopenharmony_cirecipients' exercise of the rights granted herein.
15862306a36Sopenharmony_ci
15962306a36Sopenharmony_ci  7. The Free Software Foundation may publish revised and/or new versions
16062306a36Sopenharmony_ciof the General Public License from time to time.  Such new versions will
16162306a36Sopenharmony_cibe similar in spirit to the present version, but may differ in detail to
16262306a36Sopenharmony_ciaddress new problems or concerns.
16362306a36Sopenharmony_ci
16462306a36Sopenharmony_ciEach version is given a distinguishing version number.  If the Program
16562306a36Sopenharmony_cispecifies a version number of the license which applies to it and "any
16662306a36Sopenharmony_cilater version", you have the option of following the terms and conditions
16762306a36Sopenharmony_cieither of that version or of any later version published by the Free
16862306a36Sopenharmony_ciSoftware Foundation.  If the Program does not specify a version number of
16962306a36Sopenharmony_cithe license, you may choose any version ever published by the Free Software
17062306a36Sopenharmony_ciFoundation.
17162306a36Sopenharmony_ci
17262306a36Sopenharmony_ci  8. If you wish to incorporate parts of the Program into other free
17362306a36Sopenharmony_ciprograms whose distribution conditions are different, write to the author
17462306a36Sopenharmony_cito ask for permission.  For software which is copyrighted by the Free
17562306a36Sopenharmony_ciSoftware Foundation, write to the Free Software Foundation; we sometimes
17662306a36Sopenharmony_cimake exceptions for this.  Our decision will be guided by the two goals
17762306a36Sopenharmony_ciof preserving the free status of all derivatives of our free software and
17862306a36Sopenharmony_ciof promoting the sharing and reuse of software generally.
17962306a36Sopenharmony_ci
18062306a36Sopenharmony_ci			    NO WARRANTY
18162306a36Sopenharmony_ci
18262306a36Sopenharmony_ci  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
18362306a36Sopenharmony_ciFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
18462306a36Sopenharmony_ciOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
18562306a36Sopenharmony_ciPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
18662306a36Sopenharmony_ciOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18762306a36Sopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
18862306a36Sopenharmony_ciTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
18962306a36Sopenharmony_ciPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
19062306a36Sopenharmony_ciREPAIR OR CORRECTION.
19162306a36Sopenharmony_ci
19262306a36Sopenharmony_ci  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
19362306a36Sopenharmony_ciWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
19462306a36Sopenharmony_ciREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
19562306a36Sopenharmony_ciINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
19662306a36Sopenharmony_ciOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
19762306a36Sopenharmony_ciTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
19862306a36Sopenharmony_ciYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
19962306a36Sopenharmony_ciPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
20062306a36Sopenharmony_ciPOSSIBILITY OF SUCH DAMAGES.
20162306a36Sopenharmony_ci
20262306a36Sopenharmony_ci		     END OF TERMS AND CONDITIONS
20362306a36Sopenharmony_ci
20462306a36Sopenharmony_ci	Appendix: How to Apply These Terms to Your New Programs
20562306a36Sopenharmony_ci
20662306a36Sopenharmony_ci  If you develop a new program, and you want it to be of the greatest
20762306a36Sopenharmony_cipossible use to humanity, the best way to achieve this is to make it
20862306a36Sopenharmony_cifree software which everyone can redistribute and change under these
20962306a36Sopenharmony_citerms.
21062306a36Sopenharmony_ci
21162306a36Sopenharmony_ci  To do so, attach the following notices to the program.  It is safest to
21262306a36Sopenharmony_ciattach them to the start of each source file to most effectively convey
21362306a36Sopenharmony_cithe exclusion of warranty; and each file should have at least the
21462306a36Sopenharmony_ci"copyright" line and a pointer to where the full notice is found.
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ci    <one line to give the program's name and a brief idea of what it does.>
21762306a36Sopenharmony_ci    Copyright (C) 19yy  <name of author>
21862306a36Sopenharmony_ci
21962306a36Sopenharmony_ci    This program is free software; you can redistribute it and/or modify
22062306a36Sopenharmony_ci    it under the terms of the GNU General Public License as published by
22162306a36Sopenharmony_ci    the Free Software Foundation; either version 1, or (at your option)
22262306a36Sopenharmony_ci    any later version.
22362306a36Sopenharmony_ci
22462306a36Sopenharmony_ci    This program is distributed in the hope that it will be useful,
22562306a36Sopenharmony_ci    but WITHOUT ANY WARRANTY; without even the implied warranty of
22662306a36Sopenharmony_ci    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22762306a36Sopenharmony_ci    GNU General Public License for more details.
22862306a36Sopenharmony_ci
22962306a36Sopenharmony_ci    You should have received a copy of the GNU General Public License
23062306a36Sopenharmony_ci    along with this program; if not, write to the Free Software
23162306a36Sopenharmony_ci    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23262306a36Sopenharmony_ci
23362306a36Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail.
23462306a36Sopenharmony_ci
23562306a36Sopenharmony_ciIf the program is interactive, make it output a short notice like this
23662306a36Sopenharmony_ciwhen it starts in an interactive mode:
23762306a36Sopenharmony_ci
23862306a36Sopenharmony_ci    Gnomovision version 69, Copyright (C) 19xx name of author
23962306a36Sopenharmony_ci    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
24062306a36Sopenharmony_ci    This is free software, and you are welcome to redistribute it
24162306a36Sopenharmony_ci    under certain conditions; type `show c' for details.
24262306a36Sopenharmony_ci
24362306a36Sopenharmony_ciThe hypothetical commands `show w' and `show c' should show the
24462306a36Sopenharmony_ciappropriate parts of the General Public License.  Of course, the
24562306a36Sopenharmony_cicommands you use may be called something other than `show w' and `show
24662306a36Sopenharmony_cic'; they could even be mouse-clicks or menu items--whatever suits your
24762306a36Sopenharmony_ciprogram.
24862306a36Sopenharmony_ci
24962306a36Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your
25062306a36Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the program, if
25162306a36Sopenharmony_cinecessary.  Here a sample; alter the names:
25262306a36Sopenharmony_ci
25362306a36Sopenharmony_ci  Yoyodyne, Inc., hereby disclaims all copyright interest in the
25462306a36Sopenharmony_ci  program `Gnomovision' (a program to direct compilers to make passes
25562306a36Sopenharmony_ci  at assemblers) written by James Hacker.
25662306a36Sopenharmony_ci
25762306a36Sopenharmony_ci  <signature of Ty Coon>, 1 April 1989
25862306a36Sopenharmony_ci  Ty Coon, President of Vice
25962306a36Sopenharmony_ci
26062306a36Sopenharmony_ciThat's all there is to it!
261