!79 sync: enabled DT test

From: @zhang-hao-jon 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2023-03-22 07:31:12 +00:00 committed by Gitee
commit 9dfba9945d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 46 additions and 2 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 makecheck in extensions
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 0842a55..7d034af 100644
--- a/extensions/GNUmakefile.in
+++ b/extensions/GNUmakefile.in
@@ -79,7 +79,7 @@ targets_install :=
.SECONDARY:
-.PHONY: all install clean distclean FORCE
+.PHONY: all install check clean distclean FORCE
all: ${targets}
@@ -92,6 +92,8 @@ install: ${targets_install} ${symlinks_install}
cp -P ${symlinks_install} "${DESTDIR}${xtlibdir}/"; \
fi;
+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.5
Release: 5
Release: 6
Summary: IP packet filter administration utilities
License: GPLv2 and Artistic Licence 2.0 and ISC
URL: https://www.netfilter.org/
@ -20,7 +20,7 @@ Patch6004: backport-libxtables-Make-sure-extensions-register-in-revision-
Patch6005: backport-libxtables-Register-multiple-extensions-in-ascending-order.patch
Patch6006: backport-libxtables-Simplify-pending-extension-registration.patch
Patch6007: backport-libxtables-Register-only-the-highest-revision-extension.patch
Patch6008: enabled-makecheck-in-extensions.patch
BuildRequires: bison flex gcc kernel-headers libpcap-devel libselinux-devel systemd git
BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel
@ -85,6 +85,9 @@ rm -f include/linux/types.h
%make_build
%check
make check
%install
%make_install
@ -326,6 +329,12 @@ fi
%{_mandir}/man8/xtables-legacy*
%changelog
* Mar Mar 22 2023 zhanghao <zhanghao383@huawei.com> - 1.8.5-6
- Type:feature
- ID:NA
- SUG:NA
- DESC:enabled DT test
* Thu Mar 09 2023 zhanghao <zhanghao383@huawei.com> - 1.8.5-5
- Type: bugfix
- ID: NA