aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-04-09 17:41:42 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-04-09 17:41:42 +0000
commit901f12a1697f2c07b44fe6145e4098b85152426d (patch)
treef5719094849a1feab4d0c85d7d4a140fdca1e8f1
parent53a685aecc6cb3329031dcb6c7aef684ee09ca7a (diff)
www/rubygem-llhttp: Add rubygem-llhttp 0.6.1
This is a monorepo that includes projects for MRI and FFI. Generally speaking, you should prefer the MRI version and fallback to the FFI version for better compatibility. There is parity between the two implementations, but the MRI implementation is more performant.
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-llhttp/Makefile16
-rw-r--r--www/rubygem-llhttp/distinfo3
-rw-r--r--www/rubygem-llhttp/pkg-descr4
4 files changed, 24 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 2279da2f9b57..ccebf0450f69 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2215,6 +2215,7 @@
SUBDIR += rubygem-less
SUBDIR += rubygem-lighthouse-api
SUBDIR += rubygem-link_header
+ SUBDIR += rubygem-llhttp
SUBDIR += rubygem-llhttp-ffi
SUBDIR += rubygem-lograge
SUBDIR += rubygem-lograge-rails5
diff --git a/www/rubygem-llhttp/Makefile b/www/rubygem-llhttp/Makefile
new file mode 100644
index 000000000000..cf8d285d2f41
--- /dev/null
+++ b/www/rubygem-llhttp/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= llhttp
+PORTVERSION= 0.6.1
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Ruby bindings for llhttp
+WWW= https://github.com/bryanp/llhttp \
+ https://github.com/bryanp/llhttp/tree/main/mri
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-llhttp/distinfo b/www/rubygem-llhttp/distinfo
new file mode 100644
index 000000000000..8573e616bcfa
--- /dev/null
+++ b/www/rubygem-llhttp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1744215561
+SHA256 (rubygem/llhttp-0.6.1.gem) = 9da187ecf6407265465919cc0d691210ef79e38fa6e86e5e45593bdf25b50146
+SIZE (rubygem/llhttp-0.6.1.gem) = 54784
diff --git a/www/rubygem-llhttp/pkg-descr b/www/rubygem-llhttp/pkg-descr
new file mode 100644
index 000000000000..c319c3b355f3
--- /dev/null
+++ b/www/rubygem-llhttp/pkg-descr
@@ -0,0 +1,4 @@
+This is a monorepo that includes projects for MRI and FFI. Generally speaking,
+you should prefer the MRI version and fallback to the FFI version for better
+compatibility. There is parity between the two implementations, but the MRI
+implementation is more performant.