summaryrefslogtreecommitdiff
path: root/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'iptables')
-rw-r--r--iptables/iptables_1.2.11.oe22
-rw-r--r--iptables/iptables_1.2.9.oe1
2 files changed, 23 insertions, 0 deletions
diff --git a/iptables/iptables_1.2.11.oe b/iptables/iptables_1.2.11.oe
index e69de29bb2..6ed9e7cbf7 100644
--- a/iptables/iptables_1.2.11.oe
+++ b/iptables/iptables_1.2.11.oe
@@ -0,0 +1,22 @@
+DESCRIPTION = "iptables network filtering tools"
+SECTION = "console/utils"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"
+
+S = "${WORKDIR}/iptables-${PV}"
+
+export COPT_FLAGS = "${CFLAGS}"
+export KERNEL_DIR = "${STAGING_INCDIR}"
+
+do_compile () {
+ unset CFLAGS
+ oe_runmake BINDIR=${D}/${bindir} LIBDIR=${D}/${libdir} MANDIR=${D}/${mandir} NO_SHARED_LIBS=1
+}
+
+do_install () {
+ oe_runmake BINDIR=${D}/${bindir} LIBDIR=${D}/${libdir} MANDIR=${D}/${mandir} install NO_SHARED_LIBS=1
+}
+
+FILES_${PN}-doc += "${mandir}"
+
diff --git a/iptables/iptables_1.2.9.oe b/iptables/iptables_1.2.9.oe
index 9f1ae7c909..4a64812acf 100644
--- a/iptables/iptables_1.2.9.oe
+++ b/iptables/iptables_1.2.9.oe
@@ -1,5 +1,6 @@
SECTION = "console/network"
DESCRIPTION = "iptables network filtering tools"
+LICENSE = "GPL"
SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"