git: c43d819164d1 - main - sysutils/rubygem-chef: update to 17.10.0

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Sun, 14 May 2023 17:27:01 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c43d819164d1a131481992e1438fa19ba375d82c

commit c43d819164d1a131481992e1438fa19ba375d82c
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-05-14 17:17:39 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-05-14 17:25:57 +0000

    sysutils/rubygem-chef: update to 17.10.0
    
    Changelog:
    https://github.com/chef/chef/blob/main/CHANGELOG.md
---
 sysutils/rubygem-chef/Makefile            | 25 +++++++++----------------
 sysutils/rubygem-chef/distinfo            |  6 +++---
 sysutils/rubygem-chef/files/patch-gemspec | 19 +++++--------------
 sysutils/rubygem-chef/pkg-plist           |  1 -
 4 files changed, 17 insertions(+), 34 deletions(-)

diff --git a/sysutils/rubygem-chef/Makefile b/sysutils/rubygem-chef/Makefile
index e3ffc1aaa50a..f3aa4f007746 100644
--- a/sysutils/rubygem-chef/Makefile
+++ b/sysutils/rubygem-chef/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	chef
-PORTVERSION=	16.18.0
-PORTREVISION=	1
+PORTVERSION=	17.10.0
 CATEGORIES=	sysutils
 MASTER_SITES=	RG
 
@@ -12,19 +11,18 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	rubygem-addressable>=0:www/rubygem-addressable \
-		rubygem-bcrypt_pbkdf>=1.1<2:security/rubygem-bcrypt_pbkdf \
-		rubygem-bundler>=1.10:sysutils/rubygem-bundler \
-		rubygem-chef-config>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-config \
-		rubygem-chef-utils>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-utils \
+		rubygem-aws-sdk-s3>=1.91<2:devel/rubygem-aws-sdk-s3 \
+		rubygem-aws-sdk-secretsmanager>=1.46<2:devel/rubygem-aws-sdk-secretsmanager \
+		rubygem-chef-config17>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-config17 \
+		rubygem-chef-utils17>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-utils17 \
 		rubygem-chef-vault>=0:sysutils/rubygem-chef-vault \
 		rubygem-chef-zero>=14.0.11:sysutils/rubygem-chef-zero \
+		rubygem-corefoundation>=0.3.4:devel/rubygem-corefoundation \
 		rubygem-diff-lcs>=1.2.4<1.6.0:textproc/rubygem-diff-lcs \
-		rubygem-ed25519>=1.2<2:security/rubygem-ed25519 \
 		rubygem-erubis>=2.7<3:www/rubygem-erubis \
 		rubygem-ffi>=1.9.25:devel/rubygem-ffi \
 		rubygem-ffi-libarchive>=1.0.3<2:devel/rubygem-ffi-libarchive \
 		rubygem-ffi-yajl>=2.2<3:devel/rubygem-ffi-yajl \
-		rubygem-highline>=1.6.9<3:devel/rubygem-highline \
 		rubygem-iniparse>=1.4<2:devel/rubygem-iniparse \
 		rubygem-inspec-core>=4.23<5:devel/rubygem-inspec-core \
 		rubygem-license-acceptance>=1.0.5<3:sysutils/rubygem-license-acceptance \
@@ -34,19 +32,14 @@ RUN_DEPENDS=	rubygem-addressable>=0:www/rubygem-addressable \
 		rubygem-mixlib-log>=2.0.3<4.0:devel/rubygem-mixlib-log \
 		rubygem-mixlib-shellout>=3.1.1<4.0:devel/rubygem-mixlib-shellout \
 		rubygem-net-sftp>=2.1.2<5.0:security/rubygem-net-sftp \
-		rubygem-net-ssh6>=5.1<7:security/rubygem-net-ssh6 \
-		rubygem-net-ssh-multi>=1.2.1<2:security/rubygem-net-ssh-multi \
-		rubygem-ohai>=16.0<17:sysutils/rubygem-ohai \
-		rubygem-pastel>=0:devel/rubygem-pastel \
+		rubygem-ohai>=17.0<18:sysutils/rubygem-ohai \
 		rubygem-plist>=3.2<4:devel/rubygem-plist \
 		rubygem-proxifier>=1.0<2:net/rubygem-proxifier \
 		rubygem-syslog-logger>=1.6<2:sysutils/rubygem-syslog-logger \
 		rubygem-train-core>=3.2.28<4:net/rubygem-train-core \
 		rubygem-train-winrm>=0.2.5:net/rubygem-train-winrm \
-		rubygem-tty-prompt>=0.21<1:devel/rubygem-tty-prompt \
-		rubygem-tty-screen>=0.6<1:devel/rubygem-tty-screen \
-		rubygem-tty-table>=0.11<1:devel/rubygem-tty-table \
-		rubygem-uuidtools>=2.1.5<3.0:devel/rubygem-uuidtools
+		rubygem-uuidtools>=2.1.5<3.0:devel/rubygem-uuidtools \
+		rubygem-vault>=0.16<1:security/rubygem-vault
 
 USES=		cpe gem shebangfix
 
diff --git a/sysutils/rubygem-chef/distinfo b/sysutils/rubygem-chef/distinfo
index a71823c9118a..83749258e477 100644
--- a/sysutils/rubygem-chef/distinfo
+++ b/sysutils/rubygem-chef/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657230940
-SHA256 (rubygem/chef-16.18.0.gem) = b4874111ba6f21dabec41782b94b9cd179b584eefd279c7289a3d8ae9d86acc5
-SIZE (rubygem/chef-16.18.0.gem) = 1906688
+TIMESTAMP = 1682150645
+SHA256 (rubygem/chef-17.10.0.gem) = 93218e17f46b9f7d40ce508cef5a61f679885313646f5ca2db04d35733347003
+SIZE (rubygem/chef-17.10.0.gem) = 1697792
diff --git a/sysutils/rubygem-chef/files/patch-gemspec b/sysutils/rubygem-chef/files/patch-gemspec
index a7376ac21b3c..800cf380e416 100644
--- a/sysutils/rubygem-chef/files/patch-gemspec
+++ b/sysutils/rubygem-chef/files/patch-gemspec
@@ -1,20 +1,11 @@
---- chef.gemspec.orig	2023-01-06 04:14:37 UTC
+--- chef.gemspec.orig	2023-04-22 08:24:17 UTC
 +++ chef.gemspec
-@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
+@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<inspec-core>.freeze, ["~> 4.23"])
+   s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.5.0"])
    s.add_runtime_dependency(%q<ffi-yajl>.freeze, ["~> 2.2"])
-   s.add_runtime_dependency(%q<net-ssh>.freeze, [">= 5.1", "< 7"])
-   s.add_runtime_dependency(%q<net-ssh-multi>.freeze, ["~> 1.2", ">= 1.2.1"])
 -  s.add_runtime_dependency(%q<net-sftp>.freeze, [">= 2.1.2", "< 4.0"])
 +  s.add_runtime_dependency(%q<net-sftp>.freeze, [">= 2.1.2", "< 5.0"])
-   s.add_runtime_dependency(%q<ed25519>.freeze, ["~> 1.2"])
-   s.add_runtime_dependency(%q<bcrypt_pbkdf>.freeze, ["~> 1.1"])
-   s.add_runtime_dependency(%q<highline>.freeze, [">= 1.6.9", "< 3"])
-@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
-   s.add_runtime_dependency(%q<tty-table>.freeze, ["~> 0.11"])
-   s.add_runtime_dependency(%q<pastel>.freeze, [">= 0"])
    s.add_runtime_dependency(%q<erubis>.freeze, ["~> 2.7"])
--  s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.2.4", "< 1.4.0"])
-+  s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.2.4", "< 1.6.0"])
+   s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.2.4", "!= 1.4.0", "< 1.6.0"])
    s.add_runtime_dependency(%q<ffi-libarchive>.freeze, ["~> 1.0", ">= 1.0.3"])
-   s.add_runtime_dependency(%q<chef-zero>.freeze, [">= 14.0.11"])
-   s.add_runtime_dependency(%q<chef-vault>.freeze, [">= 0"])
diff --git a/sysutils/rubygem-chef/pkg-plist b/sysutils/rubygem-chef/pkg-plist
index 1740eb7010c4..0f465e956272 100644
--- a/sysutils/rubygem-chef/pkg-plist
+++ b/sysutils/rubygem-chef/pkg-plist
@@ -1,2 +1 @@
-bin/knife
 @dir /var/chef