Blame COPYING

Packit db064d
This software is available to you under a choice of one of two licenses. You
Packit db064d
may chose to be licensed under the terms of the the OpenIB.org BSD license or
Packit db064d
the GNU General Public License (GPL) Version 2, both included below.
Packit db064d
Packit db064d
Packit db064d
Copyright (c) 2004-2008 Voltaire, Inc.  All rights reserved.
Packit db064d
Copyright (c) 2017 Intel Corp.  All rights reserved.
Packit db064d
Packit db064d
==================================================================
Packit db064d
Packit db064d
		       OpenIB.org BSD license
Packit db064d
Packit db064d
Redistribution and use in source and binary forms, with or without
Packit db064d
modification, are permitted provided that the following conditions
Packit db064d
are met:
Packit db064d
Packit db064d
  * Redistributions of source code must retain the above copyright
Packit db064d
    notice, this list of conditions and the following disclaimer.
Packit db064d
Packit db064d
  * Redistributions in binary form must reproduce the above
Packit db064d
    copyright notice, this list of conditions and the following
Packit db064d
    disclaimer in the documentation and/or other materials provided
Packit db064d
    with the distribution.
Packit db064d
Packit db064d
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Packit db064d
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Packit db064d
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
Packit db064d
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
Packit db064d
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
Packit db064d
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
Packit db064d
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Packit db064d
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Packit db064d
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
Packit db064d
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
Packit db064d
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Packit db064d
POSSIBILITY OF SUCH DAMAGE.
Packit db064d
Packit db064d
==================================================================
Packit db064d
Packit db064d
                    GNU GENERAL PUBLIC LICENSE
Packit db064d
                       Version 2, June 1991
Packit db064d
Packit db064d
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
Packit db064d
                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit db064d
 Everyone is permitted to copy and distribute verbatim copies
Packit db064d
 of this license document, but changing it is not allowed.
Packit db064d
Packit db064d
                            Preamble
Packit db064d
Packit db064d
  The licenses for most software are designed to take away your
Packit db064d
freedom to share and change it.  By contrast, the GNU General Public
Packit db064d
License is intended to guarantee your freedom to share and change free
Packit db064d
software--to make sure the software is free for all its users.  This
Packit db064d
General Public License applies to most of the Free Software
Packit db064d
Foundation's software and to any other program whose authors commit to
Packit db064d
using it.  (Some other Free Software Foundation software is covered by
Packit db064d
the GNU Library General Public License instead.)  You can apply it to
Packit db064d
your programs, too.
Packit db064d
Packit db064d
  When we speak of free software, we are referring to freedom, not
Packit db064d
price.  Our General Public Licenses are designed to make sure that you
Packit db064d
have the freedom to distribute copies of free software (and charge for
Packit db064d
this service if you wish), that you receive source code or can get it
Packit db064d
if you want it, that you can change the software or use pieces of it
Packit db064d
in new free programs; and that you know you can do these things.
Packit db064d
Packit db064d
  To protect your rights, we need to make restrictions that forbid
Packit db064d
anyone to deny you these rights or to ask you to surrender the rights.
Packit db064d
These restrictions translate to certain responsibilities for you if you
Packit db064d
distribute copies of the software, or if you modify it.
Packit db064d
Packit db064d
  For example, if you distribute copies of such a program, whether
Packit db064d
gratis or for a fee, you must give the recipients all the rights that
Packit db064d
you have.  You must make sure that they, too, receive or can get the
Packit db064d
source code.  And you must show them these terms so they know their
Packit db064d
rights.
Packit db064d
Packit db064d
  We protect your rights with two steps: (1) copyright the software, and
Packit db064d
(2) offer you this license which gives you legal permission to copy,
Packit db064d
distribute and/or modify the software.
Packit db064d
Packit db064d
  Also, for each author's protection and ours, we want to make certain
Packit db064d
that everyone understands that there is no warranty for this free
Packit db064d
software.  If the software is modified by someone else and passed on, we
Packit db064d
want its recipients to know that what they have is not the original, so
Packit db064d
that any problems introduced by others will not reflect on the original
Packit db064d
authors' reputations.
Packit db064d
Packit db064d
  Finally, any free program is threatened constantly by software
Packit db064d
patents.  We wish to avoid the danger that redistributors of a free
Packit db064d
program will individually obtain patent licenses, in effect making the
Packit db064d
program proprietary.  To prevent this, we have made it clear that any
Packit db064d
patent must be licensed for everyone's free use or not licensed at all.
Packit db064d
Packit db064d
  The precise terms and conditions for copying, distribution and
Packit db064d
modification follow.
Packit db064d
Packit db064d
                    GNU GENERAL PUBLIC LICENSE
Packit db064d
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
Packit db064d
Packit db064d
  0. This License applies to any program or other work which contains
Packit db064d
a notice placed by the copyright holder saying it may be distributed
Packit db064d
under the terms of this General Public License.  The "Program", below,
Packit db064d
refers to any such program or work, and a "work based on the Program"
Packit db064d
means either the Program or any derivative work under copyright law:
Packit db064d
that is to say, a work containing the Program or a portion of it,
Packit db064d
either verbatim or with modifications and/or translated into another
Packit db064d
language.  (Hereinafter, translation is included without limitation in
Packit db064d
the term "modification".)  Each licensee is addressed as "you".
Packit db064d
Packit db064d
Activities other than copying, distribution and modification are not
Packit db064d
covered by this License; they are outside its scope.  The act of
Packit db064d
running the Program is not restricted, and the output from the Program
Packit db064d
is covered only if its contents constitute a work based on the
Packit db064d
Program (independent of having been made by running the Program).
Packit db064d
Whether that is true depends on what the Program does.
Packit db064d
Packit db064d
  1. You may copy and distribute verbatim copies of the Program's
Packit db064d
source code as you receive it, in any medium, provided that you
Packit db064d
conspicuously and appropriately publish on each copy an appropriate
Packit db064d
copyright notice and disclaimer of warranty; keep intact all the
Packit db064d
notices that refer to this License and to the absence of any warranty;
Packit db064d
and give any other recipients of the Program a copy of this License
Packit db064d
along with the Program.
Packit db064d
Packit db064d
You may charge a fee for the physical act of transferring a copy, and
Packit db064d
you may at your option offer warranty protection in exchange for a fee.
Packit db064d
Packit db064d
  2. You may modify your copy or copies of the Program or any portion
Packit db064d
of it, thus forming a work based on the Program, and copy and
Packit db064d
distribute such modifications or work under the terms of Section 1
Packit db064d
above, provided that you also meet all of these conditions:
Packit db064d
Packit db064d
    a) You must cause the modified files to carry prominent notices
Packit db064d
    stating that you changed the files and the date of any change.
Packit db064d
Packit db064d
    b) You must cause any work that you distribute or publish, that in
Packit db064d
    whole or in part contains or is derived from the Program or any
Packit db064d
    part thereof, to be licensed as a whole at no charge to all third
Packit db064d
    parties under the terms of this License.
Packit db064d
Packit db064d
    c) If the modified program normally reads commands interactively
Packit db064d
    when run, you must cause it, when started running for such
Packit db064d
    interactive use in the most ordinary way, to print or display an
Packit db064d
    announcement including an appropriate copyright notice and a
Packit db064d
    notice that there is no warranty (or else, saying that you provide
Packit db064d
    a warranty) and that users may redistribute the program under
Packit db064d
    these conditions, and telling the user how to view a copy of this
Packit db064d
    License.  (Exception: if the Program itself is interactive but
Packit db064d
    does not normally print such an announcement, your work based on
Packit db064d
    the Program is not required to print an announcement.)
Packit db064d
Packit db064d
These requirements apply to the modified work as a whole.  If
Packit db064d
identifiable sections of that work are not derived from the Program,
Packit db064d
and can be reasonably considered independent and separate works in
Packit db064d
themselves, then this License, and its terms, do not apply to those
Packit db064d
sections when you distribute them as separate works.  But when you
Packit db064d
distribute the same sections as part of a whole which is a work based
Packit db064d
on the Program, the distribution of the whole must be on the terms of
Packit db064d
this License, whose permissions for other licensees extend to the
Packit db064d
entire whole, and thus to each and every part regardless of who wrote it.
Packit db064d
Packit db064d
Thus, it is not the intent of this section to claim rights or contest
Packit db064d
your rights to work written entirely by you; rather, the intent is to
Packit db064d
exercise the right to control the distribution of derivative or
Packit db064d
collective works based on the Program.
Packit db064d
Packit db064d
In addition, mere aggregation of another work not based on the Program
Packit db064d
with the Program (or with a work based on the Program) on a volume of
Packit db064d
a storage or distribution medium does not bring the other work under
Packit db064d
the scope of this License.
Packit db064d
Packit db064d
  3. You may copy and distribute the Program (or a work based on it,
Packit db064d
under Section 2) in object code or executable form under the terms of
Packit db064d
Sections 1 and 2 above provided that you also do one of the following:
Packit db064d
Packit db064d
    a) Accompany it with the complete corresponding machine-readable
Packit db064d
    source code, which must be distributed under the terms of Sections
Packit db064d
    1 and 2 above on a medium customarily used for software interchange; or,
Packit db064d
Packit db064d
    b) Accompany it with a written offer, valid for at least three
Packit db064d
    years, to give any third party, for a charge no more than your
Packit db064d
    cost of physically performing source distribution, a complete
Packit db064d
    machine-readable copy of the corresponding source code, to be
Packit db064d
    distributed under the terms of Sections 1 and 2 above on a medium
Packit db064d
    customarily used for software interchange; or,
Packit db064d
Packit db064d
    c) Accompany it with the information you received as to the offer
Packit db064d
    to distribute corresponding source code.  (This alternative is
Packit db064d
    allowed only for noncommercial distribution and only if you
Packit db064d
    received the program in object code or executable form with such
Packit db064d
    an offer, in accord with Subsection b above.)
Packit db064d
Packit db064d
The source code for a work means the preferred form of the work for
Packit db064d
making modifications to it.  For an executable work, complete source
Packit db064d
code means all the source code for all modules it contains, plus any
Packit db064d
associated interface definition files, plus the scripts used to
Packit db064d
control compilation and installation of the executable.  However, as a
Packit db064d
special exception, the source code distributed need not include
Packit db064d
anything that is normally distributed (in either source or binary
Packit db064d
form) with the major components (compiler, kernel, and so on) of the
Packit db064d
operating system on which the executable runs, unless that component
Packit db064d
itself accompanies the executable.
Packit db064d
Packit db064d
If distribution of executable or object code is made by offering
Packit db064d
access to copy from a designated place, then offering equivalent
Packit db064d
access to copy the source code from the same place counts as
Packit db064d
distribution of the source code, even though third parties are not
Packit db064d
compelled to copy the source along with the object code.
Packit db064d
Packit db064d
  4. You may not copy, modify, sublicense, or distribute the Program
Packit db064d
except as expressly provided under this License.  Any attempt
Packit db064d
otherwise to copy, modify, sublicense or distribute the Program is
Packit db064d
void, and will automatically terminate your rights under this License.
Packit db064d
However, parties who have received copies, or rights, from you under
Packit db064d
this License will not have their licenses terminated so long as such
Packit db064d
parties remain in full compliance.
Packit db064d
Packit db064d
  5. You are not required to accept this License, since you have not
Packit db064d
signed it.  However, nothing else grants you permission to modify or
Packit db064d
distribute the Program or its derivative works.  These actions are
Packit db064d
prohibited by law if you do not accept this License.  Therefore, by
Packit db064d
modifying or distributing the Program (or any work based on the
Packit db064d
Program), you indicate your acceptance of this License to do so, and
Packit db064d
all its terms and conditions for copying, distributing or modifying
Packit db064d
the Program or works based on it.
Packit db064d
Packit db064d
  6. Each time you redistribute the Program (or any work based on the
Packit db064d
Program), the recipient automatically receives a license from the
Packit db064d
original licensor to copy, distribute or modify the Program subject to
Packit db064d
these terms and conditions.  You may not impose any further
Packit db064d
restrictions on the recipients' exercise of the rights granted herein.
Packit db064d
You are not responsible for enforcing compliance by third parties to
Packit db064d
this License.
Packit db064d
Packit db064d
  7. If, as a consequence of a court judgment or allegation of patent
Packit db064d
infringement or for any other reason (not limited to patent issues),
Packit db064d
conditions are imposed on you (whether by court order, agreement or
Packit db064d
otherwise) that contradict the conditions of this License, they do not
Packit db064d
excuse you from the conditions of this License.  If you cannot
Packit db064d
distribute so as to satisfy simultaneously your obligations under this
Packit db064d
License and any other pertinent obligations, then as a consequence you
Packit db064d
may not distribute the Program at all.  For example, if a patent
Packit db064d
license would not permit royalty-free redistribution of the Program by
Packit db064d
all those who receive copies directly or indirectly through you, then
Packit db064d
the only way you could satisfy both it and this License would be to
Packit db064d
refrain entirely from distribution of the Program.
Packit db064d
Packit db064d
If any portion of this section is held invalid or unenforceable under
Packit db064d
any particular circumstance, the balance of the section is intended to
Packit db064d
apply and the section as a whole is intended to apply in other
Packit db064d
circumstances.
Packit db064d
Packit db064d
It is not the purpose of this section to induce you to infringe any
Packit db064d
patents or other property right claims or to contest validity of any
Packit db064d
such claims; this section has the sole purpose of protecting the
Packit db064d
integrity of the free software distribution system, which is
Packit db064d
implemented by public license practices.  Many people have made
Packit db064d
generous contributions to the wide range of software distributed
Packit db064d
through that system in reliance on consistent application of that
Packit db064d
system; it is up to the author/donor to decide if he or she is willing
Packit db064d
to distribute software through any other system and a licensee cannot
Packit db064d
impose that choice.
Packit db064d
Packit db064d
This section is intended to make thoroughly clear what is believed to
Packit db064d
be a consequence of the rest of this License.
Packit db064d
Packit db064d
  8. If the distribution and/or use of the Program is restricted in
Packit db064d
certain countries either by patents or by copyrighted interfaces, the
Packit db064d
original copyright holder who places the Program under this License
Packit db064d
may add an explicit geographical distribution limitation excluding
Packit db064d
those countries, so that distribution is permitted only in or among
Packit db064d
countries not thus excluded.  In such case, this License incorporates
Packit db064d
the limitation as if written in the body of this License.
Packit db064d
Packit db064d
  9. The Free Software Foundation may publish revised and/or new versions
Packit db064d
of the General Public License from time to time.  Such new versions will
Packit db064d
be similar in spirit to the present version, but may differ in detail to
Packit db064d
address new problems or concerns.
Packit db064d
Packit db064d
Each version is given a distinguishing version number.  If the Program
Packit db064d
specifies a version number of this License which applies to it and "any
Packit db064d
later version", you have the option of following the terms and conditions
Packit db064d
either of that version or of any later version published by the Free
Packit db064d
Software Foundation.  If the Program does not specify a version number of
Packit db064d
this License, you may choose any version ever published by the Free Software
Packit db064d
Foundation.
Packit db064d
Packit db064d
  10. If you wish to incorporate parts of the Program into other free
Packit db064d
programs whose distribution conditions are different, write to the author
Packit db064d
to ask for permission.  For software which is copyrighted by the Free
Packit db064d
Software Foundation, write to the Free Software Foundation; we sometimes
Packit db064d
make exceptions for this.  Our decision will be guided by the two goals
Packit db064d
of preserving the free status of all derivatives of our free software and
Packit db064d
of promoting the sharing and reuse of software generally.
Packit db064d
Packit db064d
                            NO WARRANTY
Packit db064d
Packit db064d
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
Packit db064d
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
Packit db064d
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
Packit db064d
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
Packit db064d
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
Packit db064d
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
Packit db064d
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
Packit db064d
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
Packit db064d
REPAIR OR CORRECTION.
Packit db064d
Packit db064d
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
Packit db064d
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
Packit db064d
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
Packit db064d
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
Packit db064d
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
Packit db064d
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
Packit db064d
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
Packit db064d
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
Packit db064d
POSSIBILITY OF SUCH DAMAGES.
Packit db064d
Packit db064d
                     END OF TERMS AND CONDITIONS
Packit db064d
Packit db064d
            How to Apply These Terms to Your New Programs
Packit db064d
Packit db064d
  If you develop a new program, and you want it to be of the greatest
Packit db064d
possible use to the public, the best way to achieve this is to make it
Packit db064d
free software which everyone can redistribute and change under these terms.
Packit db064d
Packit db064d
  To do so, attach the following notices to the program.  It is safest
Packit db064d
to attach them to the start of each source file to most effectively
Packit db064d
convey the exclusion of warranty; and each file should have at least
Packit db064d
the "copyright" line and a pointer to where the full notice is found.
Packit db064d
Packit db064d
    <one line to give the program's name and a brief idea of what it does.>
Packit db064d
    Copyright (C) <year>  <name of author>
Packit db064d
Packit db064d
    This program is free software; you can redistribute it and/or modify
Packit db064d
    it under the terms of the GNU General Public License as published by
Packit db064d
    the Free Software Foundation; either version 2 of the License, or
Packit db064d
    (at your option) any later version.
Packit db064d
Packit db064d
    This program is distributed in the hope that it will be useful,
Packit db064d
    but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit db064d
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit db064d
    GNU General Public License for more details.
Packit db064d
Packit db064d
    You should have received a copy of the GNU General Public License
Packit db064d
    along with this program; if not, write to the Free Software
Packit db064d
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit db064d
Packit db064d
Packit db064d
Also add information on how to contact you by electronic and paper mail.
Packit db064d
Packit db064d
If the program is interactive, make it output a short notice like this
Packit db064d
when it starts in an interactive mode:
Packit db064d
Packit db064d
    Gnomovision version 69, Copyright (C) year name of author
Packit db064d
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
Packit db064d
    This is free software, and you are welcome to redistribute it
Packit db064d
    under certain conditions; type `show c' for details.
Packit db064d
Packit db064d
The hypothetical commands `show w' and `show c' should show the appropriate
Packit db064d
parts of the General Public License.  Of course, the commands you use may
Packit db064d
be called something other than `show w' and `show c'; they could even be
Packit db064d
mouse-clicks or menu items--whatever suits your program.
Packit db064d
Packit db064d
You should also get your employer (if you work as a programmer) or your
Packit db064d
school, if any, to sign a "copyright disclaimer" for the program, if
Packit db064d
necessary.  Here is a sample; alter the names:
Packit db064d
Packit db064d
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
Packit db064d
  `Gnomovision' (which makes passes at compilers) written by James Hacker.
Packit db064d
Packit db064d
  <signature of Ty Coon>, 1 April 1989
Packit db064d
  Ty Coon, President of Vice
Packit db064d
Packit db064d
This General Public License does not permit incorporating your program into
Packit db064d
proprietary programs.  If your program is a subroutine library, you may
Packit db064d
consider it more useful to permit linking proprietary applications with the
Packit db064d
library.  If this is what you want to do, use the GNU Library General
Packit db064d
Public License instead of this License.