From owner-svn-ports-all@freebsd.org Fri Dec 11 13:39:38 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E1BF9D871E; Fri, 11 Dec 2015 13:39:38 +0000 (UTC) (envelope-from miwi@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 mx1.freebsd.org (Postfix) with ESMTPS id 1CAA41726; Fri, 11 Dec 2015 13:39:38 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBBDdbRK069202; Fri, 11 Dec 2015 13:39:37 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBBDdav5069197; Fri, 11 Dec 2015 13:39:36 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201512111339.tBBDdav5069197@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Fri, 11 Dec 2015 13:39:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403528 - in head/www: . p5-Plack-Middleware-NoMultipleSlashes X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 13:39:38 -0000 Author: miwi Date: Fri Dec 11 13:39:36 2015 New Revision: 403528 URL: https://svnweb.freebsd.org/changeset/ports/403528 Log: Plack Middleware. By enabling this middleware, all multiple slashes in your requests will automatically be cut. //hello///world becomes /hello/world. Simple as that. WWW: http://search.cpan.org/dist/Plack-Middleware-NoMultipleSlashes/ PR: 204068 Submitted by: jeremybbaggs@gmail.com Approved by: mat (mentor) Differential Revision: D4500 Added: head/www/p5-Plack-Middleware-NoMultipleSlashes/ head/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile (contents, props changed) head/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo (contents, props changed) head/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr (contents, props changed) head/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Dec 11 13:36:25 2015 (r403527) +++ head/www/Makefile Fri Dec 11 13:39:36 2015 (r403528) @@ -1150,6 +1150,7 @@ SUBDIR += p5-Plack-Middleware-JSConcat SUBDIR += p5-Plack-Middleware-MemoryUsage SUBDIR += p5-Plack-Middleware-MethodOverride + SUBDIR += p5-Plack-Middleware-NoMultipleSlashes SUBDIR += p5-Plack-Middleware-Precompressed SUBDIR += p5-Plack-Middleware-RemoveRedundantBody SUBDIR += p5-Plack-Middleware-Reproxy Added: head/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile Fri Dec 11 13:39:36 2015 (r403528) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= Plack-Middleware-NoMultipleSlashes +PORTVERSION= 0.001 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= jeremybbaggs@gmail.com +COMMENT= Automatically remove multiple slashes in your paths + +LICENSE= GPLv1 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Plack>=0:${PORTSDIR}/www/p5-Plack +RUN_DEPENDS= p5-Plack>=0:${PORTSDIR}/www/p5-Plack + +USES= perl5 +USE_PERL5= configure + +.include Added: head/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo Fri Dec 11 13:39:36 2015 (r403528) @@ -0,0 +1,2 @@ +SHA256 (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = bdc37f1089556e5bf78f2421df1073d0c3d1cc356a73205f478e5fc78b152ee3 +SIZE (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = 10535 Added: head/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr Fri Dec 11 13:39:36 2015 (r403528) @@ -0,0 +1,5 @@ +Plack Middleware. By enabling this middleware, all multiple slashes in your +requests will automatically be cut. //hello///world becomes /hello/world. +Simple as that. + +WWW: http://search.cpan.org/dist/Plack-Middleware-NoMultipleSlashes/ Added: head/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist Fri Dec 11 13:39:36 2015 (r403528) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Plack/Middleware/NoMultipleSlashes.pm +%%PERL5_MAN3%%/Plack::Middleware::NoMultipleSlashes.3.gz