Bug 136928

Summary: [PATCH] www/apache20 - suexec resource limits patch
Product: Ports & Packages Reporter: admin
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
suexec.usr.ports.www.apache20.diff
none
apache20.suexec.diff none

Description admin 2009-07-20 13:30:06 UTC
resource limit patch, based on http://www.freebsd.org/cgi/query-pr.cgi?pr=136091
I successful use it on 4 productions server (last 2 weeks)

Fix: see patch

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-20 13:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 admin 2009-09-17 10:19:00 UTC
may be somebody commit this?
Comment 3 admin 2009-11-26 07:21:55 UTC
may be somebody commit this?
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2009-12-15 08:35:33 UTC
State Changed
From-To: open->suspended

stalled
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2009-12-15 19:40:50 UTC
State Changed
From-To: suspended->open

Maintainer approved.
Comment 6 Philip M. Gollucci freebsd_committer freebsd_triage 2009-12-18 00:15:13 UTC
Responsible Changed
From-To: apache->pgollucci

I'll take it.
Comment 7 Philip M. Gollucci freebsd_committer freebsd_triage 2010-04-29 19:39:16 UTC
Responsible Changed
From-To: pgollucci->apache

Over to maintainer.
Comment 8 admin 2010-05-09 15:15:45 UTC
I create new patch, for new files/ content.
may be somebody commit this?
I create this PR more than 10 month ago - no people for test and commit?
Comment 9 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-14 06:06:00 UTC
State Changed
From-To: open->feedback

please make this optional like ports/136091
Comment 10 admin 2010-05-14 07:16:26 UTC
I rewrite with option.
See attached file.
Comment 11 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-14 19:44:02 UTC
State Changed
From-To: feedback->open

feedback received
Comment 12 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-14 19:52:40 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 13 dfilter service freebsd_committer freebsd_triage 2010-05-14 19:52:45 UTC
pgollucci    2010-05-14 18:52:32 UTC

  FreeBSD ports repository

  Modified files:
    www/apache20         Makefile 
  Added files:
    www/apache20/files   extra-patch-suexec_rsrclimit 
  Log:
  By default suexec doesn't enforces different resource limitations configured in
  login.conf(5). This is probably because resource limitations are handled
  differently on various different platforms.
  
  This modifies suexec behaviour to set resource limits for CGI's
  from /etc/login.conf before execing the customers CGI script.
  
  Doesn't affect default package, so no PORTREVISION bumps.
  
  I will follow up at dev@httpd.apache.org to see about adding this
  with #ifdefs.
  
  PR:             ports/136928
  Submitted by:   Alexey V.Degtyarev <alexey@renatasystems.org>
  With Hat:       apache@
  
  Revision  Changes    Path
  1.282     +8 -0      ports/www/apache20/Makefile
  1.1       +50 -0     ports/www/apache20/files/extra-patch-suexec_rsrclimit (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"