Update to ruby-passenger-2.2.5.

ChangeLog:
http://blog.phusion.nl/2009/09/01/phusion-passenger-2-2-5-released/

One patch went upstream.
This commit is contained in:
bernd 2009-09-01 17:45:43 +00:00
parent b1adcd9d77
commit 9ca2929959
6 changed files with 21 additions and 31 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
# $OpenBSD: Makefile,v 1.2 2009/09/01 17:45:43 bernd Exp $
SHARED_ONLY = Yes
COMMENT = Nginx module for deploying Ruby applications
DISTNAME = passenger-2.2.4
DISTNAME = passenger-2.2.5
PKGNAME = ruby-${DISTNAME}
CATEGORIES = www

View File

@ -1,5 +1,5 @@
MD5 (passenger-2.2.4.tar.gz) = hzzciraZmcbmrQIomrMPuQ==
RMD160 (passenger-2.2.4.tar.gz) = xE7pQbUIa6TBuEaig4HqKbLBtzI=
SHA1 (passenger-2.2.4.tar.gz) = 54h541wwq0ZB81ZVFGuUru7lE7o=
SHA256 (passenger-2.2.4.tar.gz) = E0hs9O8l6nbQYh3cyy0w3DgNfBZhhJuGSfJaevX6mvo=
SIZE (passenger-2.2.4.tar.gz) = 1789131
MD5 (passenger-2.2.5.tar.gz) = k4OLhCzgoMZdfG75zlnEHw==
RMD160 (passenger-2.2.5.tar.gz) = qYFtaWrZQIaFJfbPsC6QA9af+1Q=
SHA1 (passenger-2.2.5.tar.gz) = qm5F+gI9Ys4vX3jvujov90LQB6w=
SHA256 (passenger-2.2.5.tar.gz) = sJCBfoQMe34NOcXuopLIfUKLHlbynvSheHBdtCyewyY=
SIZE (passenger-2.2.5.tar.gz) = 1799698

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Rakefile,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
--- Rakefile.orig Wed Jun 10 10:12:29 2009
+++ Rakefile Thu Aug 20 21:13:25 2009
$OpenBSD: patch-Rakefile,v 1.2 2009/09/01 17:45:43 bernd Exp $
--- Rakefile.orig Tue Sep 1 10:51:22 2009
+++ Rakefile Tue Sep 1 19:26:08 2009
@@ -36,13 +36,13 @@ OPTIMIZE = ["yes", "on", "true"].include?(ENV['OPTIMIZ
include PlatformInfo
@ -19,8 +19,8 @@ $OpenBSD: patch-Rakefile,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
end
# Extra compiler flags that should always be passed to the C/C++ compiler.
@@ -739,7 +739,7 @@ task :clobber => :'package:clean'
##### Misc
@@ -736,7 +736,7 @@ Rake::Task['package:force'].prerequisites.unshift(:doc
task :clobber => :'package:clean'
desc "Create a fakeroot, useful for building native packages"
-task :fakeroot => [:apache2, :native_support, :doc] do
@ -28,7 +28,7 @@ $OpenBSD: patch-Rakefile,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
require 'rbconfig'
include Config
fakeroot = "pkg/fakeroot"
@@ -747,11 +747,11 @@ task :fakeroot => [:apache2, :native_support, :doc] do
@@ -744,11 +744,11 @@ task :fakeroot => [:apache2, :native_support, :doc] do
# We don't use CONFIG['archdir'] and the like because we want
# the files to be installed to /usr, and the Ruby interpreter
# on the packaging machine might be in /usr/local.
@ -44,7 +44,7 @@ $OpenBSD: patch-Rakefile,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
sh "rm -rf #{fakeroot}"
sh "mkdir -p #{fakeroot}"
@@ -766,9 +766,9 @@ task :fakeroot => [:apache2, :native_support, :doc] do
@@ -763,9 +763,9 @@ task :fakeroot => [:apache2, :native_support, :doc] do
sh "cp bin/* #{bindir}/"
sh "mkdir -p #{libexecdir}"

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_phusion_passenger_platform_info_rb,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
--- lib/phusion_passenger/platform_info.rb.orig Thu Apr 16 19:42:11 2009
+++ lib/phusion_passenger/platform_info.rb Thu Apr 16 21:20:04 2009
@@ -360,6 +360,8 @@ public
$OpenBSD: patch-lib_phusion_passenger_platform_info_rb,v 1.2 2009/09/01 17:45:43 bernd Exp $
--- lib/phusion_passenger/platform_info.rb.orig Mon Aug 31 15:39:27 2009
+++ lib/phusion_passenger/platform_info.rb Tue Sep 1 19:26:08 2009
@@ -361,6 +361,8 @@ public
def self.portability_ldflags
if RUBY_PLATFORM =~ /solaris/
return '-lxnet -lrt -lsocket -lnsl -lpthread'

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-lib_phusion_passenger_utils_rb,v 1.1.1.1 2009/08/20 20:36:12 bernd Exp $
--- lib/phusion_passenger/utils.rb.orig Wed Jun 24 11:31:25 2009
+++ lib/phusion_passenger/utils.rb Wed Jun 24 11:32:01 2009
@@ -560,7 +560,7 @@ end
# Ruby's implementation of UNIXSocket#recv_io and UNIXSocket#send_io
# are broken on 64-bit FreeBSD 7 and x86_64/ppc64 OS X. So we override them
# with our own implementation.
-if RUBY_PLATFORM =~ /freebsd/ || (RUBY_PLATFORM =~ /darwin/ && RUBY_PLATFORM !~ /universal/)
+if RUBY_PLATFORM =~ /freebsd/ || RUBY_PLATFORM =~ /openbsd/ || (RUBY_PLATFORM =~ /darwin/ && RUBY_PLATFORM !~ /universal/)
require 'socket'
UNIXSocket.class_eval do
def recv_io

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/08/20 20:36:13 bernd Exp $
@comment $OpenBSD: PLIST,v 1.2 2009/09/01 17:45:43 bernd Exp $
bin/passenger-config
@comment bin/passenger-memory-stats
bin/passenger-status
@ -427,7 +427,9 @@ share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/Railz/FrameworkSpawner
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/Railz/RequestHandler.html
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/SpawnManager.html
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/UnknownError.html
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/Utils/
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/Utils.html
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/Utils/PseudoIO.html
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/VersionNotFound.html
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/WSGI/
share/doc/phusion_passenger/rdoc/classes/PhusionPassenger/WSGI.html