git: ac174aba9875 - main - security/rubygem-doorkeeper-i18n{,-rails72}: Add new port.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Mar 2026 04:30:48 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ac174aba98759fec6cb084296af08c57bf7a6964
commit ac174aba98759fec6cb084296af08c57bf7a6964
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-03-11 04:30:30 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-03-11 04:30:30 +0000
security/rubygem-doorkeeper-i18n{,-rails72}: Add new port.
Internationalization files for Doorkeeper OAuth2 provider
While I'm there, also add a variant of rubygem-doorkeeper for use
with rails72.
---
security/Makefile | 3 +++
security/rubygem-doorkeeper-i18n-rails72/Makefile | 7 ++++++
security/rubygem-doorkeeper-i18n/Makefile | 26 +++++++++++++++++++++++
security/rubygem-doorkeeper-i18n/distinfo | 3 +++
security/rubygem-doorkeeper-i18n/pkg-descr | 11 ++++++++++
security/rubygem-doorkeeper-rails72/Makefile | 7 ++++++
security/rubygem-doorkeeper/Makefile | 5 ++++-
7 files changed, 61 insertions(+), 1 deletion(-)
diff --git a/security/Makefile b/security/Makefile
index b1f800e12537..1727c8e0eeb1 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1160,9 +1160,12 @@
SUBDIR += rubygem-doorkeeper-device_authorization_grant
SUBDIR += rubygem-doorkeeper-openid_connect
SUBDIR += rubygem-doorkeeper-rails-gitlab
+ SUBDIR += rubygem-doorkeeper-i18n
+ SUBDIR += rubygem-doorkeeper-i18n-rails72
SUBDIR += rubygem-doorkeeper-rails5
SUBDIR += rubygem-doorkeeper-rails50
SUBDIR += rubygem-doorkeeper-rails70
+ SUBDIR += rubygem-doorkeeper-rails72
SUBDIR += rubygem-doorkeeper57-rails70
SUBDIR += rubygem-duo_api
SUBDIR += rubygem-ed25519
diff --git a/security/rubygem-doorkeeper-i18n-rails72/Makefile b/security/rubygem-doorkeeper-i18n-rails72/Makefile
new file mode 100644
index 000000000000..bddf7919ea13
--- /dev/null
+++ b/security/rubygem-doorkeeper-i18n-rails72/Makefile
@@ -0,0 +1,7 @@
+PKGNAMESUFFIX= -rails72
+
+RAILS_VERSION= 72
+
+MASTERDIR= ${.CURDIR}/../rubygem-doorkeeper-i18n
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/rubygem-doorkeeper-i18n/Makefile b/security/rubygem-doorkeeper-i18n/Makefile
new file mode 100644
index 000000000000..9c7aea38eb6b
--- /dev/null
+++ b/security/rubygem-doorkeeper-i18n/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= doorkeeper-i18n
+PORTVERSION= 5.2.8
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX?= # empty for base port
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Internationalization files for Doorkeeper OAuth2 provider
+WWW= https://github.com/doorkeeper-gem/doorkeeper-i18n
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+# Default to base doorkeeper for the base port, can be overridden by slave ports
+RAILS_VERSION?= # empty for base port
+.if empty(RAILS_VERSION)
+RUN_DEPENDS= rubygem-doorkeeper>=4.0:security/rubygem-doorkeeper
+.else
+RUN_DEPENDS= rubygem-doorkeeper-rails${RAILS_VERSION}>=4.0:security/rubygem-doorkeeper-rails${RAILS_VERSION}
+.endif
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-doorkeeper-i18n/distinfo b/security/rubygem-doorkeeper-i18n/distinfo
new file mode 100644
index 000000000000..e6adf430cc04
--- /dev/null
+++ b/security/rubygem-doorkeeper-i18n/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1773202893
+SHA256 (rubygem/doorkeeper-i18n-5.2.8.gem) = e4054701df464892f3c0fd6c96507188e9b082cb52938da3aab45f4f9fdaf552
+SIZE (rubygem/doorkeeper-i18n-5.2.8.gem) = 45568
diff --git a/security/rubygem-doorkeeper-i18n/pkg-descr b/security/rubygem-doorkeeper-i18n/pkg-descr
new file mode 100644
index 000000000000..b3375cae910d
--- /dev/null
+++ b/security/rubygem-doorkeeper-i18n/pkg-descr
@@ -0,0 +1,11 @@
+doorkeeper-i18n provides internationalization (i18n) support for the Doorkeeper
+OAuth 2 provider gem. It includes translation files for multiple languages to
+localize Doorkeeper's user interface elements, error messages, and other text
+strings.
+
+Supported languages include: English, German, Spanish, French, Italian,
+Portuguese, Japanese, Chinese (Simplified and Traditional), Russian, Dutch,
+Swedish, Polish, and many others.
+
+This gem is designed to work seamlessly with Ruby on Rails applications that
+use Doorkeeper for OAuth 2 authentication and authorization.
diff --git a/security/rubygem-doorkeeper-rails72/Makefile b/security/rubygem-doorkeeper-rails72/Makefile
new file mode 100644
index 000000000000..4448911757d9
--- /dev/null
+++ b/security/rubygem-doorkeeper-rails72/Makefile
@@ -0,0 +1,7 @@
+PKGNAMESUFFIX= -rails72
+
+RAILS_VERSION= 72
+
+MASTERDIR= ${.CURDIR}/../rubygem-doorkeeper
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/rubygem-doorkeeper/Makefile b/security/rubygem-doorkeeper/Makefile
index 0e84504f4d1f..77945392c28b 100644
--- a/security/rubygem-doorkeeper/Makefile
+++ b/security/rubygem-doorkeeper/Makefile
@@ -2,6 +2,7 @@ PORTNAME= doorkeeper
PORTVERSION= 5.8.2
CATEGORIES= security rubygems
MASTER_SITES= RG
+PKGNAMESUFFIX?= # empty for base port
MAINTAINER= ruby@FreeBSD.org
COMMENT= OAuth2 provider for Rails and Grape
@@ -10,7 +11,9 @@ WWW= https://github.com/doorkeeper-gem/doorkeeper
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
-RUN_DEPENDS= rubygem-railties61>=5:www/rubygem-railties61
+# Default to Rails 6.1 for the base port, can be overridden by slave ports
+RAILS_VERSION?= 61
+RUN_DEPENDS= rubygem-railties${RAILS_VERSION}>=5:www/rubygem-railties${RAILS_VERSION}
USES= cpe gem