From e6682c94b9e97907525c3b5f21f884c115ad3ad4 Mon Sep 17 00:00:00 2001 From: Mashhur <99575341+mashhurs@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:14:09 -0700 Subject: [PATCH] Pin fileutils version to 1.7+ (#16250) * Pin fileutils version to 1.7+ * Add fileutils license notice. --- Gemfile.template | 4 + NOTICE.TXT | 125 +++++++++++------- .../src/main/resources/licenseMapping.csv | 1 + .../resources/notices/fileutils-NOTICE.txt | 22 +++ 4 files changed, 104 insertions(+), 48 deletions(-) create mode 100644 tools/dependencies-report/src/main/resources/notices/fileutils-NOTICE.txt diff --git a/Gemfile.template b/Gemfile.template index bb6aa79ed8f..9989269fb72 100644 --- a/Gemfile.template +++ b/Gemfile.template @@ -20,6 +20,10 @@ gem "gems", "~> 1", :group => :build gem "octokit", "~> 4.25", :group => :build gem "rubyzip", "~> 1", :group => :build gem "stud", "~> 0.0.22", :group => :build +# remove fileutils declaration when start using Ruby 3.2+, by default includes `fileutils-v1.7.0` +# (https://git.ruby-lang.org/ruby.git/commit/?h=ruby_3_2&id=05caafb4731c796890027cafedaac59dc108a23a) +# note that the reason to use 1.7.0 is due to https://github.com/logstash-plugins/logstash-integration-aws/issues/28 +gem "fileutils", "~> 1.7" gem "rubocop", :group => :development gem "belzebuth", :group => :development diff --git a/NOTICE.TXT b/NOTICE.TXT index ab7ff43b1c1..b3c4ee07231 100644 --- a/NOTICE.TXT +++ b/NOTICE.TXT @@ -90,7 +90,7 @@ Copyright © 2019 Red Hat, Inc. All rights reserved. “Red Hat,” is a registe All other trademarks are the property of their respective owners. ========== -Notice for: addressable-2.8.6 +Notice for: addressable-2.8.7 ---------- Copyright © Bob Aman @@ -722,7 +722,7 @@ Notice for: aws-eventstream-1.3.0 limitations under the License. ========== -Notice for: aws-partitions-1.929.0 +Notice for: aws-partitions-1.946.0 ---------- @@ -929,7 +929,7 @@ Notice for: aws-partitions-1.929.0 limitations under the License. ========== -Notice for: aws-sdk-cloudfront-1.90.0 +Notice for: aws-sdk-cloudfront-1.92.0 ---------- @@ -1136,7 +1136,7 @@ Notice for: aws-sdk-cloudfront-1.90.0 limitations under the License. ========== -Notice for: aws-sdk-cloudwatch-1.91.0 +Notice for: aws-sdk-cloudwatch-1.92.0 ---------- @@ -1343,7 +1343,7 @@ Notice for: aws-sdk-cloudwatch-1.91.0 limitations under the License. ========== -Notice for: aws-sdk-core-3.196.1 +Notice for: aws-sdk-core-3.197.2 ---------- @@ -1550,7 +1550,7 @@ Notice for: aws-sdk-core-3.196.1 limitations under the License. ========== -Notice for: aws-sdk-kms-1.81.0 +Notice for: aws-sdk-kms-1.85.0 ---------- @@ -1757,7 +1757,7 @@ Notice for: aws-sdk-kms-1.81.0 limitations under the License. ========== -Notice for: aws-sdk-resourcegroups-1.61.0 +Notice for: aws-sdk-resourcegroups-1.62.0 ---------- @@ -1964,7 +1964,7 @@ Notice for: aws-sdk-resourcegroups-1.61.0 limitations under the License. ========== -Notice for: aws-sdk-s3-1.151.0 +Notice for: aws-sdk-s3-1.152.3 ---------- @@ -2171,7 +2171,7 @@ Notice for: aws-sdk-s3-1.151.0 limitations under the License. ========== -Notice for: aws-sdk-sns-1.75.0 +Notice for: aws-sdk-sns-1.77.0 ---------- @@ -2378,7 +2378,7 @@ Notice for: aws-sdk-sns-1.75.0 limitations under the License. ========== -Notice for: aws-sdk-sqs-1.74.0 +Notice for: aws-sdk-sqs-1.76.0 ---------- @@ -5797,7 +5797,7 @@ source: https://github.com/elastic/elastic-transport-ruby/blob/v8.3.0/LICENSE See the License for the specific language governing permissions and limitations under the License. ========== -Notice for: elasticsearch-7.17.10 +Notice for: elasticsearch-7.17.11 ---------- source: https://github.com/elastic/elasticsearch-ruby/blob/v5.0.4/elasticsearch-api/LICENSE.txt @@ -5817,7 +5817,7 @@ See the License for the specific language governing permissions and limitations under the License. ========== -Notice for: elasticsearch-api-7.17.10 +Notice for: elasticsearch-api-7.17.11 ---------- source: https://github.com/elastic/elasticsearch-ruby/blob/v5.0.4/elasticsearch-transport/LICENSE.txt @@ -5837,7 +5837,7 @@ See the License for the specific language governing permissions and limitations under the License. ========== -Notice for: elasticsearch-transport-7.17.10 +Notice for: elasticsearch-transport-7.17.11 ---------- source: https://github.com/elastic/elasticsearch-ruby/blob/v5.0.4/elasticsearch/LICENSE.txt @@ -6100,7 +6100,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ========== -Notice for: ffi-1.16.3 +Notice for: ffi-1.17.0 ---------- source: https://github.com/ffi/ffi/blob/1.9.23/LICENSE @@ -6156,6 +6156,32 @@ 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. +========== +Notice for: fileutils-1.7.2 +---------- + +Copyright (C) 1993-2013 Yukihiro Matsumoto. 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. ========== Notice for: fugit-1.11.0 ---------- @@ -6292,7 +6318,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ========== -Notice for: http-cookie-1.0.5 +Notice for: http-cookie-1.0.6 ---------- source: https://github.com/sparklemotion/http-cookie/blob/v1.0.3/LICENSE.txt @@ -9357,7 +9383,7 @@ See the License for the specific language governing permissions and limitations under the License. ========== -Notice for: jruby-openssl-0.14.5 +Notice for: jruby-openssl-0.14.6 ---------- source: https://github.com/jruby/jruby-openssl/blob/v0.9.21/LICENSE.txt @@ -9445,7 +9471,7 @@ 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. ========== -Notice for: jwt-2.8.1 +Notice for: jwt-2.8.2 ---------- source: https://github.com/jwt/ruby-jwt/blob/v2.2.2/LICENSE @@ -9870,7 +9896,7 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ========== -Notice for: net-imap-0.4.11 +Notice for: net-imap-0.4.13 ---------- # source: https://github.com/ruby/net-imap/blob/v0.3.7/LICENSE.txt @@ -10057,7 +10083,7 @@ The above copyright notice and this permission notice shall be included in all c 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. ========== -Notice for: nokogiri-1.16.5 +Notice for: nokogiri-1.16.6 ---------- source: https://github.com/sparklemotion/nokogiri/blob/v1.8.2/LICENSE.md @@ -10774,7 +10800,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ========== -Notice for: public_suffix-5.0.5 +Notice for: public_suffix-5.1.1 ---------- Copyright (c) 2009-2018 Simone Carletti @@ -10860,7 +10886,7 @@ THE SOFTWARE. Made in Japan. ========== -Notice for: racc-1.7.3 +Notice for: racc-1.8.0 ---------- source: https://github.com/ruby/racc/blob/master/COPYING @@ -10889,7 +10915,7 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ========== -Notice for: rack-3.0.11 +Notice for: rack-3.1.3 ---------- The MIT License (MIT) @@ -11066,7 +11092,7 @@ 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. ========== -Notice for: rexml-3.2.8 +Notice for: rexml-3.3.0 ---------- source: https://github.com/ruby/rexml/blob/v3.2.5/LICENSE.txt @@ -11337,7 +11363,7 @@ See the License for the specific language governing permissions and limitations under the License. ========== -Notice for: sequel-5.80.0 +Notice for: sequel-5.81.0 ---------- Copyright (c) 2007-2008 Sharon Rosner @@ -11413,30 +11439,6 @@ 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. -========== -Notice for: snmp-1.3.2 ----------- - -Copyright (c) 2004-2014 David R. Halliday - -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. - ========== Notice for: spoon-0.0.6 ---------- @@ -11586,6 +11588,33 @@ additional liability. END OF TERMS AND CONDITIONS +========== +Notice for: strscan-3.1.0 +---------- + +Copyright (C) 1999-2006 Minero Aoki. 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. + ========== Notice for: stud-0.0.23 ---------- diff --git a/tools/dependencies-report/src/main/resources/licenseMapping.csv b/tools/dependencies-report/src/main/resources/licenseMapping.csv index 8a8d22e1e11..f46ecf4ab80 100644 --- a/tools/dependencies-report/src/main/resources/licenseMapping.csv +++ b/tools/dependencies-report/src/main/resources/licenseMapping.csv @@ -74,6 +74,7 @@ dependency,dependencyUrl,licenseOverride,copyright,sourceURL "ffi:",https://github.com/ffi/ffi,BSD-3-CLAUSE "ffi-binary-libfixposix:",https://github.com/byteit101/subspawn,Ruby "filesize:",https://github.com/dominikh,MIT +"fileutils:",https://github.com/ruby/fileutils,BSD-2-Clause "fugit:",https://github.com/floraison/fugit,MIT "gelfd2:",https://github.com/ptqa/gelfd2,Apache-2.0 "gems:",https://github.com/rubygems/gems,MIT diff --git a/tools/dependencies-report/src/main/resources/notices/fileutils-NOTICE.txt b/tools/dependencies-report/src/main/resources/notices/fileutils-NOTICE.txt new file mode 100644 index 00000000000..44d33b0b5cd --- /dev/null +++ b/tools/dependencies-report/src/main/resources/notices/fileutils-NOTICE.txt @@ -0,0 +1,22 @@ +Copyright (C) 1993-2013 Yukihiro Matsumoto. 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. \ No newline at end of file