Flood control method is used to restrict the number of events to happen or
to be processed in specific perion of time. Few examples are: web server can limit requsets number to a page or you may want to receive no more than 10 SMS messages on your GSM Phone per hour. Applications of this method are unlimited. WWW: http://search.cpan.org/dist/Algorithm-FloodControl/ PR: ports/139411 Submitted by: Andrey <gugu at zoo.rambler.ru>
This commit is contained in:
parent
ba52231f4d
commit
53d729395a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242614
@ -985,6 +985,7 @@
|
||||
SUBDIR += p5-Algorithm-Dependency-Objects
|
||||
SUBDIR += p5-Algorithm-Diff
|
||||
SUBDIR += p5-Algorithm-Evolutionary
|
||||
SUBDIR += p5-Algorithm-FloodControl
|
||||
SUBDIR += p5-Algorithm-IncludeExclude
|
||||
SUBDIR += p5-Algorithm-Interval2Prefix
|
||||
SUBDIR += p5-Algorithm-LCS
|
||||
|
30
devel/p5-Algorithm-FloodControl/Makefile
Normal file
30
devel/p5-Algorithm-FloodControl/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# New ports collection makefile for: p5-Algorithm-FloodControl
|
||||
# Date created: 2008-11-18
|
||||
# Whom: Andrey <gugu@zoo.rambler.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Algorithm-FloodControl
|
||||
PORTVERSION= 1.990000
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= andrey@kostenko.name
|
||||
COMMENT= Robot protection
|
||||
|
||||
BUILD_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
|
||||
p5-Module-Load>=0:${PORTSDIR}/devel/p5-Module-Load \
|
||||
p5-Cache-FastMmap>=0:${PORTSDIR}/devel/p5-Cache-FastMmap \
|
||||
p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Algorithm::FloodControl.3 Algorithm::FloodControl::Backend::Cache::Memcached.3 \
|
||||
Algorithm::FloodControl::Backend::Cache::Memcached::Fast.3 \
|
||||
Algorithm::FloodControl::Backend::Cache::FastMmap.3 \
|
||||
Algorithm::FloodControl::Backend.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-Algorithm-FloodControl/distinfo
Normal file
3
devel/p5-Algorithm-FloodControl/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Algorithm-FloodControl-1.990000.tar.gz) = c65cd1bce2481ec5be53c44a34f94537
|
||||
SHA256 (Algorithm-FloodControl-1.990000.tar.gz) = 00e615afc703e978273492369f89cc1a3ec581f60bb1fe11de0815abcee2c5d4
|
||||
SIZE (Algorithm-FloodControl-1.990000.tar.gz) = 27823
|
7
devel/p5-Algorithm-FloodControl/pkg-descr
Normal file
7
devel/p5-Algorithm-FloodControl/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Flood control method is used to restrict the number of events to happen or
|
||||
to be processed in specific perion of time. Few examples are: web server can
|
||||
limit requsets number to a page or you may want to receive no more than 10 SMS
|
||||
messages on your GSM Phone per hour. Applications of this method are unlimited.
|
||||
|
||||
|
||||
WWW: http://search.cpan.org/dist/Algorithm-FloodControl/
|
14
devel/p5-Algorithm-FloodControl/pkg-plist
Normal file
14
devel/p5-Algorithm-FloodControl/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
%%SITE_PERL%%/Algorithm/FloodControl.pm
|
||||
%%SITE_PERL%%/Algorithm/FloodControl/Backend.pm
|
||||
%%SITE_PERL%%/Algorithm/FloodControl/Backend/Cache/FastMmap.pm
|
||||
%%SITE_PERL%%/Algorithm/FloodControl/Backend/Cache/Memcached.pm
|
||||
%%SITE_PERL%%/Algorithm/FloodControl/Backend/Cache/Memcached/Fast.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/FloodControl/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/FloodControl
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm/FloodControl/Backend/Cache/Memcached
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm/FloodControl/Backend/Cache
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm/FloodControl/Backend
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm/FloodControl
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm
|
Loading…
Reference in New Issue
Block a user