git: 84b9f3d24321 - main - www/gitlab-ce: fix regression from 950c09acde516b5c08de7f4a1e212998a2e4d5b9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Feb 2024 09:22:27 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=84b9f3d2432184f33fd1f4c3164073754165e28f
commit 84b9f3d2432184f33fd1f4c3164073754165e28f
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-02-22 08:21:35 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-02-22 09:22:11 +0000
www/gitlab-ce: fix regression from 950c09acde516b5c08de7f4a1e212998a2e4d5b9
---
security/rubygem-omniauth/Makefile | 3 ++-
www/Makefile | 1 +
www/rubygem-rack-protection3/Makefile | 21 +++++++++++++++++++++
www/rubygem-rack-protection3/distinfo | 3 +++
www/rubygem-rack-protection3/pkg-descr | 1 +
5 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/security/rubygem-omniauth/Makefile b/security/rubygem-omniauth/Makefile
index 928f80edf183..efbb6cd7a45a 100644
--- a/security/rubygem-omniauth/Makefile
+++ b/security/rubygem-omniauth/Makefile
@@ -1,5 +1,6 @@
PORTNAME= omniauth
PORTVERSION= 2.1.2
+PORTREVISION= 1
CATEGORIES= security rubygems
MASTER_SITES= RG
@@ -12,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-hashie>=3.4.6:devel/rubygem-hashie \
rubygem-rack>=2.2.3,3:www/rubygem-rack \
- rubygem-rack-protection>=0:www/rubygem-rack-protection
+ rubygem-rack-protection3>=0:www/rubygem-rack-protection3
USES= cpe gem
diff --git a/www/Makefile b/www/Makefile
index 9e2b6abd8f14..4dd154716d0b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2171,6 +2171,7 @@
SUBDIR += rubygem-rack-protection
SUBDIR += rubygem-rack-protection1
SUBDIR += rubygem-rack-protection2
+ SUBDIR += rubygem-rack-protection3
SUBDIR += rubygem-rack-proxy
SUBDIR += rubygem-rack-session
SUBDIR += rubygem-rack-ssl
diff --git a/www/rubygem-rack-protection3/Makefile b/www/rubygem-rack-protection3/Makefile
new file mode 100644
index 000000000000..3cbf653a3128
--- /dev/null
+++ b/www/rubygem-rack-protection3/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= rack-protection
+PORTVERSION= 3.1.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 3
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Collection of Rack middleware to protect against opportunistic attack
+WWW= https://sinatrarb.com/protection/ \
+ https://github.com/sinatra/sinatra/tree/main/rack-protection
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/License
+
+RUN_DEPENDS= rubygem-rack22>=2.2.4,3<3,3:www/rubygem-rack22
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rack-protection3/distinfo b/www/rubygem-rack-protection3/distinfo
new file mode 100644
index 000000000000..be4df00f07d7
--- /dev/null
+++ b/www/rubygem-rack-protection3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708589253
+SHA256 (rubygem/rack-protection-3.1.0.gem) = f9bc997fa87ab5fe3eb5d9d00e2a6222df3f9b8e6e9d610909ea3fc6203a5f77
+SIZE (rubygem/rack-protection-3.1.0.gem) = 20480
diff --git a/www/rubygem-rack-protection3/pkg-descr b/www/rubygem-rack-protection3/pkg-descr
new file mode 100644
index 000000000000..a319a7765de0
--- /dev/null
+++ b/www/rubygem-rack-protection3/pkg-descr
@@ -0,0 +1 @@
+Collection of Rack middleware to protect you against common, opportunistic attack.