summaryrefslogtreecommitdiff
path: root/www/ruby-unicorn
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-06-11 17:07:56 +0000
committertaca <taca@pkgsrc.org>2015-06-11 17:07:56 +0000
commit43a25a6f689c0b5b86177b514756d91539580cdd (patch)
treeffca1807190203500774dd00d533676518183bc6 /www/ruby-unicorn
parenta8931343017b02b6e8c8a443847e0f310715142c (diff)
downloadpkgsrc-43a25a6f689c0b5b86177b514756d91539580cdd.tar.gz
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 (limited to 'www/ruby-unicorn')
-rw-r--r--www/ruby-unicorn/ALTERNATIVES2
-rw-r--r--www/ruby-unicorn/Makefile7
-rw-r--r--www/ruby-unicorn/PLIST13
-rw-r--r--www/ruby-unicorn/distinfo8
4 files changed, 15 insertions, 15 deletions
diff --git a/www/ruby-unicorn/ALTERNATIVES b/www/ruby-unicorn/ALTERNATIVES
new file mode 100644
index 00000000000..5c139429d49
--- /dev/null
+++ b/www/ruby-unicorn/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/unicorn @PREFIX@/bin/unicorn@RUBY_SUFFIX@
+bin/unicorn_rails @PREFIX@/bin/unicorn_rails@RUBY_SUFFIX@
diff --git a/www/ruby-unicorn/Makefile b/www/ruby-unicorn/Makefile
index 5a7fa1b6680..eaa8b40b492 100644
--- a/www/ruby-unicorn/Makefile
+++ b/www/ruby-unicorn/Makefile
@@ -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
@@ -8,13 +8,12 @@ HOMEPAGE= http://unicorn.bogomips.org/
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 --git a/www/ruby-unicorn/PLIST b/www/ruby-unicorn/PLIST
index 50a76fcff19..3837786a27a 100644
--- a/www/ruby-unicorn/PLIST
+++ b/www/ruby-unicorn/PLIST
@@ -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}/.document
${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/util.rb
${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_tee_input.rb
${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 --git a/www/ruby-unicorn/distinfo b/www/ruby-unicorn/distinfo
index cef031745c7..f1df2e9337d 100644
--- a/www/ruby-unicorn/distinfo
+++ b/www/ruby-unicorn/distinfo
@@ -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