1 1. libmagic (ext/fileinfo) see ext/fileinfo/libmagic/LICENSE 2 2. libmbfl (ext/mbstring) see ext/mbstring/libmbfl/LICENSE 3 3. pcre2lib (ext/pcre) 4 4. ext/standard crypt 5 5. ext/standard crypt's blowfish implementation 6 6. ext/standard/rand 7 7. ext/standard/scanf 8 8. ext/standard/strnatcmp.c 9 9. ext/standard/uuencode 1010. libxmlrpc ext/xmlrpc 1111. main/snprintf.c 1212. main/strlcat 1313. main/strlcpy 1414. libgd (ext/gd) 1515. ext/phar portions of tar implementations 1616. ext/phar/zip.c portion extracted from libzip 1717. libbcmath (ext/bcmath) see ext/bcmath/libbcmath/LICENSE 1818. ext/mbstring/ucgendat portions based on the ucgendat.c from the OpenLDAP 19 20 213. pcre2lib (ext/pcre) 22 23PCRE2 LICENCE 24------------- 25 26PCRE2 is a library of functions to support regular expressions whose syntax 27and semantics are as close as possible to those of the Perl 5 language. 28 29Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD" 30licence, as specified below, with one exemption for certain binary 31redistributions. The documentation for PCRE2, supplied in the "doc" directory, 32is distributed under the same terms as the software itself. The data in the 33testdata directory is not copyrighted and is in the public domain. 34 35The basic library functions are written in C and are freestanding. Also 36included in the distribution is a just-in-time compiler that can be used to 37optimize pattern matching. This is an optional feature that can be omitted when 38the library is built. 39 40 41THE BASIC LIBRARY FUNCTIONS 42--------------------------- 43 44Written by: Philip Hazel 45Email local part: ph10 46Email domain: cam.ac.uk 47 48University of Cambridge Computing Service, 49Cambridge, England. 50 51Copyright (c) 1997-2019 University of Cambridge 52All rights reserved. 53 54 55PCRE2 JUST-IN-TIME COMPILATION SUPPORT 56-------------------------------------- 57 58Written by: Zoltan Herczeg 59Email local part: hzmester 60Email domain: freemail.hu 61 62Copyright(c) 2010-2019 Zoltan Herczeg 63All rights reserved. 64 65 66STACK-LESS JUST-IN-TIME COMPILER 67-------------------------------- 68 69Written by: Zoltan Herczeg 70Email local part: hzmester 71Email domain: freemail.hu 72 73Copyright(c) 2009-2019 Zoltan Herczeg 74All rights reserved. 75 76 77THE "BSD" LICENCE 78----------------- 79 80Redistribution and use in source and binary forms, with or without 81modification, are permitted provided that the following conditions are met: 82 83 * Redistributions of source code must retain the above copyright notices, 84 this list of conditions and the following disclaimer. 85 86 * Redistributions in binary form must reproduce the above copyright 87 notices, this list of conditions and the following disclaimer in the 88 documentation and/or other materials provided with the distribution. 89 90 * Neither the name of the University of Cambridge nor the names of any 91 contributors may be used to endorse or promote products derived from this 92 software without specific prior written permission. 93 94THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 95AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 96IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 97ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 98LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 99CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 100SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 101INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 102CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 103ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 104POSSIBILITY OF SUCH DAMAGE. 105 106 107EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES 108------------------------------------------ 109 110The second condition in the BSD licence (covering binary redistributions) does 111not apply all the way down a chain of software. If binary package A includes 112PCRE2, it must respect the condition, but if package B is software that 113includes package A, the condition is not imposed on package B unless it uses 114PCRE2 independently. 115 116End 117 118 1194. ext/standard crypt 120 121FreeSec: libcrypt for NetBSD 122 123Copyright (c) 1994 David Burren 124All rights reserved. 125 126Redistribution and use in source and binary forms, with or without 127modification, are permitted provided that the following conditions 128are met: 1291. Redistributions of source code must retain the above copyright 130 notice, this list of conditions and the following disclaimer. 1312. Redistributions in binary form must reproduce the above copyright 132 notice, this list of conditions and the following disclaimer in the 133 documentation and/or other materials provided with the distribution. 1343. Neither the name of the author nor the names of other contributors 135 may be used to endorse or promote products derived from this software 136 without specific prior written permission. 137 138THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 139ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 140IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 141ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 142FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 143DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 144OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 145HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 146LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 147OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 148SUCH DAMAGE. 149 150 1515. ext/standard crypt's blowfish implementation 152 153The crypt_blowfish homepage is: 154 155http://www.openwall.com/crypt/ 156 157This code comes from John the Ripper password cracker, with reentrant 158and crypt(3) interfaces added, but optimizations specific to password 159cracking removed. 160 161Written by Solar Designer <solar at openwall.com> in 1998-2011. 162No copyright is claimed, and the software is hereby placed in the public 163domain. In case this attempt to disclaim copyright and place the software 164in the public domain is deemed null and void, then the software is 165Copyright (c) 1998-2011 Solar Designer and it is hereby released to the 166general public under the following terms: 167 168Redistribution and use in source and binary forms, with or without 169modification, are permitted. 170 171There's ABSOLUTELY NO WARRANTY, express or implied. 172 173It is my intent that you should be able to use this on your system, 174as part of a software package, or anywhere else to improve security, 175ensure compatibility, or for any other purpose. I would appreciate 176it if you give credit where it is due and keep your modifications in 177the public domain as well, but I don't require that in order to let 178you place this code and any modifications you make under a license 179of your choice. 180 181This implementation is mostly compatible with OpenBSD's bcrypt.c (prefix 182"$2a$") by Niels Provos <provos at citi.umich.edu>, and uses some of his 183ideas. The password hashing algorithm was designed by David Mazieres 184<dm at lcs.mit.edu>. For more information on the level of compatibility, 185please refer to the comments in BF_set_key() and to the crypt(3) man page 186included in the crypt_blowfish tarball. 187 188There's a paper on the algorithm that explains its design decisions: 189 190http://www.usenix.org/events/usenix99/provos.html 191 192Some of the tricks in BF_ROUND might be inspired by Eric Young's 193Blowfish library (I can't be sure if I would think of something if I 194hadn't seen his code). 195 196 1976. ext/standard/rand 198 199The following php_mt_...() functions are based on a C++ class MTRand by 200Richard J. Wagner. For more information see the web page at 201http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html 202 203Mersenne Twister random number generator -- a C++ class MTRand 204Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus 205Richard J. Wagner v1.0 15 May 2003 rjwagner@writeme.com 206 207The Mersenne Twister is an algorithm for generating random numbers. It 208was designed with consideration of the flaws in various other generators. 209The period, 2^19937-1, and the order of equidistribution, 623 dimensions, 210are far greater. The generator is also fast; it avoids multiplication and 211division, and it benefits from caches and pipelines. For more information 212see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html 213 214Reference 215M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally 216Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on 217Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3-30. 218 219Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, 220Copyright (C) 2000 - 2003, Richard J. Wagner 221All rights reserved. 222 223Redistribution and use in source and binary forms, with or without 224modification, are permitted provided that the following conditions 225are met: 226 2271. Redistributions of source code must retain the above copyright 228 notice, this list of conditions and the following disclaimer. 229 2302. Redistributions in binary form must reproduce the above copyright 231 notice, this list of conditions and the following disclaimer in the 232 documentation and/or other materials provided with the distribution. 233 2343. The names of its contributors may not be used to endorse or promote 235 products derived from this software without specific prior written 236 permission. 237 238THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 239"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 240LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 241A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 242CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 243EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 244PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 245PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 246LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 247NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 248SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 249 250 2517. ext/standard/scanf 252 253scanf.c -- 254 255This file contains the base code which implements sscanf and by extension 256fscanf. Original code is from TCL8.3.0 and bears the following copyright: 257 258This software is copyrighted by the Regents of the University of 259California, Sun Microsystems, Inc., Scriptics Corporation, 260and other parties. The following terms apply to all files associated 261with the software unless explicitly disclaimed in individual files. 262 263The authors hereby grant permission to use, copy, modify, distribute, 264and license this software and its documentation for any purpose, provided 265that existing copyright notices are retained in all copies and that this 266notice is included verbatim in any distributions. No written agreement, 267license, or royalty fee is required for any of the authorized uses. 268Modifications to this software may be copyrighted by their authors 269and need not follow the licensing terms described here, provided that 270the new terms are clearly indicated on the first page of each file where 271they apply. 272 273IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY 274FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 275ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY 276DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE 277POSSIBILITY OF SUCH DAMAGE. 278 279THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, 280INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, 281FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE 282IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE 283NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 284MODIFICATIONS. 285 286GOVERNMENT USE: If you are acquiring this software on behalf of the 287U.S. government, the Government shall have only "Restricted Rights" 288in the software and related documentation as defined in the Federal 289Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you 290are acquiring the software on behalf of the Department of Defense, the 291software shall be classified as "Commercial Computer Software" and the 292Government shall have only "Restricted Rights" as defined in Clause 293252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the 294authors grant the U.S. Government and others acting in its behalf 295permission to use and distribute the software in accordance with the 296terms specified in this license. 297 298 2998. ext/standard/strnatcmp.c 300 301strnatcmp.c -- Perform 'natural order' comparisons of strings in C. 302Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au> 303 304This software is provided 'as-is', without any express or implied 305warranty. In no event will the authors be held liable for any damages 306arising from the use of this software. 307 308Permission is granted to anyone to use this software for any purpose, 309including commercial applications, and to alter it and redistribute it 310freely, subject to the following restrictions: 311 3121. The origin of this software must not be misrepresented; you must not 313 claim that you wrote the original software. If you use this software 314 in a product, an acknowledgment in the product documentation would be 315 appreciated but is not required. 3162. Altered source versions must be plainly marked as such, and must not be 317 misrepresented as being the original software. 3183. This notice may not be removed or altered from any source distribution. 319 320 3219. ext/standard/uuencode 322 323Portions of this code are based on Berkeley's uuencode/uudecode 324implementation. 325 326Copyright (c) 1983, 1993 327The Regents of the University of California. All rights reserved. 328 329Redistribution and use in source and binary forms, with or without 330modification, are permitted provided that the following conditions 331are met: 3321. Redistributions of source code must retain the above copyright 333 notice, this list of conditions and the following disclaimer. 3342. Redistributions in binary form must reproduce the above copyright 335 notice, this list of conditions and the following disclaimer in the 336 documentation and/or other materials provided with the distribution. 3373. All advertising materials mentioning features or use of this software 338 must display the following acknowledgement: 339This product includes software developed by the University of 340California, Berkeley and its contributors. 3414. Neither the name of the University nor the names of its contributors 342 may be used to endorse or promote products derived from this software 343 without specific prior written permission. 344 345THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 346ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 347IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 348ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 349FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 350DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 351OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 352HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 353LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 354OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 355SUCH DAMAGE. 356 357 35810. libxmlrpc ext/xmlrpc 359 360Copyright 2000 Epinions, Inc. 361 362Subject to the following 3 conditions, Epinions, Inc. permits you, free 363of charge, to (a) use, copy, distribute, modify, perform and display this 364software and associated documentation files (the "Software"), and (b) 365permit others to whom the Software is furnished to do so as well. 366 3671) The above copyright notice and this permission notice shall be included 368without modification in all copies or substantial portions of the 369Software. 370 3712) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF 372ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY 373IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR 374PURPOSE OR NONINFRINGEMENT. 375 3763) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, 377SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT 378OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING 379NEGLIGENCE), EVEN IF EPINIONS, INC. IS AWARE OF THE POSSIBILITY OF SUCH 380DAMAGES. 381 382 38311. main/snprintf.c 384 385Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com> 386 387Permission to use, copy, modify, and distribute this software for any 388purpose with or without fee is hereby granted, provided that the above 389copyright notice and this permission notice appear in all copies. 390 391THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 392WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 393MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 394ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 395WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 396ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 397OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 398 399Sponsored in part by the Defense Advanced Research Projects 400Agency (DARPA) and Air Force Research Laboratory, Air Force 401Materiel Command, USAF, under agreement number F39502-99-1-0512. 402 403main/spprintf 404Copyright (c) 1995-1998 The Apache Group. All rights reserved. 405 406Redistribution and use in source and binary forms, with or without 407modification, are permitted provided that the following conditions 408are met: 409 4101. Redistributions of source code must retain the above copyright 411 notice, this list of conditions and the following disclaimer. 412 4132. Redistributions in binary form must reproduce the above copyright 414 notice, this list of conditions and the following disclaimer in 415 the documentation and/or other materials provided with the 416 distribution. 417 4183. All advertising materials mentioning features or use of this 419 software must display the following acknowledgment: 420 "This product includes software developed by the Apache Group 421 for use in the Apache HTTP server project (http://www.apache.org/)." 422 4234. The names "Apache Server" and "Apache Group" must not be used to 424 endorse or promote products derived from this software without 425 prior written permission. 426 4275. Redistributions of any form whatsoever must retain the following 428 acknowledgment: 429 "This product includes software developed by the Apache Group 430 for use in the Apache HTTP server project (http://www.apache.org/)." 431 432THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY 433EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 434IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 435PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR 436ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 437SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 438NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 439LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 440HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 441STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 442ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 443OF THE POSSIBILITY OF SUCH DAMAGE. 444==================================================================== 445 446This software consists of voluntary contributions made by many 447individuals on behalf of the Apache Group and was originally based 448on public domain software written at the National Center for 449Supercomputing Applications, University of Illinois, Urbana-Champaign. 450For more information on the Apache Group and the Apache HTTP server 451project, please see <http://www.apache.org/>. 452 453This code is based on, and used with the permission of, the 454SIO stdio-replacement strx_* functions by Panos Tsirigotis 455<panos@alumni.cs.colorado.edu> for xinetd. 456 457 45812. main/strlcat 45913. main/strlcpy 460 461Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> 462All rights reserved. 463 464Redistribution and use in source and binary forms, with or without 465modification, are permitted provided that the following conditions 466are met: 4671. Redistributions of source code must retain the above copyright 468 notice, this list of conditions and the following disclaimer. 4692. Redistributions in binary form must reproduce the above copyright 470 notice, this list of conditions and the following disclaimer in the 471 documentation and/or other materials provided with the distribution. 4723. The name of the author may not be used to endorse or promote products 473 derived from this software without specific prior written permission. 474 475THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 476INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 477AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 478THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 479EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 480PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 481OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 482WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 483OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 484ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 485 486 48714. libgd (ext/gd) 488 489* Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 490 2002, 2003, 2004 by Cold Spring Harbor Laboratory. Funded under 491 Grant P41-RR02188 by the National Institutes of Health. 492 493* Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 494 2004 by Boutell.Com, Inc. 495 496* Portions relating to GD2 format copyright 1999, 2000, 2001, 2002, 497 2003, 2004 Philip Warner. 498 499* Portions relating to PNG copyright 1999, 2000, 2001, 2002, 2003, 500 2004 Greg Roelofs. 501 502* Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002, 503 2003, 2004 John Ellson (ellson@graphviz.org). 504 505* Portions relating to gdft.c copyright 2001, 2002, 2003, 2004 John 506 Ellson (ellson@graphviz.org). 507 508* Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 509 Pierre-Alain Joye (pierre@libgd.org). 510 511* Portions relating to JPEG and to color quantization copyright 512 2000, 2001, 2002, 2003, 2004, Doug Becker and copyright (C) 1994, 513 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Thomas 514 G. Lane. This software is based in part on the work of the 515 Independent JPEG Group. See the file README-JPEG.TXT for more 516 information. 517 518* Portions relating to GIF compression copyright 1989 by Jef 519 Poskanzer and David Rowley, with modifications for thread safety 520 by Thomas Boutell. 521 522* Portions relating to GIF decompression copyright 1990, 1991, 1993 523 by David Koblas, with modifications for thread safety by Thomas 524 Boutell. 525 526* Portions relating to WBMP copyright 2000, 2001, 2002, 2003, 2004 527 Maurice Szmurlo and Johan Van den Brande. 528 529* Portions relating to GIF animations copyright 2004 Jaakko Hyvätti 530 (jaakko.hyvatti@iki.fi) 531 532Permission has been granted to copy, distribute and modify gd in 533any context without fee, including a commercial application, 534provided that this notice is present in user-accessible supporting 535documentation. 536 537This does not affect your ownership of the derived work itself, 538and the intent is to assure proper credit for the authors of gd, 539not to interfere with your productive use of gd. If you have 540questions, ask. "Derived works" includes all programs that utilize 541the library. Credit must be given in user-accessible 542documentation. 543 544This software is provided "AS IS." The copyright holders disclaim 545all warranties, either express or implied, including but not 546limited to implied warranties of merchantability and fitness for a 547particular purpose, with respect to this code and accompanying 548documentation. 549 550Although their code does not appear in the current release, the 551authors wish to thank David Koblas, David Rowley, and Hutchison 552Avenue Software Corporation for their prior contributions. 553 554END OF COPYRIGHT STATEMENT 555 556 55715. ext/phar portions of tar implementations 558 559portions of tar implementations in ext/phar - phar_tar_octal() are based on an 560implementation by Tim Kientzle from libarchive, licensed with this license: 561 562 Copyright (c) 2003-2007 Tim Kientzle 563 All rights reserved. 564 565 Redistribution and use in source and binary forms, with or without 566 modification, are permitted provided that the following conditions 567 are met: 568 1. Redistributions of source code must retain the above copyright 569 notice, this list of conditions and the following disclaimer. 570 2. Redistributions in binary form must reproduce the above copyright 571 notice, this list of conditions and the following disclaimer in the 572 documentation and/or other materials provided with the distribution. 573 574 THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR 575 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 576 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 577 IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, 578 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 579 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 580 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 581 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 582 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 583 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 584 585 58616. ext/phar/zip.c portion extracted from libzip 587 588zip_dirent.c -- read directory entry (local or central), clean dirent 589Copyright (C) 1999, 2003, 2004, 2005 Dieter Baron and Thomas Klausner 590 591This function is part of libzip, a library to manipulate ZIP archives. 592The authors can be contacted at <nih@giga.or.at> 593 594Redistribution and use in source and binary forms, with or without 595modification, are permitted provided that the following conditions 596are met: 5971. Redistributions of source code must retain the above copyright 598 notice, this list of conditions and the following disclaimer. 5992. Redistributions in binary form must reproduce the above copyright 600 notice, this list of conditions and the following disclaimer in 601 the documentation and/or other materials provided with the 602 distribution. 6033. The names of the authors may not be used to endorse or promote 604 products derived from this software without specific prior 605 written permission. 606 607THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS 608OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 609WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 610ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY 611DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 612DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 613GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 614INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 615IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 616OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 617IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 618 619 62018. ext/mbstring/ucgendat portions based on the ucgendat.c from the OpenLDAP 621 622The OpenLDAP Public License 623 Version 2.8, 17 August 2003 624 625Redistribution and use of this software and associated documentation 626("Software"), with or without modification, are permitted provided 627that the following conditions are met: 628 6291. Redistributions in source form must retain copyright statements 630 and notices, 631 6322. Redistributions in binary form must reproduce applicable copyright 633 statements and notices, this list of conditions, and the following 634 disclaimer in the documentation and/or other materials provided 635 with the distribution, and 636 6373. Redistributions must contain a verbatim copy of this document. 638 639The OpenLDAP Foundation may revise this license from time to time. 640Each revision is distinguished by a version number. You may use 641this Software under terms of this license revision or under the 642terms of any subsequent revision of the license. 643 644THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS 645CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, 646INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 647AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 648SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S) 649OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, 650INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 651BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 652LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 653CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 654LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 655ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 656POSSIBILITY OF SUCH DAMAGE. 657 658The names of the authors and copyright holders must not be used in 659advertising or otherwise to promote the sale, use or other dealing 660in this Software without specific, written prior permission. Title 661to copyright in this Software shall at all times remain with copyright 662holders. 663 664OpenLDAP is a registered trademark of the OpenLDAP Foundation. 665 666Copyright 1999-2003 The OpenLDAP Foundation, Redwood City, 667California, USA. All Rights Reserved. Permission to copy and 668distribute verbatim copies of this document is granted. 669