xref: /openbsd-src/gnu/usr.bin/cvs/COPYING (revision c71bc7e269286e43816004eb0fcd7a55f036cd69)
1*c71bc7e2Stholo[I have snipped the snail mail address of the FSF because it has
2*c71bc7e2Stholochanged in the past and is likely to change again.  The current
3*c71bc7e2Stholoaddress should be at http://www.gnu.org/]
41e72d8d2Sderaadt
51e72d8d2Sderaadt		    GNU GENERAL PUBLIC LICENSE
61e72d8d2Sderaadt		     Version 1, February 1989
71e72d8d2Sderaadt
81e72d8d2Sderaadt Copyright (C) 1989 Free Software Foundation, Inc.
91e72d8d2Sderaadt Everyone is permitted to copy and distribute verbatim copies
101e72d8d2Sderaadt of this license document, but changing it is not allowed.
111e72d8d2Sderaadt
121e72d8d2Sderaadt			    Preamble
131e72d8d2Sderaadt
141e72d8d2Sderaadt  The license agreements of most software companies try to keep users
151e72d8d2Sderaadtat the mercy of those companies.  By contrast, our General Public
161e72d8d2SderaadtLicense is intended to guarantee your freedom to share and change free
171e72d8d2Sderaadtsoftware--to make sure the software is free for all its users.  The
181e72d8d2SderaadtGeneral Public License applies to the Free Software Foundation's
191e72d8d2Sderaadtsoftware and to any other program whose authors commit to using it.
201e72d8d2SderaadtYou can use it for your programs, too.
211e72d8d2Sderaadt
221e72d8d2Sderaadt  When we speak of free software, we are referring to freedom, not
231e72d8d2Sderaadtprice.  Specifically, the General Public License is designed to make
241e72d8d2Sderaadtsure that you have the freedom to give away or sell copies of free
251e72d8d2Sderaadtsoftware, that you receive source code or can get it if you want it,
261e72d8d2Sderaadtthat you can change the software or use pieces of it in new free
271e72d8d2Sderaadtprograms; and that you know you can do these things.
281e72d8d2Sderaadt
291e72d8d2Sderaadt  To protect your rights, we need to make restrictions that forbid
301e72d8d2Sderaadtanyone to deny you these rights or to ask you to surrender the rights.
311e72d8d2SderaadtThese restrictions translate to certain responsibilities for you if you
321e72d8d2Sderaadtdistribute copies of the software, or if you modify it.
331e72d8d2Sderaadt
341e72d8d2Sderaadt  For example, if you distribute copies of a such a program, whether
351e72d8d2Sderaadtgratis or for a fee, you must give the recipients all the rights that
361e72d8d2Sderaadtyou have.  You must make sure that they, too, receive or can get the
371e72d8d2Sderaadtsource code.  And you must tell them their rights.
381e72d8d2Sderaadt
391e72d8d2Sderaadt  We protect your rights with two steps: (1) copyright the software, and
401e72d8d2Sderaadt(2) offer you this license which gives you legal permission to copy,
411e72d8d2Sderaadtdistribute and/or modify the software.
421e72d8d2Sderaadt
431e72d8d2Sderaadt  Also, for each author's protection and ours, we want to make certain
441e72d8d2Sderaadtthat everyone understands that there is no warranty for this free
451e72d8d2Sderaadtsoftware.  If the software is modified by someone else and passed on, we
461e72d8d2Sderaadtwant its recipients to know that what they have is not the original, so
471e72d8d2Sderaadtthat any problems introduced by others will not reflect on the original
481e72d8d2Sderaadtauthors' reputations.
491e72d8d2Sderaadt
501e72d8d2Sderaadt  The precise terms and conditions for copying, distribution and
511e72d8d2Sderaadtmodification follow.
521e72d8d2Sderaadt
531e72d8d2Sderaadt		    GNU GENERAL PUBLIC LICENSE
541e72d8d2Sderaadt   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
551e72d8d2Sderaadt
561e72d8d2Sderaadt  0. This License Agreement applies to any program or other work which
571e72d8d2Sderaadtcontains a notice placed by the copyright holder saying it may be
581e72d8d2Sderaadtdistributed under the terms of this General Public License.  The
591e72d8d2Sderaadt"Program", below, refers to any such program or work, and a "work based
601e72d8d2Sderaadton the Program" means either the Program or any work containing the
611e72d8d2SderaadtProgram or a portion of it, either verbatim or with modifications.  Each
621e72d8d2Sderaadtlicensee is addressed as "you".
631e72d8d2Sderaadt
641e72d8d2Sderaadt  1. You may copy and distribute verbatim copies of the Program's source
651e72d8d2Sderaadtcode as you receive it, in any medium, provided that you conspicuously and
661e72d8d2Sderaadtappropriately publish on each copy an appropriate copyright notice and
671e72d8d2Sderaadtdisclaimer of warranty; keep intact all the notices that refer to this
681e72d8d2SderaadtGeneral Public License and to the absence of any warranty; and give any
691e72d8d2Sderaadtother recipients of the Program a copy of this General Public License
701e72d8d2Sderaadtalong with the Program.  You may charge a fee for the physical act of
711e72d8d2Sderaadttransferring a copy.
721e72d8d2Sderaadt
731e72d8d2Sderaadt  2. You may modify your copy or copies of the Program or any portion of
741e72d8d2Sderaadtit, and copy and distribute such modifications under the terms of Paragraph
751e72d8d2Sderaadt1 above, provided that you also do the following:
761e72d8d2Sderaadt
771e72d8d2Sderaadt    a) cause the modified files to carry prominent notices stating that
781e72d8d2Sderaadt    you changed the files and the date of any change; and
791e72d8d2Sderaadt
801e72d8d2Sderaadt    b) cause the whole of any work that you distribute or publish, that
811e72d8d2Sderaadt    in whole or in part contains the Program or any part thereof, either
821e72d8d2Sderaadt    with or without modifications, to be licensed at no charge to all
831e72d8d2Sderaadt    third parties under the terms of this General Public License (except
841e72d8d2Sderaadt    that you may choose to grant warranty protection to some or all
851e72d8d2Sderaadt    third parties, at your option).
861e72d8d2Sderaadt
871e72d8d2Sderaadt    c) If the modified program normally reads commands interactively when
881e72d8d2Sderaadt    run, you must cause it, when started running for such interactive use
891e72d8d2Sderaadt    in the simplest and most usual way, to print or display an
901e72d8d2Sderaadt    announcement including an appropriate copyright notice and a notice
911e72d8d2Sderaadt    that there is no warranty (or else, saying that you provide a
921e72d8d2Sderaadt    warranty) and that users may redistribute the program under these
931e72d8d2Sderaadt    conditions, and telling the user how to view a copy of this General
941e72d8d2Sderaadt    Public License.
951e72d8d2Sderaadt
961e72d8d2Sderaadt    d) You may charge a fee for the physical act of transferring a
971e72d8d2Sderaadt    copy, and you may at your option offer warranty protection in
981e72d8d2Sderaadt    exchange for a fee.
991e72d8d2Sderaadt
1001e72d8d2SderaadtMere aggregation of another independent work with the Program (or its
1011e72d8d2Sderaadtderivative) on a volume of a storage or distribution medium does not bring
1021e72d8d2Sderaadtthe other work under the scope of these terms.
1031e72d8d2Sderaadt
1041e72d8d2Sderaadt  3. You may copy and distribute the Program (or a portion or derivative of
1051e72d8d2Sderaadtit, under Paragraph 2) in object code or executable form under the terms of
1061e72d8d2SderaadtParagraphs 1 and 2 above provided that you also do one of the following:
1071e72d8d2Sderaadt
1081e72d8d2Sderaadt    a) accompany it with the complete corresponding machine-readable
1091e72d8d2Sderaadt    source code, which must be distributed under the terms of
1101e72d8d2Sderaadt    Paragraphs 1 and 2 above; or,
1111e72d8d2Sderaadt
1121e72d8d2Sderaadt    b) accompany it with a written offer, valid for at least three
1131e72d8d2Sderaadt    years, to give any third party free (except for a nominal charge
1141e72d8d2Sderaadt    for the cost of distribution) a complete machine-readable copy of the
1151e72d8d2Sderaadt    corresponding source code, to be distributed under the terms of
1161e72d8d2Sderaadt    Paragraphs 1 and 2 above; or,
1171e72d8d2Sderaadt
1181e72d8d2Sderaadt    c) accompany it with the information you received as to where the
1191e72d8d2Sderaadt    corresponding source code may be obtained.  (This alternative is
1201e72d8d2Sderaadt    allowed only for noncommercial distribution and only if you
1211e72d8d2Sderaadt    received the program in object code or executable form alone.)
1221e72d8d2Sderaadt
1231e72d8d2SderaadtSource code for a work means the preferred form of the work for making
1241e72d8d2Sderaadtmodifications to it.  For an executable file, complete source code means
1251e72d8d2Sderaadtall the source code for all modules it contains; but, as a special
1261e72d8d2Sderaadtexception, it need not include source code for modules which are standard
1271e72d8d2Sderaadtlibraries that accompany the operating system on which the executable
1281e72d8d2Sderaadtfile runs, or for standard header files or definitions files that
1291e72d8d2Sderaadtaccompany that operating system.
1301e72d8d2Sderaadt
1311e72d8d2Sderaadt  4. You may not copy, modify, sublicense, distribute or transfer the
1321e72d8d2SderaadtProgram except as expressly provided under this General Public License.
1331e72d8d2SderaadtAny attempt otherwise to copy, modify, sublicense, distribute or transfer
1341e72d8d2Sderaadtthe Program is void, and will automatically terminate your rights to use
1351e72d8d2Sderaadtthe Program under this License.  However, parties who have received
1361e72d8d2Sderaadtcopies, or rights to use copies, from you under this General Public
1371e72d8d2SderaadtLicense will not have their licenses terminated so long as such parties
1381e72d8d2Sderaadtremain in full compliance.
1391e72d8d2Sderaadt
1401e72d8d2Sderaadt  5. By copying, distributing or modifying the Program (or any work based
1411e72d8d2Sderaadton the Program) you indicate your acceptance of this license to do so,
1421e72d8d2Sderaadtand all its terms and conditions.
1431e72d8d2Sderaadt
1441e72d8d2Sderaadt  6. Each time you redistribute the Program (or any work based on the
1451e72d8d2SderaadtProgram), the recipient automatically receives a license from the original
1461e72d8d2Sderaadtlicensor to copy, distribute or modify the Program subject to these
1471e72d8d2Sderaadtterms and conditions.  You may not impose any further restrictions on the
1481e72d8d2Sderaadtrecipients' exercise of the rights granted herein.
1491e72d8d2Sderaadt
1501e72d8d2Sderaadt  7. The Free Software Foundation may publish revised and/or new versions
1511e72d8d2Sderaadtof the General Public License from time to time.  Such new versions will
1521e72d8d2Sderaadtbe similar in spirit to the present version, but may differ in detail to
1531e72d8d2Sderaadtaddress new problems or concerns.
1541e72d8d2Sderaadt
1551e72d8d2SderaadtEach version is given a distinguishing version number.  If the Program
1561e72d8d2Sderaadtspecifies a version number of the license which applies to it and "any
1571e72d8d2Sderaadtlater version", you have the option of following the terms and conditions
1581e72d8d2Sderaadteither of that version or of any later version published by the Free
1591e72d8d2SderaadtSoftware Foundation.  If the Program does not specify a version number of
1601e72d8d2Sderaadtthe license, you may choose any version ever published by the Free Software
1611e72d8d2SderaadtFoundation.
1621e72d8d2Sderaadt
1631e72d8d2Sderaadt  8. If you wish to incorporate parts of the Program into other free
1641e72d8d2Sderaadtprograms whose distribution conditions are different, write to the author
1651e72d8d2Sderaadtto ask for permission.  For software which is copyrighted by the Free
1661e72d8d2SderaadtSoftware Foundation, write to the Free Software Foundation; we sometimes
1671e72d8d2Sderaadtmake exceptions for this.  Our decision will be guided by the two goals
1681e72d8d2Sderaadtof preserving the free status of all derivatives of our free software and
1691e72d8d2Sderaadtof promoting the sharing and reuse of software generally.
1701e72d8d2Sderaadt
1711e72d8d2Sderaadt			    NO WARRANTY
1721e72d8d2Sderaadt
1731e72d8d2Sderaadt  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1741e72d8d2SderaadtFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
1751e72d8d2SderaadtOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1761e72d8d2SderaadtPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1771e72d8d2SderaadtOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1781e72d8d2SderaadtMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
1791e72d8d2SderaadtTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
1801e72d8d2SderaadtPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1811e72d8d2SderaadtREPAIR OR CORRECTION.
1821e72d8d2Sderaadt
1831e72d8d2Sderaadt  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1841e72d8d2SderaadtWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1851e72d8d2SderaadtREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1861e72d8d2SderaadtINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1871e72d8d2SderaadtOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1881e72d8d2SderaadtTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1891e72d8d2SderaadtYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1901e72d8d2SderaadtPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1911e72d8d2SderaadtPOSSIBILITY OF SUCH DAMAGES.
1921e72d8d2Sderaadt
1931e72d8d2Sderaadt		     END OF TERMS AND CONDITIONS
1941e72d8d2Sderaadt
1951e72d8d2Sderaadt	Appendix: How to Apply These Terms to Your New Programs
1961e72d8d2Sderaadt
1971e72d8d2Sderaadt  If you develop a new program, and you want it to be of the greatest
1981e72d8d2Sderaadtpossible use to humanity, the best way to achieve this is to make it
1991e72d8d2Sderaadtfree software which everyone can redistribute and change under these
2001e72d8d2Sderaadtterms.
2011e72d8d2Sderaadt
2021e72d8d2Sderaadt  To do so, attach the following notices to the program.  It is safest to
2031e72d8d2Sderaadtattach them to the start of each source file to most effectively convey
2041e72d8d2Sderaadtthe exclusion of warranty; and each file should have at least the
2051e72d8d2Sderaadt"copyright" line and a pointer to where the full notice is found.
2061e72d8d2Sderaadt
2071e72d8d2Sderaadt    <one line to give the program's name and a brief idea of what it does.>
2081e72d8d2Sderaadt    Copyright (C) 19yy  <name of author>
2091e72d8d2Sderaadt
2101e72d8d2Sderaadt    This program is free software; you can redistribute it and/or modify
2111e72d8d2Sderaadt    it under the terms of the GNU General Public License as published by
2121e72d8d2Sderaadt    the Free Software Foundation; either version 1, or (at your option)
2131e72d8d2Sderaadt    any later version.
2141e72d8d2Sderaadt
2151e72d8d2Sderaadt    This program is distributed in the hope that it will be useful,
2161e72d8d2Sderaadt    but WITHOUT ANY WARRANTY; without even the implied warranty of
2171e72d8d2Sderaadt    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2181e72d8d2Sderaadt    GNU General Public License for more details.
2191e72d8d2Sderaadt
2201e72d8d2Sderaadt    You should have received a copy of the GNU General Public License
2211e72d8d2Sderaadt    along with this program; if not, write to the Free Software
222*c71bc7e2Stholo    Foundation, Inc.
2231e72d8d2Sderaadt
2241e72d8d2SderaadtAlso add information on how to contact you by electronic and paper mail.
2251e72d8d2Sderaadt
2261e72d8d2SderaadtIf the program is interactive, make it output a short notice like this
2271e72d8d2Sderaadtwhen it starts in an interactive mode:
2281e72d8d2Sderaadt
2291e72d8d2Sderaadt    Gnomovision version 69, Copyright (C) 19xx name of author
2301e72d8d2Sderaadt    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2311e72d8d2Sderaadt    This is free software, and you are welcome to redistribute it
2321e72d8d2Sderaadt    under certain conditions; type `show c' for details.
2331e72d8d2Sderaadt
2341e72d8d2SderaadtThe hypothetical commands `show w' and `show c' should show the
2351e72d8d2Sderaadtappropriate parts of the General Public License.  Of course, the
2361e72d8d2Sderaadtcommands you use may be called something other than `show w' and `show
2371e72d8d2Sderaadtc'; they could even be mouse-clicks or menu items--whatever suits your
2381e72d8d2Sderaadtprogram.
2391e72d8d2Sderaadt
2401e72d8d2SderaadtYou should also get your employer (if you work as a programmer) or your
2411e72d8d2Sderaadtschool, if any, to sign a "copyright disclaimer" for the program, if
2421e72d8d2Sderaadtnecessary.  Here a sample; alter the names:
2431e72d8d2Sderaadt
2441e72d8d2Sderaadt  Yoyodyne, Inc., hereby disclaims all copyright interest in the
2451e72d8d2Sderaadt  program `Gnomovision' (a program to direct compilers to make passes
2461e72d8d2Sderaadt  at assemblers) written by James Hacker.
2471e72d8d2Sderaadt
2481e72d8d2Sderaadt  <signature of Ty Coon>, 1 April 1989
2491e72d8d2Sderaadt  Ty Coon, President of Vice
2501e72d8d2Sderaadt
2511e72d8d2SderaadtThat's all there is to it!
252