diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-01-30 22:39:23 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-03 08:41:05 -0800 |
commit | 7a56dfe415683200ddb43f8d6ff09e9f564cce90 (patch) | |
tree | d07687f9fdad0e5249e071d648d3a75d3e2322f3 /meta-networking | |
parent | c8ee13ae018678ebf7ed0f2545b1bbd5f6864e43 (diff) | |
download | meta-openembedded-7a56dfe415683200ddb43f8d6ff09e9f564cce90.tar.gz |
tcpdump: upgrade 4.99.0 -> 4.99.1
* Skip aclocal in do_configure
* Inherit pkgconfig then we can drop
0001-aclocal.m4-Skip-checking-for-pcap-config.patch
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/tcpdump/tcpdump/0001-aclocal.m4-Skip-checking-for-pcap-config.patch | 33 | ||||
-rw-r--r-- | meta-networking/recipes-support/tcpdump/tcpdump_4.99.1.bb (renamed from meta-networking/recipes-support/tcpdump/tcpdump_4.99.0.bb) | 18 |
2 files changed, 5 insertions, 46 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/0001-aclocal.m4-Skip-checking-for-pcap-config.patch b/meta-networking/recipes-support/tcpdump/tcpdump/0001-aclocal.m4-Skip-checking-for-pcap-config.patch deleted file mode 100644 index bb56c4d4c..000000000 --- a/meta-networking/recipes-support/tcpdump/tcpdump/0001-aclocal.m4-Skip-checking-for-pcap-config.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 867bf5c9d0fb64e1b4e64cb13b983674c270a6bf Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Fan Yu <yifan.yu@windriver.com> | ||
3 | Date: Fri, 19 Feb 2021 00:52:35 -0500 | ||
4 | Subject: [PATCH] aclocal.m4: Skip checking for pcap-config | ||
5 | |||
6 | Bitbake triggers an configure error | ||
7 | saying we should look for pkg-config instead. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE-Specific] | ||
10 | |||
11 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | ||
12 | --- | ||
13 | aclocal.m4 | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/aclocal.m4 b/aclocal.m4 | ||
17 | index bd4e27a5..136cb8ca 100644 | ||
18 | --- a/aclocal.m4 | ||
19 | +++ b/aclocal.m4 | ||
20 | @@ -584,8 +584,8 @@ AC_DEFUN(AC_LBL_LIBPCAP, | ||
21 | # No pkg-config | ||
22 | # Look for an installed pcap-config. | ||
23 | # | ||
24 | - AC_PATH_TOOL(PCAP_CONFIG, pcap-config) | ||
25 | - if test -n "$PCAP_CONFIG" ; then | ||
26 | + # AC_PATH_TOOL(PCAP_CONFIG, pcap-config) | ||
27 | + if false; then | ||
28 | # | ||
29 | # Found - use it to get the include flags for | ||
30 | # libpcap and the flags to link with libpcap. | ||
31 | -- | ||
32 | 2.29.2 | ||
33 | |||
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump_4.99.0.bb b/meta-networking/recipes-support/tcpdump/tcpdump_4.99.1.bb index 97a9027af..322a826f0 100644 --- a/meta-networking/recipes-support/tcpdump/tcpdump_4.99.0.bb +++ b/meta-networking/recipes-support/tcpdump/tcpdump_4.99.1.bb | |||
@@ -24,15 +24,14 @@ SRC_URI = " \ | |||
24 | http://www.tcpdump.org/release/${BP}.tar.gz \ | 24 | http://www.tcpdump.org/release/${BP}.tar.gz \ |
25 | file://add-ptest.patch \ | 25 | file://add-ptest.patch \ |
26 | file://run-ptest \ | 26 | file://run-ptest \ |
27 | file://0001-aclocal.m4-Skip-checking-for-pcap-config.patch \ | ||
28 | " | 27 | " |
29 | 28 | ||
30 | SRC_URI[md5sum] = "b10aa2f497def7283bc060f626879ce5" | 29 | SRC_URI[md5sum] = "929a255c71a9933608bd7c31927760f7" |
31 | SRC_URI[sha256sum] = "8cf2f17a9528774a7b41060323be8b73f76024f7778f59c34efa65d49d80b842" | 30 | SRC_URI[sha256sum] = "79b36985fb2703146618d87c4acde3e068b91c553fb93f021a337f175fd10ebe" |
32 | 31 | ||
33 | UPSTREAM_CHECK_REGEX = "tcpdump-(?P<pver>\d+(\.(?!99)\d+)+)\.tar" | 32 | UPSTREAM_CHECK_REGEX = "tcpdump-(?P<pver>\d+(\.\d+)+)\.tar" |
34 | 33 | ||
35 | inherit autotools-brokensep ptest | 34 | inherit autotools-brokensep pkgconfig ptest |
36 | 35 | ||
37 | PACKAGECONFIG ?= "openssl" | 36 | PACKAGECONFIG ?= "openssl" |
38 | 37 | ||
@@ -42,14 +41,7 @@ PACKAGECONFIG[smi] = "--with-smi,--without-smi,libsmi" | |||
42 | # Note: CVE-2018-10103 (SMB - partially fixed, but SMB printing disabled) | 41 | # Note: CVE-2018-10103 (SMB - partially fixed, but SMB printing disabled) |
43 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb" | 42 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb" |
44 | 43 | ||
45 | EXTRA_AUTORECONF += "-I m4" | 44 | EXTRA_AUTORECONF += "--exclude=aclocal" |
46 | |||
47 | do_configure:prepend() { | ||
48 | mkdir -p ${S}/m4 | ||
49 | if [ -f aclocal.m4 ]; then | ||
50 | mv aclocal.m4 ${S}/m4 | ||
51 | fi | ||
52 | } | ||
53 | 45 | ||
54 | do_install:append() { | 46 | do_install:append() { |
55 | # make install installs an unneeded extra copy of the tcpdump binary | 47 | # make install installs an unneeded extra copy of the tcpdump binary |