svn commit: r368670 - in head/www/spawn-fcgi: . files

John Marino marino at FreeBSD.org
Sat Sep 20 17:53:27 UTC 2014


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}


More information about the svn-ports-head mailing list