summaryrefslogtreecommitdiff
path: root/devel/p5-Schedule-RateLimiter
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-04-12 14:20:57 +0000
committergrant <grant@pkgsrc.org>2004-04-12 14:20:57 +0000
commit118406664c01162bdf45fb70ccfb8bf0138c3255 (patch)
tree39f0ccd11c48e27d110462a37c1552407404ad45 /devel/p5-Schedule-RateLimiter
parent463e5b24a9cfa395f024e43f55762bf35dd6a3ac (diff)
downloadpkgsrc-118406664c01162bdf45fb70ccfb8bf0138c3255.tar.gz
Initial import of p5-Schedule-RateLimiter into the NetBSD packages collection.
Schedule::RateLimiter provides a way to voluntarily restrict how many times a given action may take place within a specified time frame. Such a tool may be useful if you have written something which periodically polls some public resource and want to ensure that you do not overburden that resource with too many requests.
Diffstat (limited to 'devel/p5-Schedule-RateLimiter')
-rw-r--r--devel/p5-Schedule-RateLimiter/DESCR6
-rw-r--r--devel/p5-Schedule-RateLimiter/Makefile20
-rw-r--r--devel/p5-Schedule-RateLimiter/PLIST1
-rw-r--r--devel/p5-Schedule-RateLimiter/distinfo4
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/p5-Schedule-RateLimiter/DESCR b/devel/p5-Schedule-RateLimiter/DESCR
new file mode 100644
index 00000000000..87e8ff16823
--- /dev/null
+++ b/devel/p5-Schedule-RateLimiter/DESCR
@@ -0,0 +1,6 @@
+Schedule::RateLimiter provides a way to voluntarily restrict how many
+times a given action may take place within a specified time frame.
+
+Such a tool may be useful if you have written something which periodically
+polls some public resource and want to ensure that you do not overburden
+that resource with too many requests.
diff --git a/devel/p5-Schedule-RateLimiter/Makefile b/devel/p5-Schedule-RateLimiter/Makefile
new file mode 100644
index 00000000000..fe8ee702064
--- /dev/null
+++ b/devel/p5-Schedule-RateLimiter/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/12 14:20:57 grant Exp $
+
+DISTNAME= Schedule-RateLimiter-0.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Schedule/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+COMMENT= Perl5 module to schedule tasks with rate limiting
+
+USE_BUILDLINK3= yes
+USE_LANGUAGES= # empty
+
+DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
+
+PERL5_CONFIGURE=YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Schedule/RateLimiter/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Schedule-RateLimiter/PLIST b/devel/p5-Schedule-RateLimiter/PLIST
new file mode 100644
index 00000000000..b2b7e316262
--- /dev/null
+++ b/devel/p5-Schedule-RateLimiter/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/12 14:20:57 grant Exp $
diff --git a/devel/p5-Schedule-RateLimiter/distinfo b/devel/p5-Schedule-RateLimiter/distinfo
new file mode 100644
index 00000000000..8dea789e1d4
--- /dev/null
+++ b/devel/p5-Schedule-RateLimiter/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/12 14:20:57 grant Exp $
+
+SHA1 (Schedule-RateLimiter-0.01.tar.gz) = 5faa6b2afa89b805ec7413fbff0ef18cb38f29c6
+Size (Schedule-RateLimiter-0.01.tar.gz) = 4844 bytes