Bug 125628 - [patch] www/mod_wsgi: add support for display-name
Summary: [patch] www/mod_wsgi: add support for display-name
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 10:30 UTC by emikulic
Modified: 2008-07-19 19:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (894 bytes, patch)
2008-07-15 10:30 UTC, emikulic
no flags Details | Diff
mod_wsgi.patch (1.04 KB, patch)
2008-07-15 21:35 UTC, Douglas Thrift
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description emikulic 2008-07-15 10:30:01 UTC
	The patch in the Fix: section uses setproctitle() to set the
	display-name for WSGI children.

	e.g. in httpd.conf:
	WSGIDaemonProcess moin display-name=wsgi-moin

	pstree output becomes:
	 |-+= 06591 root /usr/local/sbin/httpd
	 | |--- 06592 www httpd: wsgi-moin (httpd)
	 | |--- 06593 www httpd: wsgi-moin (httpd)
	 | |--- 06594 www /usr/local/sbin/httpd
	 | |--- 06595 www /usr/local/sbin/httpd
	 | \--- 06596 www /usr/local/sbin/httpd

	CC'd port maintainer.

How-To-Repeat: 	Set a display-name in httpd.conf
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-15 10:30:09 UTC
Maintainer of www/mod_wsgi,

Please note that PR ports/125628 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/125628

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-15 10:30:12 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Douglas Thrift 2008-07-15 21:35:49 UTC
Hello,

I've cleaned up the fix and put it into a patch that can be used to patch 
the port.
_______________________________________________________________________
Douglas William Thrift
<douglas@douglasthrift.net>
<http://www.douglasthrift.net/>

----- Original Message ----- 
From: "Edwin Groothuis" <edwin@FreeBSD.ORG>
To: <douglas@douglasthrift.net>
Cc: <bug-followup@FreeBSD.ORG>
Sent: Tuesday, July 15, 2008 2:30 AM
Subject: Re: ports/125628: [patch] www/mod_wsgi: add support for 
display-name


> Maintainer of www/mod_wsgi,
>
> Please note that PR ports/125628 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/125628
>
> -- 
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
> 
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-07-19 18:50:19 UTC
miwi        2008-07-19 17:50:06 UTC

  FreeBSD ports repository

  Added files:
    www/mod_wsgi/files   patch-mod_wsgi.c 
  Log:
  - Add support for display-name
  
  PR:             125628
  Submitted by:   Emil Mikulic <emikulic@gmail.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.1       +20 -0     ports/www/mod_wsgi/files/patch-mod_wsgi.c (new)
_______________________________________________
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"
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2008-07-19 18:50:20 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!