From owner-freebsd-ports@FreeBSD.ORG Thu Dec 16 10:33:22 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B5AC16A4CE for ; Thu, 16 Dec 2004 10:33:22 +0000 (GMT) Received: from oxyd.caraldi.com (caraldi.com [195.137.249.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8788543D5F for ; Thu, 16 Dec 2004 10:33:21 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from vision.anyware (unknown [84.96.21.10]) by oxyd.caraldi.com (Postfix) with ESMTP id 6109120D6 for ; Thu, 16 Dec 2004 11:33:20 +0100 (CET) Received: by vision.anyware (Postfix, from userid 615) id 2126D6425; Thu, 16 Dec 2004 11:33:27 +0100 (CET) Date: Thu, 16 Dec 2004 11:33:27 +0100 From: Jean-Baptiste Quenot To: ports@freebsd.org Message-ID: <20041216103324.GC45781@vision.anyware> Mail-Followup-To: ports@freebsd.org References: <20041216092506.GA44964@vision.anyware> <20041216105427.594685df.clement@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041216105427.594685df.clement@FreeBSD.org> User-Agent: Mutt/1.5.6i Subject: Re: www/apache2 rc startup script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 10:33:22 -0000 * Clement Laforet: > On Thu, 16 Dec 2004 10:25:09 +0100 Jean-Baptiste Quenot wrote: > > > There is a problem with the Apache 2 port: the rc script > > in $PREFIX/etc/rc.d does not source the envvars stored in > > $PREFIX/sbin. When Apache is run with apachectl(1), this file > > is sourced, but when Apache is started with the rc script, > > apachectl is not invoked thus envvars is not sourced. > > Please read the ${PREFIX}/etc/rc.d/apache2.sh script. envvars is > "sourced" in apache2_precmd() OK I upgraded from 2.0.50 to latest, and you're right, it's there. Wonderful! But sadly, my envvars script has been overwritten as result of the upgrade. Why don't you preserve envvars? There's already envvars-std that provides default values... You may copy envvars-std to envvars only if it is missing. Best regards, -- Jean-Baptiste Quenot http://caraldi.com/jbq/