From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 21 09:40:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E90A1065670 for ; Fri, 21 May 2010 09:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3EB7E8FC20 for ; Fri, 21 May 2010 09:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4L9e5nS008182 for ; Fri, 21 May 2010 09:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4L9e5gg008181; Fri, 21 May 2010 09:40:05 GMT (envelope-from gnats) Resent-Date: Fri, 21 May 2010 09:40:05 GMT Resent-Message-Id: <201005210940.o4L9e5gg008181@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 705211065670; Fri, 21 May 2010 09:36:21 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 48FF58FC18; Fri, 21 May 2010 09:36:20 +0000 (UTC) Received: by pwj5 with SMTP id 5so415979pwj.13 for ; Fri, 21 May 2010 02:36:20 -0700 (PDT) Received: by 10.143.25.27 with SMTP id c27mr899800wfj.65.1274434580118; Fri, 21 May 2010 02:36:20 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id 20sm774884pzk.15.2010.05.21.02.36.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 May 2010 02:36:19 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id B908E2AEC6EA; Fri, 21 May 2010 17:36:22 +0800 (CST) Message-Id: <20100521093622.B908E2AEC6EA@sunpoet.net> Date: Fri, 21 May 2010 17:36:22 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: apache@FreeBSD.org Subject: ports/146789: [PATCH] www/apache22: fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly forced enabled now) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sunpoet Po-Chuan Hsieh List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 09:40:05 -0000 >Number: 146789 >Category: ports >Synopsis: [PATCH] www/apache22: fix WITH_SUEXEC_RSRCLIMIT option (it was implicitly forced enabled now) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 21 09:40:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.1-PRERELEASE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Wed May 19 00:13:00 CST 2010 sunpoet@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@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__MODULES To disable a module category: WITHOUT__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 >Release-Note: >Audit-Trail: >Unformatted: