Bug 146789 - [PATCH] www/apache22: fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly forced enabled now)
[PATCH] www/apache22: fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly for...
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: apache
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-21 10:40 UTC by sunpoet
Modified: 2010-05-21 17:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sunpoet 2010-05-21 10:40:04 UTC
If you enable WITH_SUEXEC_RSRCLIMIT, the extra patch extra-patch-suexec_rsrclimit will be applied.

www/apache22/Makefile:
.if defined(WITH_SUEXEC_RSRCLIMIT)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-suexec_rsrclimit

However, in the $FILESDIR, we have only patch-suexec_rsrclimit.
It does not match the file in the directory.
% ls /usr/ports/www/apache22/files/extra-patch-suexec_rsrclimit
ls: /usr/ports/www/apache22/files/extra-patch-suexec_rsrclimit: No such file or directory
% ls -la /usr/ports/www/apache22/files/patch-suexec_rsrclimit
-rw-r--r--  1 root  wheel  1640 May 14 13:03 /usr/ports/www/apache22/files/patch-suexec_rsrclimit

Change:
- Fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly forced enabled now)


Added file(s):
- files/patch-suexec_rsrclimit

Removed file(s):
- files/extra-patch-suexec_rsrclimit

Maintainer (apache@FreeBSD.org) is cc'd

Fix: 

Rename files/patch-suexec_rsrclimit to files/extra-patch-suexec_rsrclimit.

% cd www/apache22/
% mv files/patch-suexec_rsrclimit files/extra-patch-suexec_rsrclimit
How-To-Repeat: % cd /usr/ports/www/apache22/
% make WITH_SUEXEC_RSRCLIMIT=yes patch

 To enable a module category: WITH_<CATEGORY>_MODULES
 To disable a module category: WITHOUT_<CATEGORY>_MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC THREADS

  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  Extracting for apache-2.2.15_8
=> MD5 Checksum OK for apache22/httpd-2.2.15.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.15.tar.bz2.
===>   apache-2.2.15_8 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Patching for apache-2.2.15_8
===>   apache-2.2.15_8 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Applying extra patch /usr/ports/www/apache22/files/extra-patch-suexec_rsrclimit
cannot open /usr/ports/www/apache22/files/extra-patch-suexec_rsrclimit: No such file or directory
*** Error code 2

Stop in /usr/ports/www/apache22.
Comment 1 Edwin Groothuis freebsd_committer 2010-05-21 10:40:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2010-05-21 17:27:18 UTC
pgollucci    2010-05-21 16:27:10 UTC

  FreeBSD ports repository

  Added files:
    www/apache22/files   extra-patch-suexec_rsrclimit 
  Removed files:
    www/apache22/files   patch-suexec_rsrclimit 
  Log:
  - Fix misnamed patch that was unconditionally applied.
  
  PR:             ports/146789
  Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  With Hat:       apache@
  
  Revision  Changes    Path
  1.1       +49 -0     ports/www/apache22/files/extra-patch-suexec_rsrclimit (new)
  1.2       +0 -49     ports/www/apache22/files/patch-suexec_rsrclimit (dead)
_______________________________________________
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 3 dfilter freebsd_committer 2010-05-21 17:28:38 UTC
pgollucci    2010-05-21 16:28:25 UTC

  FreeBSD ports repository

  Modified files:
    www/apache22         Makefile 
  Log:
  Bump PORTREVISION forgotten in last commit, by /home/ncvs lied to me.
  
  - Fix misnamed patch that was unconditionally applied.
  
  PR:             ports/146789
  Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  With Hat:       apache@
  
  Revision  Changes    Path
  1.277     +1 -1      ports/www/apache22/Makefile
_______________________________________________
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 4 pgollucci freebsd_committer 2010-05-21 17:34:00 UTC
State Changed
From-To: open->closed

Committed. Thanks!