commit rubygem-passenger for openSUSE:Factory
Hello community,
here is the log from the commit of package rubygem-passenger for openSUSE:Factory
checked in at Sat Jan 15 03:51:06 CET 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ rubygem-passenger/rubygem-passenger.changes 2011-01-15 02:10:25.648651000 +0100
@@ -0,0 +1,325 @@
+-------------------------------------------------------------------
+Thu Jan 13 19:17:57 UTC 2011 - chris@computersalat.de
+
+- fix spec
+ o Group field must be present in sub packages
+
+-------------------------------------------------------------------
+Thu Jan 13 10:36:11 UTC 2011 - schubi@novell.com
+
+- Spit packages into
+ -- rubygem-passenger
+ -- rubygem-passenger-nginx
+ -- rubygem-passenger-apache2
+
+-------------------------------------------------------------------
+Tue Dec 21 14:14:50 UTC 2010 - chris@computersalat.de
+
+- update to version 3.0.2
+ * [Nginx] Fix crash if passenger_root refers to a nonexistant
+ directory.
+ * Fixed file descriptor closing issues on FreeBSD: issue #597.
+ * Fix the fakeroot task. Issue #592
+ * Update NEWS.
+ * Fix Nginx configure script: it didn't correctly change back the
+ orginal working directory after compilation.
+ * NetBSD doesn't support llroundl() so work around it by using
+ llround(). Issue #593.
+ * Fix compilation warning on NetBSD: issue #593.
+ * Fix use of fcntl(.., F_CLOSEM)
+ * Merge branch 'master' into debian
+ * Add support to EventedClient for only closing the writer half
+ of the connection.
+ * Add StaticString.find(substring)
+ ... and lot more
+
+-------------------------------------------------------------------
+Tue Dec 7 21:47:19 UTC 2010 - mrueckert@suse.de
+
+- update to version 3.0.1
+ * Fixed malfunction after web server restart
+ On Linux systems that have a non-standard filesystem on /tmp, Phusion
+ Passenger could malfunction after restarting the web server because of
+ a bug that's only triggered on certain filesystems. Issue #569.
+ * Boost upgraded to version 1.44.0.
+ We were on 1.42.0.
+ * Much improved startup error messages
+ Phusion Passenger performs many extensive checks during startup to ensure
+ integrity. However the error message in some situation could be vague.
+ These startup error messages have now been improved dramatically, so that
+ if something goes wrong during startup you will now more likely know why.
+ * Curl < 7.12.1 is now supported
+ The previous version fails to compile with Curl versions earlier than
+ 7.12.1. Issue #556.
+ * passenger-make-enterprisey fixed
+ This is the command that people can run after donating. It allows people
+ to slightly modify Phusion Passenger's display name as a joke. In 3.0.0 it
+ was broken because of a typo. This has been fixed.
+ * Removed passenger-stress-test
+ This tool was used during the early life of Phusion Passenger for stress
+ testing websites. Its performance has never been very good and there are
+ much better tools for stress testing, so this tool has now been removed.
+ * [Apache] RailsEnv and RackEnv configuration options are now equivalent
+ In previous versions, RailsEnv only had effect on Rails 1 and Rails 2 apps
+ while RackEnv only had effect on Rack apps. Because Rails 3 apps are
+ considered Rack apps, setting RailsEnv had no effect on Rails 3 apps.
+ Because this is confusing to users, we've now made RailsEnv and RackEnv
+ equivalent. Issue #579.
+ * [Nginx] Fixed compilation problems on systems with unpowerful shells
+ Most notably Solaris. Its default shell does not support some basic
+ constructs that we used in the Nginx configure script.
+ * [Nginx] Upgraded default Nginx version to to 0.8.53
+ The previous default was 0.8.52.
+ * [Nginx] passenger_enabled now only accepts 'on' or 'off' values
+ Previously it would recognize any value not equal to 'on' as meaning
+ 'off'. This caused confusion among users who thought they could also
+ specify 'true', so we now throw a proper error if the value is
+ unrecognized. Fixes issue #583.
+- cleaned up spec file
+- move passenger_native_support from ext to lib dir (bnc#657964)
+
+-------------------------------------------------------------------
+Thu Oct 28 10:31:57 UTC 2010 - mrueckert@suse.de
+
+- update to version 3.0.0
+ This is a major release with many changes. Please read our blog
+ for details.
+ http://blog.phusion.nl/2010/10/18/phusion-passenger-3-0-0-final-released/
+- new dependencies:
+ rubygem-daemon_controller
+ rubygem-file-tail
+ libcurl
+
+-------------------------------------------------------------------
+Fri Jul 9 12:51:42 UTC 2010 - mrueckert@suse.de
+
+- mark mod_passenger.conf config(noreplace)
+
+-------------------------------------------------------------------
+Fri Jun 25 12:59:25 UTC 2010 - mrueckert@suse.de
+
+- update to version 2.2.15
+ - [Apache] Fixed incorrect temp dir cleanup by passenger-status
+ On some systems, running passenger-status could print the
+ following message: "*** Cleaning stale folder
+ /tmp/passenger.1234" ...after which Phusion Passenger breaks
+ because that directory is necessary for it to function
+ properly. The cause of this problem has been found and has been
+ fixed.
+ - [Apache] Fixed some upload handling problems Previous versions
+ of Phusion Passenger check whether the size of the received
+ upload data matches the contents of the Content-Length header
+ as received by the client. It turns out that there could be a
+ mismatch e.g. because of mod_deflate input compression, so we
+ can't trust Content-Length anyway and we're being too strict.
+ The check has now been removed.
+ - [Nginx] Fixed compilation issues with Nginx >= 0.7.66 Thanks to
+ Potamianos Gregory for reporting this issue. Issue #500.
+ - [Nginx] Default Nginx version changed to 0.7.67 The previous
+ default version was 0.7.65.
+ - Fixed more Bundler problems Previous versions of Phusion
+ Passenger would preload some popular libraries such as mysql
+ and sqlite3 in order to utilize copy-on-write optimizations
+ better. However this behavior conflicts with Bundler so we've
+ removed it.
+
+-------------------------------------------------------------------
+Mon Jun 14 14:36:33 UTC 2010 - mrueckert@suse.de
+
+- update to version 2.2.14
+ * Added support for Rubinius
+ Patch contributed by Evan Phoenix.
+ * Fixed a mistake in the SIGQUIT backtrace message.
+ Patch contributed by Christoffer Sawicki.
+ * [Nginx] Fix a localtime() crash on FreeBSD
+ This was caused by insufficient stack space for threads.
+ Issue #499.
+- additional changes from version 2.2.13
+ * Fixed some Rails 3 compatibility issues that were recently
+ introduced.
+ * Fixed a typo that causes config/setup_load_paths.rb not to be
+ loaded correctly.
+- additional changes from version 2.2.12
+ * Improved Bundler support.
+ Previous versions might not be able to correctly load gems
+ bundled by Bundler. We've also documented how our Bundler
+ support works and how to override our support if you need
+ special behavior. Please refer to the Phusion Passenger Users
+ Guide, section "Bundler support".
+ * Worked around some user account handling bugs in Ruby.
+ Issue #192.
+ * Fixed some Ruby 1.9 tempfile.rb compatibility problems.
+ * Fixed some compilation problems on some ARM Linux platforms.
+ * [Apache] Suppress bogus mod_xsendfile-related error messages.
+ When mod_xsendfile is being used, Phusion Passenger might print
+ bogus error messages like "EPIPE" or "Apache stopped forwarding
+ the backend's response" to the log file. These messages are
+ normal, are harmless and can be safely ignored, but they
+ pollute the log file. So in this release we've added code to
+ suppress these messages when mod_xsendfile is being used.
+ Issue #474.
+ * [Nginx] Fixed "passenger_user_switching off" permission
+ problems If Nginx is running as root and
+ passenger_user_switching is turned off, then Phusion Passenger
+ would fail to initialize because of a permission problem. This
+ has been fixed. Issue #458.
+ * [Nginx] Nginx >= 0.8.38 is now supported.
+ Thanks to Sergey A. Osokin for reporting the problem.
+ * [Nginx] passenger-install-nginx-module upgraded
+ It now defaults to installing Nginx 0.7.65 instead of 0.7.64.
+
+-------------------------------------------------------------------
+Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de
+
+- use rubygems_requires macro
+
+-------------------------------------------------------------------
+Tue Mar 16 14:36:55 UTC 2010 - chris@computersalat.de
+
+- update to version 2.2.11
+ * This release fixes a regression that appeared in 2.2.10 which only
+ affects Apache. When under high load, Apache might freeze and stop
+ responding to requests. It is caused by a race conditions which is
+ why it escaped our last release testing.
+- fix initializer problem
+ o do not install ApplicationPoolServerExecutable to
+ /usr/lib/phusion_passenger
+ leave at origin place and set correct @PassengerRoot@ in
+ mod_passenger.conf
+
+-------------------------------------------------------------------
+Thu Feb 25 12:14:30 UTC 2010 - mrueckert@suse.de
+
+- update to version 2.2.10
+ * Fixed some Bundler compatibility problems.
+ * Fixed some file descriptor passing problems, which previously
+ could lead to mysterious crashes.
+ * Fixed some compilation problems on newer GCC versions. Issue #430.
++++ 128 more lines (skipped)
++++ between /dev/null
++++ and rubygem-passenger/rubygem-passenger.changes
calling whatdependson for head-i586
New:
----
mod_passenger.conf
passenger-3.0.2.gem
rubygem-passenger-2.0.5_boost_exception.patch
rubygem-passenger-2.0.5_missing_includes.patch
rubygem-passenger-2.0.5_system_boost.patch
rubygem-passenger-rpmlintrc
rubygem-passenger.changes
rubygem-passenger.spec
series
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-passenger.spec ++++++
#
# spec file for package rubygem-passenger
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rubygem-passenger
Version: 3.0.2
Release: 1
%define mod_name passenger
%define apxs /usr/sbin/apxs2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
%if 0%{?suse_version} > 1100
%define with_system_boost 1
%endif
#
Group: Development/Languages/Ruby
License: MIT GPLv2
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
%rubygems_requires
BuildRequires: rubygem-rake >= 0.8.1
Requires: rubygem-rake >= 0.8.1
BuildRequires: rubygem-fastthread >= 1.0.1
Requires: rubygem-fastthread >= 1.0.1
BuildRequires: rubygem-daemon_controller >= 0.2.5
Requires: rubygem-daemon_controller >= 0.2.5
BuildRequires: rubygem-file-tail
Requires: rubygem-file-tail
BuildRequires: rubygem-rack
Requires: rubygem-rack
BuildRequires: apache2-devel
BuildRequires: boost-devel
BuildRequires: gcc-c++
BuildRequires: libcurl-devel
%if 0%{?use_system_libev}
BuildRequires: libev-devel
%endif
Requires: apache2 %{apache_mmn}
Recommends: packageand(apache2:rubygem-passenger-apache2)
Recommends: packageand(nginx:rubygem-passenger-nginx)
#
Url: http://www.modrails.com/
Source: %{mod_name}-%{version}.gem
# patches are just in for the case i find time to forward port them.
# atm we use the static boost library that ships with passenger
Source1: rubygem-passenger-2.0.5_system_boost.patch
Source2: rubygem-passenger-2.0.5_boost_exception.patch
Source3: rubygem-passenger-2.0.5_missing_includes.patch
Source4: mod_passenger.conf
#
Summary: Easy and robust Ruby web application deployment
%description
Easy and robust Ruby web application deployment.
%package nginx
License: MIT GPLv2
Summary: Passenger Nginx module for Ruby on Rails support
Group: Development/Languages/Ruby
Requires: rubygem-passenger = %{version}
%package apache2
License: MIT GPLv2
Summary: Passenger apache module
Group: Development/Languages/Ruby
Requires: rubygem-passenger = %{version}
%description nginx
Additional rubygem-passenger module for nginx HTTP-server.
%description apache2
Additional rubygem-passenger module for apache2 HTTP-server.
%prep
%build
%install
# TODO:
# currently -lev gets lost when using system libev
#if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
#endif
%gem_install %{S:0}
pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
export PATH="%{_sbindir}:$PATH"
#compiling nginx stuff
rake nginx:clean nginx CACHING=no
#compiling apache2 stuff
rake apache2
%{__install} -D -m 0755 ext/apache2/mod_passenger.so %{buildroot}%{apache_libexecdir}/mod_passenger.so
find ext -name \*.a -print -delete
rm -rv ext/libev/.libs \
ext/libev/config.{status,log} \
test/stub/wsgi/passenger_wsgi.pyc
%{__rm} -vf ext/apache2/mod_passenger.so
%{__mv} -v ext/ruby/*/passenger_native_support.so lib/
%{__rm} -rv ext/ruby/ruby-*-linux
popd
%gem_cleanup
find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -name dispatch.\* -print0 | \
xargs -r0 ruby -p -i -e 'gsub(%r{#!.*/bin/ruby.*}, "#!/usr/bin/ruby")'
%{__install} -D -m 0644 %{S:4} %{buildroot}%{apache_sysconfdir}/conf.d/mod_passenger.conf
%{__sed} -i -e "s,@PassengerRoot@,%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}," %{buildroot}%{apache_sysconfdir}/conf.d/mod_passenger.conf
%{__rm} -v %{buildroot}%{_bindir}/passenger-install-*-module
%clean
%{__rm} -rf %{buildroot}
%files nginx
%defattr(-,root,root)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/agents/nginx
%files apache2
%defattr(-,root,root)
%{apache_libexecdir}/mod_passenger.so
%config(noreplace) %{apache_sysconfdir}/conf.d/mod_passenger.conf
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/agents/apache2
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/apache2
%files
%defattr(-,root,root,-)
%{_bindir}/passenger
%{_bindir}/passenger-config
%{_bindir}/passenger-status
%{_bindir}/passenger-memory-stats
%{_bindir}/passenger-make-enterprisey
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/agents/nginx
%exclude %{apache_libexecdir}/mod_passenger.so
%exclude %config(noreplace) %{apache_sysconfdir}/conf.d/mod_passenger.conf
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/agents/apache2
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/apache2
%changelog
++++++ mod_passenger.conf ++++++
#
# For the documentation see
#
# http://www.modrails.com/documentation/Users%20guide.html#_configuring_phusio...
#
<IfModule passenger_module>
#
# The location to the Phusion Passenger root directory. This
# configuration option is essential to Phusion Passenger. The correct
# value is given by the installer, and should usually not be changed
# manually.
#
# This required option may only occur once, in the global server
# configuration.
#
PassengerRoot "@PassengerRoot@"
#
# This option allows one to specify the Ruby interpreter to use.
#
# This option may only occur once, in the global server configuration.
#
# The default is ruby.
#
PassengerRuby "/usr/bin/ruby"
# This option allows one to specify how much information Phusion
# Passenger should write to the Apache error log file. A higher log
# level value means that more information will be logged.
#
# Possible values are:
#
# 0: Show only errors and warnings.
#
# 1: Show the most important debugging information. This might be useful
# for system administrators who are trying to figure out the cause
# of a problem.
#
# 2: Show more debugging information. This is typically only useful for
# developers.
# 3: Show even more debugging information.
#
# This option may only occur once, in the global server configuration.
#
# The default is 0.
#
PassengerLogLevel 0
#
# Whether to enable user switching support.
#
# This option may only occur once, in the global server configuration.
#
# The default value is on.
#
PassengerUserSwitching on
#
# Passenger enables user switching support by default. This
# configuration option allows one to specify which user Rails/Rack
# applications must run as, if user switching fails or is disabled.
#
# This option may only occur once, in the global server configuration.
#
# The default value is nobody.
#
PassengerDefaultUser wwwrun
</IfModule>
++++++ rubygem-passenger-2.0.5_boost_exception.patch ++++++
Index: ext/apache2/ApplicationPoolServerExecutable.cpp
===================================================================
--- ext/apache2/ApplicationPoolServerExecutable.cpp.orig 1970-01-01 01:00:00.000000000 +0100
+++ ext/apache2/ApplicationPoolServerExecutable.cpp 2008-12-17 16:51:53.045024542 +0100
@@ -245,7 +245,7 @@ private:
toString(lastSessionID - 1).c_str(), NULL);
channel.writeFileDescriptor(session->getStream());
session->closeStream();
- } catch (const exception &) {
+ } catch (const std::exception &) {
P_TRACE(3, "Client " << this << ": something went wrong "
"while sending 'ok' back to the client.");
sessions.erase(lastSessionID - 1);
@@ -350,7 +350,7 @@ private:
}
} catch (const boost::thread_interrupted &) {
P_TRACE(2, "Client thread " << this << " interrupted.");
- } catch (const exception &e) {
+ } catch (const std::exception &e) {
P_TRACE(2, "Uncaught exception in ApplicationPoolServer client thread:\n"
<< " message: " << toString(args) << "\n"
<< " exception: " << e.what());
@@ -480,7 +480,7 @@ main(int argc, char *argv[]) {
Server server(SERVER_SOCKET_FD, atoi(argv[1]),
argv[2], argv[3], argv[4], argv[5], argv[6]);
return server.start();
- } catch (const exception &e) {
+ } catch (const std::exception &e) {
P_ERROR(e.what());
return 1;
}
Index: ext/apache2/Exceptions.h
===================================================================
--- ext/apache2/Exceptions.h.orig 1970-01-01 01:00:00.000000000 +0100
+++ ext/apache2/Exceptions.h 2008-12-17 16:51:53.069025286 +0100
@@ -41,7 +41,7 @@ using namespace std;
*
* @ingroup Exceptions
*/
-class SystemException: public exception {
+class SystemException: public std::exception {
private:
string briefMessage;
string systemMessage;
@@ -132,7 +132,7 @@ public:
*
* @ingroup Exceptions
*/
-class IOException: public exception {
+class IOException: public std::exception {
private:
string msg;
public:
@@ -153,7 +153,7 @@ public:
/**
* Thrown when an invalid configuration is given.
*/
-class ConfigurationException: public exception {
+class ConfigurationException: public std::exception {
private:
string msg;
public:
@@ -167,7 +167,7 @@ public:
* instance. The exception may contain an error page, which is a user-friendly
* HTML page with details about the error.
*/
-class SpawnException: public exception {
+class SpawnException: public std::exception {
private:
string msg;
bool m_hasErrorPage;
@@ -208,7 +208,7 @@ public:
*
* @ingroup Exceptions
*/
-class BusyException: public exception {
+class BusyException: public std::exception {
private:
string msg;
public:
Index: ext/apache2/Hooks.cpp
===================================================================
--- ext/apache2/Hooks.cpp.orig 1970-01-01 01:00:00.000000000 +0100
+++ ext/apache2/Hooks.cpp 2008-12-17 16:51:53.089421952 +0100
@@ -286,7 +286,7 @@ private:
P_TRACE(3, "A system call was interrupted during closing "
"of a session. Apache is probably restarting or "
"shutting down.");
- } catch (const exception &e) {
+ } catch (const std::exception &e) {
P_TRACE(3, "Exception during closing of a session: " <<
e.what());
}
@@ -743,7 +743,7 @@ public:
P_TRACE(3, "A system call was interrupted during an HTTP request. Apache "
"is probably restarting or shutting down.");
return HTTP_INTERNAL_SERVER_ERROR;
- } catch (const exception &e) {
+ } catch (const std::exception &e) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "*** Unexpected error in Passenger: %s", e.what());
return HTTP_INTERNAL_SERVER_ERROR;
}
@@ -862,7 +862,7 @@ destroy_hooks(void *arg) {
} catch (const thread_interrupted &) {
// Ignore interruptions, we're shutting down anyway.
P_TRACE(3, "A system call was interrupted during shutdown of mod_passenger.");
- } catch (const exception &e) {
+ } catch (const std::exception &e) {
// Ignore other exceptions, we're shutting down anyway.
P_TRACE(3, "Exception during shutdown of mod_passenger: " << e.what());
}
@@ -942,7 +942,7 @@ init_module(apr_pool_t *pconf, apr_pool_
return DECLINED;
- } catch (const exception &e) {
+ } catch (const std::exception &e) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
"*** Passenger could not be initialized because of this error: %s",
e.what());
Index: ext/apache2/StandardApplicationPool.h
===================================================================
--- ext/apache2/StandardApplicationPool.h.orig 1970-01-01 01:00:00.000000000 +0100
+++ ext/apache2/StandardApplicationPool.h 2008-12-17 16:51:53.105433203 +0100
@@ -26,6 +26,7 @@
#include
participants (1)
-
root@hilbert.suse.de