BSD Ports

www/rubygem-rack_csrf 2.7.0 MidnightBSD

Anti-CSRF Rack middleware

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
www, rubygems

Description

This is just a small Rack middleware whose only goal is to lessen the hazards posed by CSRF attacks by trying to ensure that all requests of particular types come from the right client, not from a mischievous impersonator.

Rack::Csrf is not tailored to any particular web framework, so it can be used with your preferred Rack-based framework.

In the other systems

SystemPortVersion
MidnightBSDwww/rubygem-rack_csrf2.7.0
FreeBSDwww/rubygem-rack_csrf2.7.0
DragonFlywww/rubygem-rack_csrf2.7.0
HardenedBSDwww/rubygem-rack_csrf2.7.0
GhostBSDwww/rubygem-rack_csrf2.7.0

Install

Binary package:

mport install rack_csrf

From mports:

cd /usr/mports/www/rubygem-rack_csrf && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rack_csrf>0:www/rubygem-rack_csrf

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/rack_csrf-2.7.0.gem21504bbd9fbe5e0f6f0d882d5df777fca2479cc3bc7bd054d642cb13b8bfb0872b8cb
Master sites 1
  • RG