Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save szaydel/5229522 to your computer and use it in GitHub Desktop.
Save szaydel/5229522 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 /some/temp/dir
$ git clone git://git.code.sf.net/p/netatalk/code netatalk
$ cd netatalk
$ ./bootstrap
Configure install
./configure \
--prefix=/usr/local \
--enable-debian \
--enable-zeroconf \
--with-cracklib \
--with-acls \
--with-pam \
--enable-krbV-uam \
--enable-tcp-wrappers \
--with-pam-confdir=/etc/pam.d \
--with-dbus-sysconf-dir=/etc/dbus-1/system.d \
--with-tracker-pkgconfig-version=0.16 \
--sysconfdir=/etc/netatalk \
--with-init-style=debian
make
checkinstall --pkgname=netatalk3 --pkgversion=3.1.2 --backup=yes --deldoc=yes --default --fstrans=no
This should do it.
$ 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