<commit_before>SUMMARY = "non-mainline-kernel netfilter extensions"
DESCRIPTION = "Xtables-addons contains a set of possibly useful but not included in the mainline kernel nefilter extensions"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "virtual/kernel iptables"

inherit autotools module-base pkgconfig

SRC_URI = " \
          ${SOURCEFORGE_MIRROR}/project/${PN}/Xtables-addons/${PN}-${PV}.tar.xz \
          file://100-add-rtsp-conntrack.patch \
          file://200-add-lua-packetscript.patch \
          file://201-fix-lua-packetscript.patch \
          file://202-add-lua-autoconf.patch \
          file://300-geoip-endian-detection.patch \
          file://400-fix-IFF_LOWER_UP-musl.patch \
          "

SRC_URI[md5sum] = "ebb073119a5f250dbfe6b855fcad56fd"
SRC_URI[sha256sum] = "d215a9a8b8e66aae04b982fa2e1228e8a71e7dfe42320df99e34e5000cbdf152"

EXTRA_OECONF = "--with-kbuild=${STAGING_KERNEL_DIR} --with-xtlibdir=${libdir}/iptables"

addtask make_scripts after do_patch before do_compile
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
do_make_scripts[deptask] = "do_populate_sysroot"

FILES_${PN} += "${base_libdir}/modules ${libdir}/iptables"

RDEPENDS_${PN} += "perl"<commit_msg>xtables-addons: Fix for error because 'do_make_scripts' is empty<commit_after>SUMMARY = "non-mainline-kernel netfilter extensions"
DESCRIPTION = "Xtables-addons contains a set of possibly useful but not included in the mainline kernel nefilter extensions"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "virtual/kernel iptables"

inherit autotools module-base pkgconfig

SRC_URI = " \
          ${SOURCEFORGE_MIRROR}/project/${PN}/Xtables-addons/${PN}-${PV}.tar.xz \
          file://100-add-rtsp-conntrack.patch \
          file://200-add-lua-packetscript.patch \
          file://201-fix-lua-packetscript.patch \
          file://202-add-lua-autoconf.patch \
          file://300-geoip-endian-detection.patch \
          file://400-fix-IFF_LOWER_UP-musl.patch \
          "

SRC_URI[md5sum] = "ebb073119a5f250dbfe6b855fcad56fd"
SRC_URI[sha256sum] = "d215a9a8b8e66aae04b982fa2e1228e8a71e7dfe42320df99e34e5000cbdf152"

EXTRA_OECONF = "--with-kbuild=${STAGING_KERNEL_DIR} --with-xtlibdir=${libdir}/iptables"

addtask make_scripts after do_patch before do_compile
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
do_make_scripts[deptask] = "do_populate_sysroot"

do_make_scripts() {
	:
}

FILES_${PN} += "${base_libdir}/modules ${libdir}/iptables"

RDEPENDS_${PN} += "perl"
{'fraction_non_alphanumeric': 0.1320754716981132, 'fraction_numerical': 0.07470157874470543, 'mean_word_length': 4.206412825651302, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4435086', 'n_tokens_mistral': 1089, 'n_tokens_neox': 976, 'n_words': 131}