Please read the documentation in docs or at https://libreswan.org/
Specific vendors/distribution build instructions available in packaging/
Build requirements
------------------
bison flex pkgconfig gcc make xmlto
nss nspr libevent
for systemd: pkgconfig hostname systemd
for pam/xauth: pam
for dnssec support: unbound ldns
for legacy FIPS support: fipscheck
for libcap-ng support: libcap-ng
for CRL fetching support: libcurl
for CRL ldap fetching support: openldap
for audit support: audit-libs
for seccomp support: libseccomp
for labeled ipsec support: libselinux
for man page regeneration: xmlto
Building userland
-----------------
make all
sudo make install
For a minimal install (no manpages) type:
make base
sudo make install-base
The file Makefile.inc.local can be used to enable/disable features
configured by mk/config.mk.