svn commit: r481455 - in head/www/rubygem-passenger: . files
Sergey A. Osokin
osa at FreeBSD.org
Sun Oct 7 16:18:59 UTC 2018
Author: osa
Date: Sun Oct 7 16:18:58 2018
New Revision: 481455
URL: https://svnweb.freebsd.org/changeset/ports/481455
Log:
Add another package message file to fix the issue with it for nginx flavor.
Bump PORTREVISION.
PR: 231877
Added:
head/www/rubygem-passenger/files/pkg-message-apache.in
- copied unchanged from r481454, head/www/rubygem-passenger/files/pkg-message.in
head/www/rubygem-passenger/files/pkg-message-nginx.in
- copied, changed from r481452, head/www/rubygem-passenger/files/pkg-message.in
Deleted:
head/www/rubygem-passenger/files/pkg-message.in
Modified:
head/www/rubygem-passenger/Makefile
Modified: head/www/rubygem-passenger/Makefile
==============================================================================
--- head/www/rubygem-passenger/Makefile Sun Oct 7 16:12:09 2018 (r481454)
+++ head/www/rubygem-passenger/Makefile Sun Oct 7 16:18:58 2018 (r481455)
@@ -3,6 +3,7 @@
PORTNAME= passenger
PORTVERSION= 5.3.5
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMEPREFIX= rubygem-
@@ -60,7 +61,7 @@ BUILD_DEPENDS+= rubygem-rack>=0:www/rubygem-rack
RUN_DEPENDS:= ${BUILD_DEPENDS}
SUB_LIST+= GEM_LIB_DIR=${GEM_LIB_DIR} RUBY=${RUBY}
-SUB_FILES= pkg-message
+SUB_FILES= pkg-message-${FLAVOR}
PLIST_FILES= bin/passenger \
bin/passenger-config \
Copied: head/www/rubygem-passenger/files/pkg-message-apache.in (from r481454, head/www/rubygem-passenger/files/pkg-message.in)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/rubygem-passenger/files/pkg-message-apache.in Sun Oct 7 16:18:58 2018 (r481455, copy of r481454, head/www/rubygem-passenger/files/pkg-message.in)
@@ -0,0 +1,13 @@
+#####################################################################
+
+Please edit your Apache configuration file, and add these lines:
+
+ LoadModule passenger_module %%PASSENGER_INSTALL_DIR%%/buildout/apache2/mod_passenger.so
+ PassengerRoot %%PASSENGER_INSTALL_DIR%%
+ PassengerRuby %%RUBY%%
+
+After you restart Apache, you are ready to deploy any number of Ruby on Rails
+applications on Apache, without any further Ruby on Rails-specific
+configuration!
+
+#####################################################################
Copied and modified: head/www/rubygem-passenger/files/pkg-message-nginx.in (from r481452, head/www/rubygem-passenger/files/pkg-message.in)
==============================================================================
--- head/www/rubygem-passenger/files/pkg-message.in Sun Oct 7 15:55:48 2018 (r481452, copy source)
+++ head/www/rubygem-passenger/files/pkg-message-nginx.in Sun Oct 7 16:18:58 2018 (r481455)
@@ -1,13 +1,16 @@
#####################################################################
-Please edit your Apache configuration file, and add these lines:
+Please edit your nginx configuration file, and add these lines:
- LoadModule passenger_module %%PASSENGER_INSTALL_DIR%%/buildout/apache2/mod_passenger.so
- PassengerRoot %%PASSENGER_INSTALL_DIR%%
- PassengerRuby %%RUBY%%
-
-After you restart Apache, you are ready to deploy any number of Ruby on Rails
-applications on Apache, without any further Ruby on Rails-specific
+ server {
+ root %%PASSENGER_INSTALL_DIR%%;
+ passenger_enabled on;
+ passenger_ruby %%RUBY%%;
+ passenger_sticky_sessions on;
+ }
+
+After you restart nginx, you are ready to deploy any number of Ruby on Rails
+applications on nginx, without any further Ruby on Rails-specific
configuration!
#####################################################################
More information about the svn-ports-all
mailing list