Skip to content

Commit

Permalink
Pin fileutils version to 1.7+ (#16250)
Browse files Browse the repository at this point in the history
* Pin fileutils version to 1.7+

* Add fileutils license notice.
  • Loading branch information
mashhurs authored Jun 25, 2024
1 parent 0ec16ca commit e6682c9
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 48 deletions.
4 changes: 4 additions & 0 deletions Gemfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
125 changes: 77 additions & 48 deletions NOTICE.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
----------


Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 <[email protected]>
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit e6682c9

Please sign in to comment.