summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-03-20 01:58:41 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-20 01:58:41 +0100
commit311782cbea8ca77e0e126f1f95b02692a32899ab (patch)
tree28d37307b50a87f8c8a4b01a3f6018cd7db5acd0 /INSTALL
parente52c3c4967916bc5d747d3b93f2d2ccdc1b155a7 (diff)
Add installation instructions
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL52
1 files changed, 52 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 00000000..c06a85f8
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,52 @@
+Installation instruction for nftables
+=====================================
+
+ Prerequisites
+ =============
+
+ - standard glibc headers, gcc etc.
+
+ - libnl including support for nftables: git://git.netfilter.org/libnl-nft.git
+
+ - flex
+
+ - bison
+
+ - libgmp
+
+ - libreadline
+
+ - optional: docbook2x: required for building man-page
+
+ - optional: docbook-utils: required for building PDF man-page
+
+ Configuring and compiling
+ =========================
+
+ Run "sh autogen.sh" to generate the configure script, then:
+
+ sh configure [options]
+
+ --prefix=
+
+ The prefix to put all installed files under. It defaults to
+ /usr/local, so the binaries will go into /usr/local/bin, sbin,
+ manpages into /usr/local/share/man, etc.
+
+ --disable-debug
+
+ Disable debugging
+
+ Run "make" to compile nftables, "make install" to install it in the
+ configured paths.
+
+ Other notes
+ ===========
+
+ The nftables kernel tree can be found at:
+
+ git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nft-2.6.git
+
+ The latest version of this code can be found at:
+
+ git://git.netfilter.org/nftables.git