This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new e5a33f9c2b [#6330] Fix headers / license file (#6666)
e5a33f9c2b is described below
commit e5a33f9c2b71bc1fcd05d6933bc4d382acd0c525
Author: Justin Mclean <[email protected]>
AuthorDate: Tue Mar 11 17:40:23 2025 +0800
[#6330] Fix headers / license file (#6666)
### What changes were proposed in this pull request?
Add 3rd party file
### Why are the changes needed?
For ASF license policy compliance.
Fix: #6330
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
locally
---------
Co-authored-by: zzzk1 <[email protected]>
---
LICENSE | 6 ++++++
dev/docker/kerberos-hive/kadm5.acl | 3 +++
dev/docker/kerberos-hive/kdc.conf | 4 +++-
dev/docker/kerberos-hive/krb5.conf | 5 ++++-
licenses/krb5.txt | 26 ++++++++++++++++++++++++++
5 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/LICENSE b/LICENSE
index e8bef4c1d3..07e9f070cd 100644
--- a/LICENSE
+++ b/LICENSE
@@ -310,3 +310,9 @@
Kyligence/kylinpy
./clients/client-python/gravitino/utils/http_client.py
+
+ This product bundles a third-party component under the
+ BSD License.
+ .dev/docker/kerberos-hive/kadm5.acl
+ .dev/docker/kerberos-hive/kdc.acl
+ .dev/docker/kerberos-hive/krb5.acl
diff --git a/dev/docker/kerberos-hive/kadm5.acl
b/dev/docker/kerberos-hive/kadm5.acl
index 5f99821eff..2d233a92ed 100644
--- a/dev/docker/kerberos-hive/kadm5.acl
+++ b/dev/docker/kerberos-hive/kadm5.acl
@@ -1 +1,4 @@
+# BSD license
+# Copyright (C) 1985-2024 by the Massachusetts Institute of Technology.
+
*/admin@HADOOPKRB *
\ No newline at end of file
diff --git a/dev/docker/kerberos-hive/kdc.conf
b/dev/docker/kerberos-hive/kdc.conf
index ba7eb7dd92..557b16805b 100644
--- a/dev/docker/kerberos-hive/kdc.conf
+++ b/dev/docker/kerberos-hive/kdc.conf
@@ -1,4 +1,6 @@
-[kdcdefaults]
+# BSD license
+# Copyright (C) 1985-2024 by the Massachusetts Institute of Technology.
+
kdc_ports = 88
kdc_tcp_ports = 88
[realms]
diff --git a/dev/docker/kerberos-hive/krb5.conf
b/dev/docker/kerberos-hive/krb5.conf
index f18553e25e..d8558b8319 100644
--- a/dev/docker/kerberos-hive/krb5.conf
+++ b/dev/docker/kerberos-hive/krb5.conf
@@ -1,4 +1,7 @@
-[[logging]
+# BSD license
+# Copyright (C) 1985-2024 by the Massachusetts Institute of Technology.
+
+[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
diff --git a/licenses/krb5.txt b/licenses/krb5.txt
new file mode 100644
index 0000000000..2efb0f22e6
--- /dev/null
+++ b/licenses/krb5.txt
@@ -0,0 +1,26 @@
+Copyright (C) 1985-2024 by the Massachusetts Institute of Technology.
+
+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.
+
+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.
\ No newline at end of file