Skip to content

Commit

Permalink
www/gitlab-ce: fix regression from 950c09a
Browse files Browse the repository at this point in the history
  • Loading branch information
mfechner committed Feb 22, 2024
1 parent 06b726b commit 84b9f3d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security/rubygem-omniauth/Makefile
@@ -1,5 +1,6 @@
PORTNAME= omniauth
PORTVERSION= 2.1.2
PORTREVISION= 1
CATEGORIES= security rubygems
MASTER_SITES= RG

Expand All @@ -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

Expand Down
1 change: 1 addition & 0 deletions www/Makefile
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
1 change: 1 addition & 0 deletions www/rubygem-rack-protection3/pkg-descr
@@ -0,0 +1 @@
Collection of Rack middleware to protect you against common, opportunistic attack.

0 comments on commit 84b9f3d

Please sign in to comment.