aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-03-19 06:31:03 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2017-04-09 20:02:11 +0800
commit1f974752b01c54f8f5fe8a47b1d6f08c7cc62967 (patch)
treecb60a4bdfb24ef924b5c07f26b029937cf186028 /www
parent6f0713ea0b1ca152ceaf393ee65f1ad3c4bb49c8 (diff)
downloadfreebsd-ports-gnome-1f974752b01c54f8f5fe8a47b1d6f08c7cc62967.tar.gz
freebsd-ports-gnome-1f974752b01c54f8f5fe8a47b1d6f08c7cc62967.tar.zst
freebsd-ports-gnome-1f974752b01c54f8f5fe8a47b1d6f08c7cc62967.zip
Add rubygem-rack-proxy 0.6.0
A request/response rewriting HTTP proxy. A Rack app. Subclass Rack::Proxy and provide your rewrite_env and rewrite_response methods. WWW: https://github.com/ncr/rack-proxy
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-rack-proxy/Makefile21
-rw-r--r--www/rubygem-rack-proxy/distinfo3
-rw-r--r--www/rubygem-rack-proxy/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 64794843f956..531548bcb5d8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2048,6 +2048,7 @@
SUBDIR += rubygem-rack-mount
SUBDIR += rubygem-rack-openid
SUBDIR += rubygem-rack-protection
+ SUBDIR += rubygem-rack-proxy
SUBDIR += rubygem-rack-ssl
SUBDIR += rubygem-rack-test
SUBDIR += rubygem-rack15
diff --git a/www/rubygem-rack-proxy/Makefile b/www/rubygem-rack-proxy/Makefile
new file mode 100644
index 000000000000..972649d897ac
--- /dev/null
+++ b/www/rubygem-rack-proxy/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= rack-proxy
+PORTVERSION= 0.6.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Request/response rewriting proxy capabilities with streaming
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-rack>=0:www/rubygem-rack
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rack-proxy/distinfo b/www/rubygem-rack-proxy/distinfo
new file mode 100644
index 000000000000..7c67e0354d25
--- /dev/null
+++ b/www/rubygem-rack-proxy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489864211
+SHA256 (rubygem/rack-proxy-0.6.0.gem) = c41999c2c3be7b95a09a0909aba2f900b2e3334231b777b0509024c8d262ebae
+SIZE (rubygem/rack-proxy-0.6.0.gem) = 11264
diff --git a/www/rubygem-rack-proxy/pkg-descr b/www/rubygem-rack-proxy/pkg-descr
new file mode 100644
index 000000000000..db00aac01864
--- /dev/null
+++ b/www/rubygem-rack-proxy/pkg-descr
@@ -0,0 +1,4 @@
+A request/response rewriting HTTP proxy. A Rack app. Subclass Rack::Proxy and
+provide your rewrite_env and rewrite_response methods.
+
+WWW: https://github.com/ncr/rack-proxy