File: INSTALL

package info (click to toggle)
libreswan 3.27-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,684 kB
  • sloc: ansic: 137,932; sh: 24,754; xml: 14,989; python: 7,065; asm: 4,026; makefile: 1,766; perl: 1,133; yacc: 689; lex: 667; sed: 469; awk: 94
file content (57 lines) | stat: -rw-r--r-- 1,596 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

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-devel nspr-devel libevent-devel

for systemd: pkgconfig hostname systemd-devel
for pam/xauth: pam-devel
for dnssec support: unbound-devel ldns-devel
for FIPS support: fipscheck-devel
for libcap-ng support: libcap-ng-devel
for CRL fetching support: libcurl-devel
for CRL ldap fetching support: openldap-devel
for audit support: audit-libs-devel

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 and mk/userland-cflags.mk

Optional building alternative KLIPS IPsec stack
-----------------------------------------------

On Linux 2.6 or higher for the running kernel:

	make module
	sudo make module_install

Build for a kernel different from the running kernel:

	make KERNELSRC=//usr/src/kernel/linux-9.42 module

Building KLIPS kernel module for the old Linux 2.4 kernel

	make module24
	sudo make minstall24

When using KLIPS with OCF:

	make CONFIG_KLIPS_OCF=y MODULE_DEF_INCLUDE=$${LIBRESWANSRCDIR}/packaging/ocf/config-all.hmodules module module_install

When called in openwrt/packaging/libreswan/Makefile to build kmod-libreswan

	make MODULE_DEFCONFIG=$${LIBRESWANSRCDIR}/packaging/openwrt/defconfig MODULE_DEF_INCLUDE=$${LIBRESWANSRCDIR}/packaging/openwrt/config-all.h module