This bump will fix the following build failure with kernel >= 6.2 thanks
to
51761c3fe2
:
/home/buildroot/autobuild/instance-1/output-1/build/xtables-addons-3.22/extensions/xt_TARPIT.c:
In function 'xttarpit_honeypot':
/home/buildroot/autobuild/instance-1/output-1/build/xtables-addons-3.22/extensions/xt_TARPIT.c:110:26:
error: implicit declaration of function 'prandom_u32_max'; did you mean
'prandom_u32_state'? [-Werror=implicit-function-declaration]
110 | (prandom_u32_max(0x20) - 0xf);
| ^~~~~~~~~~~~~~~
| prandom_u32_state
Fixes:
- http://autobuild.buildroot.org/results/e8f2a0cb5b38ff98da97268c4b642554a0a732e1
- http://autobuild.buildroot.org/results/0191ee0590c08b73f17b35a5c8521796693772b5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# xtables-addons
|
|
#
|
|
################################################################################
|
|
|
|
XTABLES_ADDONS_VERSION = 3.24
|
|
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-xtlibdir="/usr/lib/xtables"
|
|
|
|
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
|
|
|
|
# geoip helpers need perl with modules and unzip so remove them
|
|
define XTABLES_ADDONS_REMOVE_GEOIP_HELPERS
|
|
$(RM) $(TARGET_DIR)/usr/bin/xt_geoip*
|
|
$(RM) $(TARGET_DIR)/usr/libexec/xtables-addons/xt_asn*
|
|
$(RM) $(TARGET_DIR)/usr/libexec/xtables-addons/xt_geoip*
|
|
endef
|
|
|
|
XTABLES_ADDONS_POST_INSTALL_TARGET_HOOKS += XTABLES_ADDONS_REMOVE_GEOIP_HELPERS
|
|
|
|
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))
|