Skip to content

Instantly share code, notes, and snippets.

@rke
Forked from beshkenadze/1_netatalk-3-install-on-debian-7
Created February 26, 2013 01:18
Show Gist options
  • Save rke/5034954 to your computer and use it in GitHub Desktop.
Save rke/5034954 to your computer and use it in GitHub Desktop.

Install prerequisites:

$ 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

Download src:

$ cd /usr/local/src
$ git clone git://netatalk.git.sourceforge.net/gitroot/netatalk/netatalk
$ cd netatalk
$ ./bootstrap

Configure install

$ ./configure --enable-debian --enable-zeroconf --with-cracklib --with-acls --enable-tcp-wrappers --with-init-style=debian

Build!

$ sudo checkinstall --pkgname=netatalk --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no

Config is in /usr/local/etc/afp.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment