6e6ccf065d
v3.21 (2022-06-13) xt_ECHO: support flowi6_to_flowi_common starting Linux 5.10.121 v3.20 (2022-04-10) Support for Linux 5.17 v3.19 (2022-02-01) bumped minimum supported kernel version from 4.15 to 4.16 xt_condition: make mutex per-net xt_ipp2p: add IPv6 support xt_ECHO, xt_TARPIT: do not build IPv6 parts if kernel has IPv6 build-time disabled v3.18 (2021-03-11) xt_pknock: fix a build failure on ARM 32-bit https://fossies.org/linux/privat/xtables-addons-3.21.tar.xz/xtables-addons-3.21/doc/changelog.rst Fixes: - http://autobuild.buildroot.org/results/b8f5f65cec1bd5c859f4a1fae4508900df362add Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# xtables-addons
|
|
#
|
|
################################################################################
|
|
|
|
XTABLES_ADDONS_VERSION = 3.21
|
|
XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz
|
|
XTABLES_ADDONS_SITE = https://inai.de/files/xtables-addons
|
|
XTABLES_ADDONS_DEPENDENCIES = iptables linux host-pkgconf
|
|
XTABLES_ADDONS_LICENSE = GPL-2.0+
|
|
XTABLES_ADDONS_LICENSE_FILES = LICENSE
|
|
|
|
XTABLES_ADDONS_CONF_OPTS = \
|
|
--with-kbuild="$(LINUX_DIR)" \
|
|
--with-xtables="$(STAGING_DIR)/usr" \
|
|
--with-xtlibdir="/usr/lib/xtables"
|
|
|
|
# geoip helpers need perl with modules and unzip so disable
|
|
define XTABLES_ADDONS_DISABLE_GEOIP_HELPERS
|
|
$(SED) 's/ geoip//' $(@D)/Makefile.in
|
|
endef
|
|
XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_ADDONS_DISABLE_GEOIP_HELPERS
|
|
|
|
define XTABLES_ADDONS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS)
|
|
endef
|
|
|
|
define XTABLES_ADDONS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) DESTDIR="$(TARGET_DIR)" install
|
|
endef
|
|
|
|
define XTABLES_ADDONS_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|