README.md: include nettle and clarify the role of optional packages

Resolves: #700

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2026-12-05 11:22:16 +01:00
parent fa4f9832ab
commit 6eece0a4f9
+8 -6
View File
@@ -33,11 +33,12 @@ configuration while ocserv-main will use the previous configuration.
# Basic build tools
apt-get install -y build-essential meson ninja-build pkg-config
# Required
apt-get install -y libgnutls28-dev libev-dev libreadline-dev libtasn1-bin
apt-get install -y libgnutls28-dev nettle-dev libev-dev libreadline-dev
# Required when building from git (see "Building from git" below)
apt-get install -y protobuf-c-compiler gperf
# Optional functionality and testing
apt-get install -y libpam0g-dev liblz4-dev libseccomp-dev \
# Optional: enable optional features (when found at configure time) and
# provide the tools needed to run the test suite
apt-get install -y libtasn1-bin libpam0g-dev liblz4-dev libseccomp-dev \
libnl-route-3-dev libkrb5-dev libradcli-dev \
libcurl4-gnutls-dev libcjose-dev libjansson-dev liboath-dev \
libprotobuf-c-dev libtalloc-dev libllhttp-dev \
@@ -53,11 +54,12 @@ apt-get install -y ronn
# Basic build tools
yum install -y meson ninja-build gcc pkgconf-pkg-config
# Required
yum install -y gnutls-devel libev-devel readline-devel libtasn1-tools
yum install -y gnutls-devel nettle-devel libev-devel readline-devel
# Required when building from git (see "Building from git" below)
yum install -y protobuf-c-compiler gperf
# Optional functionality and testing
yum install -y pam-devel lz4-devel libseccomp-devel \
# Optional: enable optional features (when found at configure time) and
# provide the tools needed to run the test suite
yum install -y libtasn1-tools pam-devel lz4-devel libseccomp-devel \
libnl3-devel krb5-devel radcli-devel libcurl-devel cjose-devel \
jansson-devel liboath-devel protobuf-c-devel libtalloc-devel \
llhttp-devel iperf3 lcov uid_wrapper \