summaryrefslogtreecommitdiff
path: root/packages/iptables/iptables_1.3.8.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-19 08:32:07 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-19 08:32:07 +0000
commitbaaed44305c68ccd1cb927b2c20b0a7e8ed7c002 (patch)
tree6329b331a0753902af4d39c9f512d086853201d5 /packages/iptables/iptables_1.3.8.bb
parentd2d15d6b81c40255b4c0c3b75764bec22b292655 (diff)
iptables 1.3.8 factor out .inc, remove some versions, add recommendation to nat iptable module
Diffstat (limited to 'packages/iptables/iptables_1.3.8.bb')
-rw-r--r--packages/iptables/iptables_1.3.8.bb36
1 files changed, 6 insertions, 30 deletions
diff --git a/packages/iptables/iptables_1.3.8.bb b/packages/iptables/iptables_1.3.8.bb
index 8dfb6c7842..4475402df8 100644
--- a/packages/iptables/iptables_1.3.8.bb
+++ b/packages/iptables/iptables_1.3.8.bb
@@ -1,32 +1,8 @@
-DESCRIPTION = "iptables network filtering tools"
-HOMEPAGE = "http://www.netfilter.org/"
-SECTION = "console/utils"
-LICENSE = "GPL"
-RRECOMMENDS = "kernel-module-ip-tables kernel-module-iptable-filter"
-PR = "r2"
-SRC_URI = "http://netfilter.org/projects/iptables/files/iptables-${PV}.tar.bz2 \
- file://getsockopt-failed.patch;patch=1 \
- file://iptables-use-s6_addr32.patch;patch=1 \
- "
+require iptables.inc
+PR = "r3"
-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 () {
- unset CFLAGS
- oe_runmake BINDIR=${D}${sbindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} install NO_SHARED_LIBS=1
-}
-
-PACKAGES =+ "${PN}-utils"
-FILES_${PN}-utils = "${sbindir}/iptables-save ${sbindir}/iptables-restore"
-FILES_${PN}-doc += "${mandir}"
+SRC_URI += "\
+ file://getsockopt-failed.patch;patch=1 \
+ file://iptables-use-s6_addr32.patch;patch=1 \
+"