Installing Netatalk 3 on FreeBSD
See Also
- Compile Netatalk from Source: FreeBSD in the Manual
- INSTALL.md in the source tree
Packages
Packages required to bootstrap the code:
pkg install autoconf automake libtool pkgconf
Packages required to build the code:
pkg install -y \
autoconf \
automake \
avahi \
bison \
db5 \
flex \
gmake \
libevent \
libgcrypt \
libressl \
libtool \
openldap26-client-2.6.8 \
pkgconf \
talloc \
tracker3
Build
Due to earlier bugs in Netatalk, please use version 3.1.16 or later for building on FreeBSD.
Bootstrap, configure, build, and install the code:
./bootstrap
./configure \
--with-init-style=freebsd \
--with-ldap=/usr/local \
--with-ssl-dir=/usr/local \
--with-tracker-pkgconfig-version=3.0 \
MAKE=gmake
gmake
gmake install
Run
The Netatalk 3.2 release series ships with an init script for FreeBSD.
If needed, activate the script with
/etc/rc.d/netatalk enable
Start or stop the script with
/etc/rc.d/netatalk start
/etc/rc.d/netatalk stop
This is a mirror of the Netatalk GitHub Wiki. Please visit the original page if you want to correct an error or contribute new contents.
Last updated 2024-07-20