summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/iptables/iptables.inc2
-rw-r--r--recipes/iptables/iptables_1.4.7.bb9
2 files changed, 10 insertions, 1 deletions
diff --git a/recipes/iptables/iptables.inc b/recipes/iptables/iptables.inc
index c8f70d49d3..b2daf4860a 100644
--- a/recipes/iptables/iptables.inc
+++ b/recipes/iptables/iptables.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.netfilter.org/"
SECTION = "console/utils"
LICENSE = "GPL"
-SRC_URI = "http://netfilter.org/projects/iptables/files/iptables-${PV}.tar.bz2"
+SRC_URI = "http://netfilter.org/projects/iptables/files/iptables-${PV}.tar.bz2;name=iptables-${PV}"
S = "${WORKDIR}/iptables-${PV}"
INC_PR = "r6"
diff --git a/recipes/iptables/iptables_1.4.7.bb b/recipes/iptables/iptables_1.4.7.bb
new file mode 100644
index 0000000000..8e0dc3158c
--- /dev/null
+++ b/recipes/iptables/iptables_1.4.7.bb
@@ -0,0 +1,9 @@
+require iptables.inc
+inherit autotools
+EXTRA_OECONF = "--with-kernel=${STAGING_INCDIR} \
+ ${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6', d)}"
+
+PR = "${INC_PR}.0"
+
+SRC_URI[iptables-1.4.7.md5sum] = "645941dd1f9e0ec1f74c61918d70d52f"
+SRC_URI[iptables-1.4.7.sha256sum] = "9f61f389cabdde79e26ca78c336db1b6373b67f80f7cfcb3e9d9ff520b325452" \ No newline at end of file