summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap.inc
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-12-20 17:28:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-11 10:39:08 +0000
commit3049440b2834431c1d195bd5e4cf02eb978b5c42 (patch)
treefe09b021fcf218a27fce8117017cf427fc96f20f /meta/recipes-connectivity/libpcap/libpcap.inc
parent10ad7a1eeac79ff092947b9d8c28287080e35b93 (diff)
downloadpoky-3049440b2834431c1d195bd5e4cf02eb978b5c42.tar.gz
libpcap: upgrade 1.8.1 -> 1.9.0
* For changes, see: https://www.tcpdump.org/libpcap-changes.txt * Merge inc and bb and remove unnecessary flags. * Remove all patches, they have either been upstreamed or fixed differently. * Compilation with bluez5 works just fine, enable it and remove bluez4 config. * Backport a commit to fix musl builds. (From OE-Core rev: 23fa5d49667c16f6b2763f4da4de63afa632e83d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap.inc')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
deleted file mode 100644
index e57ea87b37..0000000000
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ /dev/null
@@ -1,42 +0,0 @@
1SUMMARY = "Interface for user-level network packet capture"
2DESCRIPTION = "Libpcap provides a portable framework for low-level network \
3monitoring. Libpcap can provide network statistics collection, \
4security monitoring and network debugging."
5HOMEPAGE = "http://www.tcpdump.org/"
6BUGTRACKER = "http://sourceforge.net/tracker/?group_id=53067&atid=469577"
7SECTION = "libs/network"
8LICENSE = "BSD"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb289217c160e2920d2e35bddc36453 \
10 file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
11DEPENDS = "flex-native bison-native"
12
13INC_PR = "r5"
14
15SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz"
16
17BINCONFIG = "${bindir}/pcap-config"
18
19inherit autotools binconfig-disabled pkgconfig bluetooth
20
21EXTRA_OECONF = "--with-pcap=linux"
22EXTRA_AUTORECONF += "--exclude=aclocal"
23
24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
25 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
26"
27PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"
28# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap.
29PACKAGECONFIG[bluez5] = ",,"
30PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
31PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
32PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
33
34CPPFLAGS_prepend = "-I${S} "
35CFLAGS_prepend = "-I${S} "
36CXXFLAGS_prepend = "-I${S} "
37
38do_configure_prepend () {
39 sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
40}
41
42BBCLASSEXTEND = "native"