diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-12-20 17:28:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-11 10:39:08 +0000 |
commit | 3049440b2834431c1d195bd5e4cf02eb978b5c42 (patch) | |
tree | fe09b021fcf218a27fce8117017cf427fc96f20f /meta/recipes-connectivity/libpcap/libpcap.inc | |
parent | 10ad7a1eeac79ff092947b9d8c28287080e35b93 (diff) | |
download | poky-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.inc | 42 |
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 @@ | |||
1 | SUMMARY = "Interface for user-level network packet capture" | ||
2 | DESCRIPTION = "Libpcap provides a portable framework for low-level network \ | ||
3 | monitoring. Libpcap can provide network statistics collection, \ | ||
4 | security monitoring and network debugging." | ||
5 | HOMEPAGE = "http://www.tcpdump.org/" | ||
6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=53067&atid=469577" | ||
7 | SECTION = "libs/network" | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb289217c160e2920d2e35bddc36453 \ | ||
10 | file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2" | ||
11 | DEPENDS = "flex-native bison-native" | ||
12 | |||
13 | INC_PR = "r5" | ||
14 | |||
15 | SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz" | ||
16 | |||
17 | BINCONFIG = "${bindir}/pcap-config" | ||
18 | |||
19 | inherit autotools binconfig-disabled pkgconfig bluetooth | ||
20 | |||
21 | EXTRA_OECONF = "--with-pcap=linux" | ||
22 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
23 | |||
24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \ | ||
25 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | ||
26 | " | ||
27 | PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4" | ||
28 | # Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap. | ||
29 | PACKAGECONFIG[bluez5] = ",," | ||
30 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" | ||
31 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
32 | PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" | ||
33 | |||
34 | CPPFLAGS_prepend = "-I${S} " | ||
35 | CFLAGS_prepend = "-I${S} " | ||
36 | CXXFLAGS_prepend = "-I${S} " | ||
37 | |||
38 | do_configure_prepend () { | ||
39 | sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in | ||
40 | } | ||
41 | |||
42 | BBCLASSEXTEND = "native" | ||