git: c478eb87ac09 - main - sysutils/rubygem-chef: Fix gemspec for rubygem-unf_ext 0.0.9.1 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 18:54:50 UTC
The branch main has been updated by sunpoet:

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

commit c478eb87ac096787d0df072bd0953ef339229fd9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:31:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:40:09 +0000

    sysutils/rubygem-chef: Fix gemspec for rubygem-unf_ext 0.0.9.1 update
    
    - Bump PORTREVISION for package change
---
 sysutils/rubygem-chef/Makefile            |  3 ++-
 sysutils/rubygem-chef/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/sysutils/rubygem-chef/Makefile b/sysutils/rubygem-chef/Makefile
index 32997df93de3..3e199d0410db 100644
--- a/sysutils/rubygem-chef/Makefile
+++ b/sysutils/rubygem-chef/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	chef
 PORTVERSION=	18.5.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	RG
 
@@ -40,7 +41,7 @@ RUN_DEPENDS=	rubygem-addressable>=0:www/rubygem-addressable \
 		rubygem-train-core>=3.10<4:net/rubygem-train-core \
 		rubygem-train-rest>=0.4.1:net/rubygem-train-rest \
 		rubygem-train-winrm>=0.2.5:net/rubygem-train-winrm \
-		rubygem-unf_ext>=0.0.8.2<0.0.9:textproc/rubygem-unf_ext \
+		rubygem-unf_ext>=0.0.8.2:textproc/rubygem-unf_ext \
 		rubygem-uuidtools>=2.1.5<3.0:devel/rubygem-uuidtools \
 		rubygem-vault>=0.18.2<0.19:security/rubygem-vault
 
diff --git a/sysutils/rubygem-chef/files/patch-gemspec b/sysutils/rubygem-chef/files/patch-gemspec
new file mode 100644
index 000000000000..4efce2aa02c8
--- /dev/null
+++ b/sysutils/rubygem-chef/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- chef.gemspec.orig	2024-09-07 15:17:22 UTC
++++ chef.gemspec
+@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<addressable>.freeze, [">= 0".freeze])
+   s.add_runtime_dependency(%q<syslog-logger>.freeze, ["~> 1.6".freeze])
+   s.add_runtime_dependency(%q<uuidtools>.freeze, [">= 2.1.5".freeze, "< 3.0".freeze])
+-  s.add_runtime_dependency(%q<unf_ext>.freeze, ["~> 0.0.8.2".freeze])
++  s.add_runtime_dependency(%q<unf_ext>.freeze, [">= 0.0.8.2".freeze])
+   s.add_runtime_dependency(%q<corefoundation>.freeze, ["~> 0.3.4".freeze])
+   s.add_runtime_dependency(%q<proxifier2>.freeze, ["~> 1.1".freeze])
+   s.add_runtime_dependency(%q<aws-sdk-s3>.freeze, ["~> 1.91".freeze])