Building Pen from Git 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

That's quite recent. But we want bleeding edge.

pkg install automake autoconf gcc git
mkdir Git
cd Git
git clone https://github.com/UlricE/pen.git
cd pen
aclocal
automake --add-missing
autoconf
./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