Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/apache-rat-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Check for binary files
run: |
echo "Checking for binary files..."
echo "Checking extensions: class, jar, tar, tgz, zip, exe, dll, so, gz, bz2, deb, rpm, gppkg, bin"
echo "Checking extensions: class, jar, tar, tgz, zip, exe, dll, so, gz, bz2, zst, deb, rpm, gppkg, bin"
echo "----------------------------------------------------------------------"

# Binary file allowlist, see README.apache.md
Expand All @@ -129,12 +129,13 @@ jobs:
"src/bin/gpfdist/regress/data/gpfdist2/gz_multi_chunk_2.tbl.gz"
"src/bin/gpfdist/regress/data/gpfdist2/lineitem.tbl.bz2"
"src/bin/gpfdist/regress/data/gpfdist2/lineitem.tbl.gz"
"src/bin/gpfdist/regress/data/gpfdist2/lineitem.tbl.zst"
"gpMgmt/test/behave/mgmt_utils/steps/data/sample.gppkg"
"src/bin/pgevent/MSG00001.bin"
)

# Check for specific binary file extensions
binary_extensions="class jar tar tgz zip exe dll so gz bz2 deb rpm gppkg bin"
binary_extensions="class jar tar tgz zip exe dll so gz bz2 zst deb rpm gppkg bin"
echo "BINARY_EXTENSIONS=${binary_extensions}" >> $GITHUB_ENV
binary_results=""
binaryfiles_found=false
Expand Down
148 changes: 147 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,77 @@ The PostgreSQL software includes:
src/include/snowball/libstemmer
see licenses/LICENSE-bsd3-snowball.txt

Code from the BSD C library, each file under its own University of
California copyright notice and the 3-clause BSD terms (in some
files the rescinded advertising clause is left as a numbered gap):
src/include/lib/sort_template.h
src/port/bsearch_arg.c
src/port/fls.c
src/port/getopt.c
src/port/getopt_long.c
src/port/mkdtemp.c
src/port/pgmkdirp.c
see licenses/LICENSE-bsd3-regents.txt

MD5 and SHA-1 implementations from the KAME project:
src/common/md5.c
src/common/md5_int.h
src/common/sha1.c
src/common/sha1_int.h
see licenses/LICENSE-bsd3-wide.txt

contrib/pgcrypto/crypt-des.c
see licenses/LICENSE-bsd3-crypt-des.txt

----------------------------
BSD 2 Clause License

pgcrypto, copyright Marko Kreen:
contrib/pgcrypto/internal-sha2.c
contrib/pgcrypto/internal.c
contrib/pgcrypto/mbuf.c
contrib/pgcrypto/mbuf.h
contrib/pgcrypto/openssl.c
contrib/pgcrypto/pgcrypto.c
contrib/pgcrypto/pgcrypto.h
contrib/pgcrypto/pgp-armor.c
contrib/pgcrypto/pgp-cfb.c
contrib/pgcrypto/pgp-compress.c
contrib/pgcrypto/pgp-decrypt.c
contrib/pgcrypto/pgp-encrypt.c
contrib/pgcrypto/pgp-info.c
contrib/pgcrypto/pgp-mpi-internal.c
contrib/pgcrypto/pgp-mpi-openssl.c
contrib/pgcrypto/pgp-mpi.c
contrib/pgcrypto/pgp-pgsql.c
contrib/pgcrypto/pgp-pubdec.c
contrib/pgcrypto/pgp-pubenc.c
contrib/pgcrypto/pgp-pubkey.c
contrib/pgcrypto/pgp-s2k.c
contrib/pgcrypto/pgp.c
contrib/pgcrypto/pgp.h
contrib/pgcrypto/px-crypt.c
contrib/pgcrypto/px-crypt.h
contrib/pgcrypto/px-hmac.c
contrib/pgcrypto/px.c
contrib/pgcrypto/px.h
see licenses/LICENSE-bsd2-pgcrypto.txt

----------------------------
Internet Systems Consortium/Internet Software Consortium (ISC) LICENSE

src/port/strlcat.c
src/port/strlcpy.c
see licenses/LICENSE-strlcpy.txt

src/backend/utils/adt/inet_cidr_ntop.c
src/backend/utils/adt/inet_net_pton.c
src/port/inet_net_ntop.c
see licenses/LICENSE-isc.txt

src/port/timingsafe_bcmp.c
see licenses/LICENSE-isc-timingsafe_bcmp.txt

----------------------------
Perl Artistic License 2.0 (exception)

Expand Down Expand Up @@ -278,7 +339,8 @@ The PostgreSQL software includes:
----------------------------
regex LICENSE

src/backend/regex
src/backend/regex
src/include/regex
see licenses/LICENSE-regex.txt

----------------------------
Expand All @@ -287,6 +349,12 @@ The PostgreSQL software includes:
src/port/gettimeofday.c
see licenses/LICENSE-gettimeofday.txt

contrib/pageinspect/btreefuncs.c
contrib/pgrowlocks/pgrowlocks.c
contrib/pgstattuple/pgstatindex.c
contrib/pgstattuple/pgstattuple.c
see licenses/LICENSE-pgstattuple.txt

----------------------------
Boost Software License - Version 1.0

Expand All @@ -312,6 +380,15 @@ The PostgreSQL software includes:
src/include/lib/hyperloglog.h
see licenses/LICENSE-hyperloglog.txt

Blowfish, from PuTTY:
contrib/pgcrypto/blf.c
contrib/pgcrypto/blf.h
see licenses/LICENSE-blowfish.txt

contrib/pgcrypto/imath.c
contrib/pgcrypto/imath.h
see licenses/LICENSE-imath.txt

----------------------------
Public Domain

Expand All @@ -322,6 +399,17 @@ The PostgreSQL software includes:
src/timezone/zic.c
src/timezone/data/tzdata.zi

bcrypt, written by Solar Designer:
contrib/pgcrypto/crypt-blowfish.c
contrib/pgcrypto/crypt-gensalt.c

Message translations whose headers place them in the public domain:
src/bin/initdb/po/zh_CN.po
src/bin/pg_config/po/zh_CN.po
src/bin/pg_controldata/po/sv.po
src/bin/pg_ctl/po/zh_CN.po
src/bin/scripts/po/zh_CN.po

----------------------------
Project X0213 License

Expand All @@ -338,6 +426,50 @@ The PostgreSQL software includes:
src/backend/utils/mb/Unicode/gb-18030-2000.xml
see licenses/LICENSE-icu-data.txt

----------------------------
Other permissive licenses

Rijndael (AES), copyright Brian Gladman, free use subject to
acknowledgment of its origin:
contrib/pgcrypto/rijndael.c
contrib/pgcrypto/rijndael.h
see licenses/LICENSE-rijndael.txt

Genetic query optimizer recombination operators, adopted from
Genitor, copyright Darrell L. Whitley:
src/backend/optimizer/geqo/geqo_copy.c
src/backend/optimizer/geqo/geqo_cx.c
src/backend/optimizer/geqo/geqo_erx.c
src/backend/optimizer/geqo/geqo_selection.c
see licenses/LICENSE-geqo.txt

src/port/erand48.c
see licenses/LICENSE-erand48.txt

pg_dump archiver, copyright Philip Warner:
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_directory.c
src/bin/pg_dump/pg_backup_null.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_restore.c
see licenses/LICENSE-pg_dump.txt

----------------------------
Perl License, and a PostgreSQL-style License

Double Metaphone, ported from the Text::DoubleMetaphone Perl module:
contrib/fuzzystrmatch/dmetaphone.c

The portions from Text::DoubleMetaphone, copyright Maurice Aubrey,
may be redistributed and/or modified under the same terms as Perl
itself. The remaining code, copyright North Carolina State Highway
Patrol, is under a PostgreSQL-style license. The file carries both
notices; they are reproduced in:
see licenses/LICENSE-dmetaphone.txt

================================================================================
This product contains significant parts that were originally based on software
from VMware, Inc. or its affiliates.
Expand All @@ -348,6 +480,11 @@ Copyright (c) 2004-2020 VMware, Inc. or its affiliates. All Rights Reserved.

All Rights Reserved.

Some ORCA query optimizer files that Greenplum Database added in 2024
carry a "Copyright (C) 2024 Broadcom" or "Copyright (C) 2024 VMware by
Broadcom" notice instead; they are part of Greenplum Database and are
covered by the same license.

Greenplum Database is licensed under the Apache License Version 2.0
(see LICENSE) and is based on the PostgreSQL Database Management System.

Expand All @@ -361,6 +498,15 @@ The Greenplum Database software includes:
(see the Apache License above; also shipped in-tree as
src/test/unit/cmockery/LICENSE.txt)

----------------------------
BSD 2 Clause License

HyperLogLog extension, copyright Tomas Vondra, Conversant, Inc. and
VMware, Inc.:
src/backend/utils/hyperloglog/gp_hyperloglog.c
src/include/utils/hyperloglog/gp_hyperloglog.h
see licenses/LICENSE-gp-hyperloglog.txt

----------------------------
Stream License

Expand Down
1 change: 1 addition & 0 deletions README.apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The following compressed files are included in the source tree. These files are
- src/bin/gpfdist/regress/data/gpfdist2/gz_multi_chunk_2.tbl.gz
- src/bin/gpfdist/regress/data/gpfdist2/lineitem.tbl.bz2
- src/bin/gpfdist/regress/data/gpfdist2/lineitem.tbl.gz
- src/bin/gpfdist/regress/data/gpfdist2/lineitem.tbl.zst

## Binary Files in Source

Expand Down
25 changes: 25 additions & 0 deletions licenses/LICENSE-blowfish.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
PuTTY is copyright 1997-2007 Simon Tatham.

Portions copyright Robert de Bath, Joris van Rantwijk, Delian
Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,
Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus
Kuhn, and CORE SDI S.A.

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 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.
23 changes: 23 additions & 0 deletions licenses/LICENSE-bsd2-pgcrypto.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Copyright (c) 2001 Marko Kreen
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.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
34 changes: 34 additions & 0 deletions licenses/LICENSE-bsd3-crypt-des.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Copyright (c) 1994 David Burren
All rights reserved.

Adapted for FreeBSD-2.0 by Geoffrey M. Rehmet
this file should now *only* export crypt(), in order to make
binaries of libcrypt exportable from the USA

Adapted for FreeBSD-4.0 by Mark R V Murray
this file should now *only* export px_crypt_des(), in order to make
a module that can be optionally included in libcrypt.

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 author nor the names of other contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
26 changes: 26 additions & 0 deletions licenses/LICENSE-bsd3-regents.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Copyright (c) 1987, 1993
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.
26 changes: 26 additions & 0 deletions licenses/LICENSE-bsd3-wide.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
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 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 PROJECT 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 PROJECT 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.
Loading
Loading