This updates www/ruby-rack-protection to 2.1.0 There doesn't seem to be a lot of changes to it other than replacing "origin_whitelist" with "permitted_origins".
https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md ok? --Kurt Index: Makefile =================================================================== RCS file: /cvs/ports/www/ruby-rack-protection/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 12 Jul 2019 20:51:04 -0000 1.5 +++ Makefile 27 Aug 2021 21:14:46 -0000 @@ -2,10 +2,12 @@ COMMENT = protects rack apps against typical web attacks -DISTNAME = rack-protection-2.0.0 +DISTNAME = rack-protection-2.1.0 CATEGORIES = www HOMEPAGE = https://github.com/rkh/rack-protection + +MAINTAINER = Kurt Mosiejczuk <k...@openbsd.org> # MIT PERMIT_PACKAGE = Yes Index: distinfo =================================================================== RCS file: /cvs/ports/www/ruby-rack-protection/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 14 Nov 2017 17:08:13 -0000 1.2 +++ distinfo 27 Aug 2021 21:14:46 -0000 @@ -1,2 +1,2 @@ -SHA256 (rack-protection-2.0.0.gem) = VXTxDLP8/nNjifEhuGjNMyAgeu93ejSvuPLRImNoqhE= -SIZE (rack-protection-2.0.0.gem) = 15872 +SHA256 (rack-protection-2.1.0.gem) = H1I8FuWzLxOcj28eOz61Oqp6abx5ow8+gPipPIkkKpU= +SIZE (rack-protection-2.1.0.gem) = 17408 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/ruby-rack-protection/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 14 Nov 2017 17:08:13 -0000 1.2 +++ pkg/PLIST 27 Aug 2021 21:14:46 -0000 @@ -21,6 +21,7 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/rack/pro ${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/ip_spoofing.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/json_csrf.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/path_traversal.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/referrer_policy.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/remote_referrer.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/remote_token.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/protection/session_hijacking.rb