From owner-svn-ports-head@freebsd.org Sat Sep 12 13:29:12 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EA163D854A; Sat, 12 Sep 2020 13:29:12 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpYPN1Qtpz40Hc; Sat, 12 Sep 2020 13:29:12 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 145E415B41; Sat, 12 Sep 2020 13:29:12 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08CDTB5w055886; Sat, 12 Sep 2020 13:29:11 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08CDTBGY055881; Sat, 12 Sep 2020 13:29:11 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <202009121329.08CDTBGY055881@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Sat, 12 Sep 2020 13:29:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r548363 - in head/databases: . p5-Redis-RateLimit X-SVN-Group: ports-head X-SVN-Commit-Author: vanilla X-SVN-Commit-Paths: in head/databases: . p5-Redis-RateLimit X-SVN-Commit-Revision: 548363 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 13:29:12 -0000 Author: vanilla Date: Sat Sep 12 13:29:10 2020 New Revision: 548363 URL: https://svnweb.freebsd.org/changeset/ports/548363 Log: Add p5-Redis-RateLimit 1.0002, sliding window rate limiting with Redis. PR: 249249 Submitted by: Davíð Steinn Geirsson Added: head/databases/p5-Redis-RateLimit/ head/databases/p5-Redis-RateLimit/Makefile (contents, props changed) head/databases/p5-Redis-RateLimit/distinfo (contents, props changed) head/databases/p5-Redis-RateLimit/pkg-descr (contents, props changed) head/databases/p5-Redis-RateLimit/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Sep 12 13:27:21 2020 (r548362) +++ head/databases/Makefile Sat Sep 12 13:29:10 2020 (r548363) @@ -463,6 +463,7 @@ SUBDIR += p5-Redis-Fast SUBDIR += p5-Redis-JobQueue SUBDIR += p5-Redis-hiredis + SUBDIR += p5-Redis-RateLimit SUBDIR += p5-RedisDB SUBDIR += p5-RedisDB-Parser SUBDIR += p5-Relations Added: head/databases/p5-Redis-RateLimit/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/p5-Redis-RateLimit/Makefile Sat Sep 12 13:29:10 2020 (r548363) @@ -0,0 +1,31 @@ +# Created by: Davíð Steinn Geirsson +# $FreeBSD$ + +PORTNAME= Redis-RateLimit +PORTVERSION= 1.0002 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= david@isnic.is +COMMENT= Sliding window rate limiting with Redis + +LICENSE= MIT + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Carp>=1.50:devel/p5-Carp \ + p5-Digest-SHA1>=2.13:security/p5-Digest-SHA1 \ + p5-File-Share>=0.25:devel/p5-File-Share \ + p5-File-Slurp-Tiny>=0.004:devel/p5-File-Slurp-Tiny \ + p5-JSON-MaybeXS>=1.004002:converters/p5-JSON-MaybeXS \ + p5-Scalar-List-Utils>=1.55:lang/p5-Scalar-List-Utils \ + p5-Moo>=2.004000:devel/p5-Moo \ + p5-namespace-clean>=0.27:devel/p5-namespace-clean \ + p5-Redis>=1.998:databases/p5-Redis \ + p5-Try-Tiny>=0.30:lang/p5-Try-Tiny + +USES= perl5 +USE_PERL5= modbuildtiny +NO_ARCH= yes + +.include Added: head/databases/p5-Redis-RateLimit/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/p5-Redis-RateLimit/distinfo Sat Sep 12 13:29:10 2020 (r548363) @@ -0,0 +1,3 @@ +TIMESTAMP = 1599917295 +SHA256 (Redis-RateLimit-1.0002.tar.gz) = c4fa03e2884d6806c94ff6c0109a5c7de316c4f6b0d62512c34375b9a16aa0a0 +SIZE (Redis-RateLimit-1.0002.tar.gz) = 9682 Added: head/databases/p5-Redis-RateLimit/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/p5-Redis-RateLimit/pkg-descr Sat Sep 12 13:29:10 2020 (r548363) @@ -0,0 +1,6 @@ +A Perl library for efficient rate limiting using sliding windows +stored in Redis. + +This is a port of RateLimit.js without the non-blocking goodness. + +WWW: https://metacpan.org/pod/Redis::RateLimit Added: head/databases/p5-Redis-RateLimit/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/p5-Redis-RateLimit/pkg-plist Sat Sep 12 13:29:10 2020 (r548363) @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Redis/RateLimit.pm +%%SITE_PERL%%/auto/share/dist/Redis-RateLimit/check_limit.lua +%%SITE_PERL%%/auto/share/dist/Redis-RateLimit/unpack_args.lua +%%SITE_PERL%%/auto/share/dist/Redis-RateLimit/check_incr_limit.lua +%%SITE_PERL%%/auto/share/dist/Redis-RateLimit/check_whitelist_blacklist.lua +%%PERL5_MAN3%%/Redis::RateLimit.3.gz