pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-puma
Module Name: pkgsrc
Committed By: taca
Date: Sat Sep 19 13:04:10 UTC 2020
Modified Files:
pkgsrc/www/ruby-puma: Makefile PLIST distinfo
Log Message:
www/ruby-puma: update to 5.0.0
Update ruby-puma package to 5.0.0.
## 5.0.0
* Features
* Allow compiling without OpenSSL and dynamically load files needed for SSL, add 'no ssl' CI (#2305)
* EXPERIMENTAL: Add `fork_worker` option and `refork` command for reduced memory usage by forking from a worker process instead of the master process. (#2099)
* EXPERIMENTAL: Added `wait_for_less_busy_worker` config. This may reduce latency on MRI through inserting a small delay before re-listening on the socket if worker is busy (#2079).
* EXPERIMENTAL: Added `nakayoshi_fork` option. Reduce memory usage in preloaded cluster-mode apps by GCing before fork and compacting, where available. (#2093, #2256)
* Added pumactl `thread-backtraces` command to print thread backtraces (#2054)
* Added incrementing `requests_count` to `Puma.stats`. (#2106)
* Increased maximum URI path length from 2048 to 8192 bytes (#2167, #2344)
* `lowlevel_error_handler` is now called during a forced threadpool shutdown, and if a callable with 3 arguments is set, we now also pass the status code (#2203)
* Faster phased restart and worker timeout (#2220)
* Added `state_permission` to config DSL to set state file permissions (#2238)
* Added `Puma.stats_hash`, which returns a stats in Hash instead of a JSON string (#2086, #2253)
* `rack.multithread` and `rack.multiprocess` now dynamically resolved by `max_thread` and `workers` respectively (#2288)
* Deprecations, Removals and Breaking API Changes
* `--control` has been removed. Use `--control-url` (#1487)
* `worker_directory` has been removed. Use `directory`.
* min_threads now set by environment variables PUMA_MIN_THREADS and MIN_THREADS. (#2143)
* max_threads now set by environment variables PUMA_MAX_THREADS and MAX_THREADS. (#2143)
* max_threads default to 5 in MRI or 16 for all other interpreters. (#2143)
* preload by default if workers > 1 (#2143)
* Puma::Plugin.workers_supported? has been removed. Use Puma.forkable? instead. (#2143)
* `tcp_mode` has been removed without replacement. (#2169)
* Daemonization has been removed without replacement. (#2170)
* Changed #connected_port to #connected_ports (#2076)
* Configuration: `environment` is read from `RAILS_ENV`, if `RACK_ENV` can't be found (#2022)
* Log binding on http:// for TCP bindings to make it clickable
* Bugfixes
* Fix JSON loading issues on phased-restarts (#2269)
* Improve shutdown reliability (#2312, #2338)
* Close client http connections made to an ssl server with TLSv1.3 (#2116)
* Do not set user_config to quiet by default to allow for file config (#2074)
* Always close SSL connection in Puma::ControlCLI (#2211)
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
* Ensure control server Unix socket is closed on shutdown (#2112)
* Preserve `BUNDLE_GEMFILE` env var when using `prune_bundler` (#1893)
* Send 408 request timeout even when queue requests is disabled (#2119)
* Rescue IO::WaitReadable instead of EAGAIN for blocking read (#2121)
* Ensure `BUNDLE_GEMFILE` is unspecified in workers if unspecified in master when using `prune_bundler` (#2154)
* Rescue and log exceptions in hooks defined by users (on_worker_boot, after_worker_fork etc) (#1551)
* Read directly from the socket in #read_and_drop to avoid raising further SSL errors (#2198)
* Set `Connection: closed` header when queue requests is disabled (#2216)
* Pass queued requests to thread pool on server shutdown (#2122)
* Fixed a few minor concurrency bugs in ThreadPool that may have affected non-GVL Rubies (#2220)
* Fix `out_of_band` hook never executed if the number of worker threads is > 1 (#2177)
* Fix ThreadPool#shutdown timeout accuracy (#2221)
* Fix `UserFileDefaultOptions#fetch` to properly use `default` (#2233)
* Improvements to `out_of_band` hook (#2234)
* Prefer the rackup file specified by the CLI (#2225)
* Fix for spawning subprocesses with fork_worker option (#2267)
* Set `CONTENT_LENGTH` for chunked requests (#2287)
* JRuby - Add Puma::MiniSSL::Engine#init? and #teardown methods, run all SSL tests (#2317)
* Improve shutdown reliability (#2312)
* Resolve issue with threadpool waiting counter decrement when thread is killed
* Constrain rake-compiler version to 0.9.4 to fix `ClassNotFound` exception when using MiniSSL with Java8.
* Fix recursive `prune_bundler` (#2319).
* Ensure that TCP_CORK is usable
* Fix corner case when request body is chunked (#2326)
* Fix filehandle leak in MiniSSL (#2299)
* Refactor
* Remove unused loader argument from Plugin initializer (#2095)
* Simplify `Configuration.random_token` and remove insecure fallback (#2102)
* Simplify `Runner#start_control` URL parsing (#2111)
* Removed the IOBuffer extension and replaced with Ruby (#1980)
* Update `Rack::Handler::Puma.run` to use `**options` (#2189)
* ThreadPool concurrency refactoring (#2220)
* JSON parse cluster worker stats instead of regex (#2124)
* Support parallel tests in verbose progress reporting (#2223)
* Refactor error handling in server accept loop (#2239)
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/www/ruby-puma/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/ruby-puma/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/ruby-puma/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ruby-puma/Makefile
diff -u pkgsrc/www/ruby-puma/Makefile:1.24 pkgsrc/www/ruby-puma/Makefile:1.25
--- pkgsrc/www/ruby-puma/Makefile:1.24 Mon Sep 14 15:37:58 2020
+++ pkgsrc/www/ruby-puma/Makefile Sat Sep 19 13:04:09 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2020/09/14 15:37:58 taca Exp $
+# $NetBSD: Makefile,v 1.25 2020/09/19 13:04:09 taca Exp $
-DISTNAME= puma-4.3.6
+DISTNAME= puma-5.0.0
CATEGORIES= www
MAINTAINER= taca%NetBSD.org@localhost
Index: pkgsrc/www/ruby-puma/PLIST
diff -u pkgsrc/www/ruby-puma/PLIST:1.10 pkgsrc/www/ruby-puma/PLIST:1.11
--- pkgsrc/www/ruby-puma/PLIST:1.10 Mon Dec 16 17:02:54 2019
+++ pkgsrc/www/ruby-puma/PLIST Sat Sep 19 13:04:09 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2019/12/16 17:02:54 taca Exp $
+@comment $NetBSD: PLIST,v 1.11 2020/09/19 13:04:09 taca Exp $
bin/puma${RUBY_SUFFIX}
bin/pumactl${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
@@ -12,15 +12,22 @@ ${GEM_LIBDIR}/bin/puma-wild
${GEM_LIBDIR}/bin/pumactl
${GEM_LIBDIR}/docs/architecture.md
${GEM_LIBDIR}/docs/deployment.md
+${GEM_LIBDIR}/docs/fork_worker.md
${GEM_LIBDIR}/docs/images/puma-connection-flow-no-reactor.png
${GEM_LIBDIR}/docs/images/puma-connection-flow.png
${GEM_LIBDIR}/docs/images/puma-general-arch.png
+${GEM_LIBDIR}/docs/jungle/README.md
+${GEM_LIBDIR}/docs/jungle/rc.d/README.md
+${GEM_LIBDIR}/docs/jungle/rc.d/puma
+${GEM_LIBDIR}/docs/jungle/rc.d/puma.conf
+${GEM_LIBDIR}/docs/jungle/upstart/README.md
+${GEM_LIBDIR}/docs/jungle/upstart/puma-manager.conf
+${GEM_LIBDIR}/docs/jungle/upstart/puma.conf
${GEM_LIBDIR}/docs/nginx.md
${GEM_LIBDIR}/docs/plugins.md
${GEM_LIBDIR}/docs/restart.md
${GEM_LIBDIR}/docs/signals.md
${GEM_LIBDIR}/docs/systemd.md
-${GEM_LIBDIR}/docs/tcp_mode.md
${GEM_LIBDIR}/ext/puma_http11/PumaHttp11Service.java
${GEM_LIBDIR}/ext/puma_http11/ext_help.h
${GEM_LIBDIR}/ext/puma_http11/extconf.rb
@@ -29,11 +36,10 @@ ${GEM_LIBDIR}/ext/puma_http11/http11_par
${GEM_LIBDIR}/ext/puma_http11/http11_parser.java.rl
${GEM_LIBDIR}/ext/puma_http11/http11_parser.rl
${GEM_LIBDIR}/ext/puma_http11/http11_parser_common.rl
-${GEM_LIBDIR}/ext/puma_http11/io_buffer.c
${GEM_LIBDIR}/ext/puma_http11/mini_ssl.c
+${GEM_LIBDIR}/ext/puma_http11/no_ssl/PumaHttp11Service.java
${GEM_LIBDIR}/ext/puma_http11/org/jruby/puma/Http11.java
${GEM_LIBDIR}/ext/puma_http11/org/jruby/puma/Http11Parser.java
-${GEM_LIBDIR}/ext/puma_http11/org/jruby/puma/IOBuffer.java
${GEM_LIBDIR}/ext/puma_http11/org/jruby/puma/MiniSSL.java
${GEM_LIBDIR}/ext/puma_http11/puma_http11.c
${GEM_LIBDIR}/lib/puma.rb
@@ -49,6 +55,7 @@ ${GEM_LIBDIR}/lib/puma/const.rb
${GEM_LIBDIR}/lib/puma/control_cli.rb
${GEM_LIBDIR}/lib/puma/detect.rb
${GEM_LIBDIR}/lib/puma/dsl.rb
+${GEM_LIBDIR}/lib/puma/error_logger.rb
${GEM_LIBDIR}/lib/puma/events.rb
${GEM_LIBDIR}/lib/puma/io_buffer.rb
${GEM_LIBDIR}/lib/puma/jruby_restart.rb
@@ -67,20 +74,9 @@ ${GEM_LIBDIR}/lib/puma/runner.rb
${GEM_LIBDIR}/lib/puma/server.rb
${GEM_LIBDIR}/lib/puma/single.rb
${GEM_LIBDIR}/lib/puma/state_file.rb
-${GEM_LIBDIR}/lib/puma/tcp_logger.rb
${GEM_LIBDIR}/lib/puma/thread_pool.rb
${GEM_LIBDIR}/lib/puma/util.rb
${GEM_LIBDIR}/lib/rack/handler/puma.rb
-${GEM_LIBDIR}/tools/docker/Dockerfile
-${GEM_LIBDIR}/tools/jungle/README.md
-${GEM_LIBDIR}/tools/jungle/init.d/README.md
-${GEM_LIBDIR}/tools/jungle/init.d/puma
-${GEM_LIBDIR}/tools/jungle/init.d/run-puma
-${GEM_LIBDIR}/tools/jungle/rc.d/README.md
-${GEM_LIBDIR}/tools/jungle/rc.d/puma
-${GEM_LIBDIR}/tools/jungle/rc.d/puma.conf
-${GEM_LIBDIR}/tools/jungle/upstart/README.md
-${GEM_LIBDIR}/tools/jungle/upstart/puma-manager.conf
-${GEM_LIBDIR}/tools/jungle/upstart/puma.conf
+${GEM_LIBDIR}/tools/Dockerfile
${GEM_LIBDIR}/tools/trickletest.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-puma/distinfo
diff -u pkgsrc/www/ruby-puma/distinfo:1.19 pkgsrc/www/ruby-puma/distinfo:1.20
--- pkgsrc/www/ruby-puma/distinfo:1.19 Mon Sep 14 15:37:58 2020
+++ pkgsrc/www/ruby-puma/distinfo Sat Sep 19 13:04:09 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.19 2020/09/14 15:37:58 taca Exp $
+$NetBSD: distinfo,v 1.20 2020/09/19 13:04:09 taca Exp $
-SHA1 (puma-4.3.6.gem) = ad28da102253dfdc8bc5268e23fc13560811ac20
-RMD160 (puma-4.3.6.gem) = d8901f985a7759d69a011a706d3c157d7c5fb0af
-SHA512 (puma-4.3.6.gem) = 08fbcec8efcd77b4f953550f912ab218d5d31d203f60460422563930419719f3e5cac9fd1f875628008e699139eccb16eac75a4af1c75966c7ba42fadf9df3a6
-Size (puma-4.3.6.gem) = 175104 bytes
+SHA1 (puma-5.0.0.gem) = 37117e937233ba720e03c931ce060c0b0015a356
+RMD160 (puma-5.0.0.gem) = 5d083490b3025e36a79c25c45d7b12242c3fcebf
+SHA512 (puma-5.0.0.gem) = 4539314717bda87763f2d2f2f907420d5017e13434fb8ee7306bd0c651c3261003e200c35db91f003c3e91c94e507e0b1d8fe2ca5f0557ba53bab0686e9089bf
+Size (puma-5.0.0.gem) = 177152 bytes
Home |
Main Index |
Thread Index |
Old Index