aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2024-02-22 08:21:35 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2024-02-22 09:22:11 +0000
commit84b9f3d2432184f33fd1f4c3164073754165e28f (patch)
tree11fac5a38b366d3aa76eb63d3062df5613d9f3df
parent06b726b8186948d6c0869a0669bc0405ee12b3e1 (diff)
downloadports-84b9f3d2432184f33fd1f4c3164073754165e28f.tar.gz
ports-84b9f3d2432184f33fd1f4c3164073754165e28f.zip
www/gitlab-ce: fix regression from 950c09acde516b5c08de7f4a1e212998a2e4d5b9
-rw-r--r--security/rubygem-omniauth/Makefile3
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-rack-protection3/Makefile21
-rw-r--r--www/rubygem-rack-protection3/distinfo3
-rw-r--r--www/rubygem-rack-protection3/pkg-descr1
5 files changed, 28 insertions, 1 deletions
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.