summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-07-04 18:11:35 +0000
committerseb <seb@pkgsrc.org>2010-07-04 18:11:35 +0000
commit037369de5443c9b1eaccf61b91deb1ed15455604 (patch)
tree0ba70833eca4de575d58c8ff03fe9ed8988dae2a /www
parentf844a10a41039dd7a24c78c59966462f3a394486 (diff)
downloadpkgsrc-037369de5443c9b1eaccf61b91deb1ed15455604.tar.gz
Initial import of p5-Plack-Middleware-ReverseProxy version 0.06 in
the NetBSD Packages Collection. The Perl 5 module Plack::Middleware::ReverseProxy is a Plack middleware. It resets some HTTP headers, which were changed by reverse-proxy. You can specify the reverse proxy address and stop fake requests using 'enable_if' directive in your app.psgi.
Diffstat (limited to 'www')
-rw-r--r--www/p5-Plack-Middleware-ReverseProxy/DESCR4
-rw-r--r--www/p5-Plack-Middleware-ReverseProxy/Makefile26
-rw-r--r--www/p5-Plack-Middleware-ReverseProxy/distinfo5
3 files changed, 35 insertions, 0 deletions
diff --git a/www/p5-Plack-Middleware-ReverseProxy/DESCR b/www/p5-Plack-Middleware-ReverseProxy/DESCR
new file mode 100644
index 00000000000..e3376d3c4ee
--- /dev/null
+++ b/www/p5-Plack-Middleware-ReverseProxy/DESCR
@@ -0,0 +1,4 @@
+The Perl 5 module Plack::Middleware::ReverseProxy is a Plack middleware. It
+resets some HTTP headers, which were changed by reverse-proxy. You
+can specify the reverse proxy address and stop fake requests using
+'enable_if' directive in your app.psgi.
diff --git a/www/p5-Plack-Middleware-ReverseProxy/Makefile b/www/p5-Plack-Middleware-ReverseProxy/Makefile
new file mode 100644
index 00000000000..d3e97507782
--- /dev/null
+++ b/www/p5-Plack-Middleware-ReverseProxy/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/04 18:11:35 seb Exp $
+
+DISTNAME= Plack-Middleware-ReverseProxy-0.06
+PKGNAME= p5-${DISTNAME}
+#PKGREVISION= 1
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Plack/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Plack-Middleware-ReverseProxy/
+COMMENT= Plack middleware to support reverse proxy
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Plack/Middleware/ReverseProxy/.packlist
+
+DEPENDS+= p5-Plack-[0-9]*:../../www/p5-Plack
+DEPENDS+= p5-parent-[0-9]*:../../devel/p5-parent
+
+# for test target
+BUILD_DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Plack-Middleware-ReverseProxy/distinfo b/www/p5-Plack-Middleware-ReverseProxy/distinfo
new file mode 100644
index 00000000000..b185a1080a0
--- /dev/null
+++ b/www/p5-Plack-Middleware-ReverseProxy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/04 18:11:35 seb Exp $
+
+SHA1 (Plack-Middleware-ReverseProxy-0.06.tar.gz) = b6d04bf0f9e5e01200ac8bae715be7514d6d585d
+RMD160 (Plack-Middleware-ReverseProxy-0.06.tar.gz) = 35e3083a948ab2029505cc4e3cdbf7c97edd2eda
+Size (Plack-Middleware-ReverseProxy-0.06.tar.gz) = 42433 bytes