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.patch25
1 files changed, 11 insertions, 14 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
index 358f6050f6..196cec7f20 100644
--- a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
+++ b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch
@@ -10,11 +10,11 @@ Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
10 Makefile.in | 10 +++++++++- 10 Makefile.in | 10 +++++++++-
11 1 file changed, 9 insertions(+), 1 deletion(-) 11 1 file changed, 9 insertions(+), 1 deletion(-)
12 12
13diff --git a/Makefile.in b/Makefile.in 13Index: tcpdump-4.9.0/Makefile.in
14index 8c35a45..4fb8ae6 100644 14===================================================================
15--- a/Makefile.in 15--- tcpdump-4.9.0.orig/Makefile.in
16+++ b/Makefile.in 16+++ tcpdump-4.9.0/Makefile.in
17@@ -428,9 +428,17 @@ distclean: 17@@ -436,9 +436,17 @@ distclean:
18 tests/failure-outputs.txt 18 tests/failure-outputs.txt
19 rm -rf autom4te.cache tests/DIFF tests/NEW 19 rm -rf autom4te.cache tests/DIFF tests/NEW
20 20
@@ -25,14 +25,11 @@ index 8c35a45..4fb8ae6 100644
25 (cd tests && ./TESTrun.sh) 25 (cd tests && ./TESTrun.sh)
26 26
27+install-ptest: 27+install-ptest:
28+ cp -r tests $(DESTDIR) 28+ cp -r tests $(DESTDIR)
29+ cp -r config.h $(DESTDIR) 29+ cp -r config.h $(DESTDIR)
30+ install -m 0755 Makefile $(DESTDIR) 30+ install -m 0755 Makefile $(DESTDIR)
31+ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump 31+ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump
32+ 32+
33 tags: $(TAGFILES) 33 extags: $(TAGFILES)
34 ctags -wtd $(TAGFILES) 34 ctags $(TAGFILES)
35 35
36--
371.9.1
38