pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-puma www/ruby-puma: update to 4.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/694d358efa2e
branches:  trunk
changeset: 345734:694d358efa2e
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Dec 16 17:02:54 2019 +0000

description:
www/ruby-puma: update to 4.3.1

## 4.3.1 and 3.12.2 / 2019-12-05

* Security
  * Fix: a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. CVE-2019-16770.

## 4.3.0 / 2019-11-07

* Features
  * Strip whitespace at end of HTTP headers (#2010)
  * Optimize HTTP parser for JRuby (#2012)
  * Add SSL support for the control app and cli (#2046, #2052)

* Bugfixes
  * Fix Errno::EINVAL when SSL is enabled and browser rejects cert (#1564)
  * Fix pumactl defaulting puma to development if an environment was not specified (#2035)
  * Fix closing file stream when reading pid from pidfile (#2048)
  * Fix a typo in configuration option `--extra_runtime_dependencies` (#2050)

## 4.2.1 / 2019-10-07

* 3 bugfixes
  * Fix socket activation of systemd (pre-existing) unix binder files (#1842, #1988)
  * Deal with multiple calls to bind correctly (#1986, #1994, #2006)
  * Accepts symbols for `verify_mode` (#1222)

## 4.2.0 / 2019-09-23

* 6 features
  * Pumactl has a new -e environment option and reads `config/puma/<environment>.rb` config files (#1885)
  * Semicolons are now allowed in URL paths (MRI only), useful for Angular or Redmine (#1934)
  * Allow extra dependencies to be defined when using prune_bundler (#1105)
  * Puma now reports the correct port when binding to port 0, also reports other listeners when binding to localhost (#1786)
  * Sending SIGINFO to any Puma worker now prints currently active threads and their backtraces (#1320)
  * Puma threads all now have their name set on Ruby 2.3+ (#1968)
* 4 bugfixes
  * Fix some misbehavior with phased restart and externally SIGTERMed workers (#1908, #1952)
  * Fix socket closing on error (#1941)
  * Removed unnecessary SIGINT trap for JRuby that caused some race conditions (#1961)
  * Fix socket files being left around after process stopped (#1970)
* Absolutely thousands of lines of test improvements and fixes thanks to @MSP-Greg

## 4.1.1 / 2019-09-05

* 3 bugfixes
  * Revert our attempt to not dup STDOUT/STDERR (#1946)
  * Fix socket close on error (#1941)
  * Fix workers not shutting down correctly (#1908)

## 4.1.0 / 2019-08-08

* 4 features
  * Add REQUEST_PATH on parse error message (#1831)
  * You can now easily add custom log formatters with the `log_formatter` config option (#1816)
  * Puma.stats now provides process start times (#1844)
  * Add support for disabling TLSv1.1 (#1836)

* 7 bugfixes
  * Fix issue where Puma was creating zombie process entries (#1887)
  * Fix bugs with line-endings and chunked encoding (#1812)
  * RACK_URL_SCHEME is now set correctly in all conditions (#1491)
  * We no longer mutate global STDOUT/STDERR, particularly the sync setting (#1837)
  * SSL read_nonblock no longer blocks (#1857)
  * Swallow connection errors when sending early hints (#1822)
  * Backtrace no longer dumped when invalid pumactl commands are run (#1863)

* 5 other
  * Avoid casting worker_timeout twice (#1838)
  * Removed a call to private that wasn't doing anything (#1882)
  * README, Rakefile, docs and test cleanups (#1848, #1847, #1846, #1853, #1859, #1850, #1866, #1870, #1872, #1833, #1888)
  * Puma.io has proper documentation now (https://puma.io/puma/)
  * Added the Contributor Covenant CoC

* 1 known issue
  * Some users are still experiencing issues surrounding socket activation and Unix sockets (#1842)

## 4.0.1 / 2019-07-11

* 2 bugfixes
  * Fix socket removed after reload - should fix problems with systemd socket activation. (#1829)
  * Add extconf tests for DTLS_method & TLS_server_method, use in minissl.rb. Should fix "undefined symbol: DTLS_method" when compiling against old OpenSSL versions. (#1832)
  * Removed unnecessary RUBY_VERSION checks. (#1827)

## 4.0.0 / 2019-06-25

9 features
  * Add support for disabling TLSv1.0 (#1562)
  * Request body read time metric (#1569)
  * Add out_of_band hook (#1648)
  * Re-implement (native) IOBuffer for JRuby (#1691)
  * Min worker timeout (#1716)
  * Add option to suppress SignalException on SIGTERM (#1690)
  * Allow mutual TLS CA to be set using `ssl_bind` DSL (#1689)
  * Reactor now uses nio4r instead of `select` (#1728)
9 x bugfixes
  * Do not accept new requests on shutdown (#1685, #1808)
  * Fix 3 corner cases when request body is chunked (#1508)
  * Change pid existence check's condition branches (#1650)
  * Don't call .stop on a server that doesn't exist (#1655)
  * Implemented NID_X9_62_prime256v1 (P-256) curve over P-521 (#1671)
  * Fix @notify.close can't modify frozen IOError (RuntimeError) (#1583)
  * Fix Java 8 support (#1773)
  * Fix error `uninitialized constant Puma::Cluster` (#1731)
  * Fix `not_token` being able to be set to true (#1803)

## 3.12.1 / 2019-01-08

* 1 features
  * Internal strings are frozen (#1649)
* 3 bugfixes
  * Fix chunked ending check (#1607)
  * Rack handler should use provided default host (#1700)
  * Better support for detecting runtimes that support `fork` (#1630)

diffstat:

 www/ruby-puma/Makefile |   6 ++++--
 www/ruby-puma/PLIST    |  12 +++++-------
 www/ruby-puma/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 14 deletions(-)

diffs (97 lines):

diff -r c0590f6263fe -r 694d358efa2e www/ruby-puma/Makefile
--- a/www/ruby-puma/Makefile    Mon Dec 16 16:53:19 2019 +0000
+++ b/www/ruby-puma/Makefile    Mon Dec 16 17:02:54 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2018/09/23 16:55:59 taca Exp $
+# $NetBSD: Makefile,v 1.18 2019/12/16 17:02:54 taca Exp $
 
-DISTNAME=      puma-3.12.0
+DISTNAME=      puma-4.3.1
 CATEGORIES=    www
 
 MAINTAINER=    taca%NetBSD.org@localhost
@@ -8,6 +8,8 @@
 COMMENT=       Modern concurrent web server for Ruby
 LICENSE=       mit
 
+DEPENDS+=      ${RUBY_PKGPREFIX}-nio4r>=2.0<3:../../net/ruby-nio4r
+
 RUBYGEM_OPTIONS+=      --format-executable
 USE_GCC_RUNTIME=       yes
 
diff -r c0590f6263fe -r 694d358efa2e www/ruby-puma/PLIST
--- a/www/ruby-puma/PLIST       Mon Dec 16 16:53:19 2019 +0000
+++ b/www/ruby-puma/PLIST       Mon Dec 16 17:02:54 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/05/06 02:28:11 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/12/16 17:02:54 taca Exp $
 bin/puma${RUBY_SUFFIX}
 bin/pumactl${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
@@ -20,6 +20,7 @@
 ${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
@@ -32,6 +33,7 @@
 ${GEM_LIBDIR}/ext/puma_http11/mini_ssl.c
 ${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
@@ -42,26 +44,21 @@
 ${GEM_LIBDIR}/lib/puma/client.rb
 ${GEM_LIBDIR}/lib/puma/cluster.rb
 ${GEM_LIBDIR}/lib/puma/commonlogger.rb
-${GEM_LIBDIR}/lib/puma/compat.rb
 ${GEM_LIBDIR}/lib/puma/configuration.rb
 ${GEM_LIBDIR}/lib/puma/const.rb
 ${GEM_LIBDIR}/lib/puma/control_cli.rb
-${GEM_LIBDIR}/lib/puma/convenient.rb
-${GEM_LIBDIR}/lib/puma/daemon_ext.rb
-${GEM_LIBDIR}/lib/puma/delegation.rb
 ${GEM_LIBDIR}/lib/puma/detect.rb
 ${GEM_LIBDIR}/lib/puma/dsl.rb
 ${GEM_LIBDIR}/lib/puma/events.rb
 ${GEM_LIBDIR}/lib/puma/io_buffer.rb
-${GEM_LIBDIR}/lib/puma/java_io_buffer.rb
 ${GEM_LIBDIR}/lib/puma/jruby_restart.rb
 ${GEM_LIBDIR}/lib/puma/launcher.rb
 ${GEM_LIBDIR}/lib/puma/minissl.rb
+${GEM_LIBDIR}/lib/puma/minissl/context_builder.rb
 ${GEM_LIBDIR}/lib/puma/null_io.rb
 ${GEM_LIBDIR}/lib/puma/plugin.rb
 ${GEM_LIBDIR}/lib/puma/plugin/tmp_restart.rb
 ${GEM_LIBDIR}/lib/puma/puma_http11.${RUBY_DLEXT}
-${GEM_LIBDIR}/lib/puma/rack/backports/uri/common_193.rb
 ${GEM_LIBDIR}/lib/puma/rack/builder.rb
 ${GEM_LIBDIR}/lib/puma/rack/urlmap.rb
 ${GEM_LIBDIR}/lib/puma/rack_default.rb
@@ -74,6 +71,7 @@
 ${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
diff -r c0590f6263fe -r 694d358efa2e www/ruby-puma/distinfo
--- a/www/ruby-puma/distinfo    Mon Dec 16 16:53:19 2019 +0000
+++ b/www/ruby-puma/distinfo    Mon Dec 16 17:02:54 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/09/23 16:55:59 taca Exp $
+$NetBSD: distinfo,v 1.15 2019/12/16 17:02:54 taca Exp $
 
-SHA1 (puma-3.12.0.gem) = db0a9f71913bf962497a9d8b3b92d9ba3a46f67a
-RMD160 (puma-3.12.0.gem) = cc674d35e15037ea85410f28805d482dbd8064be
-SHA512 (puma-3.12.0.gem) = d940675c488830a2a656b3f86483226cc2cfaefea87e763280a1a831fea033f75e54b8c15d3609d041814b095288a73a44d32d9ec05831f3e9aeac6b01ddd1ff
-Size (puma-3.12.0.gem) = 165376 bytes
+SHA1 (puma-4.3.1.gem) = 52bcde6c797507c684e85c9b694055f1062c79da
+RMD160 (puma-4.3.1.gem) = fed232117b9144080ef7a91e3e4738783065c86d
+SHA512 (puma-4.3.1.gem) = c16344ecf93dbdf13ba43ee3907d24f42b035138d21684c80ae9c189c65313542cd31c7b6d931dc7b44787bbca328c1cbbce16e76223be50d5192df41b0f3736
+Size (puma-4.3.1.gem) = 174592 bytes



Home | Main Index | Thread Index | Old Index