From 3dda05f241663a16fc47c21b5b86ce09f199d6ff Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 15 Aug 2005 11:42:13 +0000 Subject: Really install into /sbin, fix packaging, bump PR and add RRECOMMENDS for the needed kernel-modules --- packages/iptables/iptables_1.3.3.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'packages/iptables') diff --git a/packages/iptables/iptables_1.3.3.bb b/packages/iptables/iptables_1.3.3.bb index a67df35806..ab9fecc85c 100644 --- a/packages/iptables/iptables_1.3.3.bb +++ b/packages/iptables/iptables_1.3.3.bb @@ -2,10 +2,13 @@ DESCRIPTION = "iptables network filtering tools" HOMEPAGE = "http://www.netfilter.org/" SECTION = "console/utils" LICENSE = "GPL" -PR = "r1" +RRECOMMENDS = "kernel-module-ip-tables kernel-module-iptable-filter" +PR = "r3" + + PACKAGES =+ "${PN}-utils" -FILES_${PN}-utils = "${bindir}/iptables-save ${bindir}/iptables-restore" +FILES_${PN}-utils = "${sbindir}/iptables-save ${sbindir}/iptables-restore" SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2" @@ -22,7 +25,7 @@ do_compile () { } do_install () { - oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} install NO_SHARED_LIBS=1 + oe_runmake BINDIR=${D}${sbindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} install NO_SHARED_LIBS=1 } FILES_${PN}-doc += "${mandir}" -- cgit v1.2.3