1 1. libmagic (ext/fileinfo) see ext/fileinfo/libmagic/LICENSE
2 2. libmbfl (ext/mbstring) see ext/mbstring/libmbfl/LICENSE
5 5. ext/standard crypt's blowfish implementation
8 8. ext/standard/strnatcmp.c
9 9. ext/standard/uuencode
14 14. ext/phar portions of tar implementations
15 15. ext/phar/zip.c portion extracted from libzip
16 16. libbcmath (ext/bcmath) see ext/bcmath/libbcmath/LICENSE
17 17. ext/mbstring/ucgendat portions based on the ucgendat.c from the OpenLDAP
20 3. pcre2lib (ext/pcre)
25 PCRE2 is a library of functions to support regular expressions whose syntax
26 and semantics are as close as possible to those of the Perl 5 language.
28 Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
29 licence, as specified below, with one exemption for certain binary
30 redistributions. The documentation for PCRE2, supplied in the "doc" directory,
31 is distributed under the same terms as the software itself. The data in the
32 testdata directory is not copyrighted and is in the public domain.
34 The basic library functions are written in C and are freestanding. Also
35 included in the distribution is a just-in-time compiler that can be used to
36 optimize pattern matching. This is an optional feature that can be omitted when
40 THE BASIC LIBRARY FUNCTIONS
41 ---------------------------
43 Written by: Philip Hazel
44 Email local part: ph10
45 Email domain: cam.ac.uk
47 University of Cambridge Computing Service,
50 Copyright (c) 1997-2019 University of Cambridge
54 PCRE2 JUST-IN-TIME COMPILATION SUPPORT
55 --------------------------------------
57 Written by: Zoltan Herczeg
58 Email local part: hzmester
59 Email domain: freemail.hu
61 Copyright(c) 2010-2019 Zoltan Herczeg
65 STACK-LESS JUST-IN-TIME COMPILER
66 --------------------------------
68 Written by: Zoltan Herczeg
69 Email local part: hzmester
70 Email domain: freemail.hu
72 Copyright(c) 2009-2019 Zoltan Herczeg
79 Redistribution and use in source and binary forms, with or without
80 modification, are permitted provided that the following conditions are met:
82 * Redistributions of source code must retain the above copyright notices,
83 this list of conditions and the following disclaimer.
85 * Redistributions in binary form must reproduce the above copyright
86 notices, this list of conditions and the following disclaimer in the
87 documentation and/or other materials provided with the distribution.
89 * Neither the name of the University of Cambridge nor the names of any
90 contributors may be used to endorse or promote products derived from this
91 software without specific prior written permission.
93 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
94 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
95 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
96 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
97 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
98 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
99 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
100 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
101 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
102 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
103 POSSIBILITY OF SUCH DAMAGE.
106 EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
107 ------------------------------------------
109 The second condition in the BSD licence (covering binary redistributions) does
110 not apply all the way down a chain of software. If binary package A includes
111 PCRE2, it must respect the condition, but if package B is software that
112 includes package A, the condition is not imposed on package B unless it uses
118 4. ext/standard crypt
120 FreeSec: libcrypt for NetBSD
122 Copyright (c) 1994 David Burren
125 Redistribution and use in source and binary forms, with or without
126 modification, are permitted provided that the following conditions
128 1. Redistributions of source code must retain the above copyright
129 notice, this list of conditions and the following disclaimer.
130 2. Redistributions in binary form must reproduce the above copyright
131 notice, this list of conditions and the following disclaimer in the
132 documentation and/or other materials provided with the distribution.
133 3. Neither the name of the author nor the names of other contributors
134 may be used to endorse or promote products derived from this software
135 without specific prior written permission.
137 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
138 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
139 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
140 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
141 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
142 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
143 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
144 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
145 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
146 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
150 5. ext/standard crypt's blowfish implementation
152 The crypt_blowfish homepage is:
154 http://www.openwall.com/crypt/
156 This code comes from John the Ripper password cracker, with reentrant
157 and crypt(3) interfaces added, but optimizations specific to password
160 Written by Solar Designer <solar at openwall.com> in 1998-2011.
161 No copyright is claimed, and the software is hereby placed in the public
162 domain. In case this attempt to disclaim copyright and place the software
163 in the public domain is deemed null and void, then the software is
164 Copyright (c) 1998-2011 Solar Designer and it is hereby released to the
165 general public under the following terms:
167 Redistribution and use in source and binary forms, with or without
168 modification, are permitted.
170 There's ABSOLUTELY NO WARRANTY, express or implied.
172 It is my intent that you should be able to use this on your system,
173 as part of a software package, or anywhere else to improve security,
174 ensure compatibility, or for any other purpose. I would appreciate
175 it if you give credit where it is due and keep your modifications in
176 the public domain as well, but I don't require that in order to let
177 you place this code and any modifications you make under a license
180 This implementation is mostly compatible with OpenBSD's bcrypt.c (prefix
181 "$2a$") by Niels Provos <provos at citi.umich.edu>, and uses some of his
182 ideas. The password hashing algorithm was designed by David Mazieres
183 <dm at lcs.mit.edu>. For more information on the level of compatibility,
184 please refer to the comments in BF_set_key() and to the crypt(3) man page
185 included in the crypt_blowfish tarball.
187 There's a paper on the algorithm that explains its design decisions:
189 http://www.usenix.org/events/usenix99/provos.html
191 Some of the tricks in BF_ROUND might be inspired by Eric Young's
192 Blowfish library (I can't be sure if I would think of something if I
193 hadn't seen his code).
198 The following php_mt_...() functions are based on a C++ class MTRand by
199 Richard J. Wagner. For more information see the web page at
200 http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
202 Mersenne Twister random number generator -- a C++ class MTRand
203 Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
204 Richard J. Wagner v1.0 15 May 2003 rjwagner@writeme.com
206 The Mersenne Twister is an algorithm for generating random numbers. It
207 was designed with consideration of the flaws in various other generators.
208 The period, 2^19937-1, and the order of equidistribution, 623 dimensions,
209 are far greater. The generator is also fast; it avoids multiplication and
210 division, and it benefits from caches and pipelines. For more information
211 see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html
214 M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally
215 Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
216 Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3-30.
218 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
219 Copyright (C) 2000 - 2003, Richard J. Wagner
222 Redistribution and use in source and binary forms, with or without
223 modification, are permitted provided that the following conditions
226 1. Redistributions of source code must retain the above copyright
227 notice, this list of conditions and the following disclaimer.
229 2. Redistributions in binary form must reproduce the above copyright
230 notice, this list of conditions and the following disclaimer in the
231 documentation and/or other materials provided with the distribution.
233 3. The names of its contributors may not be used to endorse or promote
234 products derived from this software without specific prior written
237 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
238 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
239 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
240 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
241 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
242 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
243 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
244 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
245 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
246 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
247 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
250 7. ext/standard/scanf
254 This file contains the base code which implements sscanf and by extension
255 fscanf. Original code is from TCL8.3.0 and bears the following copyright:
257 This software is copyrighted by the Regents of the University of
258 California, Sun Microsystems, Inc., Scriptics Corporation,
259 and other parties. The following terms apply to all files associated
260 with the software unless explicitly disclaimed in individual files.
262 The authors hereby grant permission to use, copy, modify, distribute,
263 and license this software and its documentation for any purpose, provided
264 that existing copyright notices are retained in all copies and that this
265 notice is included verbatim in any distributions. No written agreement,
266 license, or royalty fee is required for any of the authorized uses.
267 Modifications to this software may be copyrighted by their authors
268 and need not follow the licensing terms described here, provided that
269 the new terms are clearly indicated on the first page of each file where
272 IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
273 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
274 ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
275 DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
276 POSSIBILITY OF SUCH DAMAGE.
278 THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
279 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
280 FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
281 IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
282 NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
285 GOVERNMENT USE: If you are acquiring this software on behalf of the
286 U.S. government, the Government shall have only "Restricted Rights"
287 in the software and related documentation as defined in the Federal
288 Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
289 are acquiring the software on behalf of the Department of Defense, the
290 software shall be classified as "Commercial Computer Software" and the
291 Government shall have only "Restricted Rights" as defined in Clause
292 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
293 authors grant the U.S. Government and others acting in its behalf
294 permission to use and distribute the software in accordance with the
295 terms specified in this license.
298 8. ext/standard/strnatcmp.c
300 strnatcmp.c -- Perform 'natural order' comparisons of strings in C.
301 Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au>
303 This software is provided 'as-is', without any express or implied
304 warranty. In no event will the authors be held liable for any damages
305 arising from the use of this software.
307 Permission is granted to anyone to use this software for any purpose,
308 including commercial applications, and to alter it and redistribute it
309 freely, subject to the following restrictions:
311 1. The origin of this software must not be misrepresented; you must not
312 claim that you wrote the original software. If you use this software
313 in a product, an acknowledgment in the product documentation would be
314 appreciated but is not required.
315 2. Altered source versions must be plainly marked as such, and must not be
316 misrepresented as being the original software.
317 3. This notice may not be removed or altered from any source distribution.
320 9. ext/standard/uuencode
322 Portions of this code are based on Berkeley's uuencode/uudecode
325 Copyright (c) 1983, 1993
326 The Regents of the University of California. All rights reserved.
328 Redistribution and use in source and binary forms, with or without
329 modification, are permitted provided that the following conditions
331 1. Redistributions of source code must retain the above copyright
332 notice, this list of conditions and the following disclaimer.
333 2. Redistributions in binary form must reproduce the above copyright
334 notice, this list of conditions and the following disclaimer in the
335 documentation and/or other materials provided with the distribution.
336 3. All advertising materials mentioning features or use of this software
337 must display the following acknowledgement:
338 This product includes software developed by the University of
339 California, Berkeley and its contributors.
340 4. Neither the name of the University nor the names of its contributors
341 may be used to endorse or promote products derived from this software
342 without specific prior written permission.
344 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
345 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
346 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
347 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
348 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
349 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
350 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
351 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
352 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
353 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
359 Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
361 Permission to use, copy, modify, and distribute this software for any
362 purpose with or without fee is hereby granted, provided that the above
363 copyright notice and this permission notice appear in all copies.
365 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
366 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
367 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
368 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
369 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
370 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
371 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
373 Sponsored in part by the Defense Advanced Research Projects
374 Agency (DARPA) and Air Force Research Laboratory, Air Force
375 Materiel Command, USAF, under agreement number F39502-99-1-0512.
378 Copyright (c) 1995-1998 The Apache Group. All rights reserved.
380 Redistribution and use in source and binary forms, with or without
381 modification, are permitted provided that the following conditions
384 1. Redistributions of source code must retain the above copyright
385 notice, this list of conditions and the following disclaimer.
387 2. Redistributions in binary form must reproduce the above copyright
388 notice, this list of conditions and the following disclaimer in
389 the documentation and/or other materials provided with the
392 3. All advertising materials mentioning features or use of this
393 software must display the following acknowledgment:
394 "This product includes software developed by the Apache Group
395 for use in the Apache HTTP server project (http://www.apache.org/)."
397 4. The names "Apache Server" and "Apache Group" must not be used to
398 endorse or promote products derived from this software without
399 prior written permission.
401 5. Redistributions of any form whatsoever must retain the following
403 "This product includes software developed by the Apache Group
404 for use in the Apache HTTP server project (http://www.apache.org/)."
406 THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
407 EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
408 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
409 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
410 ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
411 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
412 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
413 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
414 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
415 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
416 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
417 OF THE POSSIBILITY OF SUCH DAMAGE.
418 ====================================================================
420 This software consists of voluntary contributions made by many
421 individuals on behalf of the Apache Group and was originally based
422 on public domain software written at the National Center for
423 Supercomputing Applications, University of Illinois, Urbana-Champaign.
424 For more information on the Apache Group and the Apache HTTP server
425 project, please see <http://www.apache.org/>.
427 This code is based on, and used with the permission of, the
428 SIO stdio-replacement strx_* functions by Panos Tsirigotis
429 <panos@alumni.cs.colorado.edu> for xinetd.
435 Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
438 Redistribution and use in source and binary forms, with or without
439 modification, are permitted provided that the following conditions
441 1. Redistributions of source code must retain the above copyright
442 notice, this list of conditions and the following disclaimer.
443 2. Redistributions in binary form must reproduce the above copyright
444 notice, this list of conditions and the following disclaimer in the
445 documentation and/or other materials provided with the distribution.
446 3. The name of the author may not be used to endorse or promote products
447 derived from this software without specific prior written permission.
449 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
450 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
451 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
452 THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
453 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
454 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
455 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
456 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
457 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
458 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
463 * Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
464 2002, 2003, 2004 by Cold Spring Harbor Laboratory. Funded under
465 Grant P41-RR02188 by the National Institutes of Health.
467 * Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
468 2004 by Boutell.Com, Inc.
470 * Portions relating to GD2 format copyright 1999, 2000, 2001, 2002,
471 2003, 2004 Philip Warner.
473 * Portions relating to PNG copyright 1999, 2000, 2001, 2002, 2003,
476 * Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002,
477 2003, 2004 John Ellson (ellson@graphviz.org).
479 * Portions relating to gdft.c copyright 2001, 2002, 2003, 2004 John
480 Ellson (ellson@graphviz.org).
482 * Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
483 Pierre-Alain Joye (pierre@libgd.org).
485 * Portions relating to JPEG and to color quantization copyright
486 2000, 2001, 2002, 2003, 2004, Doug Becker and copyright (C) 1994,
487 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Thomas
488 G. Lane. This software is based in part on the work of the
489 Independent JPEG Group. See the file README-JPEG.TXT for more
492 * Portions relating to GIF compression copyright 1989 by Jef
493 Poskanzer and David Rowley, with modifications for thread safety
496 * Portions relating to GIF decompression copyright 1990, 1991, 1993
497 by David Koblas, with modifications for thread safety by Thomas
500 * Portions relating to WBMP copyright 2000, 2001, 2002, 2003, 2004
501 Maurice Szmurlo and Johan Van den Brande.
503 * Portions relating to GIF animations copyright 2004 Jaakko Hyvätti
504 (jaakko.hyvatti@iki.fi)
506 Permission has been granted to copy, distribute and modify gd in
507 any context without fee, including a commercial application,
508 provided that this notice is present in user-accessible supporting
511 This does not affect your ownership of the derived work itself,
512 and the intent is to assure proper credit for the authors of gd,
513 not to interfere with your productive use of gd. If you have
514 questions, ask. "Derived works" includes all programs that utilize
515 the library. Credit must be given in user-accessible
518 This software is provided "AS IS." The copyright holders disclaim
519 all warranties, either express or implied, including but not
520 limited to implied warranties of merchantability and fitness for a
521 particular purpose, with respect to this code and accompanying
524 Although their code does not appear in the current release, the
525 authors wish to thank David Koblas, David Rowley, and Hutchison
526 Avenue Software Corporation for their prior contributions.
528 END OF COPYRIGHT STATEMENT
531 14. ext/phar portions of tar implementations
533 portions of tar implementations in ext/phar - phar_tar_octal() are based on an
534 implementation by Tim Kientzle from libarchive, licensed with this license:
536 Copyright (c) 2003-2007 Tim Kientzle
539 Redistribution and use in source and binary forms, with or without
540 modification, are permitted provided that the following conditions
542 1. Redistributions of source code must retain the above copyright
543 notice, this list of conditions and the following disclaimer.
544 2. Redistributions in binary form must reproduce the above copyright
545 notice, this list of conditions and the following disclaimer in the
546 documentation and/or other materials provided with the distribution.
548 THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
549 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
550 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
551 IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
552 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
553 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
554 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
555 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
556 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
557 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
560 15. ext/phar/zip.c portion extracted from libzip
562 zip_dirent.c -- read directory entry (local or central), clean dirent
563 Copyright (C) 1999, 2003, 2004, 2005 Dieter Baron and Thomas Klausner
565 This function is part of libzip, a library to manipulate ZIP archives.
566 The authors can be contacted at <nih@giga.or.at>
568 Redistribution and use in source and binary forms, with or without
569 modification, are permitted provided that the following conditions
571 1. Redistributions of source code must retain the above copyright
572 notice, this list of conditions and the following disclaimer.
573 2. Redistributions in binary form must reproduce the above copyright
574 notice, this list of conditions and the following disclaimer in
575 the documentation and/or other materials provided with the
577 3. The names of the authors may not be used to endorse or promote
578 products derived from this software without specific prior
581 THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
582 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
583 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
584 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
585 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
586 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
587 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
588 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
589 IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
590 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
591 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
594 16. ext/mbstring/ucgendat portions based on the ucgendat.c from the OpenLDAP
596 The OpenLDAP Public License
597 Version 2.8, 17 August 2003
599 Redistribution and use of this software and associated documentation
600 ("Software"), with or without modification, are permitted provided
601 that the following conditions are met:
603 1. Redistributions in source form must retain copyright statements
606 2. Redistributions in binary form must reproduce applicable copyright
607 statements and notices, this list of conditions, and the following
608 disclaimer in the documentation and/or other materials provided
609 with the distribution, and
611 3. Redistributions must contain a verbatim copy of this document.
613 The OpenLDAP Foundation may revise this license from time to time.
614 Each revision is distinguished by a version number. You may use
615 this Software under terms of this license revision or under the
616 terms of any subsequent revision of the license.
618 THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
619 CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
620 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
621 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
622 SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
623 OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
624 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
625 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
626 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
627 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
628 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
629 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
630 POSSIBILITY OF SUCH DAMAGE.
632 The names of the authors and copyright holders must not be used in
633 advertising or otherwise to promote the sale, use or other dealing
634 in this Software without specific, written prior permission. Title
635 to copyright in this Software shall at all times remain with copyright
638 OpenLDAP is a registered trademark of the OpenLDAP Foundation.
640 Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
641 California, USA. All Rights Reserved. Permission to copy and
642 distribute verbatim copies of this document is granted.