How to pass option poudriere

Christopher J. Ruwe cjr at cruwe.de
Tue Feb 25 16:39:19 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Tue, 25 Feb 2014 15:25:17 +0100
Albert Shih <Albert.Shih at obspm.fr> wrote:

> Hi all, 
> 
> I would like to known how can I pass some option for a ports to
> poudriere.
> 
> For example I build subversion with those options : 
> 
>     # This file is auto-generated by 'make config'.
>     # Options for subversion-1.8.8
>     _OPTIONS_READ=subversion-1.8.8
>     _FILE_COMPLETE_OPTIONS_LIST=BDB DOCS FREEBSD_TEMPLATE
> GNOME_KEYRING KDE_KWALLET MAINTAINER_DEBUG MOD_DAV_SVN NLS
> P4_STYLE_MARKERS SASL SERF STATIC SVNSERVE_WRAPPER TEST TOOLS
>     OPTIONS_FILE_UNSET+=BDB
>     OPTIONS_FILE_SET+=DOCS
>     OPTIONS_FILE_UNSET+=FREEBSD_TEMPLATE
>     OPTIONS_FILE_UNSET+=GNOME_KEYRING
>     OPTIONS_FILE_UNSET+=KDE_KWALLET
>     OPTIONS_FILE_UNSET+=MAINTAINER_DEBUG
>     OPTIONS_FILE_UNSET+=MOD_DAV_SVN
>     OPTIONS_FILE_SET+=NLS
>     OPTIONS_FILE_UNSET+=P4_STYLE_MARKERS
>     OPTIONS_FILE_UNSET+=SASL
>     OPTIONS_FILE_SET+=SERF
>     OPTIONS_FILE_UNSET+=STATIC
>     OPTIONS_FILE_UNSET+=SVNSERVE_WRAPPER
>     OPTIONS_FILE_UNSET+=TEST
>     OPTIONS_FILE_UNSET+=TOOLS
> 
> It's not standard default options, how can I tell poudriere to use
> those options ? 
> 
> Regards.
> 
> 

Because poudriere is designed to build ports in several
configurations, there is not one ports options DB (/var/db/ports), but
several per jail, per port and per set
(/usr/local/poudrier.d/<jailname>-<portsname>-<setname>-options/).

So, you can reuse your existing options by copying the tree over. See
also the relevant section in the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-poudriere.html). 

Cheers,
- -- 
Christopher

TZ:         GMT + 1h
GnuPG/GPG:  0xE8DE2C14
 
FreeBSD 10.0-STABLE #0 r262291+cf0fa48(stable/10): Sat Feb 22 02:01:26
CET 2014 cjr at dijkstra.hb22.cruwe.de:/usr/obj/usr/src/sys/GENERIC 
 
Punctuation matters:
"Lets eat Grandma or Lets eat, Grandma" - Punctuation saves lives.
"A panda eats shoots and leaves" or "A panda eats, shoots, and leaves" -
Punctuation teaches proper biology.

"With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead." (RFC 1925)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBCgAGBQJTDMcxAAoJEJTIKW/o3iwUF/IQAJB+n0S2bSPINL2nWAHfsDCm
1w8P5GSCcj770beG3rqtfnPitnjkNaLSCvD1DBSPaadhJI8LKA9lHOynshr3DyJg
6uQG/r6TW+JUOtSB5sJgb7UG8YXPxQNI/dOOjX/mPokFfZbr8JEFLW2gaYLG0b9g
i/jzFNslTRfhqwu6Gmc/ttik91lj0ZXiDZ6judhSRnn3UHQIFuSSPv16hfXD9LGU
ZfNYfcrGe5rLPhkCjj4JNqHJLQOHD5CuwebqcXLRL14f9v2s3Fwl07J1kyr678XE
Q9ZiyB2cS+jRbJwOhBlNUXBie9r6TkKbqz4NPmBMWaCuZ1HiNFLYcUAfEQHcMiUK
5TaesZbNc1C6eLFbe0Zv5nTnW8XILQiNLg2njWWvzEYRwixt923XI3PmmOPu9w+L
dj3aHP2QzQYQbfR8X7lSz7Jr4P9/JScbZ33HTMfEh4Q4/EJQ/GvUr04K3WWFWzIA
eVcpz2tsnBT5o5k9UZGkbwayg3T9r5/yoW8CehbPVMECi3MOkh90cOQTk22Df+xO
dBoMhaJfyto3BWqXpIepSVaKldz1ujf1Fm1a32B/O45+czQMJLjKrwon69OLRyBc
smkMFPhtj/j3Zq/Y9mENBdzOIm+8n1kdNBu0kMEEx5b31fpOnv//FxQSbMSh9iYU
myY74PdblHUWoka3Y4o2
=dcWb
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list