Documentation

Use the system ports tree in poudriere

Port trees are listed in /usr/local/etc/poudriere.d/ports/. Any filesystem is supported as long as it is mounted. To add a custom tree called custom located at /ports/custom:

# mkdir -p               /usr/local/etc/poudriere.d/ports/custom
# echo '-'             > /usr/local/etc/poudriere.d/ports/custom/method
# echo '/ports/custom' > /usr/local/etc/poudriere.d/ports/custom/mnt

To check that everything is correctly working:

# poudriere ports -l
PORTSTREE            METHOD        PATH
custom               -             /ports/custom

You can now use it with bulk and testport with the -p option:

# poudriere bulk -p custom -j JAIL -f LIST
# poudriere testport -p custom -j JAIL -o PORT