From owner-freebsd-stable@FreeBSD.ORG Wed Feb 20 17:28:09 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6140E712 for ; Wed, 20 Feb 2013 17:28:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from winston.madpilot.net (winston.madpilot.net [78.47.75.155]) by mx1.freebsd.org (Postfix) with ESMTP id B1350389 for ; Wed, 20 Feb 2013 17:28:08 +0000 (UTC) Received: from winston.madpilot.net (localhost [127.0.0.1]) by winston.madpilot.net (Postfix) with ESMTP id 3ZB5PL2Pg1zFTLK for ; Wed, 20 Feb 2013 18:28:06 +0100 (CET) X-Virus-Scanned: amavisd-new at madpilot.net Received: from winston.madpilot.net ([127.0.0.1]) by winston.madpilot.net (winston.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tk6KVbtpuWvU for ; Wed, 20 Feb 2013 18:28:04 +0100 (CET) Received: from vwg82.hq.ignesti.it (unknown [80.74.176.55]) by winston.madpilot.net (Postfix) with ESMTPSA for ; Wed, 20 Feb 2013 18:28:04 +0100 (CET) Message-ID: <512507A5.5080307@madpilot.net> Date: Wed, 20 Feb 2013 18:28:05 +0100 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Poudriere questions References: <2954D7E9-5FBD-4A9E-A097-195F2BBB195E@punkt.de> <512502C3.9010702@madpilot.net> <0A93B8B5-9C00-4E5E-A0CC-D8CF51A65A82@punkt.de> In-Reply-To: <0A93B8B5-9C00-4E5E-A0CC-D8CF51A65A82@punkt.de> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 17:28:09 -0000 On 02/20/13 18:19, Patrick M. Hausen wrote: > Hello, > > Am 20.02.2013 um 18:07 schrieb Guido Falsi : >> I'm not sure I get what you ask. You can make poudriere fetch sources from any subversion branch/tag and compile those >> instead of using the distribution files. For example: >> >> poudriere jail -c -j 91releng -v releng/9.1 -m svn >> >> will fetch sources from the 9.1 security fix branch with all the latest security fixes, compile those and crate a new jail. > > That was precisely what I was looking for - thanks. > >> I think your best bet is using customized make.conf files in /usr/local/etc/poudriere.d. >> This is documented well in the CUSTOMIZATION section of the poudriere(8) man page. > > And pray that no other software package besides Apache uses an option named > SUEXEC_DOCROOT and I want a different value for that one ... ;-) > > Is there no way to specify make variables that need values in the port specific > options file? There is no per port file, but, bbeing make.conf a file sourced by make, you can use make syntax: .if ${.CURDIR:M*www/apache22*} SUEXEC_DOCROOT=/foo/bar .endif this will make the variable defined only if working in a patch containing the string www/apache22. You can be even more stringent with the matching. > > But here, too - thanks for the hint. That _should_ work in my case, though it is > not generally applicable. Usually putting variables in the make.conf files (or the per jail, per portstrree or even the per set ones) should be enough in most cases. -- Guido Falsi