Thursday, March 03, 2022

[update] www/ruby-puma update to 5.6.2

Simple update.
I had to manually remove a bunch of files from the plist, so
hopefully I've done this correctly.

Best,
Aisha

diff --git a/www/ruby-puma/Makefile b/www/ruby-puma/Makefile
index 48633318128..63fb21902fc 100644
--- a/www/ruby-puma/Makefile
+++ b/www/ruby-puma/Makefile
@@ -2,9 +2,8 @@

COMMENT = simple, fast, threaded webserver for rack applications

-DISTNAME = puma-5.3.2
+DISTNAME = puma-5.6.2
CATEGORIES = www
-REVISION = 0

HOMEPAGE = https://puma.io/

diff --git a/www/ruby-puma/distinfo b/www/ruby-puma/distinfo
index f090e812a5b..6a324d67a92 100644
--- a/www/ruby-puma/distinfo
+++ b/www/ruby-puma/distinfo
@@ -1,2 +1,2 @@
-SHA256 (puma-5.3.2.gem) = ssrmO5dY1HUKrg24IIRLA9yiBsU8IIVQSfUUoQrAqlI=
-SIZE (puma-5.3.2.gem) = 201216
+SHA256 (puma-5.6.2.gem) = pjTJBtu3mYW2jGU8rZEsdUv9z62PZ/XDUrFM2pWv4to=
+SIZE (puma-5.6.2.gem) = 206848
diff --git a/www/ruby-puma/patches/patch-ext_puma_http11_mini_ssl_c b/www/ruby-puma/patches/patch-ext_puma_http11_mini_ssl_c
index 12fec62f4d8..90a1a60fbe5 100644
--- a/www/ruby-puma/patches/patch-ext_puma_http11_mini_ssl_c
+++ b/www/ruby-puma/patches/patch-ext_puma_http11_mini_ssl_c
@@ -1,11 +1,9 @@
-$OpenBSD: patch-ext_puma_http11_mini_ssl_c,v 1.1 2021/12/04 09:10:30 tb Exp $
-
Fix build with Opaque DH in LibreSSL 3.5.

Index: ext/puma_http11/mini_ssl.c
--- ext/puma_http11/mini_ssl.c.orig
+++ ext/puma_http11/mini_ssl.c
-@@ -91,13 +91,13 @@ DH *get_dh2048() {
+@@ -92,13 +92,13 @@ DH *get_dh2048(void) {
static unsigned char dh2048_g[] = { 0x02 };

DH *dh;
diff --git a/www/ruby-puma/pkg/PLIST b/www/ruby-puma/pkg/PLIST
index 90909a6826b..97c93a46850 100644
--- a/www/ruby-puma/pkg/PLIST
+++ b/www/ruby-puma/pkg/PLIST
@@ -1,7 +1,8 @@
-@comment $OpenBSD: PLIST,v 1.7 2021/03/19 17:51:35 jeremy Exp $
${GEM_BIN}/puma${GEM_BIN_SUFFIX}
${GEM_BIN}/pumactl${GEM_BIN_SUFFIX}
${GEM_LIB}/cache/${DISTNAME}.gem
+${GEM_EXTENSIONS_DIR}/puma/
+@so ${GEM_EXTENSIONS_DIR}/puma/puma_http11.so
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/History.md
${GEM_LIB}/gems/${DISTNAME}/LICENSE
@@ -55,7 +56,7 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/puma/error_logger.rb
${GEM_LIB}/gems/${DISTNAME}/lib/puma/events.rb
${GEM_LIB}/gems/${DISTNAME}/lib/puma/io_buffer.rb
${GEM_LIB}/gems/${DISTNAME}/lib/puma/jruby_restart.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/puma/json.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/puma/json_serialization.rb
${GEM_LIB}/gems/${DISTNAME}/lib/puma/launcher.rb
${GEM_LIB}/gems/${DISTNAME}/lib/puma/minissl/
${GEM_LIB}/gems/${DISTNAME}/lib/puma/minissl.rb

No comments:

Post a Comment