Hello community, here is the log from the commit of package rubygem-unicorn for openSUSE:Factory checked in at 2017-12-07 13:50:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-unicorn (Old) and /work/SRC/openSUSE:Factory/.rubygem-unicorn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-unicorn" Thu Dec 7 13:50:53 2017 rev:4 rq:533346 version:5.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-unicorn/rubygem-unicorn.changes 2017-04-17 10:27:01.260183491 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-unicorn.new/rubygem-unicorn.changes 2017-12-07 13:50:54.835659617 +0100 @@ -1,0 +2,109 @@ +Wed Oct 11 06:19:39 UTC 2017 - [email protected] + +- updated to version 5.3.1 + see installed NEWS + + === unicorn 5.3.0 / 2017-04-01 08:03 UTC + + A couple of portability fixes from Dylan Thacker-Smith and + Jeremy Evans since 5.3.0.pre1 over a week ago, but this looks + ready for a stable release, today. + + When I started this over 8 years ago, I wondered if this would + just end up being an April Fools' joke. Guess not. I guess I + somehow tricked people into using a terribly marketed web server + that cannot talk directly to untrusted clients :x Anyways, + unicorn won't be able to handle slow clients 8 years from now, + either, or 80 years from now. And I vow never to learn to use + new-fangled things like epoll, kqueue, or threads :P + + Anyways, this is a largish release with several new features, + and no backwards incompatibilities. + + Simon Eskildsen contributed heavily using TCP_INFO under Linux + to implement the (now 5 year old) check_client_connection feature: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-check_client_connection + https://bogomips.org/unicorn-public/?q=s:check_client_connection&d:..20170401&x=t + + This also led to FreeBSD and OpenBSD portability improvements in + one of our dependencies, raindrops: + + https://bogomips.org/raindrops-public/20170323024829.GA5190@dcvr/T/#u + + Jeremy Evans contributed several new features. First he + implemented after_worker_exit to aid debugging: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-after_worker_exit + https://bogomips.org/unicorn-public/?q=s:after_worker_exit&d:..20170401&x=t#t + + And then security-related features to isolate workers. Workers + may now chroot to drop access to the master filesystem, and the + new after_worker_ready configuration hook now exists to aid with + chroot support in workers: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-after_worker_ready + https://bogomips.org/unicorn/Unicorn/Worker.html#method-i-user + https://bogomips.org/unicorn-public/?q=s:after_worker_ready&d:..20170401&x=t#t + https://bogomips.org/unicorn-public/?q=s:chroot&d:..20170401&x=t#t + + Additionally, workers may run in a completely different VM space + (nullifying preload_app and any CoW savings) with the new + worker_exec option: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-worker_exec + https://bogomips.org/unicorn-public/?q=s:worker_exec&d:..20170401&x=t#t + + There are also several improvements to FreeBSD and OpenBSD + support with the addition of these features. + + shortlog of changes since v5.2.0 (2016-10-31): + + Dylan Thacker-Smith (1): + Check for Socket::TCP_INFO constant before trying to get TCP_INFO + + Eric Wong (30): + drop rb_str_set_len compatibility replacement + TUNING: document THP caveat for Linux users + tee_input: simplify condition for IO#write + remove response_start_sent + http_request: freeze constant strings passed IO#write + Revert "remove response_start_sent" + t/t0012-reload-empty-config.sh: access ivars directly if needed + t0011-active-unix-socket.sh: fix race condition in test + new test for check_client_connection + revert signature change to HttpServer#process_client + support "struct tcp_info" on non-Linux and Ruby 2.2+ + unicorn_http: reduce rb_global_variable calls + oob_gc: rely on opt_aref_with optimization on Ruby 2.2+ + http_request: reduce insn size for check_client_connection + freebsd: avoid EINVAL when setting accept filter + test-lib: expr(1) portability fix + tests: keep disabled tests defined + test_exec: SO_KEEPALIVE value only needs to be true + doc: fix links to raindrops project + http_request: support proposed Raindrops::TCP states on non-Linux + ISSUES: expand on mail archive info + subscription disclaimer + test_ccc: use a pipe to synchronize test + doc: remove private email support address + input: update documentation and hide internals. + http_server: initialize @pid ivar + gemspec: remove olddoc from build dependency + doc: add version annotations for new features + unicorn 5.3.0.pre1 + doc: note after_worker_exit is also 5.3.0+ + test_exec: SO_KEEPALIVE value only needs to be true (take #2) + + Jeremy Evans (7): + Add after_worker_exit configuration option + Fix code example in after_worker_exit documentation + Add support for chroot to Worker#user + Add after_worker_ready configuration option + Add worker_exec configuration option + Don't pass a block for fork when forking workers + Check for SocketError on first ccc attempt + + Simon Eskildsen (1): + check_client_connection: use tcp state on linux + +------------------------------------------------------------------- Old: ---- unicorn-5.3.0.gem New: ---- unicorn-5.3.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-unicorn.spec ++++++ --- /var/tmp/diff_new_pack.DiuqmA/_old 2017-12-07 13:50:55.535634125 +0100 +++ /var/tmp/diff_new_pack.DiuqmA/_new 2017-12-07 13:50:55.535634125 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-unicorn -Version: 5.3.0 +Version: 5.3.1 Release: 0 %define mod_name unicorn %define mod_full_name %{mod_name}-%{version} @@ -34,7 +34,7 @@ BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url: https://bogomips.org/unicorn/ -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: rubygem-unicorn-rpmlintrc Source2: series Source3: gem2rpm.yml ++++++ unicorn-5.3.0.gem -> unicorn-5.3.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GIT-VERSION-FILE new/GIT-VERSION-FILE --- old/GIT-VERSION-FILE 2017-04-01 10:04:41.000000000 +0200 +++ new/GIT-VERSION-FILE 2017-10-03 21:09:34.000000000 +0200 @@ -1 +1 @@ -GIT_VERSION = 5.3.0 +GIT_VERSION = 5.3.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GIT-VERSION-GEN new/GIT-VERSION-GEN --- old/GIT-VERSION-GEN 2017-04-01 10:04:41.000000000 +0200 +++ new/GIT-VERSION-GEN 2017-10-03 21:09:34.000000000 +0200 @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -DEF_VER = "v5.3.0" +DEF_VER = "v5.3.1" CONSTANT = "Unicorn::Const::UNICORN_VERSION" RVF = "lib/unicorn/version.rb" GVF = "GIT-VERSION-FILE" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LATEST new/LATEST --- old/LATEST 2017-04-01 10:04:41.000000000 +0200 +++ new/LATEST 2017-10-03 21:09:34.000000000 +0200 @@ -1,12 +1,25 @@ -=== unicorn 5.3.0.pre1 / 2017-03-24 00:25 UTC +=== unicorn 5.3.0 / 2017-04-01 08:03 UTC - A largish release with several new features. + A couple of portability fixes from Dylan Thacker-Smith and + Jeremy Evans since 5.3.0.pre1 over a week ago, but this looks + ready for a stable release, today. + + When I started this over 8 years ago, I wondered if this would + just end up being an April Fools' joke. Guess not. I guess I + somehow tricked people into using a terribly marketed web server + that cannot talk directly to untrusted clients :x Anyways, + unicorn won't be able to handle slow clients 8 years from now, + either, or 80 years from now. And I vow never to learn to use + new-fangled things like epoll, kqueue, or threads :P + + Anyways, this is a largish release with several new features, + and no backwards incompatibilities. Simon Eskildsen contributed heavily using TCP_INFO under Linux to implement the (now 5 year old) check_client_connection feature: https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-check_client_connection - https://bogomips.org/unicorn-public/?q=s:check_client_connection&d:..20170324&x=t + https://bogomips.org/unicorn-public/?q=s:check_client_connection&d:..20170401&x=t This also led to FreeBSD and OpenBSD portability improvements in one of our dependencies, raindrops: @@ -17,7 +30,7 @@ implemented after_worker_exit to aid debugging: https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-after_worker_exit - https://bogomips.org/unicorn-public/?q=s:after_worker_exit&d:..20170324&x=t#t + https://bogomips.org/unicorn-public/?q=s:after_worker_exit&d:..20170401&x=t#t And then security-related features to isolate workers. Workers may now chroot to drop access to the master filesystem, and the @@ -26,22 +39,25 @@ https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-after_worker_ready https://bogomips.org/unicorn/Unicorn/Worker.html#method-i-user - https://bogomips.org/unicorn-public/?q=s:after_worker_ready&d:..20170324&x=t#t - https://bogomips.org/unicorn-public/?q=s:chroot&d:..20170324&x=t#t + https://bogomips.org/unicorn-public/?q=s:after_worker_ready&d:..20170401&x=t#t + https://bogomips.org/unicorn-public/?q=s:chroot&d:..20170401&x=t#t Additionally, workers may run in a completely different VM space (nullifying preload_app and any CoW savings) with the new worker_exec option: https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-worker_exec - https://bogomips.org/unicorn-public/?q=s:worker_exec&d:..20170324&x=t#t + https://bogomips.org/unicorn-public/?q=s:worker_exec&d:..20170401&x=t#t There are also several improvements to FreeBSD and OpenBSD support with the addition of these features. - 34 changes since 5.2.0 (2016-10-31): + shortlog of changes since v5.2.0 (2016-10-31): + + Dylan Thacker-Smith (1): + Check for Socket::TCP_INFO constant before trying to get TCP_INFO - Eric Wong (27): + Eric Wong (30): drop rb_str_set_len compatibility replacement TUNING: document THP caveat for Linux users tee_input: simplify condition for IO#write @@ -69,14 +85,18 @@ http_server: initialize @pid ivar gemspec: remove olddoc from build dependency doc: add version annotations for new features + unicorn 5.3.0.pre1 + doc: note after_worker_exit is also 5.3.0+ + test_exec: SO_KEEPALIVE value only needs to be true (take #2) - Jeremy Evans (6): + Jeremy Evans (7): Add after_worker_exit configuration option Fix code example in after_worker_exit documentation Add support for chroot to Worker#user Add after_worker_ready configuration option Add worker_exec configuration option Don't pass a block for fork when forking workers + Check for SocketError on first ccc attempt Simon Eskildsen (1): check_client_connection: use tcp state on linux diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NEWS new/NEWS --- old/NEWS 2017-04-01 10:04:41.000000000 +0200 +++ new/NEWS 2017-10-03 21:09:34.000000000 +0200 @@ -1,3 +1,106 @@ +=== unicorn 5.3.0 / 2017-04-01 08:03 UTC + + A couple of portability fixes from Dylan Thacker-Smith and + Jeremy Evans since 5.3.0.pre1 over a week ago, but this looks + ready for a stable release, today. + + When I started this over 8 years ago, I wondered if this would + just end up being an April Fools' joke. Guess not. I guess I + somehow tricked people into using a terribly marketed web server + that cannot talk directly to untrusted clients :x Anyways, + unicorn won't be able to handle slow clients 8 years from now, + either, or 80 years from now. And I vow never to learn to use + new-fangled things like epoll, kqueue, or threads :P + + Anyways, this is a largish release with several new features, + and no backwards incompatibilities. + + Simon Eskildsen contributed heavily using TCP_INFO under Linux + to implement the (now 5 year old) check_client_connection feature: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-check_client_connection + https://bogomips.org/unicorn-public/?q=s:check_client_connection&d:..20170401&x=t + + This also led to FreeBSD and OpenBSD portability improvements in + one of our dependencies, raindrops: + + https://bogomips.org/raindrops-public/20170323024829.GA5190@dcvr/T/#u + + Jeremy Evans contributed several new features. First he + implemented after_worker_exit to aid debugging: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-after_worker_exit + https://bogomips.org/unicorn-public/?q=s:after_worker_exit&d:..20170401&x=t#t + + And then security-related features to isolate workers. Workers + may now chroot to drop access to the master filesystem, and the + new after_worker_ready configuration hook now exists to aid with + chroot support in workers: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-after_worker_ready + https://bogomips.org/unicorn/Unicorn/Worker.html#method-i-user + https://bogomips.org/unicorn-public/?q=s:after_worker_ready&d:..20170401&x=t#t + https://bogomips.org/unicorn-public/?q=s:chroot&d:..20170401&x=t#t + + Additionally, workers may run in a completely different VM space + (nullifying preload_app and any CoW savings) with the new + worker_exec option: + + https://bogomips.org/unicorn/Unicorn/Configurator.html#method-i-worker_exec + https://bogomips.org/unicorn-public/?q=s:worker_exec&d:..20170401&x=t#t + + There are also several improvements to FreeBSD and OpenBSD + support with the addition of these features. + + shortlog of changes since v5.2.0 (2016-10-31): + + Dylan Thacker-Smith (1): + Check for Socket::TCP_INFO constant before trying to get TCP_INFO + + Eric Wong (30): + drop rb_str_set_len compatibility replacement + TUNING: document THP caveat for Linux users + tee_input: simplify condition for IO#write + remove response_start_sent + http_request: freeze constant strings passed IO#write + Revert "remove response_start_sent" + t/t0012-reload-empty-config.sh: access ivars directly if needed + t0011-active-unix-socket.sh: fix race condition in test + new test for check_client_connection + revert signature change to HttpServer#process_client + support "struct tcp_info" on non-Linux and Ruby 2.2+ + unicorn_http: reduce rb_global_variable calls + oob_gc: rely on opt_aref_with optimization on Ruby 2.2+ + http_request: reduce insn size for check_client_connection + freebsd: avoid EINVAL when setting accept filter + test-lib: expr(1) portability fix + tests: keep disabled tests defined + test_exec: SO_KEEPALIVE value only needs to be true + doc: fix links to raindrops project + http_request: support proposed Raindrops::TCP states on non-Linux + ISSUES: expand on mail archive info + subscription disclaimer + test_ccc: use a pipe to synchronize test + doc: remove private email support address + input: update documentation and hide internals. + http_server: initialize @pid ivar + gemspec: remove olddoc from build dependency + doc: add version annotations for new features + unicorn 5.3.0.pre1 + doc: note after_worker_exit is also 5.3.0+ + test_exec: SO_KEEPALIVE value only needs to be true (take #2) + + Jeremy Evans (7): + Add after_worker_exit configuration option + Fix code example in after_worker_exit documentation + Add support for chroot to Worker#user + Add after_worker_ready configuration option + Add worker_exec configuration option + Don't pass a block for fork when forking workers + Check for SocketError on first ccc attempt + + Simon Eskildsen (1): + check_client_connection: use tcp state on linux + === unicorn 5.3.0.pre1 / 2017-03-24 00:25 UTC A largish release with several new features. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ext/unicorn_http/unicorn_http.c new/ext/unicorn_http/unicorn_http.c --- old/ext/unicorn_http/unicorn_http.c 2017-04-01 10:04:41.000000000 +0200 +++ new/ext/unicorn_http/unicorn_http.c 2017-10-03 21:09:34.000000000 +0200 @@ -4215,6 +4215,7 @@ VALUE mUnicorn, cHttpParser; mark_ary = rb_ary_new(); + rb_global_variable(&mark_ary); mUnicorn = rb_define_module("Unicorn"); cHttpParser = rb_define_class_under(mUnicorn, "HttpParser", rb_cObject); eHttpParserError = @@ -4270,7 +4271,6 @@ init_unicorn_httpdate(mark_ary); OBJ_FREEZE(mark_ary); - rb_global_variable(&mark_ary); #ifndef HAVE_RB_HASH_CLEAR id_clear = rb_intern("clear"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ext/unicorn_http/unicorn_http.rl new/ext/unicorn_http/unicorn_http.rl --- old/ext/unicorn_http/unicorn_http.rl 2017-04-01 10:04:41.000000000 +0200 +++ new/ext/unicorn_http/unicorn_http.rl 2017-10-03 21:09:34.000000000 +0200 @@ -921,6 +921,7 @@ VALUE mUnicorn, cHttpParser; mark_ary = rb_ary_new(); + rb_global_variable(&mark_ary); mUnicorn = rb_define_module("Unicorn"); cHttpParser = rb_define_class_under(mUnicorn, "HttpParser", rb_cObject); eHttpParserError = @@ -976,7 +977,6 @@ init_unicorn_httpdate(mark_ary); OBJ_FREEZE(mark_ary); - rb_global_variable(&mark_ary); #ifndef HAVE_RB_HASH_CLEAR id_clear = rb_intern("clear"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/unicorn/version.rb new/lib/unicorn/version.rb --- old/lib/unicorn/version.rb 2017-04-01 10:04:41.000000000 +0200 +++ new/lib/unicorn/version.rb 2017-10-03 21:09:34.000000000 +0200 @@ -1 +1 @@ -Unicorn::Const::UNICORN_VERSION = '5.3.0' +Unicorn::Const::UNICORN_VERSION = '5.3.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-04-01 10:04:41.000000000 +0200 +++ new/metadata 2017-10-03 21:09:34.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: unicorn version: !ruby/object:Gem::Version - version: 5.3.0 + version: 5.3.1 platform: ruby authors: - unicorn hackers autorequire: bindir: bin cert_chain: [] -date: 2017-04-01 00:00:00.000000000 Z +date: 2017-10-03 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rack @@ -288,7 +288,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.6.10 +rubygems_version: 2.6.13 signing_key: specification_version: 4 summary: Rack HTTP server for fast clients and Unix diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unicorn.gemspec new/unicorn.gemspec --- old/unicorn.gemspec 2017-04-01 10:04:41.000000000 +0200 +++ new/unicorn.gemspec 2017-10-03 21:09:34.000000000 +0200 @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.name = %q{unicorn} - s.version = (ENV['VERSION'] || '5.3.0').dup + s.version = (ENV['VERSION'] || '5.3.1').dup s.authors = ['unicorn hackers'] s.summary = 'Rack HTTP server for fast clients and Unix' s.description = File.read('README').split("\n\n")[1]
