readme-redist-bins.txt 21 KB

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