This sequence of commands work well for me to get a SSL-enabled version of Netatalk compiled “the Debian way” or “the Ubuntu way”, where you get a nice .deb file:
[code]
mkdir -p ~/src/netatalk
cd ~/src/netatalk
sudo apt-get install devscripts cracklib2-dev dpkg-dev libssl-dev build-essential
sudo apt-get build-dep netatalk
apt-get source netatalk
cd netatalk-2.0.3
DEB_BUILD_OPTIONS=ssl dpkg-buildpackage -us -uc
sudo debi
[/code]
Now you can install the .deb package that was just created.
You will want to set Netatalk “on hold” so that it will not update, killing your custom SSL version:
[code]
echo "netatalk hold" | sudo dpkg –set-selections
[/code]
Leave a Reply