enabled Dt test

Signed-off-by: huangyu <huangyu106@huawei.com>
This commit is contained in:
huangyu 2022-11-26 14:44:33 +08:00
parent 0b555124b6
commit 924270aafa
2 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,35 @@
From 54c670ada541aa61ab9ab7907ab245718137efb8 Mon Sep 17 00:00:00 2001
From: huangyu <huangyu106@huawei.com>
Date: Sat, 26 Nov 2022 18:08:31 +0800
Subject: [PATCH] enable
Signed-off-by: huangyu <huangyu106@huawei.com>
---
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

View File

@ -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 <huangyu106@huawei.com> - 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