pkgsrc-wip/ap2-passenger/Makefile

30 lines
758 B
Makefile
Raw Normal View History

# $NetBSD$
Update ap2-passenger to 3.0.11 Changes in pkgsrc package * Support for Ruby>1.8 versions; PKGNAME changed accordingly, e.g. ap22-ruby19-passenger-3.0.11. * Support for GCC 4.6 on SunOS. Changes in 3.0.11 * Fixed a compilation problem on platforms without alloca.h, such as FreeBSD 7. * Improved performance and solves some warnings on Xen systems by compiling with '-mno-tls-direct-seg-refs'. Patch contributed by Michal Pokrywka. Changes in 3.0.10 * [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. Changes in 3.0.9 * [Nginx] Fixed a NULL pointer crash that occurs on HTTP/1.0 requests when the Host header isn't given. * Fixed deprecation warnings on RubyGems >= 1.6. * Improved Union Station support stability. Changes in 3.0.8 * [Nginx] Upgraded preferred Nginx version to 1.0.5. * [Nginx] Fixed various compilation problems on various platforms. * [Nginx] We now ensure that SERVER_NAME is equal to HTTP_HOST without the port part. This is needed for Rack compliance. By default Nginx sets SERVER_NAME to whatever is specified in the server_name directive, but that's not necessarily the correct value. This fixes, for example, the use of the 'map' statement in config.ru. * [Nginx] Added the options passenger_buffer_size, passenger_buffers and passenger_busy_buffers_size. These options are similar to proxy_module's similarly named options. You can use these to e.g. increase the maximum header size limit. * [Nginx] passenger_pre_start now supports virtual hosts that listen on Unix domain sockets. * [Apache] Fixed the pcre.h compilation problem. * [Standalone] Fixed 'passenger stop'. It didn't work properly because it kept waiting for 'tail' to exit. We now properly terminate 'tail' as well. * Fixed compatibility with Rake 0.9. * Fixed various Ruby 1.9 compatibility issues. * Various documentation improvements. * New Union Station filter language features. It now supports status codes and response times. Please refer to https://engage.unionstationapp.com/help#filtering for more information.
2011-11-30 11:10:31 +00:00
PKGNAME= ${APACHE_PKG_PREFIX}-${RUBY_PKGPREFIX}-${DISTNAME}
COMMENT= Passenger module for Apache 2.x
BUILDLINK_DEPMETHOD.curl= build
DEPENDS+= ${RUBY_PKGPREFIX}-${DISTNAME}:../../wip/ruby-passenger
.include "../../wip/ruby-passenger/Makefile.common"
APACHE_MODULE= YES
USE_APR= YES
# Get rid of these bits from www/apache24 as they break build on SunOS
BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE
BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE_EXTENDED=1
INSTALLATION_DIRS+= lib/httpd
do-build:
cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} apache2
do-install:
${INSTALL_LIB} ${WRKSRC}/buildout/apache2/mod_passenger.so \
${DESTDIR}${PREFIX}/lib/httpd/mod_passenger.so
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"