netatalk
From Gentoo Wiki
Netatalk is a free, open-source implementation of the Apple Filing Protocol. It allows Unix-like operating systems to serve as file, print and time servers for Macintosh computers.
Installation
Emerge
Install net-fs/netatalk:
root #
emerge --ask net-fs/netatalk
Configuration
In this example, the icon model that appears on clients is a Mac Pro and all private IPv4 hosts are allowed access to a Time Machine volume.
Create the /mnt/storage/TimeMachine folder:
root #
mkdir /mnt/storage/TimeMachine
Allow all users read+write access. In practice a more secure configuration should be used with uam list = "uams_dhx.so uams_dhx2.so"
root #
chmod 777 /mnt/storage/TimeMachine
Edit /etc/afp.conf:
[Global]
mimic model = MacPro
hosts allow = 10.0.0.0/8 172.16.0.0/20 192.168.0.0/16
uam list = uams_guest.so
[TimeMachine]
path = /mnt/storage/TimeMachine
time machine = yes
Usage
Services
To start netatalk:
root #
/etc/init.d/netatalk start
To start netatalk at boot:
root #
rc-update add netatalk default