aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/iptables
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-08-25 11:07:51 +0400
committerRoman I Khimov <khimov@altell.ru>2010-08-25 20:43:25 +0400
commita9090f72a992140e6b6010a70c72a3e91a9e37c9 (patch)
tree6b5fcb37cc9b63b6fcc4eab4971cb18e839bc420 /recipes/iptables
parent013d632d46ef474086db46158c74f2ae158ae9ff (diff)
downloadopenembedded-a9090f72a992140e6b6010a70c72a3e91a9e37c9.tar.gz
openembedded-a9090f72a992140e6b6010a70c72a3e91a9e37c9.tar.bz2
openembedded-a9090f72a992140e6b6010a70c72a3e91a9e37c9.zip
iptables 1.4.9.1: DEPENDS on libnfnetlink
Actually, it can be built with and without libnfnetlink support. libnfnetlink-enabled build enables nfnl_osf utility for passive OS fingerprinting and pf.os is its 'database', so it shouldn't be moved to documents. Just build with it and package separately. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/iptables')
-rw-r--r--recipes/iptables/iptables_1.4.9.1.bb13
1 files changed, 7 insertions, 6 deletions
diff --git a/recipes/iptables/iptables_1.4.9.1.bb b/recipes/iptables/iptables_1.4.9.1.bb
index b51c5a4da2..8119016f37 100644
--- a/recipes/iptables/iptables_1.4.9.1.bb
+++ b/recipes/iptables/iptables_1.4.9.1.bb
@@ -1,15 +1,16 @@
require iptables.inc
+
+DEPENDS += "libnfnetlink"
+
inherit autotools
EXTRA_OECONF = "--with-kernel=${STAGING_INCDIR} \
${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6', d)}"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
SRC_URI[iptables-1.4.9.1.md5sum] = "fbadfb0b5f2dbda49e0ad06a798898e3"
SRC_URI[iptables-1.4.9.1.sha256sum] = "0550f7ba7a170811dcf9b2df65036999786d84040b767238effc40232f617839"
-do_install_append() {
- install -d ${D}${docdir}/xtables
- mv ${D}${datadir}/xtables/* ${D}${docdir}/xtables/ || echo "No ${D}${datadir}/xtables/* here"
- rm -fr ${D}${datadir}/xtables
-}
+PACKAGES =+ "${PN}-osf"
+
+FILES_${PN}-osf = "${sbindir}/nfnl_osf ${datadir}/xtables"