This is an automated email from the ASF dual-hosted git repository. tuhaihe pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 715df784990c5c2b19c5b345154216aa7599df0a Author: Dianjin Wang <[email protected]> AuthorDate: Mon Sep 14 14:12:52 2026 +0800 Fix missing third-party entries in LICENSE Four third-party components that are compiled into and shipped with Cloudberry were never registered in the root LICENSE file: - gpcontrib/pg_hint_plan/* BSD 3-Clause (NTT) - gpMgmt/bin/lib/pexpect/__init__.py ISC (Noah Spurrier) gpMgmt/bin/lib/pexpect/pxssh.py - gpcontrib/gpcloud/lib/http_parser.* MIT (Joyent / NGINX) - gpcontrib/gpcloud/lib/ini.* MIT (rxi) All four arrived with the Greenplum code base, so they are registered under the existing "The Greenplum Database software includes" section. Their upstream license texts are added under licenses/, copied from the files themselves (pg_hint_plan from its own COPYRIGHT file). The pexpect entry deliberately names the two upstream files rather than using a gpMgmt/bin/lib/pexpect/* wildcard: the third file in that directory, Makefile, is our own build glue and is not under the pexpect license. gpcontrib/pg_hint_plan/ is a pristine upstream subtree with no project-authored files, so a wildcard is accurate there. Note that pom.xml already carries a dedicated Apache RAT matcher for rxi's ini ("MIT (RXI-derived)"), so the component was known to the audit tooling but had never been reflected in LICENSE. Auditing every path referenced by LICENSE also turned up a stray trailing colon after src/pl/plperl/ppport.h, corrected here. The same audit found that LICENSE pointed at dependencies/yyjson while the directory is dependency/yyjson; #1995 has since corrected that independently, so this branch no longer carries it. Verified with `mvn clean verify -Drat.consoleOutput=true` on Rocky 9: Unapproved: 0, unknown: 0, generated: 1, approved: 5657 licenses. Assisted-by: Claude Code Backpatch-through: REL_2_STABLE --- LICENSE | 23 ++++++++++++++++++++++- licenses/LICENSE-http-parser.txt | 22 ++++++++++++++++++++++ licenses/LICENSE-ini.txt | 21 +++++++++++++++++++++ licenses/LICENSE-pexpect.txt | 16 ++++++++++++++++ licenses/LICENSE-pg-hint-plan.txt | 26 ++++++++++++++++++++++++++ 5 files changed, 107 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index f6f23e2b9d5..cc41a972713 100644 --- a/LICENSE +++ b/LICENSE @@ -251,7 +251,7 @@ The PostgreSQL software includes: ---------------------------- Perl Artistic License 2.0 (exception) - src/pl/plperl/ppport.h: + src/pl/plperl/ppport.h Pursuant to https://issues.apache.org/jira/browse/LEGAL-79 and PL/Perl's use of a generated header file, we declare this file to @@ -334,6 +334,27 @@ The Greenplum Database software includes: gpcontrib/gpcloud/test/googletest see licenses/LICENSE-googletest.txt + gpcontrib/pg_hint_plan/* + see licenses/LICENSE-pg-hint-plan.txt + +---------------------------- + Internet Systems Consortium/Internet Software Consortium (ISC) LICENSE + + gpMgmt/bin/lib/pexpect/__init__.py + gpMgmt/bin/lib/pexpect/pxssh.py + see licenses/LICENSE-pexpect.txt + +---------------------------- + MIT LICENSE + + gpcontrib/gpcloud/lib/http_parser.cpp + gpcontrib/gpcloud/lib/http_parser.h + see licenses/LICENSE-http-parser.txt + + gpcontrib/gpcloud/lib/ini.cpp + gpcontrib/gpcloud/lib/ini.h + see licenses/LICENSE-ini.txt + ---------------------------- PostgreSQL License diff --git a/licenses/LICENSE-http-parser.txt b/licenses/LICENSE-http-parser.txt new file mode 100644 index 00000000000..d47bd387850 --- /dev/null +++ b/licenses/LICENSE-http-parser.txt @@ -0,0 +1,22 @@ +Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev + +Additional changes are licensed under the same terms as NGINX and +copyright Joyent, Inc. and other Node contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. diff --git a/licenses/LICENSE-ini.txt b/licenses/LICENSE-ini.txt new file mode 100644 index 00000000000..88e48bcde70 --- /dev/null +++ b/licenses/LICENSE-ini.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2015 rxi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/licenses/LICENSE-pexpect.txt b/licenses/LICENSE-pexpect.txt new file mode 100644 index 00000000000..5ae9e3f906b --- /dev/null +++ b/licenses/LICENSE-pexpect.txt @@ -0,0 +1,16 @@ +PEXPECT LICENSE + +This license is approved by the OSI and FSF as GPL-compatible. + http://opensource.org/licenses/isc-license.txt + +Copyright (c) 2012, Noah Spurrier <[email protected]> +PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE FOR ANY +PURPOSE WITH OR WITHOUT FEE IS HEREBY GRANTED, PROVIDED THAT THE ABOVE +COPYRIGHT NOTICE AND THIS PERMISSION NOTICE APPEAR IN ALL COPIES. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/licenses/LICENSE-pg-hint-plan.txt b/licenses/LICENSE-pg-hint-plan.txt new file mode 100644 index 00000000000..25d52e00d5e --- /dev/null +++ b/licenses/LICENSE-pg-hint-plan.txt @@ -0,0 +1,26 @@ +Copyright (c) 2012-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the NIPPON TELEGRAPH AND TELEPHONE CORPORATION + (NTT) nor the names of its contributors may be used to endorse or + promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
