Hello community, here is the log from the commit of package rubygem-passenger for openSUSE:Factory checked in at 2012-05-16 15:04:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-passenger (Old) and /work/SRC/openSUSE:Factory/.rubygem-passenger.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-passenger", Maintainer is "jmassaguer...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-passenger/rubygem-passenger.changes 2012-02-22 19:12:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-passenger.new/rubygem-passenger.changes 2012-05-16 15:04:38.000000000 +0200 @@ -1,0 +2,54 @@ +Sat May 12 09:40:55 UTC 2012 - co...@suse.com + +- fix compilation with gcc 4.7 + +------------------------------------------------------------------- +Sat May 12 08:14:18 UTC 2012 - co...@suse.com + +- update to 3.0.12 + * [Apache] Support Apache 2.4. The event MPM is now also supported. + * [Nginx] Preferred Nginx version upgraded to 1.0.15. + * [Nginx] Preferred PCRE version upgraded to 8.30. + * [Nginx] Fixed compatibility with Nginx < 1.0.10. + * [Nginx] Nginx is now installed with http_gzip_static_module by default. + * [Nginx] Fixed a memory disclosure security problem. + The issue is documented at http://www.nginx.org/en/security_advisories.html + and affects more modules than just Phusion Passenger. Users are advised + to upgrade as soon as possible. Patch submitted by Gregory Potamianos. + * [Nginx] passenger_show_version_in_header now hides the Phusion Passenger version number from the 'Server:' header too. + Patch submitted by Gregory Potamianos. + * Fixed a /proc deprecation warning on Linux kernel >= 3.0. + + * Fixed a compilation problem on platforms without alloca.h, such as FreeBSD 7. + * Improved performance and solved some warnings on Xen systems by compiling + with `-mno-tls-direct-seg-refs`. Patch contributed by MichaĆ Pokrywka. + + * [Nginx] Dropped support for Nginx versions older than 1.0.0 + * [Nginx] Fixed support for Nginx 1.1.4+ + * [Nginx, Standalone] Upgraded default Nginx version to 1.0.10 + The previously default version was 1.0.5. + * [Nginx] New option passenger_max_requests + This is equivalent to the PassengerMaxRequests option in the Apache + version: Phusion Passenger will automatically shutdown a worker process + once it has processed the specified number of requests. + Contributed by Paul Kmiec. + * [Apache] New option PassengerBufferResponse + The Apache version did not buffer responses. This could block the Ruby + worker process in case of slow clients. We now enable response buffering + by default. It can be turned off through this option. Feature contributed + by Ryo Onodera. + * Fixed remaining Ruby 1.9.3 compatibility problems + We already supported Ruby 1.9.3 since 3.0.8, but due to bugs in Ruby + 1.9.3's build system Phusion Passenger would fail to detect Ruby 1.9.3 + features on some systems. Fixes issue #714. + * Fixed a bug in PassengerPreStart + A regression was introduced in 3.0.8, causing the prespawn script to + connect to the host name instead of to 127.0.0.1. Fix contributed by + Andy Allan. + * Fixed compatibility with GCC 4.6 + Affected systems include Ubuntu 11.10. + * Fixed various compilation problems. + * Fixed some Ruby 1.9 encoding problems. + * Fixed some Ruby 1.9.3 deprecation warnings. + +------------------------------------------------------------------- Old: ---- passenger-3.0.9.gem New: ---- passenger-3.0.12.gem rubygem-passenger-3.0.12_boost_threads.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-passenger.spec ++++++ --- /var/tmp/diff_new_pack.PTMOvA/_old 2012-05-16 15:04:40.000000000 +0200 +++ /var/tmp/diff_new_pack.PTMOvA/_new 2012-05-16 15:04:40.000000000 +0200 @@ -16,9 +16,8 @@ # - Name: rubygem-passenger -Version: 3.0.9 +Version: 3.0.12 Release: 0 %define mod_name passenger %define mod_full_name %{mod_name}-%{version} @@ -74,6 +73,7 @@ Source6: nginx_passenger.conf Source7: nginx_passenger_root.include Source10: arm-avoid-long-double.patch +Source11: rubygem-passenger-3.0.12_boost_threads.patch # Summary: Easy and robust Ruby web application deployment License: MIT and GPL-2.0 @@ -85,8 +85,8 @@ %package nginx Summary: Passenger Nginx module for Ruby on Rails support Group: Development/Languages/Ruby -Requires: rubygem-passenger = %{version} Requires: nginx +Requires: rubygem-passenger = %{version} %description nginx Additional rubygem-passenger module for nginx HTTP-server. @@ -94,8 +94,9 @@ %package apache2 Summary: Passenger apache module Group: Development/Languages/Ruby +Requires: %{apache_mmn} +Requires: apache2 Requires: rubygem-passenger = %{version} -Requires: apache2 %{apache_mmn} %description apache2 Additional rubygem-passenger module for apache2 HTTP-server. @@ -140,6 +141,7 @@ pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ export PATH="%{_sbindir}:$PATH" + patch -p0 --fuzz=0 -i %{S:11} #compiling nginx stuff patch -p0 --fuzz=0 -i %{S:10} rake nginx:clean nginx CACHING=no ++++++ arm-avoid-long-double.patch ++++++ --- /var/tmp/diff_new_pack.PTMOvA/_old 2012-05-16 15:04:40.000000000 +0200 +++ /var/tmp/diff_new_pack.PTMOvA/_new 2012-05-16 15:04:40.000000000 +0200 @@ -1,6 +1,8 @@ ---- ext/common/MessageChannel.h -+++ ext/common/MessageChannel.h -@@ -431,14 +431,14 @@ +Index: ext/common/MessageChannel.h +=================================================================== +--- ext/common/MessageChannel.h.orig 2012-05-12 10:13:30.472345723 +0200 ++++ ext/common/MessageChannel.h 2012-05-12 11:17:49.684601697 +0200 +@@ -389,14 +389,14 @@ public: unsigned int ret; try { ret = Passenger::readExact(fd, buf, size, &t); ++++++ rubygem-passenger-3.0.12_boost_threads.patch ++++++ Index: ext/boost/config/stdlib/libstdcpp3.hpp =================================================================== --- ext/boost/config/stdlib/libstdcpp3.hpp.orig 2012-05-12 10:47:25.914516381 +0200 +++ ext/boost/config/stdlib/libstdcpp3.hpp 2012-05-12 10:47:51.902291762 +0200 @@ -38,17 +38,14 @@ // while others do not... // # define BOOST_HAS_THREADS -# else -# define BOOST_DISABLE_THREADS # endif #elif defined(__GLIBCPP__) \ && !defined(_GLIBCPP_HAVE_GTHR_DEFAULT) \ && !defined(_GLIBCPP__PTHREADS) // disable thread support if the std lib was built single threaded: -# define BOOST_DISABLE_THREADS #endif -#if (defined(linux) || defined(__linux) || defined(__linux__)) && defined(__arm__) && defined(_GLIBCPP_HAVE_GTHR_DEFAULT) +#if (defined(linux) || defined(__linux) || defined(__linux__)) // linux on arm apparently doesn't define _REENTRANT // so just turn on threading support whenever the std lib is thread safe: # define BOOST_HAS_THREADS Index: ext/boost/config/compiler/gcc.hpp =================================================================== --- ext/boost/config/compiler/gcc.hpp.orig 2012-05-12 10:13:30.000000000 +0200 +++ ext/boost/config/compiler/gcc.hpp 2012-05-12 10:52:36.465881661 +0200 @@ -93,7 +93,7 @@ // those platforms where we can know for sure). It will get turned off again // later if no threading API is detected. // -#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__) +#if !defined(__MINGW32__) # define BOOST_HAS_THREADS #endif Index: ext/common/StaticString.h =================================================================== --- ext/common/StaticString.h.orig 2012-05-12 10:13:30.000000000 +0200 +++ ext/common/StaticString.h 2012-05-12 10:55:25.214930327 +0200 @@ -30,6 +30,7 @@ #include <cstddef> #include <ostream> #include <stdexcept> +#include <sys/types.h> namespace Passenger { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org