You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by dj...@apache.org on 2026/10/22 06:49:40 UTC

(cloudberry) branch REL_2_STABLE updated: License: list the Bison-generated orafce parser

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


The following commit(s) were added to refs/heads/REL_2_STABLE by this push:
     new 11e858bc127 License: list the Bison-generated orafce parser
11e858bc127 is described below

commit 11e858bc1277d0afe888c8d5a0991fc50e972c95
Author: Dianjin Wang <wa...@gmail.com>
AuthorDate: Wed Oct 21 11:25:51 2026 +0800

    License: list the Bison-generated orafce parser
    
    gpcontrib/orafce/sqlparse.c and sqlparse.h are generated by GNU Bison
    3.7.4 and ship with upstream orafce.  They carry the Bison skeleton's
    GPL-3.0-or-later notice with the Bison special exception, so a reviewer
    scanning for GPL text finds them, but LICENSE did not explain them.
    
    The ASF settled this case in LEGAL-291: the exception lets the
    generated parser be distributed under terms of the distributor's
    choice, so it is distributed under the Apache License and needs no
    LICENSE or NOTICE entry.  The build-tools allowance in resolved.html
    does not name Bison, so LEGAL-291, not that allowance, is the basis.
    
    List the two files at the end of the build system section, with their
    copyright line and that basis, and retitle the section to cover them.
    
    Assisted-by: Claude Code
---
 LICENSE | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE
index ac215bc0c14..3842ae60233 100644
--- a/LICENSE
+++ b/LICENSE
@@ -726,7 +726,7 @@ Apache Cloudberry includes codes from
        contrib/pax_storage/src/cpp/contrib/tabulate/utils/amalgamate/LICENSE.md)
 
 ================================================================================
-Build system files
+Build system and generated parser files
 
 The files under config/ come from the GNU Autotools (Autoconf, Automake
 and Libtool), pkg-config and the Autoconf Archive.  The GPL-licensed
@@ -736,7 +736,10 @@ files in its distributions
 (https://www.apache.org/legal/resolved.html#build-tools; see also
 LEGAL-290).  Each file carries its full license notice.  The top-level
 configure script is generated by Autoconf, includes expansions of these
-macros, and carries its own notice; it is listed below.
+macros, and carries its own notice; it is listed below.  The parser
+that GNU Bison generated for orafce is listed last: the Bison exception
+lets such output be distributed under terms of the distributor's choice,
+so it is distributed under the Apache License (LEGAL-291).
 
 ----------------------------
    GNU General Public License, with an exception for use in configure
@@ -798,3 +801,14 @@ macros, and carries its own notice; it is listed below.
       config/install-sh
          Copyright (C) 1994 X Consortium
       (the Free Software Foundation's changes to it are in the public domain)
+
+----------------------------
+   GNU General Public License, with the Bison parser skeleton exception
+
+      gpcontrib/orafce/sqlparse.c
+      gpcontrib/orafce/sqlparse.h
+         Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software
+         Foundation, Inc.
+      (generated by GNU Bison 3.7.4 from gpcontrib/orafce/sqlparse.y and
+       shipped with upstream orafce; GPL-3.0-or-later with the Bison
+       special exception)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org