Skip to content

Commit 94af1a2

Browse files
committed
Doc: update the NOTICE and LICENSE files
Before donating Cloudberry to the Apache Incubator, we made some adjustments to LICENSE and NOTICE files, as reflected in the git blame history. However, those changes introduced unnecessary entries that didn't fully align with Apache guidelines. This commit refines these files to better comply with Apache standards and reflects the latest changes in the project source code. The COPYRIGHT file, inherited from the PostgreSQL upstream, served a similar purpose as the NOTICE file. As it is redundant, it has been removed from this commit. And introducing one new dir named `licenses` for a clearer licenses management.
1 parent a56d4f9 commit 94af1a2

21 files changed

Lines changed: 706 additions & 244 deletions

COPYRIGHT

Lines changed: 0 additions & 112 deletions
This file was deleted.

LICENSE

Lines changed: 138 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,141 @@
198198
distributed under the License is distributed on an "AS IS" BASIS,
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201-
limitations under the License.
201+
limitations under the License.
202+
203+
================================================================================
204+
This product includes software from PostgreSQL, under the PostgreSQL License:
205+
206+
see licenses/LICENSE-postgresql.txt
207+
208+
The PostgreSQL software includes:
209+
210+
----------------------------
211+
BSD License
212+
213+
src/bin/pg_controldata/pg_controldata.c
214+
copyright (c) Oliver Elphick <olly@lfix.co.uk>, 2001
215+
216+
----------------------------
217+
BSD-4-Clause (University of California-Specific)
218+
219+
src/include/port/win32_msvc/glob.h
220+
src/port/glob.c
221+
222+
see licenses/LICENSE-glob.txt
223+
224+
----------------------------
225+
BSD 3 Clause License
226+
227+
src/port/inet_aton.c
228+
see licenses/LICENSE-bsd3-inet_aton.txt
229+
230+
src/port/snprintf.c
231+
see licenses/LICENSE-bsd3-snprintf.txt
232+
233+
src/backend/utils/mb/wstrcmp.c
234+
see licenses/LICENSE-bsd3-wstrcmp.txt
235+
236+
src/backend/utils/mb/wstrncmp.c
237+
see licenses/LICENSE-bsd3-wstrncmp.txt
238+
239+
src/backend/libpq/sha2.h
240+
see licenses/LICENSE-bsd3-sha2.txt
241+
242+
----------------------------
243+
Internet Systems Consortium/Internet Software Consortium (ISC) LICENSE
244+
245+
src/port/strlcpy.c
246+
see licenses/LICENSE-strlcpy.txt
247+
248+
src/backend/utils/adt/inet_cidr_ntop.c
249+
src/backend/utils/adt/inet_net_pton.c
250+
see licenses/licenses/LICENSE-isc.txt
251+
252+
----------------------------
253+
Perl Artistic License 2.0 (exception)
254+
255+
src/pl/plperl/ppport.h:
256+
257+
Pursuant to https://issues.apache.org/jira/browse/LEGAL-79 and
258+
PL/Perl's use of a generated header file, we declare this file to
259+
be an exception to the Perl Artistic License. This file is
260+
derived from the PostgreSQL code base.
261+
262+
For completeness sake, we have provided the Perl Artistic License
263+
for the Perl Devel-PPPort module
264+
(http://search.cpan.org/~wolfsage/Devel-PPPort-3.32/PPPort.pm).
265+
This module was used to generate the src/pl/plperl/ppport.h header
266+
file. The license is available:
267+
268+
see licenses/LICENSE-ppport.txt
269+
270+
----------------------------
271+
test-ctype LICENSE
272+
273+
src/test/locale/test-ctype.c
274+
275+
see licenses/LICENSE-test-ctype.txt
276+
277+
----------------------------
278+
regex LICENSE
279+
280+
src/backend/regex
281+
282+
see licenses/LICENSE-regex.txt
283+
284+
----------------------------
285+
PostgreSQL-style License
286+
287+
src/port/gettimeofday.c
288+
289+
see licenses/LICENSE-gettimeofday.txt
290+
291+
================================================================================
292+
This product contains significant parts that were originally based on software
293+
from VMware, Inc. or its affiliates.
294+
295+
Greenplum Database
296+
297+
Copyright (c) 2004-2020 VMware, Inc. or its affiliates. All Rights Reserved.
298+
299+
All Rights Reserved.
300+
301+
Greenplum Database is licensed under the Apache License Version 2.0
302+
(see LICENSE & NOTICE) and is based on the PostgreSQL Database
303+
Management System.
304+
305+
The Greenplum Database software includes:
306+
307+
----------------------------
308+
Stream License
309+
310+
gpMgmt/bin/stream/*
311+
312+
see licenses/LICENSE-stream.txt
313+
314+
----------------------------
315+
0-clause license ("Zero Clause BSD")
316+
317+
gpcontrib/orafce/*
318+
319+
see licenses/LICENSE-orafce.txt
320+
321+
================================================================================
322+
PostgreSQL-style license
323+
324+
gpMgmt/bin/pythonSrc/PyGreSQL-4.0:
325+
326+
see licenses/LICENSE-pygresql.txt
327+
328+
================================================================================
329+
This product includes code from pg_cron under PostgreSQL license:
330+
331+
/src/include/task/pg_cron.h
332+
/src/include/task/task_states.h
333+
/src/include/task/job_metadata.h
334+
/src/backend/task/task_states.c
335+
/src/backend/task/job_metadata.c
336+
/src/backend/task/pg_cron.c
337+
338+
see licenses/LICENSE-citusdata.txt

0 commit comments

Comments
 (0)