diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-08-20 16:35:29 +0400 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-08-22 20:09:30 +0400 |
commit | 41a480ab2c55179f2eead9bb2929eca9df24d4ca (patch) | |
tree | d487333108786e651e9a9f45967b33bb84975358 /recipes/xtables-addons/xtables-addons.inc | |
parent | 2f60953b76ae9d2a129785d05e92a62075b8a1ef (diff) |
xtables-addons: add version 1.28
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/xtables-addons/xtables-addons.inc')
-rw-r--r-- | recipes/xtables-addons/xtables-addons.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/xtables-addons/xtables-addons.inc b/recipes/xtables-addons/xtables-addons.inc new file mode 100644 index 0000000000..6b723d210e --- /dev/null +++ b/recipes/xtables-addons/xtables-addons.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Xtables-addons contains a set of possibly useful but not included in the mainline kernel nefilter extensions" +LICENSE = "GPLv2" +DEPENDS = "virtual/kernel iptables" +RDEPENDS_${PN} += "kernel update-modules" +PROVIDES += "ipset ipset-modules" +RPROVIDES_${PN} += "ipset ipset-modules" + +INC_PR = "r0" + +SRC_URI = " \ + ${SOURCEFORGE_MIRROR}/project/${PN}/Xtables-addons/${PV}/${PN}-${PV}.tar.bz2 \ + " +inherit autotools module-base + +EXTRA_OECONF = "--with-kbuild=${STAGING_KERNEL_DIR}" + +FILES_${PN} += "${base_libdir}/modules" +FILES_${PN}-dbg += "${libexecdir}/xtables/.debug/" + +pkg_postinst_${PN} () { + if [ -n "$D" ]; then + exit 1 + fi + depmod -a + update-modules || true +} + +pkg_postrm_${PN} () { + update-modules || true +}
\ No newline at end of file |