summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch
diff options
context:
space:
mode:
authorYi Fan Yu <yifan.yu@windriver.com>2021-02-19 22:17:25 -0500
committerKhem Raj <raj.khem@gmail.com>2021-02-21 23:37:54 -0800
commit138e4f59c36ecb0285e949dfd782b21e7a5fe6c2 (patch)
tree89704832ce9d4519648cb616c552e806f11cd830 /meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch
parent1536d2b431a3eda3120b2cf72dc0527a54885933 (diff)
downloadmeta-openembedded-138e4f59c36ecb0285e949dfd782b21e7a5fe6c2.tar.gz
tcpdump: update 4.9.3 -> 4.99.0
Removed patches: * avoid-absolute-path-when-searching-for-libdlpi.patch reason: this is a solaris specific patch, It no longer generates QA error. * unnecessary-to-check-libpcap.patch reason: upstream changed the logic, a new patch was needed. New patch: * 0001-aclocal.m4-Skip-checking-for-pcap-config.patch reason: configure shouldn't look for pcap-config. upstream reference: cfc4c750a Modified patch: * add-ptest.patch reason: Makefile had slight change. new unrelated perl script was introduced, removed to make package QA happy. License: upstream removed some whitespace Ptest: binaries are now present in /usr/bin not /usr/sbin upstream commit: 95096be4f add perl libraries dependencies tests passed: 571 (qemux86-64) tests failed: 0 Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch')
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch b/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch
deleted file mode 100644
index 8793bf7a3..000000000
--- a/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From dd023c133980fcc0cff5896e85377675e0571894 Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com>
3Date: Tue, 8 Jul 2014 13:20:47 +0800
4Subject: [PATCH] unnecessary to check libpcap
5
6since the check of libpcap did not consider the cross-compile, lead to the
7below error:
8 This autoconf log indicates errors, it looked at host include and/or
9 library paths while determining system capabilities.
10
11In fact, the libpcap has been added into the tcpdump's DEPENDS, not need to
12check if libpcap existed.
13
14Upstream-Status: Inappropriate [OE specific]
15
16Signed-off-by: Roy Li <rongqing.li@windriver.com>
17Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
18Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
19---
20 configure.ac | 4 +++-
21 1 file changed, 3 insertions(+), 1 deletion(-)
22
23diff --git a/configure.ac b/configure.ac
24index 56e2a624..3401a7a3 100644
25--- a/configure.ac
26+++ b/configure.ac
27@@ -404,7 +404,9 @@ dnl Some platforms may need -lnsl for getrpcbynumber.
28 AC_SEARCH_LIBS(getrpcbynumber, nsl,
29 AC_DEFINE(HAVE_GETRPCBYNUMBER, 1, [define if you have getrpcbynumber()]))
30
31-AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS)
32+# Simplified (more cross compile friendly) check for libpcap. All we really
33+# need is to sanity check that libpcap is available and add -lpcap to LIBS.
34+AC_CHECK_LIB(pcap, pcap_compile, LIBS="$LIBS -lpcap")
35
36 #
37 # Check for these after AC_LBL_LIBPCAP, so we link with the appropriate
38--
392.17.1
40