From owner-freebsd-ports@FreeBSD.ORG Tue Apr 28 22:40:32 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48137A33; Tue, 28 Apr 2015 22:40:32 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0E1B1066; Tue, 28 Apr 2015 22:40:31 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9597328428; Wed, 29 Apr 2015 00:40:29 +0200 (CEST) Received: from illbsd.quip.test (ip-89-177-50-74.net.upcbroadband.cz [89.177.50.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 4E89A28427; Wed, 29 Apr 2015 00:40:28 +0200 (CEST) Message-ID: <55400C5C.4070606@quip.cz> Date: Wed, 29 Apr 2015 00:40:28 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Bryan Drewery CC: FreeBSD Ports Subject: Re: poudriere-3.1.4 options not working as expected References: <553FFF5E.5070600@quip.cz> <55400546.6020407@FreeBSD.org> In-Reply-To: <55400546.6020407@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2015 22:40:32 -0000 Bryan Drewery wrote on 04/29/2015 00:10: [...] > I answered questions below but I think your approach is wrong. Just make > 1 set / repository and use meta packages. See my blog > http://blog.shatow.net/posts/2013-07-21-managing-role-based-freebsd-servers-with-meta-packages-and-poudriere/ > > You would make a local/projectA meta package, local/projectB meta > package, etc. Your bulk list would only have the top-level meta-packages. > > The one downside is that this would be 1 set with the same options. Good point, maybe I will go this way. >> > [...] >> >> So why poudriere options did ask me for cyrus-sasl option if it is not >> needed and not built? > > > The 'options' subcommand just calls 'make config-conditional' on the > port and then 'make config-recursive' on it again so that this issue > doesn't happen. Perhaps these commands are broken in the ports framework. Yes, I did saw something similar in the past with portmaster's build / configuring options. So it can be broken in the ports framework. [...] >> After reading the docs on >> https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/poudriere.8.wiki#x437573746f6d206275696c64206f7074696f6e73 >> > > That site is not updated anymore. The current documentation is > https://github.com/freebsd/poudriere/wiki/poudriere.8 Thank you, I didn't know it. >> I expected poudriere to combine options from both directories together. > > No, it won't do that. Each options dir is a specific set. It will never > build _a set_ using _multiple sets_ configs and options. It will only > use files from _that 1 set_. > > There is no sane way for Poudriere to do what you want. The 2 options > dirs could easily conflict with each other. I recommend against trying > to make this work and just making a new set. OK >> Is it possible to use some kind of union mount / unionfs to overlay all >> found directories according to CUSTOMISATION order? >> >> And in the meantime - is it possible to use multiple -f for "poudriere >> options" command? > > Yes, but again only 1 set will be used. So you have to make a '-z > combined_set' and run options against that set. OK, I will make a first set as before, copy all options subdirectories to the second set directory and then run "poudrier options" for this new bigger set containing merged ports lists so I will change only options for additional new ports. Thank you for your quick response! Miroslav Lachman