Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 10:18:37 -0500
From:      Dan Langille <dan@langille.org>
To:        Sergey A Osokin <osa@FreeBSD.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   www/rubygem-passenger creating slave ports
Message-ID:  <E354E8AD-DEF3-4EFA-9F1D-EEDF7ADA73B9@langille.org>

next in thread | raw e-mail | index | archive | help
Sergey,

We have a need to use rubygem-passenger with both Nginx and with Apache =
(on different servers).

I propose to create two new slave ports:

* www/rubygem-passenger-nginx
* www/rubygem-passenger-passenger

To do this, I would like to make a one-line change to the master port:


Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile	(revision 458852)
+++ Makefile	(working copy)
@@ -24,7 +24,7 @@
 APACHE22_DESC=3D	Build with apache22 support
 NGINX_DESC=3D	Build with nginx support
 SYMLINK_DESC=3D	Create passenger symlink
-OPTIONS_DEFAULT=3D	APACHE22
+OPTIONS_DEFAULT=3D?	APACHE22
=20
 USE_RUBY=3D	yes
 RAKE_BIN=3D	${LOCALBASE}/bin/rake

This will allow the slave port to set OPTIONS_DEFAULT and build for the =
desired web server.

If you agree, I am happen to make the commit / submit a patch for your =
approval.

Thank you.

--=20
Dan Langille - BSDCan / PGCon
dan@langille.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E354E8AD-DEF3-4EFA-9F1D-EEDF7ADA73B9>