Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 13:39:36 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
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
Message-ID:  <201512111339.tBBDdav5069197@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512111339.tBBDdav5069197>