From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12076 invoked from network); 31 Oct 2004 16:39:35 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 31 Oct 2004 16:39:35 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1COIjv-0007q9-Bj for arch-gentoo-portage-dev@lists.gentoo.org; Sun, 31 Oct 2004 16:39:35 +0000 Received: (qmail 5436 invoked by uid 89); 31 Oct 2004 16:39:34 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 22886 invoked from network); 31 Oct 2004 16:39:31 +0000 Date: Sun, 31 Oct 2004 08:38:51 -0800 From: felix@crowfix.com To: gentoo-portage-dev@lists.gentoo.org Message-ID: <20041031163851.GA32724@crowfix.com> References: <1098993757.9091.107.camel@www.toruslaptop.com> <20041028205247.GA26136@server.grantgoodyear.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041028205247.GA26136@server.grantgoodyear.org> User-Agent: Mutt/1.5.6i Subject: [gentoo-portage-dev] Setting an env var for a specific ebuild X-Archives-Salt: 7c95fe0d-a3f0-43cc-a6b3-ecde1d5f0da8 X-Archives-Hash: c808edfd3fead4ce0ff10c16eaa459b4 I have a problem with building Apache and have not found any answers in searching the forums or asking. Please let me know if this is not the right place to ask. Apache uses a wrapper called suexec to run setuid cgi programs. As part of its security check, suexec refuses to run any program whose location does not match a compiled-in path, which by default is .../public_html/... Note that this path is NOT picked up from the run time configuration, but from the build time configuration. The net-www/apache-2.0.52-ebuild sets this build time value with an env var: apache_setup_vars() { # Sets the USERDIR to default. USERDIR="public_html" But I have always used a different USERDIR value, and do not know how to override this. I have resorted to editing the ebuild directly, which means that I forget it on every upgrade and have to scratch my head every time the first suexec program fails. I am getting quicker at diagnosing the problem :-) Of course editing the ebuild is not the right way to do it, but I have not found any way of setting an override in /etc/portage or anywhere else. I don't see how my own usr/local/portage ebuild would help; I'd have to copy it from /usr/portage and edit anyway. Is there a better way, or any way, to set a more-or-less permanent override of this env var? On an unrelated subject, rebuilding imagemagick found a conflicting file, libltdl.a ... media-gfx/imagemagick-6.1.0.1 (/usr/lib/libltdl.a) sys-devel/libtool-1.5.2-r5 (/usr/lib/libltdl.a) I have never enjoyed using bugzilla, it seems like the kind of bureaucratic molasses that a faceless corporation would set up to show compliance with the letter of a court order while actually discouraging its use. Is there any other way, or has bugzilla gotten better in the year or two since I last tried it elsewhere? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-portage-dev@gentoo.org mailing list