1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

A Plack Middleware for rate-limiting incoming HTTP requests.

WWW: http://search.cpan.org/dist/Plack-Middleware-Throttle/
This commit is contained in:
Jun Kuriyama 2010-09-04 13:45:20 +00:00
parent 73b6db488b
commit cc6aea6752
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260550
5 changed files with 51 additions and 0 deletions

View File

@ -1111,6 +1111,7 @@
SUBDIR += p5-Plack-Middleware-JSConcat
SUBDIR += p5-Plack-Middleware-ReverseProxy
SUBDIR += p5-Plack-Middleware-Session
SUBDIR += p5-Plack-Middleware-Throttle
SUBDIR += p5-Plack-Server-AnyEvent
SUBDIR += p5-Plack-Server-Coro
SUBDIR += p5-Plack-Server-POE

View File

@ -0,0 +1,32 @@
# New ports collection makefile for: Plack::Middleware::Throttle
# Date created: 04 Sep 2010
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Plack-Middleware-Throttle
PORTVERSION= 0.01
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension of rate-limiting incoming HTTP requests for Plack
RUN_DEPENDS= \
p5-DateTime>0:${PORTSDIR}/devel/p5-DateTime \
p5-libwww>0:${PORTSDIR}/www/p5-libwww \
p5-Moose>0:${PORTSDIR}/devel/p5-Moose \
p5-Plack>0:${PORTSDIR}/www/p5-Plack
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Plack::Middleware::Throttle.3 \
Plack::Middleware::Throttle::Daily.3 \
Plack::Middleware::Throttle::Hourly.3 \
Plack::Middleware::Throttle::Interval.3 \
Plack::Middleware::Throttle::Limiter.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Plack-Middleware-Throttle-0.01.tar.gz) = b9cb85dee32e3e7568e6e03424b899af
SHA256 (Plack-Middleware-Throttle-0.01.tar.gz) = 309c97c874126d806884ab1e2073fe53c8de6d1be89b3d10bf155486277f0a38
SIZE (Plack-Middleware-Throttle-0.01.tar.gz) = 47103

View File

@ -0,0 +1,3 @@
A Plack Middleware for rate-limiting incoming HTTP requests.
WWW: http://search.cpan.org/dist/Plack-Middleware-Throttle/

View File

@ -0,0 +1,12 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Throttle/.packlist
%%SITE_PERL%%/Plack/Middleware/Throttle.pm
%%SITE_PERL%%/Plack/Middleware/Throttle/Backend/Hash.pm
%%SITE_PERL%%/Plack/Middleware/Throttle/Daily.pm
%%SITE_PERL%%/Plack/Middleware/Throttle/Hourly.pm
%%SITE_PERL%%/Plack/Middleware/Throttle/Interval.pm
%%SITE_PERL%%/Plack/Middleware/Throttle/Limiter.pm
@dirrm %%SITE_PERL%%/Plack/Middleware/Throttle/Backend
@dirrm %%SITE_PERL%%/Plack/Middleware/Throttle
@dirrmtry %%SITE_PERL%%/Plack/Middleware
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Throttle
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware