AFP with Netatalk to support Time Machine

Hi; I wonder how if someones could integrate NetaTalk as a application for YunoHost ?

The package is available into Wheezy and this is the ‘HowTo’ I used to install it on Jessie.

#installation: Time-Machine

add sources

# nano /etc/apt/sources.list.d/unstable.list
–8<---------------cut here---------------start------------->8—
# unstable
deb http://ftp.debian.org/debian unstable main contrib non-free
deb-src http://ftp.debian.org/debian unstable main contrib non-free
–8<---------------cut here---------------end--------------->8—

add preferences

# nano /etc/apt/preferences.d/unstable
–8<---------------cut here---------------start------------->8—
Package: *
Pin: release a=unstable
Pin-Priority: -1
—8<---------------cut here---------------end--------------->8—

install netatalk

# apt-get update -y
# apt-get install netatalk/unstable

configure netatalk

# nano /etc/netatalk/AppleVolumes.default
[comment and add]
–8<---------------cut here---------------start------------->8—
# By default all users have access to their home directories.
### use Samba instead
#~/ “Home Directory”

# TimeMachine
## http://kremalicious.com/ubuntu-as-mac-file-server-and-time-machine-volume/
## http://bastibe.de/using-a-raspberry-pi-as-a-time-capsule-for-mountain-lion.html
"/srv/TimeMachine//$USER" "TimeMachine options:tm,usedots,upriv deny:“nobody”
–8<---------------cut here---------------end--------------->8—