Skip to content

Installing Netatalk 3 on FreeBSD

Daniel Markstedt edited this page Jul 11, 2024 · 10 revisions

See Also

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
Clone this wiki locally