This is an automated email from the ASF dual-hosted git repository. tuhaihe pushed a commit to branch REL_2_STABLE in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 66da3926410065db3a6bc000ccf90166a08a082d Author: Dianjin Wang <[email protected]> AuthorDate: Tue Sep 29 17:36:10 2026 +0800 License: register third-party code missing from LICENSE Add LICENSE entries, with the license texts under licenses/, for bundled code that LICENSE did not list: - pg_cron's copy of Vixie cron (entry.c, misc.c, cron.h) and Berkeley's bitstring.h (BSD-3). - From PostgreSQL: the Snowball stemmers and stop words (BSD-3), strftime.c (BSD-3), HyperLogLog (MIT), the IANA time zone code and data (public domain), and the Project X0213 and ICU mapping tables. - From Greenplum: cmockery (Apache-2.0). Exclude the two license texts that RAT does not recognize. This is the REL_2_STABLE version of the same change on main, which also covers pg_bsd_indent and LLVM's SectionMemoryManager; neither exists on this branch. Assisted-by: Claude Code --- LICENSE | 66 ++++++++++++++++++++++++++++++++ licenses/LICENSE-bitstring.txt | 29 ++++++++++++++ licenses/LICENSE-bsd3-snowball.txt | 29 ++++++++++++++ licenses/LICENSE-bsd3-strftime.txt | 26 +++++++++++++ licenses/LICENSE-hyperloglog.txt | 19 ++++++++++ licenses/LICENSE-icu-data.txt | 78 ++++++++++++++++++++++++++++++++++++++ licenses/LICENSE-vixie-cron.txt | 11 ++++++ licenses/LICENSE-x0213.txt | 4 ++ pom.xml | 2 + 9 files changed, 264 insertions(+) diff --git a/LICENSE b/LICENSE index 9614868308a..8a9a455b548 100644 --- a/LICENSE +++ b/LICENSE @@ -232,6 +232,15 @@ The PostgreSQL software includes: src/common/sha2_int.h see licenses/LICENSE-bsd3-sha2.txt + src/timezone/strftime.c + see licenses/LICENSE-bsd3-strftime.txt + + Snowball stemmers and stop word lists (https://snowballstem.org): + src/backend/snowball/libstemmer + src/backend/snowball/stopwords + src/include/snowball/libstemmer + see licenses/LICENSE-bsd3-snowball.txt + ---------------------------- Internet Systems Consortium/Internet Software Consortium (ISC) LICENSE @@ -295,6 +304,40 @@ The PostgreSQL software includes: src/include/common/shortest_dec.h see licenses/LICENSE-boost.txt +---------------------------- + MIT License + + HyperLogLog, based on Hideaki Ohno's C++ implementation: + src/backend/lib/hyperloglog.c + src/include/lib/hyperloglog.h + see licenses/LICENSE-hyperloglog.txt + +---------------------------- + Public Domain + + IANA time zone code and data (https://www.iana.org/time-zones): + src/timezone/localtime.c + src/timezone/private.h + src/timezone/tzfile.h + src/timezone/zic.c + src/timezone/data/tzdata.zi + +---------------------------- + Project X0213 License + + JIS X 0213 mapping tables from Project X0213 (http://x0213.org): + src/backend/utils/mb/Unicode/euc-jis-2004-std.txt + src/backend/utils/mb/Unicode/sjis-0213-2004-std.txt + see licenses/LICENSE-x0213.txt + +---------------------------- + ICU License + + GB 18030 mapping table from the ICU project's charset data + (https://github.com/unicode-org/icu-data): + src/backend/utils/mb/Unicode/gb-18030-2000.xml + see licenses/LICENSE-icu-data.txt + ================================================================================ This product contains significant parts that were originally based on software from VMware, Inc. or its affiliates. @@ -310,6 +353,14 @@ Greenplum Database is licensed under the Apache License Version 2.0 The Greenplum Database software includes: +---------------------------- + Apache License - Version 2.0 + + cmockery unit testing framework, copyright 2008 Google Inc.: + src/test/unit/cmockery + (see the Apache License above; also shipped in-tree as + src/test/unit/cmockery/LICENSE.txt) + ---------------------------- Stream License @@ -370,6 +421,21 @@ Apache Cloudberry includes codes from see licenses/LICENSE-citusdata.txt + pg_cron's copy of Vixie cron, under Paul Vixie's license: + + /src/backend/task/entry.c + /src/backend/task/misc.c + /src/include/task/cron.h + + see licenses/LICENSE-vixie-cron.txt + + Berkeley's bitstring.h, as found in FreeBSD, under the 3-clause + BSD license: + + /src/include/task/bitstring.h + + see licenses/LICENSE-bitstring.txt + ---------------------------- PostgreSQL License diff --git a/licenses/LICENSE-bitstring.txt b/licenses/LICENSE-bitstring.txt new file mode 100644 index 00000000000..1afe6ac1a46 --- /dev/null +++ b/licenses/LICENSE-bitstring.txt @@ -0,0 +1,29 @@ +Copyright (c) 1989, 1993 +The Regents of the University of California. All rights reserved. + +This code is derived from software contributed to Berkeley by +Paul Vixie. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. 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. +4. Neither the name of the University 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 REGENTS 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 REGENTS 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. diff --git a/licenses/LICENSE-bsd3-snowball.txt b/licenses/LICENSE-bsd3-snowball.txt new file mode 100644 index 00000000000..f36607f9e93 --- /dev/null +++ b/licenses/LICENSE-bsd3-snowball.txt @@ -0,0 +1,29 @@ +Copyright (c) 2001, Dr Martin Porter +Copyright (c) 2004,2005, Richard Boulton +Copyright (c) 2013, Yoshiki Shibukawa +Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. 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. + 3. Neither the name of the Snowball project 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 OWNER 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. diff --git a/licenses/LICENSE-bsd3-strftime.txt b/licenses/LICENSE-bsd3-strftime.txt new file mode 100644 index 00000000000..03c33cb7720 --- /dev/null +++ b/licenses/LICENSE-bsd3-strftime.txt @@ -0,0 +1,26 @@ +Copyright 1989 The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. 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. +3. Neither the name of the University 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 REGENTS 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 REGENTS 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. diff --git a/licenses/LICENSE-hyperloglog.txt b/licenses/LICENSE-hyperloglog.txt new file mode 100644 index 00000000000..0e964114ed6 --- /dev/null +++ b/licenses/LICENSE-hyperloglog.txt @@ -0,0 +1,19 @@ +Copyright (c) 2013 Hideaki Ohno <hide.o.j55{at}gmail.com> + +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-icu-data.txt b/licenses/LICENSE-icu-data.txt new file mode 100644 index 00000000000..039cdcd4d85 --- /dev/null +++ b/licenses/LICENSE-icu-data.txt @@ -0,0 +1,78 @@ +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 2016-2024 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT +DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +software and any associated documentation (the "Software") to deal in the +Data Files or Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, and/or sell +copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that either (a) +this copyright and permission notice appear with all copies of the Data +Files or Software, or (b) this copyright and permission notice appear in +associated Documentation. + +THE DATA FILES AND SOFTWARE ARE 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 OF +THIRD PARTY RIGHTS. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE +BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 THE DATA +FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in these Data Files or Software without prior written +authorization of the copyright holder. + +SPDX-License-Identifier: Unicode-3.0 + +--------------------- + +1. ICU License - ICU 1.8.1 to ICU 57.1 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1995-2016 International Business Machines Corporation and others +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, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, provided that the above +copyright notice(s) and this permission notice appear in all copies of +the Software and that both the above copyright notice(s) and this +permission notice appear in supporting documentation. + +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 +OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY +SPECIAL 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. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, use +or other dealings in this Software without prior written authorization +of the copyright holder. + +All trademarks and registered trademarks mentioned herein are the +property of their respective owners. diff --git a/licenses/LICENSE-vixie-cron.txt b/licenses/LICENSE-vixie-cron.txt new file mode 100644 index 00000000000..cd74127eb56 --- /dev/null +++ b/licenses/LICENSE-vixie-cron.txt @@ -0,0 +1,11 @@ +Copyright 1988,1990,1993,1994 by Paul Vixie +All rights reserved + +Distribute freely, except: don't remove my name from the source or +documentation (don't take credit for my work), mark your changes (don't +get me blamed for your possible bugs), don't alter or remove this +notice. May be sold if buildable source is provided to buyer. No +warrantee of any kind, express or implied, is included with this +software; use at your own risk, responsibility for damages (if any) to +anyone resulting from the use of this software rests entirely with the +user. diff --git a/licenses/LICENSE-x0213.txt b/licenses/LICENSE-x0213.txt new file mode 100644 index 00000000000..589d396f4d4 --- /dev/null +++ b/licenses/LICENSE-x0213.txt @@ -0,0 +1,4 @@ +Copyright (C) 2001 [email protected], All Rights Reserved. +Copyright (C) 2001 I'O, All Rights Reserved. +Copyright (C) 2006 Project X0213, All Rights Reserved. +You can use, modify, distribute this table freely. diff --git a/pom.xml b/pom.xml index d57560d51d2..e852283b11a 100644 --- a/pom.xml +++ b/pom.xml @@ -1884,6 +1884,8 @@ code or new licensing patterns. <exclude>licenses/LICENSE-amalgamate.txt</exclude> <exclude>licenses/LICENSE-boost.txt</exclude> <exclude>licenses/LICENSE-termcolor.txt</exclude> + <exclude>licenses/LICENSE-vixie-cron.txt</exclude> + <exclude>licenses/LICENSE-x0213.txt</exclude> <exclude>contrib/pax_storage/src/cpp/contrib/tabulate/tabulateConfig.cmake.in</exclude> <exclude>contrib/pax_storage/src/cpp/contrib/tabulate/tabulate.pri</exclude> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
