--- libschedule-ratelimiter-perl-0.01.orig/debian/control +++ libschedule-ratelimiter-perl-0.01/debian/control @@ -0,0 +1,32 @@ +Source: libschedule-ratelimiter-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: perl (>= 5.6.0-12) +Maintainer: Debian Perl Group +Uploaders: Ryan Niebur +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Schedule-RateLimiter/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libschedule-ratelimiter-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libschedule-ratelimiter-perl/ + +Package: libschedule-ratelimiter-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Perl library to prevent events from happening too quickly + 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. + . + Initially, one might think that solving this problem would be as simple as + sleeping for the number of seconds divided by the number of iterations in + between each event. However, that would only be correct if the event took no + time at all. + . + If you know exactly how much time each event is going to take then you could + build an even more complicated one-liner such as this: + . + sleep( (seconds / iterations) - single_event_time ) + --- libschedule-ratelimiter-perl-0.01.orig/debian/copyright +++ libschedule-ratelimiter-perl-0.01/debian/copyright @@ -0,0 +1,27 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Daniel J. Wright, +Upstream-Source: http://search.cpan.org/dist/Schedule-RateLimiter/ +Upstream-Name: Schedule-RateLimiter + +Files: * +Copyright: 2003 pair Networks, Inc +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, Ryan Niebur +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libschedule-ratelimiter-perl-0.01.orig/debian/watch +++ libschedule-ratelimiter-perl-0.01/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Schedule-RateLimiter/ .*/Schedule-RateLimiter-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libschedule-ratelimiter-perl-0.01.orig/debian/compat +++ libschedule-ratelimiter-perl-0.01/debian/compat @@ -0,0 +1 @@ +7 --- libschedule-ratelimiter-perl-0.01.orig/debian/changelog +++ libschedule-ratelimiter-perl-0.01/debian/changelog @@ -0,0 +1,5 @@ +libschedule-ratelimiter-perl (0.01-1) unstable; urgency=low + + * Initial Release. (Closes: #518443) + + -- Ryan Niebur Thu, 05 Mar 2009 23:00:58 -0800 --- libschedule-ratelimiter-perl-0.01.orig/debian/libschedule-ratelimiter-perl.docs +++ libschedule-ratelimiter-perl-0.01/debian/libschedule-ratelimiter-perl.docs @@ -0,0 +1 @@ +README --- libschedule-ratelimiter-perl-0.01.orig/debian/rules +++ libschedule-ratelimiter-perl-0.01/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +build: build-stamp +build-stamp: + dh build + touch $@ + +clean: + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build