Simple update to the latest version of unicorn. Major bump but changes are fairly minor:
* This release allocates a new Rack `env' hash for every request. This is done for safety with internally-(thread|event)-using Rack apps which expect to use `env' after the normal Rack response is complete, but without relying on rack.hijack. * There are performance regressions for some simple Rack apps * Unsupported 3rd-party monkey patches which previously relied on this behavior may be broken (our version of OobGC was). Tested on amd64. Will be committing in a couple days unless I hear objections. Thanks, Jeremy Index: Makefile =================================================================== RCS file: /cvs/ports/www/ruby-unicorn/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- Makefile 21 Sep 2020 16:15:15 -0000 1.30 +++ Makefile 17 Mar 2021 15:30:07 -0000 @@ -2,7 +2,7 @@ COMMENT = ruby-rack HTTP server for Unix and fast clients -DISTNAME = unicorn-5.7.0 +DISTNAME = unicorn-6.0.0 CATEGORIES = www HOMEPAGE = https://yhbt.net/unicorn/ Index: distinfo =================================================================== RCS file: /cvs/ports/www/ruby-unicorn/distinfo,v retrieving revision 1.19 diff -u -p -r1.19 distinfo --- distinfo 21 Sep 2020 16:15:15 -0000 1.19 +++ distinfo 17 Mar 2021 15:30:10 -0000 @@ -1,2 +1,2 @@ -SHA256 (unicorn-5.7.0.gem) = G36ua4hEv08WZIunfh+q+G3v7b2xyHY5GYCLpeqC7eM= -SIZE (unicorn-5.7.0.gem) = 224768 +SHA256 (unicorn-6.0.0.gem) = lnqlaJGqEJNSXYpjU6P8YtD66NYiHF3jc9IeeVpBlck= +SIZE (unicorn-6.0.0.gem) = 224256 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/ruby-unicorn/pkg/PLIST,v retrieving revision 1.12 diff -u -p -r1.12 PLIST --- pkg/PLIST 14 Jan 2020 16:50:13 -0000 1.12 +++ pkg/PLIST 17 Mar 2021 15:31:19 -0000 @@ -91,7 +91,6 @@ ${GEM_LIB}/gems/${DISTNAME}/t/detach.ru ${GEM_LIB}/gems/${DISTNAME}/t/env.ru ${GEM_LIB}/gems/${DISTNAME}/t/fails-rack-lint.ru ${GEM_LIB}/gems/${DISTNAME}/t/heartbeat-timeout.ru -${GEM_LIB}/gems/${DISTNAME}/t/hijack.ru ${GEM_LIB}/gems/${DISTNAME}/t/listener_names.ru ${GEM_LIB}/gems/${DISTNAME}/t/my-tap-lib.sh ${GEM_LIB}/gems/${DISTNAME}/t/oob_gc.ru @@ -129,7 +128,6 @@ ${GEM_LIB}/gems/${DISTNAME}/t/t0022-list ${GEM_LIB}/gems/${DISTNAME}/t/t0100-rack-input-tests.sh ${GEM_LIB}/gems/${DISTNAME}/t/t0116-client_body_buffer_size.sh ${GEM_LIB}/gems/${DISTNAME}/t/t0116.ru -${GEM_LIB}/gems/${DISTNAME}/t/t0200-rack-hijack.sh ${GEM_LIB}/gems/${DISTNAME}/t/t0300-no-default-middleware.sh ${GEM_LIB}/gems/${DISTNAME}/t/t0301-no-default-middleware-ignored-in-config.sh ${GEM_LIB}/gems/${DISTNAME}/t/t0301.ru
