Gentoo Archives: gentoo-commits

From: "Thilo Bangert (bangert)" <bangert@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/spawn-fcgi/files: spawn-fcgi.initd spawn-fcgi.confd
Date: Mon, 28 Sep 2009 08:38:05
Message-Id: E1MsBkB-0001hh-7b@stork.gentoo.org
1 bangert 09/09/28 08:38:03
2
3 Modified: spawn-fcgi.initd spawn-fcgi.confd
4 Log:
5 allow extra options to be passed to spawn-fcgi - bug #284698 - thanks dev-zero
6 (Portage version: 2.2_rc42/cvs/Linux i686)
7
8 Revision Changes Path
9 1.11 www-servers/spawn-fcgi/files/spawn-fcgi.initd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd?rev=1.11&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd?rev=1.11&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd?r1=1.10&r2=1.11
14
15 Index: spawn-fcgi.initd
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd,v
18 retrieving revision 1.10
19 retrieving revision 1.11
20 diff -u -r1.10 -r1.11
21 --- spawn-fcgi.initd 3 Jul 2009 21:17:10 -0000 1.10
22 +++ spawn-fcgi.initd 28 Sep 2009 08:38:02 -0000 1.11
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd,v 1.10 2009/07/03 21:17:10 bangert Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd,v 1.11 2009/09/28 08:38:02 bangert Exp $
29
30 PROGNAME=${SVCNAME#*.}
31 SPAWNFCGI=/usr/bin/spawn-fcgi
32 @@ -73,6 +73,10 @@
33 OPTIONS="${OPTIONS} -g ${FCGI_GROUP}"
34 fi
35
36 + if [ -n "${FCGI_EXTRA_OPTIONS}" ]; then
37 + OPTIONS="${OPTIONS} ${FCGI_EXTRA_OPTIONS}"
38 + fi
39 +
40 unset E
41 for i in ${ALLOWED_ENV}; do
42 local j
43
44
45
46 1.6 www-servers/spawn-fcgi/files/spawn-fcgi.confd
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd?rev=1.6&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd?rev=1.6&content-type=text/plain
50 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd?r1=1.5&r2=1.6
51
52 Index: spawn-fcgi.confd
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd,v
55 retrieving revision 1.5
56 retrieving revision 1.6
57 diff -u -r1.5 -r1.6
58 --- spawn-fcgi.confd 3 Jul 2009 21:17:11 -0000 1.5
59 +++ spawn-fcgi.confd 28 Sep 2009 08:38:02 -0000 1.6
60 @@ -1,6 +1,6 @@
61 # Copyright 1999-2009 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd,v 1.5 2009/07/03 21:17:11 bangert Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd,v 1.6 2009/09/28 08:38:02 bangert Exp $
65
66 # DO NOT MODIFY THIS FILE DIRECTLY! CREATE A COPY AND MODIFY THAT INSTEAD!
67
68 @@ -54,6 +54,10 @@
69 FCGI_USER=
70 FCGI_GROUP=
71
72 +# Additional options you might want to pass to spawn-fcgi
73 +#
74 +#FCGI_EXTRA_OPTIONS=
75 +
76 # If your application requires additional environment variables, you may
77 # specify them here. See PHP example below.
78 #