summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch25
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpdump_4.9.0.bb (renamed from meta-networking/recipes-support/tcpdump/tcpdump_4.8.1.bb)6
2 files changed, 15 insertions, 16 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
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump_4.8.1.bb b/meta-networking/recipes-support/tcpdump/tcpdump_4.9.0.bb
index 35a5cfed17..43e388ccc7 100644
--- a/meta-networking/recipes-support/tcpdump/tcpdump_4.8.1.bb
+++ b/meta-networking/recipes-support/tcpdump/tcpdump_4.9.0.bb
@@ -12,8 +12,10 @@ SRC_URI = " \
12 file://add-ptest.patch \ 12 file://add-ptest.patch \
13 file://run-ptest \ 13 file://run-ptest \
14" 14"
15SRC_URI[md5sum] = "32f57943649f276e09236ba66622bb0c" 15
16SRC_URI[sha256sum] = "20e4341ec48fcf72abcae312ea913e6ba6b958617b2f3fb496d51f0ae88d831c" 16SRC_URI[md5sum] = "2b83364eef53b63ca3181b4eb56dab0c"
17SRC_URI[sha256sum] = "eae98121cbb1c9adbedd9a777bf2eae9fa1c1c676424a54740311c8abcee5a5e"
18
17export LIBS=" -lpcap" 19export LIBS=" -lpcap"
18 20
19inherit autotools-brokensep ptest 21inherit autotools-brokensep ptest