Patchwork libpcap: add dependency on libnl

login
register
mail settings
Submitter Ross Burton
Date Oct. 1, 2012, 4:20 p.m.
Message ID <1349108459-16408-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/37563/
State Accepted
Commit 052a8406e66c9dcccc1fc506a32cc1706b93467b
Headers show

Comments

Ross Burton - Oct. 1, 2012, 4:20 p.m.
libpcap uses libnl on Linux to support sniffing mac80211 devices, which could be
useful.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-connectivity/libpcap/libpcap.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Saul Wold - Oct. 3, 2012, 1:47 a.m.
On 10/01/2012 09:20 AM, Ross Burton wrote:
> libpcap uses libnl on Linux to support sniffing mac80211 devices, which could be
> useful.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   meta/recipes-connectivity/libpcap/libpcap.inc |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
> index 7d4e841..5381ef0 100644
> --- a/meta/recipes-connectivity/libpcap/libpcap.inc
> +++ b/meta/recipes-connectivity/libpcap/libpcap.inc
> @@ -8,12 +8,12 @@ SECTION = "libs/network"
>   LICENSE = "BSD"
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
>                       file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
> -DEPENDS = "flex-native bison-native"
> +DEPENDS = "flex-native bison-native libnl"
>
>   PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
>   PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
>
> -INC_PR = "r2"
> +INC_PR = "r3"
>
>   SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
>
>
Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 7d4e841..5381ef0 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -8,12 +8,12 @@  SECTION = "libs/network"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
                     file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
-DEPENDS = "flex-native bison-native"
+DEPENDS = "flex-native bison-native libnl"
 
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
 PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
 
-INC_PR = "r2"
+INC_PR = "r3"
 
 SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"