aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 11:21:21 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 11:40:50 +0000
commit9bb867bad6aa3bfa0b7bd1525c56efe4d6b79e2c (patch)
treeb7883598317038a50b3e2c5a6453d46ae15efe1a
parent9f34197b086b2f8ae9251ba6fd20fd627f1d0125 (diff)
www/rubygem-protocol-rack: Add rubygem-protocol-rack 0.1.6
Protocol::Rack provides abstractions for working with the Rack specification on top of Protocol::HTTP. This would, in theory, allow you to run any Protocol::HTTP compatible application on top any rack-compatible server. WWW: https://github.com/socketry/protocol-rack
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-protocol-rack/Makefile19
-rw-r--r--www/rubygem-protocol-rack/distinfo3
-rw-r--r--www/rubygem-protocol-rack/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8457d9fa27cd..6f0b1996dc28 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2039,6 +2039,7 @@
SUBDIR += rubygem-protocol-http
SUBDIR += rubygem-protocol-http1
SUBDIR += rubygem-protocol-http2
+ SUBDIR += rubygem-protocol-rack
SUBDIR += rubygem-protocol-websocket
SUBDIR += rubygem-puma
SUBDIR += rubygem-puma_worker_killer
diff --git a/www/rubygem-protocol-rack/Makefile b/www/rubygem-protocol-rack/Makefile
new file mode 100644
index 000000000000..97827d1189f5
--- /dev/null
+++ b/www/rubygem-protocol-rack/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= protocol-rack
+PORTVERSION= 0.1.6
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Implementation of the Rack protocol/specification
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-protocol-http>=0.23.4<0.24:www/rubygem-protocol-http \
+ rubygem-rack>=1.0,3:www/rubygem-rack
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-protocol-rack/distinfo b/www/rubygem-protocol-rack/distinfo
new file mode 100644
index 000000000000..47cf96e9aef1
--- /dev/null
+++ b/www/rubygem-protocol-rack/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661599129
+SHA256 (rubygem/protocol-rack-0.1.6.gem) = 89df0ee500ee6af96deff5dcfcbc8364c63a79a38f2c8e608303e1d517e81073
+SIZE (rubygem/protocol-rack-0.1.6.gem) = 16384
diff --git a/www/rubygem-protocol-rack/pkg-descr b/www/rubygem-protocol-rack/pkg-descr
new file mode 100644
index 000000000000..bc4e1d8b9378
--- /dev/null
+++ b/www/rubygem-protocol-rack/pkg-descr
@@ -0,0 +1,5 @@
+Protocol::Rack provides abstractions for working with the Rack specification on
+top of Protocol::HTTP. This would, in theory, allow you to run any
+Protocol::HTTP compatible application on top any rack-compatible server.
+
+WWW: https://github.com/socketry/protocol-rack