git: f81101f8473d - main - security/rubygem-doorkeeper-openid_connect: Allow build with rubygem-doorkeeper-rails70 5.7.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:37:45 UTC
The branch main has been updated by sunpoet:

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

commit f81101f8473dc1917532d14f3d8559efd7d5c413
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 16:29:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:18:32 +0000

    security/rubygem-doorkeeper-openid_connect: Allow build with rubygem-doorkeeper-rails70 5.7.0+
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/doorkeeper-gem/doorkeeper-openid_connect/commit/f9a6660bdcad5550c1c965b7f1a071123e98fb52
---
 security/rubygem-doorkeeper-openid_connect/Makefile         |  4 ++--
 .../rubygem-doorkeeper-openid_connect/files/patch-gemspec   | 13 +++++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/security/rubygem-doorkeeper-openid_connect/Makefile b/security/rubygem-doorkeeper-openid_connect/Makefile
index 1d241a1dcbce..8747f1fc7264 100644
--- a/security/rubygem-doorkeeper-openid_connect/Makefile
+++ b/security/rubygem-doorkeeper-openid_connect/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	doorkeeper-openid_connect
 PORTVERSION=	1.8.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +11,7 @@ WWW=		https://github.com/doorkeeper-gem/doorkeeper-openid_connect
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	rubygem-doorkeeper-rails70>=5.5<5.7:security/rubygem-doorkeeper-rails70 \
+RUN_DEPENDS=	rubygem-doorkeeper-rails70>=5.5<5.8:security/rubygem-doorkeeper-rails70 \
 		rubygem-jwt>=2.5:www/rubygem-jwt
 
 USES=		gem
diff --git a/security/rubygem-doorkeeper-openid_connect/files/patch-gemspec b/security/rubygem-doorkeeper-openid_connect/files/patch-gemspec
new file mode 100644
index 000000000000..40233e0d7292
--- /dev/null
+++ b/security/rubygem-doorkeeper-openid_connect/files/patch-gemspec
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/doorkeeper-gem/doorkeeper-openid_connect/commit/f9a6660bdcad5550c1c965b7f1a071123e98fb52
+
+--- doorkeeper-openid_connect.gemspec.orig	2024-05-18 23:22:47 UTC
++++ doorkeeper-openid_connect.gemspec
+@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<doorkeeper>.freeze, [">= 5.5".freeze, "< 5.7".freeze])
++  s.add_runtime_dependency(%q<doorkeeper>.freeze, [">= 5.5".freeze, "< 5.8".freeze])
+   s.add_runtime_dependency(%q<jwt>.freeze, [">= 2.5".freeze])
+   s.add_development_dependency(%q<conventional-changelog>.freeze, ["~> 1.2".freeze])
+   s.add_development_dependency(%q<factory_bot>.freeze, [">= 0".freeze])