notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
rubygem-rack_csrf Anti-CSRF Rack middleware
2.7.0 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.7.0Version of this port present on the latest quarterly branch.
Maintainer: ruby@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-11-21 22:16:51
Last Update: 2023-01-14 23:08:33
Commit Hash: 18c6e18
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: rubygems
License: MIT
WWW:
https://github.com/baldowl/rack_csrf
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-rack_csrf-2.7.0/catalog.mk
  2. /usr/local/share/licenses/rubygem-rack_csrf-2.7.0/LICENSE
  3. /usr/local/share/licenses/rubygem-rack_csrf-2.7.0/MIT
Collapse this list.
Dependency lines:
  • rubygem-rack_csrf>0:www/rubygem-rack_csrf
To install the port:
cd /usr/ports/www/rubygem-rack_csrf/ && make install clean
To add the package, run one of these commands:
  • pkg install www/rubygem-rack_csrf
  • pkg install rubygem-rack_csrf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-rack_csrf
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1663673092 SHA256 (rubygem/rack_csrf-2.7.0.gem) = bbd9fbe5e0f6f0d882d5df777fca2479cc3bc7bd054d642cb13b8bfb0872b8cb SIZE (rubygem/rack_csrf-2.7.0.gem) = 21504

Packages (timestamps in pop-ups are UTC):
rubygem-rack_csrf
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.7.02.7.02.6.02.7.02.7.0-2.6.0-
FreeBSD:13:quarterly2.7.02.7.02.7.02.7.02.7.02.7.02.7.02.7.0
FreeBSD:14:latest2.7.02.7.02.7.02.7.02.7.02.7.0-2.7.0
FreeBSD:14:quarterly2.7.02.7.0-2.7.02.7.02.7.02.7.02.7.0
FreeBSD:15:latest2.7.02.7.0n/a2.7.0n/a2.7.02.7.02.7.0
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby30 : lang/ruby30
  2. gem : devel/ruby-gems
Test dependencies:
  1. rubygem-rspec>0 : devel/rubygem-rspec
Runtime dependencies:
  1. rubygem-rack>=1.1.0,3 : www/rubygem-rack
  2. ruby30 : lang/ruby30
  3. gem : devel/ruby-gems
Patch dependencies:
  1. ruby30 : lang/ruby30
  2. gem : devel/ruby-gems
Extract dependencies:
  1. ruby30 : lang/ruby30
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_rubygem-rack_csrf
USES:
gem
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.7.0
14 Jan 2023 23:08:33
commit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9ae files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby

Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
2.7.0
03 Oct 2022 02:18:04
commit hash: 88d56727afa54563d852a4a10b056fabc39bb721commit hash: 88d56727afa54563d852a4a10b056fabc39bb721commit hash: 88d56727afa54563d852a4a10b056fabc39bb721commit hash: 88d56727afa54563d852a4a10b056fabc39bb721 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/rubygem-rack_csrf: Update to 2.7.0

- Update version requirement of RUN_DEPENDS

Changes:	https://github.com/baldowl/rack_csrf/blob/master/Changelog.md
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.6.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.6.0
20 Jul 2022 14:23:26
commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
www: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *
  *  <hvo.pm@xs4all.nl>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron LI <aly@aaronly.me>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Abel Chow <achow@transoft.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Adrian Steinmann <ast@marabu.ch>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.6.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.6.0
18 May 2018 15:23:27
Revision:470297Original commit files touched by this commit
adamw search for other commits by this committer
Scale back my portfolio

I'm releasing maintainership on a number of ports that I no longer have
time to maintain effectively.
2.6.0
21 Nov 2017 22:16:42
Revision:454657Original commit files touched by this commit
adamw search for other commits by this committer
Add www/rubygem-rack_csrf, an anti-CSRF Rack middleware. Roda's CSRF
plugin uses this gem.

WWW: https://github.com/baldowl/rack_csrf

Number of commits found: 8