# as root, install prerequisite Berkeley DB 4.6 (not 4.7!) cd /usr/ports/database/db46 make make install sync rehash # /tmp sometimes fills up on large builds. # find a suitable directory to build squidGuard: mkdir /usr/compile chmod 1777 /usr/compile #same permissions as /tmp, optional cd /usr/compile # download squidGuard tarball fetch http://www.squidguard.org/Downloads/squidGuard-1.4.tar.gz tar zxvf squidGuard-1.4.tar.gz cd squidGuard-1.4 # configure needs explicit options, because the FreeBSD ports build of DB puts # things where squidGuard does not expect them to be: ../configure --with-db=/usr/local/bin/db46 --with-db-inc=/usr/local/include/db46 --with-db-lib=/usr/local/lib/db46 make make install [...] "Congratulation. SquidGuard is sucessfully installed." Everything appears to have installed in /usr/local/squidGuard