summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/tcpdump/tcpdump_4.99.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpdump_4.99.5.bb')
-rw-r--r--meta-networking/recipes-support/tcpdump/tcpdump_4.99.5.bb54
1 files changed, 54 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump_4.99.5.bb b/meta-networking/recipes-support/tcpdump/tcpdump_4.99.5.bb
new file mode 100644
index 0000000000..144a12560b
--- /dev/null
+++ b/meta-networking/recipes-support/tcpdump/tcpdump_4.99.5.bb
@@ -0,0 +1,54 @@
1SUMMARY = "A sophisticated network protocol analyzer"
2HOMEPAGE = "http://www.tcpdump.org/"
3SECTION = "net"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb289217c160e2920d2e35bddc36453"
6
7DEPENDS = "libpcap"
8
9RDEPENDS:${PN}-ptest += " make perl \
10 perl-module-file-basename \
11 perl-module-file-spec \
12 perl-module-file-spec-unix \
13 perl-module-file-path \
14 perl-module-file-glob \
15 perl-module-data-dumper \
16 perl-module-bytes \
17 perl-module-posix \
18 perl-module-carp \
19 perl-module-cwd \
20 perl-module-constant \
21"
22
23SRC_URI = " \
24 http://www.tcpdump.org/release/${BP}.tar.xz \
25 file://add-ptest.patch \
26 file://run-ptest \
27"
28
29SRC_URI[sha256sum] = "d76395ab82d659d526291b013eee200201380930793531515abfc6e77b4f2ee5"
30
31UPSTREAM_CHECK_REGEX = "tcpdump-(?P<pver>\d+(\.\d+)+)\.tar"
32
33CVE_PRODUCT = "tcpdump:tcpdump"
34
35inherit autotools-brokensep pkgconfig ptest
36
37PACKAGECONFIG ?= "openssl"
38
39PACKAGECONFIG[libcap-ng] = "--with-cap-ng,--without-cap-ng,libcap-ng"
40PACKAGECONFIG[openssl] = "--with-crypto,--without-crypto,openssl"
41PACKAGECONFIG[smi] = "--with-smi,--without-smi,libsmi"
42# Note: CVE-2018-10103 (SMB - partially fixed, but SMB printing disabled)
43PACKAGECONFIG[smb] = "--enable-smb,--disable-smb"
44
45EXTRA_AUTORECONF += "--exclude=aclocal"
46
47do_install:append() {
48 # make install installs an unneeded extra copy of the tcpdump binary
49 rm ${D}${bindir}/tcpdump.${PV}
50}
51
52do_compile_ptest() {
53 oe_runmake buildtest-TESTS
54}