-
Notifications
You must be signed in to change notification settings - Fork 90
Installing Netatalk on OmniOS
The unofficial OpenCSW package repository for Solaris and Solaris-likes distributes a netatalk binary package that can be installed through their package manager.
For building and installing from source yourself, find links to the official documentation below.
- Compile Netatalk from Source: OmniOS in the Manual
- INSTALL.md in the source tree
Note that Netatalk 3.x and 4.x require libevent v2 which is not distributed with vanilla OmniOS. Therefore applying the SmartOS bootstrap layer is recommended to get modern libraries, including Meson, Tracker, Libgcrypt etc. This process is described in the Compile chapter linked above.
An alternative route is to build libevent v2 from scratch, which should theoretically work but has not been demonstrated (yet). The libevent build system uses CMake.
Beyond this, the following should get you started with Netatalk 4.x:
pkg install bdb bison build-essential flex ninja pkg-config
/usr/lib/python3.12/bin/pip install meson
meson setup build \
-Dbuildtype=release \
-Dwith-bdb-path=/opt/ooce \
-Dwith-dbus-sysconf-path=/usr/share/dbus-1/system.d
meson compile -C build
meson install -C build
Start Netatalk.
svcadm enable svc:/network/netatalk:default
Stop Netatalk.
svcadm disable svc:/network/netatalk:default
This page contains notes on configuring and installing Netatalk 2.x on OmniOS Community Edition; specific version used for this article was r151044.
It covers the legacy Autotools build system. In most cases, you want to follow the instructions in the links at the top of this page to install later versions instead.
A git client as well as the autotools, gcc compiler and Berkeley DB are needed.
pkg install git libtool automake build-essential bdb pkg-config
Here we assume a bootstrapped tarball release is used, so we skip the bootstrap step
./configure --with-bdb=/opt/ooce
make all
make install
OmniOS uses an old-school PAM configuration, so manual modification of /etc/pam.conf
is required
See one example in this blog post titled OmniOS: Netatalk with PAM Authentication
Use the init script in /etc/rc2.d/S90netatalk
to control the Netatalk service.
Ex.
sudo /etc/rc2.d/S90netatalk start
sudo /etc/rc2.d/S90netatalk stop
Resources
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Technical Docs
- CatalogSearch
- Kerberos
- Special Files and Folders
- Spotlight
- AppleTalk Kernel Module
- Print Server
- MacIP Gateway
Development