summaryrefslogtreecommitdiff
path: root/www/hs-http-reverse-proxy
diff options
context:
space:
mode:
Diffstat (limited to 'www/hs-http-reverse-proxy')
-rw-r--r--www/hs-http-reverse-proxy/Makefile21
-rw-r--r--www/hs-http-reverse-proxy/distinfo2
-rw-r--r--www/hs-http-reverse-proxy/pkg-descr5
3 files changed, 28 insertions, 0 deletions
diff --git a/www/hs-http-reverse-proxy/Makefile b/www/hs-http-reverse-proxy/Makefile
new file mode 100644
index 000000000000..8c0f4ddf8b76
--- /dev/null
+++ b/www/hs-http-reverse-proxy/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= http-reverse-proxy
+PORTVERSION= 0.1.0.6
+CATEGORIES= www haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Reverse proxy HTTP requests, either over raw sockets or with WAI
+
+LICENSE= BSD
+
+CABAL_SETUP= Setup.hs
+
+USE_CABAL= blaze-builder>=0.3 case-insensitive>=0.4 \
+ classy-prelude-conduit>=0.3 conduit>=0.5 http-conduit>=1.6 \
+ http-types>=0.6 lifted-base>=0.1 monad-control>=0.3 \
+ network network-conduit>=0.6 text>=0.11 wai>=1.3 \
+ warp>=1.3.4 word8>=0.0
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/www/hs-http-reverse-proxy/distinfo b/www/hs-http-reverse-proxy/distinfo
new file mode 100644
index 000000000000..e349999924cb
--- /dev/null
+++ b/www/hs-http-reverse-proxy/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/http-reverse-proxy-0.1.0.6.tar.gz) = 8885e3a350e8fb9d77b8b9e2bb2e729c16695f5c18fc55f60c532c54a3ff7079
+SIZE (cabal/http-reverse-proxy-0.1.0.6.tar.gz) = 5693
diff --git a/www/hs-http-reverse-proxy/pkg-descr b/www/hs-http-reverse-proxy/pkg-descr
new file mode 100644
index 000000000000..7f0be104ad09
--- /dev/null
+++ b/www/hs-http-reverse-proxy/pkg-descr
@@ -0,0 +1,5 @@
+Provides a simple means of reverse-proxying HTTP requests. The raw approach
+uses the same technique as leveraged by keter, whereas the WAI approach
+performs full request/response parsing via WAI and http-conduit.
+
+WWW: https://github.com/fpco/http-reverse-proxy