xref: /PHP-7.0/README.REDIST.BINS (revision 2ecc0c10)
11. libmagic (ext/fileinfo) see ext/fileinfo/libmagic/LICENSE
22. Oniguruma (ext/mbstring) see ext/mbstring/oniguruma/COPYING
33. libmbfl (ext/mbstring) see ext/mbstring/libmbfl/LICENSE
44. pcrelib (ext/pcre) see ext/pcre/pcrelib/LICENCE
55. ext/standard crypt
66. ext/standard crypt's blowfish implementation
77. Sqlite/Sqlite3 ext/sqlite3 ext/sqlite
88. ext/standard/rand
99. ext/standard/scanf
1010. ext/standard/strnatcmp.c
1111. ext/standard/uuencode
1212. libxmlrpc ext/xmlrpc
1313. libzip ext/zip
1414. main/snprintf.c
1515. main/strlcat
1616. main/strlcpy
1717. libgd see ext/gd/libgd/COPYING
18
195. ext/standard crypt
20
21FreeSec: libcrypt for NetBSD
22
23Copyright (c) 1994 David Burren
24All rights reserved.
25
26Redistribution and use in source and binary forms, with or without
27modification, are permitted provided that the following conditions
28are met:
291. Redistributions of source code must retain the above copyright
30	 notice, this list of conditions and the following disclaimer.
312. Redistributions in binary form must reproduce the above copyright
32	 notice, this list of conditions and the following disclaimer in the
33	 documentation and/or other materials provided with the distribution.
343. Neither the name of the author nor the names of other contributors
35	 may be used to endorse or promote products derived from this software
36	 without specific prior written permission.
37
38THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
39ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
41ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
42FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
45HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
46LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48SUCH DAMAGE.
49
50
516. ext/standard crypt's blowfish implementation
52
53The crypt_blowfish homepage is:
54
55http://www.openwall.com/crypt/
56
57This code comes from John the Ripper password cracker, with reentrant
58and crypt(3) interfaces added, but optimizations specific to password
59cracking removed.
60
61Written by Solar Designer <solar at openwall.com> in 1998-2011.
62No copyright is claimed, and the software is hereby placed in the public
63domain. In case this attempt to disclaim copyright and place the software
64in the public domain is deemed null and void, then the software is
65Copyright (c) 1998-2011 Solar Designer and it is hereby released to the
66general public under the following terms:
67
68Redistribution and use in source and binary forms, with or without
69modification, are permitted.
70
71There's ABSOLUTELY NO WARRANTY, express or implied.
72
73It is my intent that you should be able to use this on your system,
74as part of a software package, or anywhere else to improve security,
75ensure compatibility, or for any other purpose. I would appreciate
76it if you give credit where it is due and keep your modifications in
77the public domain as well, but I don't require that in order to let
78you place this code and any modifications you make under a license
79of your choice.
80
81This implementation is mostly compatible with OpenBSD's bcrypt.c (prefix
82"$2a$") by Niels Provos <provos at citi.umich.edu>, and uses some of his
83ideas. The password hashing algorithm was designed by David Mazieres
84<dm at lcs.mit.edu>. For more information on the level of compatibility,
85please refer to the comments in BF_set_key() and to the crypt(3) man page
86included in the crypt_blowfish tarball.
87
88There's a paper on the algorithm that explains its design decisions:
89
90http://www.usenix.org/events/usenix99/provos.html
91
92Some of the tricks in BF_ROUND might be inspired by Eric Young's
93Blowfish library (I can't be sure if I would think of something if I
94hadn't seen his code).
95
96
977. Sqlite/Sqlite3 ext/sqlite3 ext/sqlite
98
99The author disclaims copyright to this source code.  In place of
100a legal notice, here is a blessing:
101  May you do good and not evil.
102  May you find forgiveness for yourself and forgive others.
103  May you share freely, never taking more than you give.
104
105
1068. ext/standard/rand
107The following php_mt_...() functions are based on a C++ class MTRand by
108Richard J. Wagner. For more information see the web page at
109http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
110
111Mersenne Twister random number generator -- a C++ class MTRand
112Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
113Richard J. Wagner  v1.0  15 May 2003  rjwagner@writeme.com
114
115The Mersenne Twister is an algorithm for generating random numbers.  It
116was designed with consideration of the flaws in various other generators.
117The period, 2^19937-1, and the order of equidistribution, 623 dimensions,
118are far greater.  The generator is also fast; it avoids multiplication and
119division, and it benefits from caches and pipelines.  For more information
120see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html
121
122Reference
123M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally
124Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
125Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3-30.
126
127Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
128Copyright (C) 2000 - 2003, Richard J. Wagner
129All rights reserved.
130
131Redistribution and use in source and binary forms, with or without
132modification, are permitted provided that the following conditions
133are met:
134
1351. Redistributions of source code must retain the above copyright
136	 notice, this list of conditions and the following disclaimer.
137
1382. Redistributions in binary form must reproduce the above copyright
139	 notice, this list of conditions and the following disclaimer in the
140	 documentation and/or other materials provided with the distribution.
141
1423. The names of its contributors may not be used to endorse or promote
143	 products derived from this software without specific prior written
144	 permission.
145
146THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
147"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
148LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
149A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
150CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
151EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
152PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
153PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
154LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
155NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
156SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
157
158
1599. ext/standard/scanf
160scanf.c --
161
162This file contains the base code which implements sscanf and by extension
163fscanf. Original code is from TCL8.3.0 and bears the following copyright:
164
165This software is copyrighted by the Regents of the University of
166California, Sun Microsystems, Inc., Scriptics Corporation,
167and other parties.  The following terms apply to all files associated
168with the software unless explicitly disclaimed in individual files.
169
170The authors hereby grant permission to use, copy, modify, distribute,
171and license this software and its documentation for any purpose, provided
172that existing copyright notices are retained in all copies and that this
173notice is included verbatim in any distributions. No written agreement,
174license, or royalty fee is required for any of the authorized uses.
175Modifications to this software may be copyrighted by their authors
176and need not follow the licensing terms described here, provided that
177the new terms are clearly indicated on the first page of each file where
178they apply.
179
180IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
181FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
182ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
183DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
184POSSIBILITY OF SUCH DAMAGE.
185
186THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
187INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
188FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
189IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
190NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
191MODIFICATIONS.
192
193GOVERNMENT USE: If you are acquiring this software on behalf of the
194U.S. government, the Government shall have only "Restricted Rights"
195in the software and related documentation as defined in the Federal
196Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
197are acquiring the software on behalf of the Department of Defense, the
198software shall be classified as "Commercial Computer Software" and the
199Government shall have only "Restricted Rights" as defined in Clause
200252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
201authors grant the U.S. Government and others acting in its behalf
202permission to use and distribute the software in accordance with the
203terms specified in this license.
204
20510. ext/standard/strnatcmp.c
206
207strnatcmp.c -- Perform 'natural order' comparisons of strings in C.
208Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au>
209
210This software is provided 'as-is', without any express or implied
211warranty.  In no event will the authors be held liable for any damages
212arising from the use of this software.
213
214Permission is granted to anyone to use this software for any purpose,
215including commercial applications, and to alter it and redistribute it
216freely, subject to the following restrictions:
217
2181. The origin of this software must not be misrepresented; you must not
219	 claim that you wrote the original software. If you use this software
220	 in a product, an acknowledgment in the product documentation would be
221	 appreciated but is not required.
2222. Altered source versions must be plainly marked as such, and must not be
223	 misrepresented as being the original software.
2243. This notice may not be removed or altered from any source distribution.
225
22611. ext/standard/uuencode
227Portions of this code are based on Berkeley's uuencode/uudecode
228implementation.
229
230Copyright (c) 1983, 1993
231The Regents of the University of California.  All rights reserved.
232
233Redistribution and use in source and binary forms, with or without
234modification, are permitted provided that the following conditions
235are met:
2361. Redistributions of source code must retain the above copyright
237	notice, this list of conditions and the following disclaimer.
2382. Redistributions in binary form must reproduce the above copyright
239	notice, this list of conditions and the following disclaimer in the
240	documentation and/or other materials provided with the distribution.
2413. All advertising materials mentioning features or use of this software
242	must display the following acknowledgement:
243This product includes software developed by the University of
244California, Berkeley and its contributors.
2454. Neither the name of the University nor the names of its contributors
246	may be used to endorse or promote products derived from this software
247	without specific prior written permission.
248
249THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
250ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
251IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
252ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
253FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
254DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
255OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
256HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
257LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
258OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
259SUCH DAMAGE.
260
261
26212. libxmlrpc ext/xmlrpc
263
264Copyright 2000 Epinions, Inc.
265
266Subject to the following 3 conditions, Epinions, Inc.  permits you, free
267of charge, to (a) use, copy, distribute, modify, perform and display this
268software and associated documentation files (the "Software"), and (b)
269permit others to whom the Software is furnished to do so as well.
270
2711) The above copyright notice and this permission notice shall be included
272without modification in all copies or substantial portions of the
273Software.
274
2752) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF
276ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY
277IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR
278PURPOSE OR NONINFRINGEMENT.
279
2803) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT,
281SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
282OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING
283NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH
284DAMAGES.
285
28613. libzip ext/zip
287zip.h -- exported declarations.
288Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
289
290This file is part of libzip, a library to manipulate ZIP archives.
291The authors can be contacted at <libzip@nih.at>
292
293Redistribution and use in source and binary forms, with or without
294modification, are permitted provided that the following conditions
295are met:
2961. Redistributions of source code must retain the above copyright
297	 notice, this list of conditions and the following disclaimer.
2982. Redistributions in binary form must reproduce the above copyright
299	 notice, this list of conditions and the following disclaimer in
300	 the documentation and/or other materials provided with the
301	 distribution.
3023. The names of the authors may not be used to endorse or promote
303	 products derived from this software without specific prior
304	 written permission.
305
306THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
307OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
308WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
309ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
310DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
311DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
312GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
313INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
314IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
315OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
316IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
317
31814. main/snprintf.c
319Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
320
321Permission to use, copy, modify, and distribute this software for any
322purpose with or without fee is hereby granted, provided that the above
323copyright notice and this permission notice appear in all copies.
324
325THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
326WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
327MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
328ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
329WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
330ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
331OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
332
333Sponsored in part by the Defense Advanced Research Projects
334Agency (DARPA) and Air Force Research Laboratory, Air Force
335Materiel Command, USAF, under agreement number F39502-99-1-0512.
336
337main/spprintf
338Copyright (c) 1995-1998 The Apache Group.  All rights reserved.
339
340Redistribution and use in source and binary forms, with or without
341modification, are permitted provided that the following conditions
342are met:
343
3441. Redistributions of source code must retain the above copyright
345	 notice, this list of conditions and the following disclaimer.
346
3472. Redistributions in binary form must reproduce the above copyright
348	 notice, this list of conditions and the following disclaimer in
349	 the documentation and/or other materials provided with the
350	 distribution.
351
3523. All advertising materials mentioning features or use of this
353	 software must display the following acknowledgment:
354	 "This product includes software developed by the Apache Group
355	 for use in the Apache HTTP server project (http://www.apache.org/)."
356
3574. The names "Apache Server" and "Apache Group" must not be used to
358	 endorse or promote products derived from this software without
359	 prior written permission.
360
3615. Redistributions of any form whatsoever must retain the following
362	 acknowledgment:
363	 "This product includes software developed by the Apache Group
364	 for use in the Apache HTTP server project (http://www.apache.org/)."
365
366THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
367EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
368IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
369PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE APACHE GROUP OR
370ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
371SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
372NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
373LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
374HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
375STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
376ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
377OF THE POSSIBILITY OF SUCH DAMAGE.
378====================================================================
379
380This software consists of voluntary contributions made by many
381individuals on behalf of the Apache Group and was originally based
382on public domain software written at the National Center for
383Supercomputing Applications, University of Illinois, Urbana-Champaign.
384For more information on the Apache Group and the Apache HTTP server
385project, please see <http://www.apache.org/>.
386
387This code is based on, and used with the permission of, the
388SIO stdio-replacement strx_* functions by Panos Tsirigotis
389<panos@alumni.cs.colorado.edu> for xinetd.
390
39115. main/strlcat
39216. main/strlcpy
393Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
394All rights reserved.
395
396Redistribution and use in source and binary forms, with or without
397modification, are permitted provided that the following conditions
398are met:
3991. Redistributions of source code must retain the above copyright
400	notice, this list of conditions and the following disclaimer.
4012. Redistributions in binary form must reproduce the above copyright
402	notice, this list of conditions and the following disclaimer in the
403	documentation and/or other materials provided with the distribution.
4043. The name of the author may not be used to endorse or promote products
405	derived from this software without specific prior written permission.
406
407THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
408INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
409AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
410THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
411EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
412PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
413OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
414WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
415OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
416ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
417
418