| MODULE_SUMMARY_passenger= 3rd-party Passenger dynamic module |
| include $(CONTRIB)/src/passenger/version |
| MODULE_VERSION_passenger= $(PASSENGER_VERSION) |
| MODULE_RELEASE_passenger= 1 |
| MODULE_VERSION_PREFIX_passenger=$(MODULE_TARGET_PREFIX) |
| MODULE_SOURCES_passenger= passenger-$(PASSENGER_VERSION).tar.gz |
| MODULE_PATCHES_passenger= $(CONTRIB)/src/passenger/build-nginx.rb.patch \ |
| $(CONTRIB)/src/passenger/src-nginx_module-ContentHandler.c.patch |
| MODULE_CONFARGS_passenger= --with-http_ssl_module \ |
| --add-dynamic-module=$(MODSRC_PREFIX)passenger-$(PASSENGER_VERSION)/src/nginx_module |
| cd $(CONTRIB) && make .sum-passenger |
| prerequisites-for-module-passenger: |
| MODULE_BUILD_DEPENDS_passenger=ruby-dev ruby-rake ruby-etc |
| define MODULE_POST_passenger |
| ---------------------------------------------------------------------- |
| The $(MODULE_SUMMARY_passenger) for $(MODULE_SUMMARY_PREFIX) has been installed. |
| To enable this module, add the following to /etc/nginx/nginx.conf |
| load_module modules/ngx_http_passenger_module.so; |
| Please refer to the module documentation for further details: |
| https://www.phusionpassenger.com/ |
| ---------------------------------------------------------------------- |
| export MODULE_POST_passenger |