Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 19:37:23 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: How to set per-port options using poudriere?
Message-ID:  <2451045F-88DB-4ED3-BDE2-15E977C1A235@FreeBSD.org>
In-Reply-To: <CAG=rPVfr2Mhna7g__7r03wMphhLFLkbRMCma1aOTqV3%2B8P6O8Q@mail.gmail.com>
References:  <CAG=rPVcuy76W9LKGKoU8LbMRt9ran_DumqtSgNELAw6v9VE27A@mail.gmail.com> <CAG=rPVfr2Mhna7g__7r03wMphhLFLkbRMCma1aOTqV3%2B8P6O8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 15, 2014, at 17:47, Craig Rodrigues <rodrigc@FreeBSD.org> wrote:

> On Tue, Apr 15, 2014 at 12:19 PM, Craig Rodrigues <rodrigc@freebsd.org>=
 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/<portname>/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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2451045F-88DB-4ED3-BDE2-15E977C1A235>