summaryrefslogtreecommitdiff
path: root/packages/iptables
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-14 22:49:22 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-14 22:49:22 +0000
commit3161ca09f01c8543b6b97183989be96d00ffb62f (patch)
treed96fe51aaa9f308f1b078a60156515e52c7010ff /packages/iptables
parentc37a09b1d30f8dd5c36749c4e7ee6faf1f043ed1 (diff)
parentefb60eda6686e668e7563d7ab3bea735d671c549 (diff)
merge of 53c5b2e873bb0b8ea06a56684f9d488fc043c3b2
and e6e39921b062d03c77147b22e3d7394bdb39a97d
Diffstat (limited to 'packages/iptables')
-rw-r--r--packages/iptables/iptables_1.3.3.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/iptables/iptables_1.3.3.bb b/packages/iptables/iptables_1.3.3.bb
new file mode 100644
index 0000000000..a67df35806
--- /dev/null
+++ b/packages/iptables/iptables_1.3.3.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "iptables network filtering tools"
+HOMEPAGE = "http://www.netfilter.org/"
+SECTION = "console/utils"
+LICENSE = "GPL"
+PR = "r1"
+
+PACKAGES =+ "${PN}-utils"
+FILES_${PN}-utils = "${bindir}/iptables-save ${bindir}/iptables-restore"
+
+SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"
+
+S = "${WORKDIR}/iptables-${PV}"
+
+PARALLEL_MAKE=""
+
+export COPT_FLAGS = "${CFLAGS}"
+export KERNEL_DIR = "${STAGING_INCDIR}"
+
+do_compile () {
+ unset CFLAGS
+ oe_runmake BINDIR=${D}${sbindir} 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}"
+