Created
February 11, 2015 14:46
-
-
Save ammmze/4dfba2a49d6d4b0b639c to your computer and use it in GitHub Desktop.
Install Netatalk (Ubuntu) (Work in Progress)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=3.1.7 | |
TRACKER_VERSION=`apt-cache search libtracker-miner | grep dev | grep -oE '[0-9\.]+'` | |
sudo apt-get install build-essential \ | |
libevent-dev \ | |
libssl-dev \ | |
libgcrypt11-dev \ | |
libkrb5-dev \ | |
libpam0g-dev \ | |
libwrap0-dev \ | |
libdb-dev \ | |
libtdb-dev \ | |
libmysqlclient-dev \ | |
libavahi-client-dev \ | |
libacl1-dev \ | |
libldap2-dev \ | |
libcrack2-dev \ | |
systemtap-sdt-dev \ | |
libdbus-1-dev \ | |
libdbus-glib-1-dev \ | |
libglib2.0-dev \ | |
tracker \ | |
libtracker-sparql-$TRACKER_VERSION-dev \ | |
libtracker-miner-$TRACKER_VERSION-dev | |
sudo apt-get remove libavahi-compat-libdnssd-dev | |
./configure \ | |
--with-init-style=debian-sysv \ | |
--without-libevent \ | |
--without-tdb \ | |
--with-cracklib \ | |
--enable-krbV-uam \ | |
--with-pam-confdir=/etc/pam.d \ | |
--with-dbus-sysconf-dir=/etc/dbus-1/system.d \ | |
--with-tracker-pkgconfig-version=$TRACKER_VERSION | |
make && sudo make install | |
INSTALLED_VERSION=`afpd -v | grep 'afpd' | grep -oE '[0-9\.]+'` | |
if [ $VERSION -eq $INSTALLED_VERSION ]; then | |
echo 'Success' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment