notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
Port details
rubygem-rack-attack Rack middleware for throttling and blocking abusive requests
6.6.1_1 www on this many watch lists=0 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 Version of this port present on the latest quarterly branch.
Maintainer: ruby@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-11-03 16:59:18
Last Update: 2023-01-14 23:08:33
Commit Hash: 18c6e18
Also Listed In: rubygems
License: MIT
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-rack-attack-6.6.1_1/catalog.mk
  2. /usr/local/share/licenses/rubygem-rack-attack-6.6.1_1/LICENSE
  3. /usr/local/share/licenses/rubygem-rack-attack-6.6.1_1/MIT
Collapse this list.
Dependency lines:
  • rubygem-rack-attack>0:www/rubygem-rack-attack
To install the port:
cd /usr/ports/www/rubygem-rack-attack/ && make install clean
To add the package, run one of these commands:
  • pkg install www/rubygem-rack-attack
  • pkg install rubygem-rack-attack
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-rack-attack
Flavors: there is no flavor information for this port.
distinfo:

Packages (timestamps in pop-ups are UTC):
rubygem-rack-attack
ABIlatestquarterly
FreeBSD:11:aarch645.4.06.3.1
FreeBSD:11:amd646.3.16.3.1
FreeBSD:11:armv64.4.16.3.1
FreeBSD:11:i3866.3.16.3.1
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch645.4.06.6.1_1
FreeBSD:12:amd646.6.1_16.6.1_1
FreeBSD:12:armv65.4.06.3.1
FreeBSD:12:armv75.4.06.3.1
FreeBSD:12:i3866.6.1_16.6.1_1
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-fallout6.3.1
FreeBSD:13:aarch646.6.1_16.6.1_1
FreeBSD:13:amd646.6.1_16.6.1_1
FreeBSD:13:armv66.3.16.6.1
FreeBSD:13:armv76.6.1_16.6.1_1
FreeBSD:13:i3866.6.1_16.6.1_1
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc646.3.16.6.1_1
FreeBSD:13:riscv64pkg-fallout6.6.1
FreeBSD:14:aarch646.6.1_1pkg-fallout
FreeBSD:14:amd646.6.1_1pkg-fallout
FreeBSD:14:armv66.6.1_1pkg-fallout
FreeBSD:14:armv76.6.1_1pkg-fallout
FreeBSD:14:i3866.6.1_1pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc646.6.1_1pkg-fallout
FreeBSD:14:riscv646.3.1pkg-fallout
 
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
Runtime dependencies:
  1. rubygem-rack22>=1.0,3<3,3 : www/rubygem-rack22
  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
This port is required by:
for Build
  1. www/gitlab-ce
for Run
  1. www/gitlab-ce

Configuration Options:
Options name:
USES:
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.
Port Moves
  • port moved here from www/rubygem-rack-attack44 on 2019-11-23
    REASON: Obsolete, please use www/rubygem-rack-attack instead

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.6.1_1
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
6.6.1_1
23 Dec 2022 07:31:48
commit hash:2672229436a6b939e342d049078d084adc895594commit hash:2672229436a6b939e342d049078d084adc895594commit hash:2672229436a6b939e342d049078d084adc895594commit hash:2672229436a6b939e342d049078d084adc895594 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
*/*: Update dependency

For all ports that isn't compatible with rack 3.x, update dependency
from www/rubygem-rack to www/rubygem-rack22.

PR:		268057
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)
6.6.1
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)
6.6.1
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)
6.6.1
24 Jun 2022 10:20:04
commit hash:bb7a69c83229b8777864c6e69483100064f39e56commit hash:bb7a69c83229b8777864c6e69483100064f39e56commit hash:bb7a69c83229b8777864c6e69483100064f39e56commit hash:bb7a69c83229b8777864c6e69483100064f39e56 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
www/rubygem-rack-attack: update to 6.6.1

Required for gitlab-ce 15.1
Changelog:
https://github.com/rack/rack-attack/blob/main/CHANGELOG.md

6.6.1 - 2022-04-14
Fixed

    Fixes deprecation warning in redis 4.6+ (@ixti)

6.6.0 - 2022-01-29
Added

    Ability to have access to the request object instead of only env (still can
access env with request.env) when customizing throttle and blocklist responses
with new methods Rack::Attack.blocklisted_responder= and
Rack::Attack.throttled_responder= which yield the request to your lambda.
(@NikolayRys)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.3.1
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.
6.3.1
04 Jun 2020 19:56:16
Revision:537945Original commit files touched by this commit
mfechner search for other commits by this committer
Update to 6.3.1 which is required for gitlab-ce 13.0.
6.2.1
28 Dec 2019 07:41:59
Revision:521192Original commit files touched by this commit
sunpoet search for other commits by this committer
Update version requirement of RUN_DEPENDS
6.2.1
23 Nov 2019 08:50:14
Revision:518201Original commit files touched by this commit
mfechner search for other commits by this committer
Update to 6.2.1 which is required for gitlab-ce 12.5.
5.4.2
03 Nov 2018 22:19:13
Revision:483937Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 5.4.2

Changes:	https://github.com/kickstarter/rack-attack/releases
5.4.1
14 Oct 2018 16:33:10
Revision:482091Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 5.4.1

Changes:	https://github.com/kickstarter/rack-attack/releases
5.4.0
31 Jul 2018 23:55:08
Revision:476125Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 5.4.0

Changes:	https://github.com/kickstarter/rack-attack/releases
5.2.0
31 Mar 2018 22:48:07
Revision:466102Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 5.2.0

Changes:	https://github.com/kickstarter/rack-attack/releases
5.1.0
11 Mar 2018 20:31:31
Revision:464207Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 5.1.0

Changes:	https://github.com/kickstarter/rack-attack/releases
5.0.1
05 Dec 2016 07:19:58
Revision:427858Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 5.0.1
- Update RUN_DEPENDS: use newer rubygem-rack

Changes:	https://github.com/kickstarter/rack-attack/releases
4.4.1
27 Apr 2016 21:57:32
Revision:414136Original commit files touched by this commit
swills search for other commits by this committer
Convert USES=gem:autoplist to USES=gem since autoplist is default
4.4.1
27 Apr 2016 16:36:42
Revision:414118Original commit files touched by this commit
swills search for other commits by this committer
create USES=gem and update rubygem- ports to use it

Note that for now ports still have to have USE_RUBY=yes to use USES=gem

PR:		209041
Differential Revision:	https://reviews.freebsd.org/D6070
4.4.1
01 Apr 2016 14:33:58
Revision:412351Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.

With hat:	portmgr
Sponsored by:	Absolight
4.4.1
06 Mar 2016 06:37:14
Revision:410422Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 4.4.1

Changes:	https://github.com/kickstarter/rack-attack/blob/master/CHANGELOG.md
4.3.1
10 Jan 2016 07:31:35
Revision:405676Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 4.3.1

PR:		205660
Submitted by:	Torsten Zuehlsdorff
4.3.0_1
13 Jun 2015 20:13:52
Revision:389518Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update RUN_DEPENDS: use newer rubygem-rack
- Add NO_ARCH
- Bump PORTREVISION for dependency change
4.3.0
24 May 2015 00:05:08
Revision:387203Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 4.3.0

Changes:	https://github.com/kickstarter/rack-attack/blob/master/CHANGELOG.md
4.2.0
22 May 2015 20:22:41
Revision:387075Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 4.2.0
- Add LICENSE
- Update WWW

Changes:	https://github.com/kickstarter/rack-attack/blob/master/CHANGELOG.md
4.1.1
21 Sep 2014 04:39:14
Revision:368718Original commit files touched by this commit
swills search for other commits by this committer
www/rubygem-rack-attach: update to 4.1.1
4.1.0
23 Aug 2014 22:58:19
Revision:365853Original commit files touched by this commit
swills search for other commits by this committer
www/rubygem-rack-attack: update to 4.1.0
2.2.1
03 Nov 2013 16:59:08
Revision:332628Original commit files touched by this commit
swills search for other commits by this committer
Rack middleware for throttling and blocking abusive requests

WWW: http://github.com/kickstarter/rack-attack

Number of commits found: 27