Install as a separate pkg for now checkinstall not working, installing simply from netatalk3
.make install
.
But do not try to install it with standart netatalk
package at the same time.
sudo apt-get remove netatalk
sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev libpam0g-dev
tested on 3.0.7
wget http://downloads.sourceforge.net/project/netatalk/netatalk/3.0.7/netatalk-3.0.7.tar.bz2
tar -cvf netatalk-3.0.7.tar.bz2
cd netatalk-3.0.7
./configure \
--prefix=/usr/local \
--enable-debian \
--enable-zeroconf \
--with-cracklib \
--with-acls \
--with-pam \
--enable-tcp-wrappers \
--with-pam-confdir=/etc/pam.d \
--with-dbus-sysconf-dir=/etc/dbus-1/system.d \
--sysconfdir=/etc/netatalk3 \
--with-init-style=debian
# i've got some problem with compiling bundled libevent with checkinstall
# need more investigation
# sudo checkinstall --pkgname=netatalk3 --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no
make
sudo make install
Sample configs is in /usr/local/etc/afp.conf
Config dir: /etc/netatalk3
.
If you upgrades from netatalk2 configs should be rewrited. See: http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html for details.