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 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.