ksh93.license revision 2555
2555N/A1. The following files are available in source code form under the Common
2555N/APublic License at: http://www2.research.att.com/~astopen/download. (The CPL
2555N/Alicense is reproduced below).
830N/A
2555N/A2. All past Contributors to the Korn Shell 93 (ksh 93) disclaim all warranties
2555N/Aand conditions, express and implied, including warranties or conditions of
2555N/Atitle and non-infringement, and implied warranties or conditions of
2555N/Amerchantability and fitness for a particular purpose. In addition, such
2555N/AContributors are not liable for any damages, including direct, indirect,
2555N/Aspecial, incidental and consequential damages, such as lost profits.
830N/A
2555N/A3. Any provisions of the Oracle license agreement that differ from the Common
2555N/APublic License are offered by Oracle alone and not by any other party.
830N/A
2555N/A4. Oracle has modified the following files: lib/package/ast-base.pkg
2555N/Asrc/cmd/alias/alias.c src/cmd/alias/alias.h src/cmd/alias/Makefile
2555N/Asrc/cmd/builtin/asa.c src/cmd/INIT/cc.sol11.i386 src/cmd/INIT/cc.sol11.i386-64
2555N/Asrc/cmd/INIT/cc.sol11.sun4 src/cmd/INIT/cc.sol11.sun4-64
2555N/Asrc/cmd/INIT/regress.sh src/cmd/ksh93/bltins/cd_pwd.c
2555N/Asrc/cmd/ksh93/bltins/typeset.c src/cmd/ksh93/data/builtins.c
2555N/Asrc/cmd/ksh93/edit/edit.c src/cmd/ksh93/include/defs.h
2555N/Asrc/cmd/ksh93/include/edit.h src/cmd/ksh93/include/io.h
2555N/Asrc/cmd/ksh93/include/ulimit.h src/cmd/ksh93/Makefile src/cmd/ksh93/sh/args.c
2555N/Asrc/cmd/ksh93/sh/init.c src/cmd/ksh93/sh/io.c src/cmd/ksh93/sh/jobs.c
2555N/Asrc/cmd/ksh93/sh/lex.c src/cmd/ksh93/sh/macro.c src/cmd/ksh93/sh/main.c
2555N/Asrc/cmd/ksh93/sh/name.c src/cmd/ksh93/sh/nvdisc.c src/cmd/ksh93/sh/nvtree.c
2555N/Asrc/cmd/ksh93/sh/nvtype.c src/cmd/ksh93/sh/path.c src/cmd/ksh93/sh/subshell.c
2555N/Asrc/cmd/ksh93/sh/xec.c src/cmd/ss/ssd.c src/lib/libast/comp/mkdir.c
2555N/Asrc/lib/libast/comp/rmdir.c src/lib/libast/comp/setlocale.c
2555N/Asrc/lib/libast/port/astconf.c src/lib/libast/port/mnt.c
2555N/Asrc/lib/libast/sfio/sfmode.c src/lib/libast/sfio/sfstrtof.h
2555N/Asrc/lib/libcmd/cmp.c src/lib/libcmd/wclib.c
830N/A
2555N/A5. These files are licensed in executable form under your Oracle license
2555N/Aagreement. Oracle is solely responsible for any representations and warranties
2555N/Acontained therein.
2555N/A
2555N/A6. Reproduce the CPL as follows:
2555N/A
830N/A
2555N/ACommon Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE
2555N/ATERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
2555N/ADISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
2555N/AAGREEMENT. 1. DEFINITIONS "Contribution" means: a) in the case of the initial
2555N/AContributor, the initial code and documentation distributed under this
2555N/AAgreement, and b) in the case of each subsequent Contributor: i) changes to the
2555N/AProgram, and ii) additions to the Program; where such changes and/or additions
2555N/Ato the Program originate from and are distributed by that particular
2555N/AContributor. A Contribution 'originates' from a Contributor if it was added to
2555N/Athe Program by such Contributor itself or anyone acting on such Contributor's
2555N/Abehalf. Contributions do not include additions to the Program which: (i) are
2555N/Aseparate modules of software distributed in conjunction with the Program under
2555N/Atheir own license agreement, and (ii) are not derivative works of the Program.
830N/A"Contributor" means any person or entity that distributes the Program.
830N/A"Licensed Patents " mean patent claims licensable by a Contributor which are
830N/Anecessarily infringed by the use or sale of its Contribution alone or when
2555N/Acombined with the Program. "Program" means the Contributions distributed in
2555N/Aaccordance with this Agreement. "Recipient" means anyone who receives the
2555N/AProgram under this Agreement, including all Contributors. 2. GRANT OF RIGHTS
2555N/Aa) Subject to the terms of this Agreement, each Contributor hereby grants
2555N/ARecipient a non-exclusive, worldwide, royalty-free copyright license to
2555N/Areproduce, prepare derivative works of, publicly display, publicly perform,
2555N/Adistribute and sublicense the Contribution of such Contributor, if any, and
2555N/Asuch derivative works, in source code and object code form. b) Subject to the
2555N/Aterms of this Agreement, each Contributor hereby grants Recipient a
2555N/Anon-exclusive, worldwide, royalty-free patent license under Licensed Patents to
2555N/Amake, use, sell, offer to sell, import and otherwise transfer the Contribution
2555N/Aof such Contributor, if any, in source code and object code form. This patent
2555N/Alicense shall apply to the combination of the Contribution and the Program if,
2555N/Aat the time the Contribution is added by the Contributor, such addition of the
2555N/AContribution causes such combination to be covered by the Licensed Patents. The
2555N/Apatent license shall not apply to any other combinations which include the
2555N/AContribution. No hardware per se is licensed hereunder. c) Recipient
2555N/Aunderstands that although each Contributor grants the licenses to its
2555N/AContributions set forth herein, no assurances are provided by any Contributor
2555N/Athat the Program does not infringe the patent or other intellectual property
2555N/Arights of any other entity. Each Contributor disclaims any liability to
2555N/ARecipient for claims brought by any other entity based on infringement of
2555N/Aintellectual property rights or otherwise. As a condition to exercising the
2555N/Arights and licenses granted hereunder, each Recipient hereby assumes sole
2555N/Aresponsibility to secure any other intellectual property rights needed, if any.
2555N/AFor example, if a third party patent license is required to allow Recipient to
2555N/Adistribute the Program, it is Recipient's responsibility to acquire that
2555N/Alicense before distributing the Program. d) Each Contributor represents that
2555N/Ato its knowledge it has sufficient copyright rights in its Contribution, if
2555N/Aany, to grant the copyright license set forth in this Agreement. 3.
2555N/AREQUIREMENTS A Contributor may choose to distribute the Program in object code
2555N/Aform under its own license agreement, provided that: a) it complies with the
2555N/Aterms and conditions of this Agreement; and b) its license agreement: i)
2555N/Aeffectively disclaims on behalf of all Contributors all warranties and
2555N/Aconditions, express and implied, including warranties or conditions of title
2555N/Aand non-infringement, and implied warranties or conditions of merchantability
2555N/Aand fitness for a particular purpose; ii) effectively excludes on behalf of all
2555N/AContributors all liability for damages, including direct, indirect, special,
2555N/Aincidental and consequential damages, such as lost profits; iii) states that
2555N/Aany provisions which differ from this Agreement are offered by that Contributor
2555N/Aalone and not by any other party; and iv) states that source code for the
2555N/AProgram is available from such Contributor, and informs licensees how to obtain
2555N/Ait in a reasonable manner on or through a medium customarily used for software
2555N/Aexchange. When the Program is made available in source code form: a) it must
2555N/Abe made available under this Agreement; and b) a copy of this Agreement must be
2555N/Aincluded with each copy of the Program. Contributors may not remove or alter
2555N/Aany copyright notices contained within the Program. Each Contributor must
2555N/Aidentify itself as the originator of its Contribution, if any, in a manner that
2555N/Areasonably allows subsequent Recipients to identify the originator of the
2555N/AContribution. 4. COMMERCIAL DISTRIBUTION Commercial distributors of software
2555N/Amay accept certain responsibilities with respect to end users, business
2555N/Apartners and the like. While this license is intended to facilitate the
2555N/Acommercial use of the Program, the Contributor who includes the Program in a
2555N/Acommercial product offering should do so in a manner which does not create
2555N/Apotential liability for other Contributors. Therefore, if a Contributor
2555N/Aincludes the Program in a commercial product offering, such Contributor
2555N/A("Commercial Contributor") hereby agrees to defend and indemnify every other
2555N/AContributor ("Indemnified Contributor") against any losses, damages and costs
2555N/A(collectively "Losses") arising from claims, lawsuits and other legal actions
2555N/Abrought by a third party against the Indemnified Contributor to the extent
2555N/Acaused by the acts or omissions of such Commercial Contributor in connection
2555N/Awith its distribution of the Program in a commercial product offering. The
2555N/Aobligations in this section do not apply to any claims or Losses relating to
2555N/Aany actual or alleged intellectual property infringement. In order to qualify,
2555N/Aan Indemnified Contributor must: a) promptly notify the Commercial Contributor
2555N/Ain writing of such claim, and b) allow the Commercial Contributor to control,
2555N/Aand cooperate with the Commercial Contributor in, the defense and any related
2555N/Asettlement negotiations. The Indemnified Contributor may participate in any
2555N/Asuch claim at its own expense. For example, a Contributor might include the
2555N/AProgram in a commercial product offering, Product X. That Contributor is then a
2555N/ACommercial Contributor. If that Commercial Contributor then makes performance
2555N/Aclaims, or offers warranties related to Product X, those performance claims and
2555N/Awarranties are such Commercial Contributor's responsibility alone. Under this
2555N/Asection, the Commercial Contributor would have to defend claims against the
2555N/Aother Contributors related to those performance claims and warranties, and if a
2555N/Acourt requires any other Contributor to pay any damages as a result, the
2555N/ACommercial Contributor must pay those damages. 5. NO WARRANTY EXCEPT AS
2555N/AEXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS"
2555N/ABASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED
2555N/AINCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
2555N/ANON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
2555N/ARecipient is solely responsible for determining the appropriateness of using
2555N/Aand distributing the Program and assumes all risks associated with its exercise
2555N/Aof rights under this Agreement, including but not limited to the risks and
2555N/Acosts of program errors, compliance with applicable laws, damage to or loss of
2555N/Adata, programs or equipment, and unavailability or interruption of operations.
2555N/A6. DISCLAIMER OF LIABILITY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT,
2555N/ANEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
2555N/AINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
2555N/AWITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
2555N/ALIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
2555N/AOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM
2555N/AOR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
2555N/APOSSIBILITY OF SUCH DAMAGES. 7. GENERAL If any provision of this Agreement is
2555N/Ainvalid or unenforceable under applicable law, it shall not affect the validity
2555N/Aor enforceability of the remainder of the terms of this Agreement, and without
2555N/Afurther action by the parties hereto, such provision shall be reformed to the
2555N/Aminimum extent necessary to make such provision valid and enforceable. If
2555N/ARecipient institutes patent litigation against a Contributor with respect to a
2555N/Apatent applicable to software (including a cross-claim or counterclaim in a
2555N/Alawsuit), then any patent licenses granted by that Contributor to such
2555N/ARecipient under this Agreement shall terminate as of the date such litigation
2555N/Ais filed. In addition, if Recipient institutes patent litigation against any
2555N/Aentity (including a cross-claim or counterclaim in a lawsuit) alleging that the
2555N/AProgram itself (excluding combinations of the Program with other software or
2555N/Ahardware) infringes such Recipient's patent(s), then such Recipient's rights
2555N/Agranted under Section 2(b) shall terminate as of the date such litigation is
2555N/Afiled. All Recipient's rights under this Agreement shall terminate if it fails
2555N/Ato comply with any of the material terms or conditions of this Agreement and
2555N/Adoes not cure such failure in a reasonable period of time after becoming aware
2555N/Aof such noncompliance. If all Recipient's rights under this Agreement
2555N/Aterminate, Recipient agrees to cease use and distribution of the Program as
2555N/Asoon as reasonably practicable. However, Recipient's obligations under this
2555N/AAgreement and any licenses granted by Recipient relating to the Program shall
2555N/Acontinue and survive. Everyone is permitted to copy and distribute copies of
2555N/Athis Agreement, but in order to avoid inconsistency the Agreement is
2555N/Acopyrighted and may only be modified in the following manner. The Agreement
2555N/ASteward reserves the right to publish new versions (including revisions) of
2555N/Athis Agreement from time to time. No one other than the Agreement Steward has
2555N/Athe right to modify this Agreement. IBM is the initial Agreement Steward. IBM
2555N/Amay assign the responsibility to serve as the Agreement Steward to a suitable
2555N/Aseparate entity. Each new version of the Agreement will be given a
2555N/Adistinguishing version number. The Program (including Contributions) may always
2555N/Abe distributed subject to the version of the Agreement under which it was
2555N/Areceived. In addition, after a new version of the Agreement is published,
2555N/AContributor may elect to distribute the Program (including its Contributions)
2555N/Aunder the new version. Except as expressly stated in Sections 2(a) and 2(b)
2555N/Aabove, Recipient receives no rights or licenses to the intellectual property of
2555N/Aany Contributor under this Agreement, whether expressly, by implication,
2555N/Aestoppel or otherwise. All rights in the Program not expressly granted under
2555N/Athis Agreement are reserved. This Agreement is governed by the laws of the
2555N/AState of New York and the intellectual property laws of the United States of
2555N/AAmerica. No party to this Agreement will bring a legal action under this
2555N/AAgreement more than one year after the cause of action arose. Each party waives
2555N/Aits rights to a jury trial in any resulting litigation.