summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.10.4.bb (renamed from meta/recipes-connectivity/libpcap/libpcap_1.9.1.bb)13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.9.1.bb b/meta/recipes-connectivity/libpcap/libpcap_1.10.4.bb
index 35bb5650b3..166654e280 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.9.1.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.10.4.bb
@@ -10,10 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb289217c160e2920d2e35bddc36453 \
10 file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2" 10 file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
11DEPENDS = "flex-native bison-native" 11DEPENDS = "flex-native bison-native"
12 12
13SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.gz \ 13SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.gz"
14 " 14SRC_URI[sha256sum] = "ed19a0383fad72e3ad435fd239d7cd80d64916b87269550159d20e47160ebe5f"
15SRC_URI[md5sum] = "21af603d9a591c7d96a6457021d84e6c"
16SRC_URI[sha256sum] = "635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094"
17 15
18inherit autotools binconfig-disabled pkgconfig 16inherit autotools binconfig-disabled pkgconfig
19 17
@@ -21,10 +19,11 @@ BINCONFIG = "${bindir}/pcap-config"
21 19
22# Explicitly disable dag support. We don't have recipe for it and if enabled here, 20# Explicitly disable dag support. We don't have recipe for it and if enabled here,
23# configure script poisons the include dirs with /usr/local/include even when the 21# configure script poisons the include dirs with /usr/local/include even when the
24# support hasn't been detected. 22# support hasn't been detected. Do the same thing for DPDK.
25EXTRA_OECONF = " \ 23EXTRA_OECONF = " \
26 --with-pcap=linux \ 24 --with-pcap=linux \
27 --without-dag \ 25 --without-dag \
26 --without-dpdk \
28 " 27 "
29EXTRA_AUTORECONF += "--exclude=aclocal" 28EXTRA_AUTORECONF += "--exclude=aclocal"
30 29
@@ -36,9 +35,9 @@ PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
36PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 35PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
37PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" 36PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
38 37
39do_configure_prepend () { 38do_configure:prepend () {
40 #remove hardcoded references to /usr/include 39 #remove hardcoded references to /usr/include
41 sed 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i ${S}/configure.ac 40 sed 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i ${S}/configure.ac
42} 41}
43 42
44BBCLASSEXTEND = "native" 43BBCLASSEXTEND = "native nativesdk"