git: 7c8ab58e4c9c - main - sysutils/rubygem-fluentd: Fix gemspec for rubygem-webrick 1.8.1 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 16:05:15 UTC
The branch main has been updated by sunpoet:

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

commit 7c8ab58e4c9ce7bd2972d368529197ac11118621
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:29:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:50:15 +0000

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

diff --git a/sysutils/rubygem-fluentd/Makefile b/sysutils/rubygem-fluentd/Makefile
index 1f63dbf02ab2..a7b8f08818d8 100644
--- a/sysutils/rubygem-fluentd/Makefile
+++ b/sysutils/rubygem-fluentd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fluentd
 PORTVERSION=	1.15.3
+PORTREVISION=	1
 CATEGORIES=	sysutils rubygems
 MASTER_SITES=	RG
 
@@ -19,7 +20,7 @@ RUN_DEPENDS=	\
 	rubygem-strptime>=0.2.2<1.0.0:devel/rubygem-strptime \
 	rubygem-tzinfo1>=1.0<3.0:devel/rubygem-tzinfo1 \
 	rubygem-tzinfo-data>=1.0<2:devel/rubygem-tzinfo-data \
-	rubygem-webrick>=1.4.2<1.8.0:www/rubygem-webrick \
+	rubygem-webrick>=1.4.2<1.9.0:www/rubygem-webrick \
 	rubygem-yajl-ruby>=1.0<2:devel/rubygem-yajl-ruby
 
 PLIST_FILES=	bin/fluent-cap-ctl bin/fluent-cat bin/fluent-ctl \
diff --git a/sysutils/rubygem-fluentd/files/patch-gemspec b/sysutils/rubygem-fluentd/files/patch-gemspec
new file mode 100644
index 000000000000..5f60e0972ece
--- /dev/null
+++ b/sysutils/rubygem-fluentd/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- fluentd.gemspec.orig	2023-01-31 16:59:07 UTC
++++ fluentd.gemspec
+@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<tzinfo>.freeze, [">= 1.0", "< 3.0"])
+   s.add_runtime_dependency(%q<tzinfo-data>.freeze, ["~> 1.0"])
+   s.add_runtime_dependency(%q<strptime>.freeze, [">= 0.2.4", "< 1.0.0"])
+-  s.add_runtime_dependency(%q<webrick>.freeze, [">= 1.4.2", "< 1.8.0"])
++  s.add_runtime_dependency(%q<webrick>.freeze, [">= 1.4.2", "< 1.9.0"])
+   s.add_development_dependency(%q<rake>.freeze, ["~> 13.0"])
+   s.add_development_dependency(%q<flexmock>.freeze, ["~> 2.0"])
+   s.add_development_dependency(%q<parallel_tests>.freeze, ["~> 0.15.3"])