FOLLOW THESE STEPS:
-1) If /usr/src/linux contains the kernel headers of a recent 2.4
- kernel:
- % make
- Otherwise:
+0) There may be some outstanding bugfixes or tweaks which are not yet
+ in the official kernel. To look through these, do:
+ % make pending-patches KERNEL_DIR=<<where-your-kernel-is>>
+
+1) Next, make the package.
% make KERNEL_DIR=<<where-your-kernel-is>>
2) Finally, you need to to install the shared libraries, and the binary:
- # make install
- Or
# make install KERNEL_DIR=<<where-your-kernel-is>>
If you are a developer, you can install the libipq headers, like:
NETFILTER_VERSION:=1.2
OLD_NETFILTER_VERSION:=1.1.2
+# Waiting for inclusions in the kernel tree.
+PENDING_PATCHES:=dropped-table.patch
+# These went in previous kernels.
+PENDING_PATCHES+=ipv6-fixes.patch.ipv6 masquerade+fwmark.patch nat-overlap.patch ppc-sparc-mangle.patch
+
LIBDIR:=/usr/local/lib
BINDIR:=/usr/local/sbin
MANDIR:=/usr/local/man
print-extensions:
@[ -n "$(OPTIONALS)" ] && echo Extensions found: $(OPTIONALS)
+pending-patches:
+ @cd patch-o-matic && KERNEL_DIR=$(KERNEL_DIR) ./runme $(PENDING_PATCHES)
+
iptables.o: iptables.c
$(CC) $(CFLAGS) -DIPT_LIB_DIR=\"$(IPT_LIBDIR)\" -c -o $@ $<