This is a fork of the 3.1 branch of the Netatalk repo on SourceForge. It has been patched for clean compilation and use on current versions of macOS only, and enables AFP2 and AFP3 file sharing between modern macs and classic PPC macs running Mac OS 9.2.2 to Mac OS X 10.5.8 (Leopard). It has been tested on macOS 10.14 (Mojave) to macOS 13.2.1 (Ventura). All code unused in macOS has been removed so this version of Netatalk will only run on modern Intel or Apple Silicon macs.
The Netatalk open-source AFP filesever project - all developers past and present.
@mabam, @rdmark, @Synology-andychen, @mikeboss and @christopherkobayashi for various recent patches
-
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install Netatalk's dependencies from Homebrew:
brew install berkeley-db dgsga/netatalk-dbus/dbus-glib docbook-xsl libevent libgcrypt meson mysql libressl pkg-config
-
Clone the repo:
git clone https://github.com/dgsga/netatalk.git
-
cd to the repo then run the following commands:
meson setup build
sudo ninja -C build install
-
Set up your afp.conf file and specify AFP shares as needed.
Notes: For afpstats to work afpstats = yes must be in the global section of afp.conf. The icon folder contains a Mac OS 9 colour icon for the AFP share. The extension folder contains a System Folder extension for enabling Bonjour in Mac OS 9.