Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2014 17:53:26 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368670 - in head/www/spawn-fcgi: . files
Message-ID:  <201409201753.s8KHrQcQ028953@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep 20 17:53:26 2014
New Revision: 368670
URL: http://svnweb.freebsd.org/changeset/ports/368670
QAT: https://qat.redports.org/buildarchive/r368670/

Log:
  www/spawn-fcgi: Add flag to set command_interpreter in RC script
  
  PR:		192676
  Submitted by:	mitsuruike (gmail)
  Approved by:	maintainer (rsimmons)

Modified:
  head/www/spawn-fcgi/Makefile
  head/www/spawn-fcgi/files/spawn-fcgi.in

Modified: head/www/spawn-fcgi/Makefile
==============================================================================
--- head/www/spawn-fcgi/Makefile	Sat Sep 20 17:42:15 2014	(r368669)
+++ head/www/spawn-fcgi/Makefile	Sat Sep 20 17:53:26 2014	(r368670)
@@ -3,6 +3,7 @@
 
 PORTNAME=	spawn-fcgi
 PORTVERSION=	1.6.4
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://download.lighttpd.net/spawn-fcgi/releases-1.6.x/
 

Modified: head/www/spawn-fcgi/files/spawn-fcgi.in
==============================================================================
--- head/www/spawn-fcgi/files/spawn-fcgi.in	Sat Sep 20 17:42:15 2014	(r368669)
+++ head/www/spawn-fcgi/files/spawn-fcgi.in	Sat Sep 20 17:53:26 2014	(r368670)
@@ -14,6 +14,7 @@
 # spawn_fcgi_bindsocket
 # spawn_fcgi_web_server_addrs
 # spawn_fcgi_allowed_env
+# spawn_fcgi_command_interpreter
 
 . /etc/rc.subr
 
@@ -50,6 +51,10 @@ else
     _spawn_fcgi_chroot=""
 fi
 
+if [ -n "${spawn_fcgi_command_interpreter}" ]; then
+  command_interpreter=${spawn_fcgi_command_interpreter}
+fi
+
 command="/usr/local/bin/spawn-fcgi"
 command_args="-u ${spawn_fcgi_username} -g ${spawn_fcgi_groupname} ${_spawn_fcgi_bind} ${_spawn_fcgi_chroot} -P ${spawn_fcgi_pidfile} -- ${spawn_fcgi_app} ${spawn_fcgi_app_args}"
 pidfile=${spawn_fcgi_pidfile}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409201753.s8KHrQcQ028953>