How to set per-port options using poudriere?
Craig Rodrigues
rodrigc at FreeBSD.org
Tue Apr 15 19:19:39 UTC 2014
Hi,
If you look at this file:
https://github.com/freenas/freenas/blob/poudriere/nanobsd/os-ports
You will see how we specify the list of ports to build
for inclusion in FreeNAS. I have managed to take
that and generate a list which can be used as input
to "poudriere bulk -f".
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?
Here is one example:
add_port_debug net/samba41 \
OPTIONS_FILE_SET+=ACL_SUPPORT \
OPTIONS_FILE_SET+=ADS \
OPTIONS_FILE_SET+=AIO_SUPPORT \
OPTIONS_FILE_UNSET+=AVAHI \
OPTIONS_FILE_UNSET+=CUPS \
OPTIONS_FILE_SET+=DEBUG \
OPTIONS_FILE_UNSET+=DEVELOPER \
OPTIONS_FILE_SET+=DNSUPDATE \
OPTIONS_FILE_SET+=EXP_MODULES \
OPTIONS_FILE_SET+=FAM_SUPPORT \
OPTIONS_FILE_SET+=LDAP \
OPTIONS_FILE_SET+=MANPAGES \
OPTIONS_FILE_SET+=MDNSRESPONDER \
OPTIONS_FILE_SET+=PAM_SMBPASS \
OPTIONS_FILE_SET+=PTHREADPOOL \
OPTIONS_FILE_SET+=QUOTAS \
OPTIONS_FILE_UNSET+=SWAT \
OPTIONS_FILE_SET+=SYSLOG \
OPTIONS_FILE_SET+=UTMP \
OPTIONS_FILE_SET+=WINBIND \
OPTIONS_FILE_SET+=NSUPDATE \
OPTIONS_FILE_UNSET+=BIND98 \
OPTIONS_FILE_UNSET+=BIND99
Thanks.
--
Craig
More information about the freebsd-pkg
mailing list