Skip to content

Building Pen from Git on FreeBSD

Ulric edited this page May 2, 2015 · 2 revisions

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