Bug 213385 - www/fcgiwrap: allow changing the socket's owner/group/mode
Summary: www/fcgiwrap: allow changing the socket's owner/group/mode
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords: patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-10-11 16:39 UTC by Mathieu Arnold
Modified: 2016-10-17 12:03 UTC (History)
1 user (show)

See Also:
freebsd: maintainer-feedback+


Attachments
v1 (3.41 KB, patch)
2016-10-11 16:39 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2016-10-11 16:39:40 UTC
Created attachment 175629 [details]
v1

My gitolite fcgi needs to run as user git so that it can read and write to repositories.  But the socket is used by nginx, and nginx runs as www.

With this patch, I'm able to add:

fcgiwrap_git_socket_owner="www"

and the socket will have the correct owner.
Comment 1 A.J. "Fonz" van Werven 2016-10-11 23:04:03 UTC
Got it, thanks. I'll review the patch ASAP.
Comment 2 A.J. "Fonz" van Werven 2016-10-15 14:38:59 UTC
Hopefully I've set the maintainer-approval flag correctly. In any case, feel free to commit this. Thanks for doing the work, BTW :-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-10-17 12:03:33 UTC
A commit references this bug:

Author: mat
Date: Mon Oct 17 12:03:08 UTC 2016
New revision: 424112
URL: https://svnweb.freebsd.org/changeset/ports/424112

Log:
  Add changing the owner/group/mode for the socket.

  PR:		213385
  Submitted by:	mat
  Approved by:	maintainer
  Sponsored by:	Absolight

Changes:
  head/www/fcgiwrap/Makefile
  head/www/fcgiwrap/files/fcgiwrap.in