devel/rubygem-inspec-core: Update to 4.38.9

This commit adds a new port www/rubygem-faraday14 copied from www/rubygem-faraday
and modified to match version 1.4.
This fixes a runtime error for chef-client (includes also problems
with rubygem-zip).

PR:		256622
This commit is contained in:
Matthias Fechner 2021-08-08 15:21:28 +02:00
parent 59be94fc27
commit 2d502fe195
7 changed files with 48 additions and 31 deletions

View file

@ -1,8 +1,7 @@
# Created by: Matthias Fechner <mfechner@FreeBSD.org>
PORTNAME= inspec-core
PORTVERSION= 4.24.8
PORTREVISION= 1
PORTVERSION= 4.38.9
CATEGORIES= devel rubygems
MASTER_SITES= RG
@ -13,9 +12,10 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-addressable>=2.4<3:www/rubygem-addressable \
rubygem-chef-telemetry>=1.0<2:sysutils/rubygem-chef-telemetry \
rubygem-faraday0>=0.9.0<1.1:www/rubygem-faraday0 \
rubygem-hashie3>=3.4<4:devel/rubygem-hashie3 \
rubygem-chef-telemetry>=1.0.8<2:sysutils/rubygem-chef-telemetry \
rubygem-faraday14>=0.9.0<1.5:www/rubygem-faraday14 \
rubygem-faraday_middleware>=1.0<2:www/rubygem-faraday_middleware \
rubygem-hashie3>=3.4<5:devel/rubygem-hashie3 \
rubygem-license-acceptance>=0.2.13<3.0:sysutils/rubygem-license-acceptance \
rubygem-method_source>=0.8<2.0:devel/rubygem-method_source \
rubygem-mixlib-log>=3.0<4:devel/rubygem-mixlib-log \
@ -23,13 +23,13 @@ RUN_DEPENDS= rubygem-addressable>=2.4<3:www/rubygem-addressable \
rubygem-parallel>=1.9<2:sysutils/rubygem-parallel \
rubygem-parslet1>=1.5<2:textproc/rubygem-parslet1 \
rubygem-pry>=0.13<1:devel/rubygem-pry \
rubygem-rspec>=3.10.0<3.11:devel/rubygem-rspec \
rubygem-rspec>=3.9<3.11:devel/rubygem-rspec \
rubygem-rspec-its>=1.2<2:devel/rubygem-rspec-its \
rubygem-rubyzip13>=1.2.2<2:archivers/rubygem-rubyzip13 \
rubygem-rubyzip>=1.2.2<3:archivers/rubygem-rubyzip \
rubygem-semverse>=3.0<4:devel/rubygem-semverse \
rubygem-sslshake>=1.2<2:security/rubygem-sslshake \
rubygem-thor>=0.20<2.0:devel/rubygem-thor \
rubygem-tomlrb1>=1.3.0<1.4:textproc/rubygem-tomlrb1 \
rubygem-tomlrb>=1.2<2.1:textproc/rubygem-tomlrb \
rubygem-train-core>=3.0<4:net/rubygem-train-core \
rubygem-tty-prompt>=0.17<1:devel/rubygem-tty-prompt \
rubygem-tty-table>=0.10<1:devel/rubygem-tty-table

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1608387049
SHA256 (rubygem/inspec-core-4.24.8.gem) = ffa645ef232915b7cf31dcdd9acb3e5b8aad00ad9c023728350ba9ac090b3806
SIZE (rubygem/inspec-core-4.24.8.gem) = 369152
TIMESTAMP = 1628427970
SHA256 (rubygem/inspec-core-4.38.9.gem) = d4b7f62ba96df66148f0f8ba07a78a2179de7ec0c6e830460f455a93890e940b
SIZE (rubygem/inspec-core-4.38.9.gem) = 373760

View file

@ -1,20 +0,0 @@
--- inspec-core.gemspec.orig 2020-12-19 14:32:09 UTC
+++ inspec-core.gemspec
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<thor>.freeze, [">= 0.20", "< 2.0"])
s.add_runtime_dependency(%q<method_source>.freeze, [">= 0.8", "< 2.0"])
s.add_runtime_dependency(%q<rubyzip>.freeze, ["~> 1.2", ">= 1.2.2"])
- s.add_runtime_dependency(%q<rspec>.freeze, ["~> 3.9.0"])
+ s.add_runtime_dependency(%q<rspec>.freeze, ["~> 3.10.0"])
s.add_runtime_dependency(%q<rspec-its>.freeze, ["~> 1.2"])
s.add_runtime_dependency(%q<pry>.freeze, ["~> 0.13"])
s.add_runtime_dependency(%q<hashie>.freeze, ["~> 3.4"])
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<faraday>.freeze, [">= 0.9.0", "< 1.1"])
s.add_runtime_dependency(%q<tty-table>.freeze, ["~> 0.10"])
s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.17"])
- s.add_runtime_dependency(%q<tomlrb>.freeze, ["~> 1.2.0"])
+ s.add_runtime_dependency(%q<tomlrb>.freeze, ["~> 1.3.0"])
s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.4"])
s.add_runtime_dependency(%q<parslet>.freeze, ["~> 1.5"])
s.add_runtime_dependency(%q<semverse>.freeze, ["~> 3.0"])

View file

@ -1895,6 +1895,7 @@
SUBDIR += rubygem-faraday-net_http_persistent
SUBDIR += rubygem-faraday-patron
SUBDIR += rubygem-faraday0
SUBDIR += rubygem-faraday14
SUBDIR += rubygem-faraday_middleware
SUBDIR += rubygem-faraday_middleware0
SUBDIR += rubygem-faye

View file

@ -0,0 +1,28 @@
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
PORTNAME= faraday
PORTVERSION= 1.4.3
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 14
MAINTAINER= ruby@FreeBSD.org
COMMENT= HTTP/REST API client library in Ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-faraday-em_http>=1.0<2:www/rubygem-faraday-em_http \
rubygem-faraday-em_synchrony>=1.0<2:www/rubygem-faraday-em_synchrony \
rubygem-faraday-excon>=1.1<2:devel/rubygem-faraday-excon \
rubygem-faraday-net_http>=1.0<2:www/rubygem-faraday-net_http \
rubygem-faraday-net_http_persistent>=1.1<2:www/rubygem-faraday-net_http_persistent \
rubygem-multipart-post>=1.2<3:www/rubygem-multipart-post \
rubygem-ruby2_keywords>=0.0.4:devel/rubygem-ruby2_keywords
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1628428587
SHA256 (rubygem/faraday-1.4.3.gem) = 9ed6a26c93bdafef7170f0712e1036df45a098ab5acb8730e77016600dd5ad7e
SIZE (rubygem/faraday-1.4.3.gem) = 76288

View file

@ -0,0 +1,5 @@
Faraday is an HTTP client lib that provides a common interface over many
adapters (such as Net::HTTP) and embraces the concept of Rack middleware when
processing the request/response cycle.
WWW: https://github.com/lostisland/faraday