pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-unicorn Update ruby-unicorn to 4.9.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b817a90cff6c
branches:  trunk
changeset: 653048:b817a90cff6c
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 11 17:07:56 2015 +0000

description:
Update ruby-unicorn to 4.9.0.

pkgsrc change: add support for pkg_alternatives.


unicorn 4.9.0 - TempfileReaper support in Rack 1.6

This release supports the Rack::TempfileReaper middleware found
in rack 1.6 for cleaning up disk space used by temporary files.
We also use Rack::TempfileReaper for cleaning up large temporary
files buffered with TeeInput.  Users on rack 1.5 and earlier
will see no changes.

There's also a bunch of documentation/build system improvements.

This is likely to be the last Ruby 1.8-compatible release,
unicorn 5.x will require 1.9.3 or later as well as dropping lots
of cruft (the stupid "Status:" header in responses being the
most notable).

21 changes backported from master:

      ISSUES: update with mailing list subscription
      FAQ: add entry for Rails autoflush_log
      dev: remove isolate dependency
      unicorn.gemspec: depend on test-unit 3.0
      remove RubyForge and Freecode references
      remove mongrel.rubyforge.org references
      examples: add run_once to before_fork hook example
      t/t0002-parser-error.sh: relax test for rack 1.6.0
      switch docs + website to olddoc
      README: clarify/reduce references to unicorn_rails
      gemspec: fixup olddoc migration
      GNUmakefile: fix clean gem build + reduce build cruft
      doc: update support status for Ruby versions
      fix uninstalled testing and reduce require paths
      test_socket_helper: do not depend on SO_REUSEPORT
      ISSUES: add section for bugs in other projects
      explain 11 byte magic number for self-pipe
      Links: mark Rainbows! as historical, reference yahns
      doc: document UNICORN_FD in manpage
      tee_input: support for Rack::TempfileReaper middleware
      support TempfileReaper in deployment and development envs

diffstat:

 www/ruby-unicorn/ALTERNATIVES |   2 ++
 www/ruby-unicorn/Makefile     |   7 +++----
 www/ruby-unicorn/PLIST        |  13 ++++++-------
 www/ruby-unicorn/distinfo     |   8 ++++----
 4 files changed, 15 insertions(+), 15 deletions(-)

diffs (90 lines):

diff -r cd4f45eb33ea -r b817a90cff6c www/ruby-unicorn/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-unicorn/ALTERNATIVES     Thu Jun 11 17:07:56 2015 +0000
@@ -0,0 +1,2 @@
+bin/unicorn @PREFIX@/bin/unicorn@RUBY_SUFFIX@
+bin/unicorn_rails @PREFIX@/bin/unicorn_rails@RUBY_SUFFIX@
diff -r cd4f45eb33ea -r b817a90cff6c www/ruby-unicorn/Makefile
--- a/www/ruby-unicorn/Makefile Thu Jun 11 17:04:17 2015 +0000
+++ b/www/ruby-unicorn/Makefile Thu Jun 11 17:07:56 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2015/03/08 15:35:47 taca Exp $
+# $NetBSD: Makefile,v 1.8 2015/06/11 17:07:56 taca Exp $
 
-DISTNAME=      unicorn-4.8.3
+DISTNAME=      unicorn-4.9.0
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc%NetBSD.org@localhost
@@ -8,13 +8,12 @@
 COMMENT=       Rack HTTP server for fast clients and Unix
 LICENSE=       ruby-license OR gnu-gpl-v2 OR gnu-gpl-v3
 
-CONFLICTS=     ruby[1-9][0-9]-unicorn-[0-9]*
-
 DEPENDS+=      ${RUBY_PKGPREFIX}-kgio>=2.6<3:../../devel/ruby-kgio
 DEPENDS+=      ${RUBY_PKGPREFIX}-rack-[0-9]*:../../www/ruby-rack
 DEPENDS+=      ${RUBY_PKGPREFIX}-raindrops>=0.7<1:../../www/ruby-raindrops
 
 USE_GCC_RUNTIME=       yes
+RUBYGEM_OPTIONS+=      --format-executable
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r cd4f45eb33ea -r b817a90cff6c www/ruby-unicorn/PLIST
--- a/www/ruby-unicorn/PLIST    Thu Jun 11 17:04:17 2015 +0000
+++ b/www/ruby-unicorn/PLIST    Thu Jun 11 17:07:56 2015 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.7 2015/03/08 15:35:47 taca Exp $
-bin/unicorn
-bin/unicorn_rails
+@comment $NetBSD: PLIST,v 1.8 2015/06/11 17:07:56 taca Exp $
+bin/unicorn${RUBY_SUFFIX}
+bin/unicorn_rails${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/unicorn_http.${RUBY_DLEXT}
@@ -9,11 +9,10 @@
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.mailmap
 ${GEM_LIBDIR}/.manifest
-${GEM_LIBDIR}/.wrongdoc.yml
+${GEM_LIBDIR}/.olddoc.yml
 ${GEM_LIBDIR}/Application_Timeouts
 ${GEM_LIBDIR}/CONTRIBUTORS
 ${GEM_LIBDIR}/COPYING
-${GEM_LIBDIR}/ChangeLog
 ${GEM_LIBDIR}/DESIGN
 ${GEM_LIBDIR}/Documentation/.gitignore
 ${GEM_LIBDIR}/Documentation/GNUmakefile
@@ -85,10 +84,8 @@
 ${GEM_LIBDIR}/lib/unicorn/version.rb
 ${GEM_LIBDIR}/lib/unicorn/worker.rb
 ${GEM_LIBDIR}/lib/unicorn_http.${RUBY_DLEXT}
-${GEM_LIBDIR}/local.mk.sample
 ${GEM_LIBDIR}/man/man1/unicorn.1
 ${GEM_LIBDIR}/man/man1/unicorn_rails.1
-${GEM_LIBDIR}/script/isolate_for_tests
 ${GEM_LIBDIR}/setup.rb
 ${GEM_LIBDIR}/t/.gitignore
 ${GEM_LIBDIR}/t/GNUmakefile
@@ -171,4 +168,6 @@
 ${GEM_LIBDIR}/test/unit/test_upload.rb
 ${GEM_LIBDIR}/test/unit/test_util.rb
 ${GEM_LIBDIR}/unicorn.gemspec
+${GEM_LIBDIR}/unicorn_1
+${GEM_LIBDIR}/unicorn_rails_1
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r cd4f45eb33ea -r b817a90cff6c www/ruby-unicorn/distinfo
--- a/www/ruby-unicorn/distinfo Thu Jun 11 17:04:17 2015 +0000
+++ b/www/ruby-unicorn/distinfo Thu Jun 11 17:07:56 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2015/03/08 15:35:47 taca Exp $
+$NetBSD: distinfo,v 1.7 2015/06/11 17:07:56 taca Exp $
 
-SHA1 (unicorn-4.8.3.gem) = 87c5e54e3054c0bfb2befe22de1c81429070b15f
-RMD160 (unicorn-4.8.3.gem) = 4152737ad3cf74c3ee458357b1d100bc671658df
-Size (unicorn-4.8.3.gem) = 271360 bytes
+SHA1 (unicorn-4.9.0.gem) = 7759ac5d5c0ac3c809407972029096a643c74908
+RMD160 (unicorn-4.9.0.gem) = 8e4cf17ba9e355ba5056ad9748f4f476ea3e6494
+Size (unicorn-4.9.0.gem) = 211456 bytes



Home | Main Index | Thread Index | Old Index