diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-07-18 13:42:59 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-07-21 15:37:12 +0200 |
commit | 8e339bae3c9918b38bd72ddacf7765a12c1dcda9 (patch) | |
tree | 7717a3bd9efaac01d87cfa92cfceadea5f001812 /INSTALL | |
parent | 11bc7d9b9ee310ce5829fc149f43d73d4f443abe (diff) |
update INSTALL file
Update it to current library dependencies and existing options.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 41 |
1 files changed, 29 insertions, 12 deletions
@@ -4,7 +4,7 @@ Installation instructions for nftables Prerequisites ============= - - standard glibc headers, gcc etc. + - build tooling: glibc headers, gcc, autotools, automake, libtool, pkg-config. - libmnl: git://git.netfilter.org/libmnl.git @@ -14,17 +14,15 @@ Installation instructions for nftables - bison - - libgmp + - libgmp: alternatively, see mini-gmp support below. - - libreadline - - - pkg-config - - - libtool + - libreadline or libedit or linenoise: required by interactive command line - optional: libxtables: required to interact with iptables-compat - - optional: docbook2x: required for building man-page + - optional: libjansson: required to build JSON support + + - optional: asciidoc: required for building man-page Configuring and compiling ========================= @@ -60,17 +58,36 @@ Installation instructions for nftables For libxtables support to interact with the iptables-compat utility. - Suggested configuration options: --prefix=/ --datarootdir=/usr/share + --without-cli + + To disable interactive command line support, ie. -i/--interactive. + + --with-cli=readline + + To enable interactive command line support with libreadline. + + --with-cli=linenoise + + To enable interactive command line support with linenoise. + + --with-cli=editline + + To enable interactive command line support with libedit. + + --with-json + + To enable JSON support, this requires libjansson. Run "make" to compile nftables, "make install" to install it in the configured paths. - Other notes + Source code =========== - The nftables kernel tree can be found at: + Netfilter's Linux kernel tree can be found at: - git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nftables.git + git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/ + https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git The latest version of this code can be found at: |