@@ -406,23 +406,85 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
406406
407407----------------------------------------------------------------------
408408
409- The bundled PCRE implementation (deps/pcre/) is licensed under the BSD
410- license.
409+ The bundled PCRE implementation (deps/pcre2/) is licensed under the
410+ PCRE2 Licence.
411+
412+ PCRE2 is a library of functions to support regular expressions whose syntax
413+ and semantics are as close as possible to those of the Perl 5 language.
414+
415+ Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
416+ licence, as specified below, with one exemption for certain binary
417+ redistributions. The documentation for PCRE2, supplied in the "doc" directory,
418+ is distributed under the same terms as the software itself. The data in the
419+ testdata directory is not copyrighted and is in the public domain.
420+
421+ The basic library functions are written in C and are freestanding. Also
422+ included in the distribution is a just-in-time compiler that can be used to
423+ optimize pattern matching. This is an optional feature that can be omitted when
424+ the library is built. The just-in-time compiler is separately licensed under the
425+ "2-clause BSD" licence.
426+
427+
428+ COPYRIGHT
429+ ---------
430+
431+ ### The basic library functions
432+
433+ Written by: Philip Hazel
434+ Email local part: Philip.Hazel
435+ Email domain: gmail.com
436+
437+ Retired from University of Cambridge Computing Service,
438+ Cambridge, England.
439+
440+ Copyright (c) 1997-2007 University of Cambridge
441+ Copyright (c) 2007-2024 Philip Hazel
442+ All rights reserved.
443+
444+ ### PCRE2 Just-In-Time compilation support
445+
446+ Written by: Zoltan Herczeg
447+ Email local part: hzmester
448+ Email domain: freemail.hu
449+
450+ Copyright (c) 2010-2024 Zoltan Herczeg
451+ All rights reserved.
452+
453+ ### Stack-less Just-In-Time compiler
454+
455+ Written by: Zoltan Herczeg
456+ Email local part: hzmester
457+ Email domain: freemail.hu
458+
459+ Copyright (c) 2009-2024 Zoltan Herczeg
460+ All rights reserved.
461+
462+ The code in the `deps/sljit` directory has its own LICENSE file.
463+
464+ ### All other contributions
465+
466+ Many other contributors have participated in the authorship of PCRE2. As PCRE2
467+ has never required a Contributor Licensing Agreement, or other copyright
468+ assignment agreement, all contributions have copyright retained by each
469+ original contributor or their employer.
470+
471+
472+ THE "BSD" LICENCE
473+ -----------------
411474
412475Redistribution and use in source and binary forms, with or without
413476modification, are permitted provided that the following conditions are met:
414477
415- * Redistributions of source code must retain the above copyright notice ,
416- this list of conditions and the following disclaimer.
478+ * Redistributions of source code must retain the above copyright notices ,
479+ this list of conditions and the following disclaimer.
417480
418- * Redistributions in binary form must reproduce the above copyright
419- notice , this list of conditions and the following disclaimer in the
420- documentation and/or other materials provided with the distribution.
481+ * Redistributions in binary form must reproduce the above copyright
482+ notices , this list of conditions and the following disclaimer in the
483+ documentation and/or other materials provided with the distribution.
421484
422- * Neither the name of the University of Cambridge nor the name of Google
423- Inc. nor the names of their contributors may be used to endorse or
424- promote products derived from this software without specific prior
425- written permission.
485+ * Neither the name of the University of Cambridge nor the names of any
486+ contributors may be used to endorse or promote products derived from this
487+ software without specific prior written permission.
426488
427489THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
428490AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -436,6 +498,16 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
436498ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
437499POSSIBILITY OF SUCH DAMAGE.
438500
501+
502+ EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
503+ ------------------------------------------
504+
505+ The second condition in the BSD licence (covering binary redistributions) does
506+ not apply all the way down a chain of software. If binary package A includes
507+ PCRE2, it must respect the condition, but if package B is software that
508+ includes package A, the condition is not imposed on package B unless it uses
509+ PCRE2 independently.
510+
439511----------------------------------------------------------------------
440512
441513The bundled winhttp definition files (deps/winhttp/) are licensed under
0 commit comments