summaryrefslogtreecommitdiffstats
path: root/rules/iptables.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-05-27 23:36:37 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-06-03 20:46:55 +0200
commit8f5316efa4ce706acb3dc079ea22fecd1ddec168 (patch)
tree2932cc4f5d767665d66ab754ebdf328494ae7571 /rules/iptables.make
parentd66729048b2081e5956045a498556dc8704e0cab (diff)
downloadptxdist-8f5316efa4ce706acb3dc079ea22fecd1ddec168.tar.gz
ptxdist-8f5316efa4ce706acb3dc079ea22fecd1ddec168.tar.xz
[iptables] version bump 1.4.5 -> 1.4.8
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/iptables.make')
-rw-r--r--rules/iptables.make25
1 files changed, 20 insertions, 5 deletions
diff --git a/rules/iptables.make b/rules/iptables.make
index 5e536bede..65dfced55 100644
--- a/rules/iptables.make
+++ b/rules/iptables.make
@@ -19,7 +19,7 @@ PACKAGES-$(PTXCONF_IPTABLES) += iptables
#
# Paths and names
#
-IPTABLES_VERSION := 1.4.5
+IPTABLES_VERSION := 1.4.8
IPTABLES := iptables-$(IPTABLES_VERSION)
IPTABLES_SUFFIX := tar.bz2
IPTABLES_URL := http://ftp.netfilter.org/pub/iptables/$(IPTABLES).$(IPTABLES_SUFFIX)
@@ -47,7 +47,22 @@ IPTABLES_ENV := $(CROSS_ENV)
IPTABLES_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--with-kernel=$(KERNEL_HEADERS_DIR) \
- --with-xtlibdir=/usr/lib
+ --with-xtlibdir=/usr/lib \
+ --enable-large-file \
+ --disable-devel \
+ --disable-libipq
+
+ifdef PTXCONF_IPTABLES_INSTALL_IPV4_TOOLS
+IPTABLES_AUTOCONF += --enable-ipv4
+else
+IPTABLES_AUTOCONF += --disable-ipv4
+endif
+
+ifdef PTXCONF_IPTABLES_INSTALL_IPV6_TOOLS
+IPTABLES_AUTOCONF += --enable-ipv6
+else
+IPTABLES_AUTOCONF += --disable-ipv6
+endif
# ----------------------------------------------------------------------------
# Install
@@ -83,9 +98,9 @@ $(STATEDIR)/iptables.targetinstall:
@$(call install_link, iptables, libiptc.so.0.0.0, /usr/lib/libiptc.so.0)
@$(call install_copy, iptables, 0, 0, 0644, -, \
- /usr/lib/libxtables.so.2.1.0)
- @$(call install_link, iptables, libxtables.so.2.1.0, /usr/lib/libxtables.so)
- @$(call install_link, iptables, libxtables.so.2.1.0, /usr/lib/libxtables.so.2)
+ /usr/lib/libxtables.so.4.0.0)
+ @$(call install_link, iptables, libxtables.so.4.0.0, /usr/lib/libxtables.so)
+ @$(call install_link, iptables, libxtables.so.4.0.0, /usr/lib/libxtables.so.4)
# IPv6 part
ifdef PTXCONF_IPTABLES_INSTALL_IP6TABLES_MULTI