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