diff --git a/huawei-enabled-makecheck-in-extensions.patch b/huawei-enabled-makecheck-in-extensions.patch new file mode 100644 index 0000000000000000000000000000000000000000..aad4e8119a8c4b5d0efd9eb71c15ef27835eee62 --- /dev/null +++ b/huawei-enabled-makecheck-in-extensions.patch @@ -0,0 +1,35 @@ +From 54c670ada541aa61ab9ab7907ab245718137efb8 Mon Sep 17 00:00:00 2001 +From: huangyu +Date: Sat, 26 Nov 2022 18:08:31 +0800 +Subject: [PATCH] enable + +Signed-off-by: huangyu +--- + extensions/GNUmakefile.in | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in +index 956ccb3..70515c4 100644 +--- a/extensions/GNUmakefile.in ++++ b/extensions/GNUmakefile.in +@@ -79,7 +79,7 @@ targets_install := + + .SECONDARY: + +-.PHONY: all install uninstall clean distclean FORCE ++.PHONY: all install uninstall check clean distclean FORCE + + all: ${targets} + +@@ -105,6 +105,8 @@ uninstall: + rmdir -p --ignore-fail-on-non-empty "$$dir"; \ + } + ++check: ++ + clean: + rm -f *.o *.oo *.so *.a {matches,targets}.man initext.c initext4.c initext6.c initextb.c initexta.c; + rm -f .*.d .*.dd; +-- +2.23.0 + diff --git a/iptables.spec b/iptables.spec index 6f6c03f3a16ae7e656e0d23d5edb9307ed138c70..94564f059254f78eb5fcfde941c1d1170ad47306 100644 --- a/iptables.spec +++ b/iptables.spec @@ -2,7 +2,7 @@ %global legacy_actions %{_libexecdir}/initscripts/legacy-actions Name: iptables Version: 1.8.7 -Release: 9 +Release: 10 Summary: IP packet filter administration utilities License: GPLv2 and Artistic Licence 2.0 and ISC URL: https://www.netfilter.org/ @@ -13,6 +13,8 @@ Source3: iptables.service Source4: sysconfig_iptables Source5: sysconfig_ip6tables +Patch6001: huawei-enabled-makecheck-in-extensions.patch + BuildRequires: bison flex gcc kernel-headers libpcap-devel libselinux-devel systemd BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel BuildRequires: autogen autoconf automake libtool @@ -76,6 +78,9 @@ rm -f include/linux/types.h %make_build +%check +make check + %install %make_install @@ -317,6 +322,12 @@ fi %{_mandir}/man8/xtables-legacy* %changelog +* Sat Nov 26 2022 huangyu - 1.8.7-10 +- Type:feature +- ID:NA +- SUG:NA +- DESC:enabled DT test + * Mon Aug 15 2022 seuzw <930zhaowei@163.com> - 1.8.7-9 - Type:bugfix - ID:NA