Building Pen from source on FreeBSD - UlricE/pen GitHub Wiki

FreeBSD 10.1

The first step is to bootstrap pkg, if it hasn't already been done:

pkg

Just for fun, let's see what's already available:

root@freebsd:~ # pkg search pen|grep ^pen-
pen-0.27.5

Which is the most recent release at the time of writing. But we want to build ourselves anyway:

pkg install gcc
tar zxfv pen-0.27.5.tar.gz
cd pen-0.27.5
./configure
make

Testing:

root@freebsd:~/Git/penloadbalancer-code # ./pen -dfU 53 192.168.11.10:53

ulric@qvp2:~$ dig @freebsd +short siag.nu
194.9.95.65