From owner-freebsd-pkg@FreeBSD.ORG Wed Apr 16 00:44:12 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D553B7C; Wed, 16 Apr 2014 00:44:12 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.feld.me", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 093F81244; Wed, 16 Apr 2014 00:44:11 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id bd84c2cc; Tue, 15 Apr 2014 19:37:28 -0500 (CDT) Received: from feld@feld.me by mail.feld.me (Archiveopteryx 3.2.0) with esmtpsa id 1397608647-32718-6041/5/35; Wed, 16 Apr 2014 00:37:27 +0000 Content-Type: text/plain Mime-Version: 1.0 Subject: Re: How to set per-port options using poudriere? From: Mark Felder In-Reply-To: Date: Tue, 15 Apr 2014 19:37:23 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <2451045F-88DB-4ED3-BDE2-15E977C1A235@FreeBSD.org> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.1874) Sender: feld@feld.me Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2014 00:44:12 -0000 On Apr 15, 2014, at 17:47, Craig Rodrigues wrote: > On Tue, Apr 15, 2014 at 12:19 PM, Craig Rodrigues = wrote: >>=20 >> How can I take the list of per-port options in that file >> and translate that to per-port options which can be used >> as input to poudriere? >>=20 >=20 > OK, I think I figured it out by reading: >=20 > https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/poudriere.8.wiki#x= 435553544f4d49534154494f4e >=20 > and creaeted etc/poudriere.d/options//options > files for each port with options. >=20 > I committed my fix here: >=20 > https://github.com/freenas/freenas/commit/fda8bc354c55b6f1a37bbe4208c9e= 22b1c8e6510 >=20 I personally do not recommend doing it this way: etc/poudriere.d/options/= portname/options The main reason is that it is both difficult to track what options you = intended to change, and the fact that those options will never get = updated. If a port maintainer adds a new option and turns it on by = default or perhaps disables an option by default, your options file will = not be updated to reflect this. It will make it painful to troubleshoot = your ports/packages. I prefer to enter the changes in etc/poudriere.d/make.conf (or one of = the other make.conf's available here for your build flavor, etc) The format in make.conf is as follows: lang_php5_SET=3D DTRACE lang_php5_UNSET =3D FPM This will make it much easier to track over time exactly which port = options you intend to change.