[PATCH] www/apache22: fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly forced enabled now)

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Fri May 21 09:36:21 UTC 2010


>Submitter-Id:	current-users
>Originator:	Sunpoet Po-Chuan Hsieh
>Organization:	SUNPOET.net
>Confidential:	no 
>Synopsis:	[PATCH] www/apache22: fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly forced enabled now)
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 8.1-PRERELEASE amd64
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Wed May 19 00:13:00 CST 2010 sunpoet at bonjour.sunpoet.net:/usr/obj/usr/src/sys/bonjour amd64
	
>Description:
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 at FreeBSD.org) is cc'd
	
>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.


	
>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

	




More information about the freebsd-apache mailing list