Bug 133711 - [maintainer update] www/spawn-fcgi
Summary: [maintainer update] www/spawn-fcgi
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-13 20:30 UTC by genserg
Modified: 2009-04-21 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.84 KB, patch)
2009-04-13 20:30 UTC, genserg
no flags Details | Diff
patch2.txt (3.05 KB, text/plain)
2009-04-15 19:20 UTC, genserg
no flags Details
spawn-fcgi.sh.in.diff (937 bytes, patch)
2009-04-17 18:04 UTC, chflags
no flags Details | Diff
patch3.txt (3.05 KB, text/plain)
2009-04-19 22:43 UTC, genserg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description genserg 2009-04-13 20:30:03 UTC

Fix: Patch attached with submission follows:
Comment 1 Wesley Shields freebsd_committer freebsd_triage 2009-04-13 21:01:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 2 genserg 2009-04-15 19:20:41 UTC
new patch - fixed some bugs in spawn-fcgi.sh

--------
Dmitry V. Reshetnikov <genserg@hotmail.com>
Comment 3 chflags 2009-04-17 20:04:01 UTC
Gmail attachment upload did not detect the MIME type correctly. The
attachment looks awful at
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133711. Thus, I'm including
the patch in mail body just in case. (It is really a small patch anyway)

%file spawn-fcgi.sh.in.diff
spawn-fcgi.sh.in.diff: ASCII text


--- spawn-fcgi.sh.in.orig       2009-04-18 00:34:30.000000000 +0800
+++ spawn-fcgi.sh.in    2009-04-18 00:58:25.000000000 +0800
@@ -18,6 +18,7 @@
 : ${spawn_fcgi_pidfile="/var/run/spawn-fcgi.pid"}
 : ${spawn_fcgi_user="www"}
 : ${spawn_fcgi_group="www"}
+: ${spawn_fcgi_bindsock=""}
 : ${spawn_fcgi_bindaddr="127.0.0.1"}
 : ${spawn_fcgi_bindport="9000"}
 : ${spawn_fcgi_children="5"}
@@ -27,7 +28,7 @@
 :
${spawn_fcgi_path_env="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin"}

 command="/usr/local/bin/spawn-fcgi"
-command_args="-u ${spawn_fcgi_user} -g ${spawn_fcgi_group} -a
${spawn_fcgi_bindaddr} -p ${spawn_fcgi_bindport} -P ${spawn_fcgi_pidfile} --
${spawn_fcgi_app}"
+command_args="-u ${spawn_fcgi_user} -g ${spawn_fcgi_group} -a
${spawn_fcgi_bindaddr} -p ${spawn_fcgi_bindport} -s ${spawn_fcgi_bindsock}
-P ${spawn_fcgi_pidfile} -- ${spawn_fcgi_app}"
 pidfile=${spawn_fcgi_pidfile}
 procname=${spawn_fcgi_app}


-- 
Regards
Kevin Foo


On Sat, Apr 18, 2009 at 1:04 AM, Kevin Foo <chflags@gmail.com> wrote:

> Hi,
>
> An addition for binding to unix domain socket. Just define
> "spawn_fcgi_bindsock" to a path to unix socket file i.e.
> /tmp/spawn-fcgi.sock. Please review if it is useful. Thanks.
>
> p/s: I'm not subscribed to ports mailing list. Please cc me if there is any
> update. Thanks
>
> --
> Regards
> Kevin Foo
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2009-04-21 21:06:41 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-04-21 21:06:46 UTC
wxs         2009-04-21 20:06:30 UTC

  FreeBSD ports repository

  Modified files:
    www/spawn-fcgi       Makefile distinfo 
    www/spawn-fcgi/files spawn-fcgi.sh.in 
  Log:
  - Update to 1.6.2
  - Cleanup RC script
  
  PR:             ports/133711
  Submitted by:   genserg@hotmail.com (maintainer)
  
  Revision  Changes    Path
  1.2       +1 -1      ports/www/spawn-fcgi/Makefile
  1.2       +3 -3      ports/www/spawn-fcgi/distinfo
  1.2       +6 -9      ports/www/spawn-fcgi/files/spawn-fcgi.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"