1 ccache copyright and license 2 ============================ 3 4 Overall license 5 --------------- 6 7 The license for ccache as a whole is as follows: 8 9 ------------------------------------------------------------------------------- 10 This program is free software; you can redistribute it and/or modify it under 11 the terms of the GNU General Public License as published by the Free Software 12 Foundation; either version 3 of the License, or (at your option) any later 13 version. 14 15 This program is distributed in the hope that it will be useful, but WITHOUT ANY 16 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 17 PARTICULAR PURPOSE. See the GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License along with 20 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin 21 Street, Fifth Floor, Boston, MA 02110-1301 USA 22 ------------------------------------------------------------------------------- 23 24 The full license text can be found in GPL-3.0.txt and at 25 http://www.gnu.org/licenses/gpl-3.0.html. 26 27 28 Copyright and authors 29 --------------------- 30 31 ccache is a collective work with contributions from many people, listed in 32 AUTHORS.txt and at http://ccache.samba.org/authors.html. Subsequent additions 33 by contributing authors are implicitly licensed to the public under the same 34 terms (GNU GPL version 3 or later), but the contributing authors retain 35 copyrights on their portions of the work. 36 37 The copyright for ccache as a whole is as follows: 38 39 ------------------------------------------------------------------------------- 40 Copyright (C) 2002-2007 Andrew Tridgell 41 Copyright (C) 2009-2011 Joel Rosdahl 42 ------------------------------------------------------------------------------- 43 44 45 Files derived from other sources 46 -------------------------------- 47 48 The ccache distribution contain some files from other sources and some have 49 been modified for use in ccache. These files all carry attribution notices, and 50 may qualify as ``separate and independent works in themselves'' for purposes of 51 the GPL: that is, if separated from the ccache sources, they may be usable 52 under less restrictive terms. 53 54 55 getopt_long.[hc] 56 ~~~~~~~~~~~~~~~~ 57 58 This implementation of `getopt_long()` was copied from 59 http://www.postgresql.org[PostgreSQL] and has the following license text: 60 61 ------------------------------------------------------------------------------- 62 Portions Copyright (c) 1987, 1993, 1994 63 The Regents of the University of California. All rights reserved. 64 65 Portions Copyright (c) 2003 66 PostgreSQL Global Development Group 67 68 Redistribution and use in source and binary forms, with or without 69 modification, are permitted provided that the following conditions 70 are met: 71 1. Redistributions of source code must retain the above copyright 72 notice, this list of conditions and the following disclaimer. 73 2. Redistributions in binary form must reproduce the above copyright 74 notice, this list of conditions and the following disclaimer in the 75 documentation and/or other materials provided with the distribution. 76 3. Neither the name of the University nor the names of its contributors 77 may be used to endorse or promote products derived from this software 78 without specific prior written permission. 79 80 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 81 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 82 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 83 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 84 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 85 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 86 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 87 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 88 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 89 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 90 SUCH DAMAGE. 91 ------------------------------------------------------------------------------- 92 93 94 hashtable*.[hc] 95 ~~~~~~~~~~~~~~~ 96 97 This code comes from http://www.cl.cam.ac.uk/~cwc22/hashtable/ with the 98 following license: 99 100 ------------------------------------------------------------------------------- 101 Copyright (c) 2002, 2004, Christopher Clark 102 All rights reserved. 103 104 Redistribution and use in source and binary forms, with or without 105 modification, are permitted provided that the following conditions are met: 106 107 * Redistributions of source code must retain the above copyright notice, 108 this list of conditions and the following disclaimer. 109 110 * Redistributions in binary form must reproduce the above copyright notice, 111 this list of conditions and the following disclaimer in the documentation 112 and/or other materials provided with the distribution. 113 114 * Neither the name of the original author; nor the names of any 115 contributors may be used to endorse or promote products derived from this 116 software without specific prior written permission. 117 118 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 119 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 120 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 121 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 122 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 123 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 124 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 125 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 126 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 127 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 128 POSSIBILITY OF SUCH DAMAGE. 129 ------------------------------------------------------------------------------- 130 131 132 m4/feature_macros.m4 133 ~~~~~~~~~~~~~~~~~~~~ 134 135 This Autoconf M4 snippet comes from http://www.python.org[Python] 2.6's 136 `configure.in` with the following license: 137 138 ------------------------------------------------------------------------------- 139 A. HISTORY OF THE SOFTWARE 140 ========================== 141 142 Python was created in the early 1990s by Guido van Rossum at Stichting 143 Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands 144 as a successor of a language called ABC. Guido remains Python's 145 principal author, although it includes many contributions from others. 146 147 In 1995, Guido continued his work on Python at the Corporation for 148 National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) 149 in Reston, Virginia where he released several versions of the 150 software. 151 152 In May 2000, Guido and the Python core development team moved to 153 BeOpen.com to form the BeOpen PythonLabs team. In October of the same 154 year, the PythonLabs team moved to Digital Creations (now Zope 155 Corporation, see http://www.zope.com). In 2001, the Python Software 156 Foundation (PSF, see http://www.python.org/psf/) was formed, a 157 non-profit organization created specifically to own Python-related 158 Intellectual Property. Zope Corporation is a sponsoring member of 159 the PSF. 160 161 All Python releases are Open Source (see http://www.opensource.org for 162 the Open Source Definition). Historically, most, but not all, Python 163 releases have also been GPL-compatible; the table below summarizes 164 the various releases. 165 166 Release Derived Year Owner GPL- 167 from compatible? (1) 168 169 0.9.0 thru 1.2 1991-1995 CWI yes 170 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes 171 1.6 1.5.2 2000 CNRI no 172 2.0 1.6 2000 BeOpen.com no 173 1.6.1 1.6 2001 CNRI yes (2) 174 2.1 2.0+1.6.1 2001 PSF no 175 2.0.1 2.0+1.6.1 2001 PSF yes 176 2.1.1 2.1+2.0.1 2001 PSF yes 177 2.2 2.1.1 2001 PSF yes 178 2.1.2 2.1.1 2002 PSF yes 179 2.1.3 2.1.2 2002 PSF yes 180 2.2.1 2.2 2002 PSF yes 181 2.2.2 2.2.1 2002 PSF yes 182 2.2.3 2.2.2 2003 PSF yes 183 2.3 2.2.2 2002-2003 PSF yes 184 2.3.1 2.3 2002-2003 PSF yes 185 2.3.2 2.3.1 2002-2003 PSF yes 186 2.3.3 2.3.2 2002-2003 PSF yes 187 2.3.4 2.3.3 2004 PSF yes 188 2.3.5 2.3.4 2005 PSF yes 189 2.4 2.3 2004 PSF yes 190 2.4.1 2.4 2005 PSF yes 191 2.4.2 2.4.1 2005 PSF yes 192 2.4.3 2.4.2 2006 PSF yes 193 2.4.4 2.4.3 2006 PSF yes 194 2.5 2.4 2006 PSF yes 195 2.5.1 2.5 2007 PSF yes 196 2.5.2 2.5.1 2008 PSF yes 197 2.5.3 2.5.2 2008 PSF yes 198 2.6 2.5 2008 PSF yes 199 2.6.1 2.6 2008 PSF yes 200 201 Footnotes: 202 203 (1) GPL-compatible doesn't mean that we're distributing Python under 204 the GPL. All Python licenses, unlike the GPL, let you distribute 205 a modified version without making your changes open source. The 206 GPL-compatible licenses make it possible to combine Python with 207 other software that is released under the GPL; the others don't. 208 209 (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, 210 because its license has a choice of law clause. According to 211 CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 212 is "not incompatible" with the GPL. 213 214 Thanks to the many outside volunteers who have worked under Guido's 215 direction to make these releases possible. 216 217 218 B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON 219 =============================================================== 220 221 PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 222 -------------------------------------------- 223 224 1. This LICENSE AGREEMENT is between the Python Software Foundation 225 ("PSF"), and the Individual or Organization ("Licensee") accessing and 226 otherwise using this software ("Python") in source or binary form and 227 its associated documentation. 228 229 2. Subject to the terms and conditions of this License Agreement, PSF hereby 230 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, 231 analyze, test, perform and/or display publicly, prepare derivative works, 232 distribute, and otherwise use Python alone or in any derivative version, 233 provided, however, that PSF's License Agreement and PSF's notice of copyright, 234 i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Python 235 Software Foundation; All Rights Reserved" are retained in Python alone or in any 236 derivative version prepared by Licensee. 237 238 3. In the event Licensee prepares a derivative work that is based on 239 or incorporates Python or any part thereof, and wants to make 240 the derivative work available to others as provided herein, then 241 Licensee hereby agrees to include in any such work a brief summary of 242 the changes made to Python. 243 244 4. PSF is making Python available to Licensee on an "AS IS" 245 basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 246 IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND 247 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 248 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT 249 INFRINGE ANY THIRD PARTY RIGHTS. 250 251 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 252 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 253 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, 254 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 255 256 6. This License Agreement will automatically terminate upon a material 257 breach of its terms and conditions. 258 259 7. Nothing in this License Agreement shall be deemed to create any 260 relationship of agency, partnership, or joint venture between PSF and 261 Licensee. This License Agreement does not grant permission to use PSF 262 trademarks or trade name in a trademark sense to endorse or promote 263 products or services of Licensee, or any third party. 264 265 8. By copying, installing or otherwise using Python, Licensee 266 agrees to be bound by the terms and conditions of this License 267 Agreement. 268 269 270 BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 271 ------------------------------------------- 272 273 BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 274 275 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an 276 office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the 277 Individual or Organization ("Licensee") accessing and otherwise using 278 this software in source or binary form and its associated 279 documentation ("the Software"). 280 281 2. Subject to the terms and conditions of this BeOpen Python License 282 Agreement, BeOpen hereby grants Licensee a non-exclusive, 283 royalty-free, world-wide license to reproduce, analyze, test, perform 284 and/or display publicly, prepare derivative works, distribute, and 285 otherwise use the Software alone or in any derivative version, 286 provided, however, that the BeOpen Python License is retained in the 287 Software, alone or in any derivative version prepared by Licensee. 288 289 3. BeOpen is making the Software available to Licensee on an "AS IS" 290 basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 291 IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND 292 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 293 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT 294 INFRINGE ANY THIRD PARTY RIGHTS. 295 296 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE 297 SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS 298 AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY 299 DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 300 301 5. This License Agreement will automatically terminate upon a material 302 breach of its terms and conditions. 303 304 6. This License Agreement shall be governed by and interpreted in all 305 respects by the law of the State of California, excluding conflict of 306 law provisions. Nothing in this License Agreement shall be deemed to 307 create any relationship of agency, partnership, or joint venture 308 between BeOpen and Licensee. This License Agreement does not grant 309 permission to use BeOpen trademarks or trade names in a trademark 310 sense to endorse or promote products or services of Licensee, or any 311 third party. As an exception, the "BeOpen Python" logos available at 312 http://www.pythonlabs.com/logos.html may be used according to the 313 permissions granted on that web page. 314 315 7. By copying, installing or otherwise using the software, Licensee 316 agrees to be bound by the terms and conditions of this License 317 Agreement. 318 319 320 CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 321 --------------------------------------- 322 323 1. This LICENSE AGREEMENT is between the Corporation for National 324 Research Initiatives, having an office at 1895 Preston White Drive, 325 Reston, VA 20191 ("CNRI"), and the Individual or Organization 326 ("Licensee") accessing and otherwise using Python 1.6.1 software in 327 source or binary form and its associated documentation. 328 329 2. Subject to the terms and conditions of this License Agreement, CNRI 330 hereby grants Licensee a nonexclusive, royalty-free, world-wide 331 license to reproduce, analyze, test, perform and/or display publicly, 332 prepare derivative works, distribute, and otherwise use Python 1.6.1 333 alone or in any derivative version, provided, however, that CNRI's 334 License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) 335 1995-2001 Corporation for National Research Initiatives; All Rights 336 Reserved" are retained in Python 1.6.1 alone or in any derivative 337 version prepared by Licensee. Alternately, in lieu of CNRI's License 338 Agreement, Licensee may substitute the following text (omitting the 339 quotes): "Python 1.6.1 is made available subject to the terms and 340 conditions in CNRI's License Agreement. This Agreement together with 341 Python 1.6.1 may be located on the Internet using the following 342 unique, persistent identifier (known as a handle): 1895.22/1013. This 343 Agreement may also be obtained from a proxy server on the Internet 344 using the following URL: http://hdl.handle.net/1895.22/1013". 345 346 3. In the event Licensee prepares a derivative work that is based on 347 or incorporates Python 1.6.1 or any part thereof, and wants to make 348 the derivative work available to others as provided herein, then 349 Licensee hereby agrees to include in any such work a brief summary of 350 the changes made to Python 1.6.1. 351 352 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" 353 basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 354 IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND 355 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 356 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT 357 INFRINGE ANY THIRD PARTY RIGHTS. 358 359 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 360 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 361 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, 362 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 363 364 6. This License Agreement will automatically terminate upon a material 365 breach of its terms and conditions. 366 367 7. This License Agreement shall be governed by the federal 368 intellectual property law of the United States, including without 369 limitation the federal copyright law, and, to the extent such 370 U.S. federal law does not apply, by the law of the Commonwealth of 371 Virginia, excluding Virginia's conflict of law provisions. 372 Notwithstanding the foregoing, with regard to derivative works based 373 on Python 1.6.1 that incorporate non-separable material that was 374 previously distributed under the GNU General Public License (GPL), the 375 law of the Commonwealth of Virginia shall govern this License 376 Agreement only as to issues arising under or with respect to 377 Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this 378 License Agreement shall be deemed to create any relationship of 379 agency, partnership, or joint venture between CNRI and Licensee. This 380 License Agreement does not grant permission to use CNRI trademarks or 381 trade name in a trademark sense to endorse or promote products or 382 services of Licensee, or any third party. 383 384 8. By clicking on the "ACCEPT" button where indicated, or by copying, 385 installing or otherwise using Python 1.6.1, Licensee agrees to be 386 bound by the terms and conditions of this License Agreement. 387 388 ACCEPT 389 390 391 CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 392 -------------------------------------------------- 393 394 Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, 395 The Netherlands. All rights reserved. 396 397 Permission to use, copy, modify, and distribute this software and its 398 documentation for any purpose and without fee is hereby granted, 399 provided that the above copyright notice appear in all copies and that 400 both that copyright notice and this permission notice appear in 401 supporting documentation, and that the name of Stichting Mathematisch 402 Centrum or CWI not be used in advertising or publicity pertaining to 403 distribution of the software without specific, written prior 404 permission. 405 406 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO 407 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 408 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE 409 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 410 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 411 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 412 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 413 ------------------------------------------------------------------------------- 414 415 416 murmurhashneutral2.[hc] 417 ~~~~~~~~~~~~~~~~~~~~~~~ 418 419 This fast hash implementation is released to the public domain by Austin 420 Appleby. See http://murmurhash.googlepages.com. 421 422 423 snprintf.c and m4/snprintf.m4 424 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 426 This implementation of `snprintf()` and similar functions was downloaded from 427 http://www.jhweiss.de/software/snprintf.html and has the following license: 428 429 ------------------------------------------------------------------------------- 430 Copyright (c) 1995 Patrick Powell. 431 432 This code is based on code written by Patrick Powell <papowell (a] astart.com>. 433 It may be used for any purpose as long as this notice remains intact on all 434 source code distributions. 435 436 Copyright (c) 2008 Holger Weiss. 437 438 This version of the code is maintained by Holger Weiss <holger (a] jhweiss.de>. 439 My changes to the code may freely be used, modified and/or redistributed for 440 any purpose. It would be nice if additions and fixes to this file (including 441 trivial code cleanups) would be sent back in order to let me include them in 442 the version available at <http://www.jhweiss.de/software/snprintf.html>. 443 However, this is not a requirement for using or redistributing (possibly 444 modified) versions of this file, nor is leaving this notice intact mandatory. 445 ------------------------------------------------------------------------------- 446 447 448 zlib/*.[hc] 449 ~~~~~~~~~~~ 450 451 This is a bundled subset of zlib 1.2.3 from <http://www.zlib.net> with the 452 following license: 453 454 ------------------------------------------------------------------------------- 455 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler 456 457 This software is provided 'as-is', without any express or implied 458 warranty. In no event will the authors be held liable for any damages 459 arising from the use of this software. 460 461 Permission is granted to anyone to use this software for any purpose, 462 including commercial applications, and to alter it and redistribute it 463 freely, subject to the following restrictions: 464 465 1. The origin of this software must not be misrepresented; you must not 466 claim that you wrote the original software. If you use this software 467 in a product, an acknowledgment in the product documentation would be 468 appreciated but is not required. 469 2. Altered source versions must be plainly marked as such, and must not be 470 misrepresented as being the original software. 471 3. This notice may not be removed or altered from any source distribution. 472 473 Jean-loup Gailly Mark Adler 474 jloup (a] gzip.org madler (a] alumni.caltech.edu 475 476 477 The data format used by the zlib library is described by RFCs (Request for 478 Comments) 1950 to 1952 in the files http://www.ietf.org/rfc/rfc1950.txt 479 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). 480 ------------------------------------------------------------------------------- 481