summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch')
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch28
1 files changed, 19 insertions, 9 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
index f8ff354fe1..c46de4b963 100644
--- a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
+++ b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
@@ -1,6 +1,6 @@
1From 8c9c728757f89ebe6c4019114b83a63c63596f69 Mon Sep 17 00:00:00 2001 1From 5f0f70192b0e20336e642b02ca9662ba2fef66cf Mon Sep 17 00:00:00 2001
2From: "Hongjun.Yang" <hongjun.yang@windriver.com> 2From: Yi Fan Yu <yifan.yu@windriver.com>
3Date: Wed, 2 Oct 2019 16:57:06 -0400 3Date: Fri, 19 Feb 2021 15:21:18 -0500
4Subject: [PATCH] Add ptest for tcpdump 4Subject: [PATCH] Add ptest for tcpdump
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
@@ -8,15 +8,21 @@ Upstream-Status: Pending
8Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> 8Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
9Signed-off-by: Peiran Hong <peiran.hong@windriver.com> 9Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
10 10
11remove perl script not required by ptest causing QA problems
12
13reference upstream issue/commit:
14https://github.com/the-tcpdump-group/tcpdump/issues/26
15
16Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
11--- 17---
12 Makefile.in | 10 +++++++++- 18 Makefile.in | 11 ++++++++++-
13 1 file changed, 9 insertions(+), 1 deletion(-) 19 1 file changed, 10 insertions(+), 1 deletion(-)
14 20
15diff --git a/Makefile.in b/Makefile.in 21diff --git a/Makefile.in b/Makefile.in
16index 3b589184..7b10e38c 100644 22index ea1ef1d0..e7987bd8 100644
17--- a/Makefile.in 23--- a/Makefile.in
18+++ b/Makefile.in 24+++ b/Makefile.in
19@@ -437,9 +437,17 @@ distclean: 25@@ -445,9 +445,18 @@ distclean:
20 tests/failure-outputs.txt 26 tests/failure-outputs.txt
21 rm -rf autom4te.cache tests/DIFF tests/NEW 27 rm -rf autom4te.cache tests/DIFF tests/NEW
22 28
@@ -24,14 +30,18 @@ index 3b589184..7b10e38c 100644
24+buildtest-TESTS: tcpdump 30+buildtest-TESTS: tcpdump
25+ 31+
26+runtest-PTEST: 32+runtest-PTEST:
27 (mkdir -p tests && SRCDIR=`cd ${srcdir}; pwd` && export SRCDIR && $$SRCDIR/tests/TESTrun.sh ) 33 $(srcdir)/tests/TESTrun
28 34
29+install-ptest: 35+install-ptest:
30+ cp -r tests $(DESTDIR) 36+ cp -r tests $(DESTDIR)
37+ rm $(DESTDIR)/tests/setkey2esp-secrets.pl
31+ cp -r config.h $(DESTDIR) 38+ cp -r config.h $(DESTDIR)
32+ install -m 0755 Makefile $(DESTDIR) 39+ install -m 0755 Makefile $(DESTDIR)
33+ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump 40+ ln -s /usr/bin/tcpdump $(DESTDIR)/tcpdump
34+ 41+
35 extags: $(TAGFILES) 42 extags: $(TAGFILES)
36 ctags $(TAGFILES) 43 ctags $(TAGFILES)
37 44
45--
462.29.2
47