sync:enabled DT test
This commit is contained in:
parent
f3988dd0a1
commit
8020d239b4
35
enabled-makecheck-in-extensions.patch
Normal file
35
enabled-makecheck-in-extensions.patch
Normal 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
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
%global legacy_actions %{_libexecdir}/initscripts/legacy-actions
|
%global legacy_actions %{_libexecdir}/initscripts/legacy-actions
|
||||||
Name: iptables
|
Name: iptables
|
||||||
Version: 1.8.5
|
Version: 1.8.5
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: IP packet filter administration utilities
|
Summary: IP packet filter administration utilities
|
||||||
License: GPLv2 and Artistic Licence 2.0 and ISC
|
License: GPLv2 and Artistic Licence 2.0 and ISC
|
||||||
URL: https://www.netfilter.org/
|
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
|
Patch6005: backport-libxtables-Register-multiple-extensions-in-ascending-order.patch
|
||||||
Patch6006: backport-libxtables-Simplify-pending-extension-registration.patch
|
Patch6006: backport-libxtables-Simplify-pending-extension-registration.patch
|
||||||
Patch6007: backport-libxtables-Register-only-the-highest-revision-extension.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: bison flex gcc kernel-headers libpcap-devel libselinux-devel systemd git
|
||||||
BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel
|
BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel
|
||||||
@ -85,6 +85,9 @@ rm -f include/linux/types.h
|
|||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
@ -326,6 +329,12 @@ fi
|
|||||||
%{_mandir}/man8/xtables-legacy*
|
%{_mandir}/man8/xtables-legacy*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 09 2023 zhanghao <zhanghao383@huawei.com> - 1.8.5-5
|
||||||
- Type: bugfix
|
- Type: bugfix
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user