pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/spawn-fcgi
Module Name: pkgsrc
Committed By: wiz
Date: Wed Aug 19 18:28:40 UTC 2020
Modified Files:
pkgsrc/www/spawn-fcgi: Makefile PLIST
Added Files:
pkgsrc/www/spawn-fcgi/files: README-rc.txt
Log Message:
spawn-fcgi: document handling of rc.d script.
Based on Nicolas Thauvin's
https://mail-index.netbsd.org/pkgsrc-users/2010/04/11/msg012035.html
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/spawn-fcgi/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/spawn-fcgi/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/www/spawn-fcgi/files/README-rc.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/spawn-fcgi/Makefile
diff -u pkgsrc/www/spawn-fcgi/Makefile:1.9 pkgsrc/www/spawn-fcgi/Makefile:1.10
--- pkgsrc/www/spawn-fcgi/Makefile:1.9 Sun Oct 6 13:10:39 2019
+++ pkgsrc/www/spawn-fcgi/Makefile Wed Aug 19 18:28:40 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2019/10/06 13:10:39 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/08/19 18:28:40 wiz Exp $
DISTNAME= spawn-fcgi-1.6.4
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.lighttpd.net/spawn-fcgi/releases-1.6.x/
@@ -15,4 +16,9 @@ GNU_CONFIGURE= yes
RCD_SCRIPTS= spawnfcgi
+INSTALLATION_DIRS+= share/doc/spawn-fcgi
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/README-rc.txt ${DESTDIR}${PREFIX}/share/doc/spawn-fcgi
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/spawn-fcgi/PLIST
diff -u pkgsrc/www/spawn-fcgi/PLIST:1.3 pkgsrc/www/spawn-fcgi/PLIST:1.4
--- pkgsrc/www/spawn-fcgi/PLIST:1.3 Tue Mar 11 14:05:18 2014
+++ pkgsrc/www/spawn-fcgi/PLIST Wed Aug 19 18:28:40 2020
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/03/11 14:05:18 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/08/19 18:28:40 wiz Exp $
bin/spawn-fcgi
man/man1/spawn-fcgi.1
+share/doc/spawn-fcgi/README-rc.txt
Added files:
Index: pkgsrc/www/spawn-fcgi/files/README-rc.txt
diff -u /dev/null pkgsrc/www/spawn-fcgi/files/README-rc.txt:1.1
--- /dev/null Wed Aug 19 18:28:40 2020
+++ pkgsrc/www/spawn-fcgi/files/README-rc.txt Wed Aug 19 18:28:40 2020
@@ -0,0 +1,18 @@
+To configure spawn-fcgi jobs from /etc/rc.conf:
+
+1) List the jobs to be started:
+
+spawnfcgi=YES
+spawnfcgi_jobs="job1 ... jobN"
+
+2) Add options to each job in the form spawnfcgi_<job>_<option>, for example, if you use PHP:
+
+spawnfcgi_jobX_command="/usr/pkg/libexec/cgi-bin/php"
+spawnfcgi_jobX_args=""
+spawnfcgi_jobX_user="php"
+spawnfcgi_jobX_socket=""
+spawnfcgi_jobX_address="127.0.0.1"
+spawnfcgi_jobX_port="9000"
+spawnfcgi_jobX_children="3"
+
+The complete list of options can be found in the spawnfcgi rc.d script.
Home |
Main Index |
Thread Index |
Old Index