summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2015-04-23 16:08:53 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-05-13 09:51:27 -0400
commit53d55216c8c721d3b66ec8f968737bf081def870 (patch)
treef0e15b51e38306eb3677e49e8d5350f8a20e73a3 /meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
parent031e1027a652da2f6a591c6c80d5b6673101492b (diff)
downloadmeta-openembedded-53d55216c8c721d3b66ec8f968737bf081def870.tar.gz
tcpdump: upgrade to 4.7.4
Remove two unneeded patches, configure.patch and tcpdump-cross-getaddrinfo.patch Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch')
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
new file mode 100644
index 000000000..358f6050f
--- /dev/null
+++ b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
@@ -0,0 +1,38 @@
1From 7b259580800e259d232229dc89f97058b56e2fe8 Mon Sep 17 00:00:00 2001
2From: "Hongjun.Yang" <hongjun.yang@windriver.com>
3Date: Wed, 22 Oct 2014 10:02:48 +0800
4Subject: [PATCH] Add ptest for tcpdump
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
9---
10 Makefile.in | 10 +++++++++-
11 1 file changed, 9 insertions(+), 1 deletion(-)
12
13diff --git a/Makefile.in b/Makefile.in
14index 8c35a45..4fb8ae6 100644
15--- a/Makefile.in
16+++ b/Makefile.in
17@@ -428,9 +428,17 @@ distclean:
18 tests/failure-outputs.txt
19 rm -rf autom4te.cache tests/DIFF tests/NEW
20
21-check: tcpdump
22+buildtest-TESTS: tcpdump
23+
24+runtest-PTEST:
25 (cd tests && ./TESTrun.sh)
26
27+install-ptest:
28+ cp -r tests $(DESTDIR)
29+ cp -r config.h $(DESTDIR)
30+ install -m 0755 Makefile $(DESTDIR)
31+ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump
32+
33 tags: $(TAGFILES)
34 ctags -wtd $(TAGFILES)
35
36--
371.9.1
38