Installing packages

pkg install <package>

Building packages

Log in on build system

ssh huntington.dfri.se

Update the ports tree

cd /zroot/poudriere/ports
git pull

Start build

nice poudriere bulk -f /usr/local/etc/pkglist-poudriere -j 12_1_amd64

Create repository

pkg repo -l /data/packages/12_1_amd64-default /usr/local/etc/dfrirepo_privkey.pem

Copy packages to the package repository

zfs snapshot zroot/poudriere/data/packages@<FIXME:.real_TIMESTAMP>
: figure out latest sent snap, maybe through zfs list -t snap
zfs send -DL -R -i @<FIXME:previous-TIMESTAMP> zroot/poudriere/data/packages@<FIXME:.real_TIMESTAMP | ssh -i ~/.ssh/pkgrepo -l _pkgsync pan.dfri.se

Build infrastructure setup

See dfriadm/sysadmin/hosts/huntington.dfri.se.mdwn