git: a628606be7cc - main - www/gitlab-ce: fix dep to rubygem-redis-actionpack-rails61

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Thu, 31 Mar 2022 15:43:03 UTC
The branch main has been updated by mfechner:

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

commit a628606be7cc43c35f8c2af1bf3e13ff44b5b8e0
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-03-31 15:41:17 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-03-31 15:42:56 +0000

    www/gitlab-ce: fix dep to rubygem-redis-actionpack-rails61
    
    Gitlab requires redis-actionpack < 5.3.
    This fixes a regression by 02cb228542acaad368401d4d9c1e1c4e5d6c9b95
---
 databases/Makefile                                 |  1 +
 .../rubygem-redis-actionpack52-rails61/Makefile    | 22 ++++++++++++++++++++++
 .../rubygem-redis-actionpack52-rails61/distinfo    |  3 +++
 .../rubygem-redis-actionpack52-rails61/pkg-descr   |  3 +++
 www/gitlab-ce/Makefile                             |  2 +-
 5 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/databases/Makefile b/databases/Makefile
index a3a34d001d20..172d67bc5848 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -973,6 +973,7 @@
     SUBDIR += rubygem-redis-actionpack-rails52
     SUBDIR += rubygem-redis-actionpack-rails60
     SUBDIR += rubygem-redis-actionpack-rails61
+    SUBDIR += rubygem-redis-actionpack52-rails61
     SUBDIR += rubygem-redis-namespace
     SUBDIR += rubygem-redis44
     SUBDIR += rubygem-sdbm
diff --git a/databases/rubygem-redis-actionpack52-rails61/Makefile b/databases/rubygem-redis-actionpack52-rails61/Makefile
new file mode 100644
index 000000000000..147ee05d0ae1
--- /dev/null
+++ b/databases/rubygem-redis-actionpack52-rails61/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	redis-actionpack
+PORTVERSION=	5.2.0
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	52-rails61
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Redis session store for ActionPack
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionpack61>=5<7:www/rubygem-actionpack61 \
+		rubygem-redis-rack>=2.1.0<3:www/rubygem-redis-rack \
+		rubygem-redis-store>=1.1.0<2:devel/rubygem-redis-store
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-redis-actionpack52-rails61/distinfo b/databases/rubygem-redis-actionpack52-rails61/distinfo
new file mode 100644
index 000000000000..340ac20db1a0
--- /dev/null
+++ b/databases/rubygem-redis-actionpack52-rails61/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1648741195
+SHA256 (rubygem/redis-actionpack-5.2.0.gem) = 6337f72c5ed21e7d4909468479fe51d9c2b343cf0ea933e0270400f6bf394230
+SIZE (rubygem/redis-actionpack-5.2.0.gem) = 13312
diff --git a/databases/rubygem-redis-actionpack52-rails61/pkg-descr b/databases/rubygem-redis-actionpack52-rails61/pkg-descr
new file mode 100644
index 000000000000..0998b5878721
--- /dev/null
+++ b/databases/rubygem-redis-actionpack52-rails61/pkg-descr
@@ -0,0 +1,3 @@
+Redis session store for ActionPack
+
+WWW: https://redis-store.org/redis-actionpack/
diff --git a/www/gitlab-ce/Makefile b/www/gitlab-ce/Makefile
index 5a3549548880..f696d5512cb5 100644
--- a/www/gitlab-ce/Makefile
+++ b/www/gitlab-ce/Makefile
@@ -160,7 +160,7 @@ MY_DEPENDS=	git>=2.32.0:devel/git \
 	rubygem-device_detector>=0:devel/rubygem-device_detector \
 	rubygem-redis44>=4.4.0<4.5:databases/rubygem-redis44 \
 	rubygem-connection_pool>=2.2.5<3.0:net/rubygem-connection_pool \
-	rubygem-redis-actionpack-rails61>=5.2.0<5.3:databases/rubygem-redis-actionpack-rails61 \
+	rubygem-redis-actionpack52-rails61>=5.2.0<5.3:databases/rubygem-redis-actionpack52-rails61 \
 	rubygem-discordrb-webhooks>=3.4<4.0:net-im/rubygem-discordrb-webhooks \
 	rubygem-jira-ruby>=2.1.4<2.2:devel/rubygem-jira-ruby \
 	rubygem-atlassian-jwt>=0.2.0<0.3.0:www/rubygem-atlassian-jwt \