- Generic build is sufficient (see configure options below)
- Ensure build dependencies are installed.
pkg install data/docbook database/berkeleydb-5 system/file-system/ufs system/network/avahi
cd ~/Downloads
curl -LO http://downloads.sourceforge.net/project/netatalk/netatalk/3.1.10/netatalk-3.1.10.tar.bz2
cd ~/src
tar xf ~/Downloads/netatalk-3.1.10.tar.bz2
cd netatalk-3.1.10
./configure --prefix=/opt/netatalk --sysconfdir=/etc/opt/netatalk --localstatedir=/var/opt/ --enable-krbV-uam --enable-zeroconf --with-pam --with-pam-confdir=/etc/pam.d --with-dbus-sysconf-dir=/etc/dbus-1/system.d --with-lockfile=/var/run/netatalk.lock --with-init-style=solaris --with-bdb --with-gssapi=/usr/include/gssapi --enable-srvloc --with-docbook=/usr/share/sgml/docbook/xsl-stylesheets
make
make check
make -k DESTDIR=~/pkg/Netatalk/Proto.dist/dist install
- Ignore error about failing to create service
cd ~/pkg/Netatalk/Build
gmake
gmake pkglint
gmake publish