This updates unicorn (and its dependency raindrops) to the latest releases. This actually uses a prerelease of unicorn. I would like to commit this before the release of 6.1 because it has numerous security enhancements that I added, including support for chroot(2) and fork+exec, and a hook that makes it easy to call pledge(2) after loading the application but before accepting requests (using security/ruby-pledge).
Release announcements: https://bogomips.org/unicorn-public/20170324002838.GA17881@dcvr/T/#u https://bogomips.org/raindrops-public/20170323024829.GA5190@dcvr/T/#u Tested on amd64. I'll be committing in a couple days unless I hear objections. Thanks, Jeremy Index: www/ruby-raindrops/Makefile =================================================================== RCS file: /cvs/ports/www/ruby-raindrops/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- www/ruby-raindrops/Makefile 23 Feb 2017 17:48:35 -0000 1.15 +++ www/ruby-raindrops/Makefile 24 Mar 2017 15:10:34 -0000 @@ -2,7 +2,7 @@ COMMENT = real-time stats toolkit for Rack HTTP servers -DISTNAME = raindrops-0.17.0 +DISTNAME = raindrops-0.18.0 CATEGORIES = www MAINTAINER = Jeremy Evans <jer...@openbsd.org> Index: www/ruby-raindrops/distinfo =================================================================== RCS file: /cvs/ports/www/ruby-raindrops/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- www/ruby-raindrops/distinfo 4 Nov 2016 21:46:42 -0000 1.5 +++ www/ruby-raindrops/distinfo 24 Mar 2017 15:10:53 -0000 @@ -1,2 +1,2 @@ -SHA256 (raindrops-0.17.0.gem) = eBwlPTsRfvpyJWAgHIU2wT6zeXh4hTvYx+3zl9sr0us= -SIZE (raindrops-0.17.0.gem) = 59392 +SHA256 (raindrops-0.18.0.gem) = n+kaXD77eSiIlol0S5z4Zx9Cew8kiwZ229CDQlWspCA= +SIZE (raindrops-0.18.0.gem) = 61952 Index: www/ruby-raindrops/pkg/PLIST =================================================================== RCS file: /cvs/ports/www/ruby-raindrops/pkg/PLIST,v retrieving revision 1.4 diff -u -p -r1.4 PLIST --- www/ruby-raindrops/pkg/PLIST 4 Nov 2016 21:46:42 -0000 1.4 +++ www/ruby-raindrops/pkg/PLIST 24 Mar 2017 15:11:34 -0000 @@ -54,12 +54,12 @@ ${GEM_LIB}/gems/${DISTNAME}/test/test_li ${GEM_LIB}/gems/${DISTNAME}/test/test_linux_all_tcp_listen_stats_leak.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_linux_ipv6.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_linux_middleware.rb -${GEM_LIB}/gems/${DISTNAME}/test/test_linux_tcp_info.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_middleware.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_middleware_unicorn.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_middleware_unicorn_ipv6.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_raindrops.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_raindrops_gc.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_struct.rb +${GEM_LIB}/gems/${DISTNAME}/test/test_tcp_info.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_watcher.rb ${GEM_LIB}/specifications/${DISTNAME}.gemspec Index: www/ruby-unicorn/Makefile =================================================================== RCS file: /cvs/ports/www/ruby-unicorn/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- www/ruby-unicorn/Makefile 4 Nov 2016 21:48:33 -0000 1.19 +++ www/ruby-unicorn/Makefile 24 Mar 2017 15:08:13 -0000 @@ -2,7 +2,8 @@ COMMENT = ruby-rack HTTP server for Unix and fast clients -DISTNAME = unicorn-5.2.0 +DISTNAME = unicorn-5.3.0.pre1 +PKGNAME = unicorn-5.3.0pre1 CATEGORIES = www HOMEPAGE = https://bogomips.org/unicorn/ Index: www/ruby-unicorn/distinfo =================================================================== RCS file: /cvs/ports/www/ruby-unicorn/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- www/ruby-unicorn/distinfo 4 Nov 2016 21:48:33 -0000 1.10 +++ www/ruby-unicorn/distinfo 24 Mar 2017 15:08:17 -0000 @@ -1,2 +1,2 @@ -SHA256 (unicorn-5.2.0.gem) = JaIhu68ieBOqZ2ldJR+oWcjW5jm+Sh91HEisjyoyq1E= -SIZE (unicorn-5.2.0.gem) = 212480 +SHA256 (unicorn-5.3.0.pre1.gem) = EsqfpT9EVtyCyA+BdmCxNu6IV3Lg8123KCSTCuTvS1U= +SIZE (unicorn-5.3.0.pre1.gem) = 215552 Index: www/ruby-unicorn/pkg/PLIST =================================================================== RCS file: /cvs/ports/www/ruby-unicorn/pkg/PLIST,v retrieving revision 1.9 diff -u -p -r1.9 PLIST --- www/ruby-unicorn/pkg/PLIST 3 Jan 2016 16:43:13 -0000 1.9 +++ www/ruby-unicorn/pkg/PLIST 24 Mar 2017 15:09:28 -0000 @@ -148,6 +148,7 @@ ${GEM_LIB}/gems/${DISTNAME}/test/exec/RE ${GEM_LIB}/gems/${DISTNAME}/test/exec/test_exec.rb ${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb ${GEM_LIB}/gems/${DISTNAME}/test/unit/ +${GEM_LIB}/gems/${DISTNAME}/test/unit/test_ccc.rb ${GEM_LIB}/gems/${DISTNAME}/test/unit/test_configurator.rb ${GEM_LIB}/gems/${DISTNAME}/test/unit/test_droplet.rb ${GEM_LIB}/gems/${DISTNAME}/test/unit/test_http_parser.rb