summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap
Commit message (Collapse)AuthorAgeFilesLines
* libpcap: upgrade 1.8.1 -> 1.9.0Anuj Mittal2019-01-118-290/+45
| | | | | | | | | | | | | | | | | | | | * 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>
* libpcap: apply fix from upstream to fix build raceRoss Burton2017-06-232-0/+30
| | | | | | | | | | ../libpcap-1.8.1/grammar.y:78:10: fatal error: scanner.h: No such file or directory (From OE-Core rev: aaed4e92d79919e40c896536fcb4ff6567c9a755) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: add native packageKai Kang2017-05-251-0/+2
| | | | | | | | | | | Add package libpcap-native required by recipe daq-native in layer meta-networking. And daq-native is added to fix snort start error. (From OE-Core rev: 12373003cc3753421321d558813b1de95667c192) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-1/+1
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Disable exposed bits of WinPCAP remote capture supportFabio Berton2016-12-132-0/+37
| | | | | | | | | | | Disable bits of remote capture support inherited from the WinPCAP merge which cause applications to fails to build if they define HAVE_REMOTE. (From OE-Core rev: 4e412234c37efec42b3962c11d44903c0c58c92e) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Fix build when PACKAGECONFIG ipv6 is not enableFabio Berton2016-11-233-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add patches to fix error: / | ERROR: oe_runmake failed | config.status: creating pcap-config.tmp | mv pcap-config.tmp pcap-config | chmod a+x pcap-config | ../libpcap-1.8.1/gencode.c: In function 'pcap_compile': | ../libpcap-1.8.1/gencode.c:693:8: error: 'compiler_state_t | {aka struct _compiler_state}' has no member named 'ai' | cstate.ai = NULL; | ^ | ../libpcap-1.8.1/gencode.c: In function 'gen_gateway': | ../libpcap-1.8.1/gencode.c:4914:13: error: 'cstate' undeclared | (first use in this function) | bpf_error(cstate, "direction applied to 'gateway'"); | ^~~~~~ | ../libpcap-1.8.1/gencode.c:4914:13: note: each undeclared identifier is | reported only once for each function it appears in \ Patches were submitted to upstream [1] [1] https://github.com/the-tcpdump-group/libpcap/pull/541 (From OE-Core rev: 9f1fe76727e98e58fc9e46ea2b49cf5c0cb48e6c) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Update to version 1.8.1Fabio Berton2016-11-154-192/+25
| | | | | | | | | | | | | | - Option --enable-canusb was removed on commit: https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b - Autotools class was improved and we can now stop aclocal from running at all. - File configure.in was renamed to configure.ac, rework libpcap-pkgconfig-support patch and do_configure_prepend task to use configure.ac file. (From OE-Core rev: 62771b5a426e4b7d38e4997dc3f252a547f481ce) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-031-1/+4
| | | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: cfa74a2d4f158601a35b96e235484dac14cbf4d5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: update to 1.7.4Maxin B. John2015-12-012-3/+3
| | | | | | | | | | | | | Update libpcap from version 1.6.2 to 1.7.4 LICENSE checksum has changed because of the removal of additional spaces in the file. (From OE-Core rev: 0256743e7ad6e430aa2380ce51c84b3ce5928a1f) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-121-1/+1
| | | | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: add a dummy PACKAGECONFIG for bluez5Robert Yang2015-06-231-0/+2
| | | | | | | | | | | The BLUEZ is default to bluez5, but there is only PACKAGECONFIG[bluez4], no PACKAGECONFIG[bluez5], add a dummy PACKAGECONFIG for bluez5 to avoid confusing the user, and avoid the warning. (From OE-Core rev: f2a09e6170e68f4892f3c7cb9d27a4365efa94e8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap.inc: consolidate inherit and PACKAGECONFIG linesAndre McCurdy2015-04-101-9/+5
| | | | | | | (From OE-Core rev: ce9fa5588acdf56e32bbdf9da512aa4071cf7266) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap.inc: remove obsolete libnl1 PACKAGECONFIGAndre McCurdy2015-04-101-1/+0
| | | | | | | | | | | | | | There's no libnl1 recipe in oe-core (or any other layer in the layer index). Keeping the libnl1 PACKAGECONFIG is likely to cause problems for the libnl PACKAGECONFIG since libnl and libnl1 both use --with-libnl and --without-libnl. (From OE-Core rev: 4c820481147e9c11160b00f7df7ca8c329b23eac) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: add pkg-config supportJoe MacDonald2015-02-273-2/+77
| | | | | | | | | | | libpcap was not previously installing a pkg-config file. Add a basic one that will allow using 'pkg-config --libs libpcap', for example, in recipes rather than 'pcap-config', which frequently returns incorrect information. (From OE-Core rev: 0f51c1260ac53aa4843e29b00cd600eb64074260) Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: select distro preference for bluez providerPeter A. Bigot2015-02-171-2/+4
| | | | | | | (From OE-Core rev: 4c2a993735b668c6fbe9889a910dfa07b65cdff3) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.6.2Cristian Iorga2014-11-251-2/+2
| | | | | | | | | - Bug fixes. (From OE-Core rev: e9d5ac91207ee2bc3ce99c16a2b41134eb709139) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.6.1Cristian Iorga2014-08-313-31/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - Still BSD licensed, some changes into pcap triggered a checksum change; - ieee80215-arphrd.patch removed, obsolete. - switched to ${BP} variable; Changelog from previous version: Saturday Jul. 19, 2014 mcr@sandelman.ca Summary for 1.6.1 libpcap release some fixes for the any device changes for how --enable-XXX works Wednesday Jul. 2, 2014 mcr@sandelman.ca Summary for 1.6.0 libpcap release Don't support D-Bus sniffing on OS X fixes for byte order issues with NFLOG captures Handle using cooked mode for DLT_NETLINK in activate_new(). on platforms where you can not capture on down interfaces, do not list them but: do list interfaces which are down, if you can capture on them! (From OE-Core rev: ff962963de4dea9143f11ded480d0cca79a66d99) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Fix floating dbus dependencyRichard Purdie2014-07-171-0/+1
| | | | | | | | Avoids WARNING: QA Issue: libpcap rdepends on dbus-lib but its not a build dependency? [build-deps] (From OE-Core rev: 8ced43cfee6e8de4fa462b0aabb0e1e5aeb2a65f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Avoid libpcap build error when libnl1 is involvedHu Yadi2014-07-171-0/+3
| | | | | | | | | | Add --with-libnl autoconfig parameter and dependency between libpcap and libnl1 (From OE-Core rev: 10d9c5858d0e63879df49c8d8572c04085349f42) Signed-off-by: Hu Yadi <Yadi.hu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: fix depends on libnlRobert Yang2014-07-101-2/+2
| | | | | | | | | | | | | | Fixed: * libnl1 -> libnl * Remove libnl from DEPENDS since we are using PACKAGECONFIG, the libnl in the DEPENDS didn't affect libpcap since the --without-libnl took effect before this patch, so it is safe to remove it. (From OE-Core rev: f8abe9fe6e3c371d07711378c0fbfb4fad7eed81) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binconfig-disabled: Add class and useRichard Purdie2014-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | This adds a binconfig-disabled class which can be used by recipes where a -config file is installed but we wish to disable it and just rely on the .pc files instead. Rather than simply deleting it, we make the script "exit 1" so that it can be found in PATH and raise a build error rather than something silently falling back to the build system for example. Rather than randomly finding -config files, this adds in the specification of a list of binconfig scripts which is more deterministic and maintainable moving forward. This patch converts various users in OE-Core to use this, a world build of OE-Core tests out ok with this change. There will likely be issues in other layers however, hence this being a RFT. (From OE-Core rev: 5870bd272b0b077d0826fb900b251884c1c05061) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: add PACKAGECONFIG for libnl1Hu Yadi2014-03-301-0/+1
| | | | | | | | | | | | | | Add --with-libnl autoconfig parameter and dependency between libpcap and libnl1. Disable libnl1 by default to avoid libpcap build error when libnl1 is involved. (From OE-Core rev: 52f16a5a56868137e17cf52fa7b664047ec7bcaf) Signed-off-by: Hu Yadi <Yadi.hu@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.5.3Cristian Iorga2014-01-281-5/+2
| | | | | | | | (From OE-Core rev: 5255405d84826869638f36d2c043f3d929ebe6d6) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.5.2Cristian Iorga2013-12-182-6/+6
| | | | | | | | | | aclocal.patch was updated, still needed. (From OE-Core rev: 89f9d07d8e291c994469d015d39ef90fb39a4ec4) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.4.0Cristian Iorga2013-06-076-121/+8
| | | | | | | | | | | | | 0001-Fix-disable-canusb.patch, 0001-The-leading-comma-looked-weird-remove-it.patch, 0001-canusb-needs-lpthread.patch patches included in upstream, no longer needed. (From OE-Core rev: 329e73e56b227c5c9fb00e2201fdf1099607b473) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Fix up patchesSaul Wold2013-04-293-14222/+19
| | | | | | | | | | | | | These patches where tweaking both configure.in and configure, which is bad since configure changes after an autoconf. If the patch is re-applied for some reason it would notice that it's already appiled and fails. [YOCTO #4314] (From OE-Core rev: c32b425c10566cf2aaf187e98b6e2e29022bea2f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: fix description variableAndreas Oberritter2013-03-051-2/+2
| | | | | | | | | * The variable name was truncated. (From OE-Core rev: 2217176a9e2b9b9ac3b1e42e0feecb2c84d60f49) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: fix relative path referencesRoss Burton2013-02-041-2/+2
| | | | | | | | | | do_configure was using relative paths in do_configure with the assumption that $S is the same as $B. This isn't always true, so explicitly use $S. (From OE-Core rev: a01c103f54d2f588d78756d19f879eb82d0e5ae4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: Turn canusb support into PACKAGECONFIGKhem Raj2013-01-255-1/+14325
| | | | | | | | | | | | | | | | | | | | | libpcap notices libusb in its configure if its sysrooted and ignores it if its not. But this causes problems since there is no explicit dependency on libusb. Rebuild from shared state sometimes fails when libusb has not been yet populated in sysroot and libpcap has. And do_configure of consumers of libpcap e.g. tcpdump are probing for features on libpcap. All the tests fail since none of link steps succeed and it sees as if libpcap does not have required features and configure of tcpdump bails out. turn canusb into PACKAGECONFIG and let it be disabled by default. Backport additional patches needed for disable-canusb to work (From OE-Core rev: a7cfc0ce9885c51ccefcaba001e6672d7b3e36e5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: PR bump because of PU for libnlMihai Prica2012-12-061-1/+1
| | | | | | | | (From OE-Core rev: ebcd909451ae6a2d00b83f6aa7f28794355a6935) Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: add dependency on libnlRoss Burton2012-10-021-2/+2
| | | | | | | | | | libpcap uses libnl on Linux to support sniffing mac80211 devices, which could be useful. (From OE-Core rev: 052a8406e66c9dcccc1fc506a32cc1706b93467b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to ver. 1.3Cristian Iorga2012-07-263-2/+2
| | | | | | | | (From OE-Core rev: 3f0cc742ea5d4788df26bb0592c294e5a67e1093) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: fix pcap-config to not return -Wl,-rpathChristopher Larson2012-07-261-1/+2
| | | | | | | | (From OE-Core rev: 9090abb6240d8a3bf2ff0acd84e13c363440896b) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: use PACKAGECONFIG for bluetooth distro featureChristopher Larson2012-05-031-1/+4
| | | | | | | (From OE-Core rev: 78821b3a893c8934d0f0f54df46cdbbc37f082d8) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.2.1Shane Wang2012-03-213-2/+2
| | | | | | | (From OE-Core rev: 98b9c17f2c236e1a23d9c74d93cb693b4d7b4d61) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: upgrade to 1.2.0Shane Wang2012-01-034-5/+5
| | | | | | | | | | This patch is to upgrade libpcap to 1.2.0. The values of the macro definitions are duplicated with the new code, so change them into other values. (From OE-Core rev: 2a76f0731f5e2ad4b941197bdf59c66d52ec9131) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap: use binconfig class to deploy pcap-configJan Luebbe2011-11-182-2/+4
| | | | | | | | | | This fixes building of tcpdump on hosts where libpcap-dev is installed. Also introduce INC_PR. (From OE-Core rev: 942cdda2194078755a11efef3ba3f502f72e4f5e) Signed-off-by: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add Upstream-Status for multiple recipesDongxiao Xu2011-05-132-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hostap: add upstream status for hostap-fw-load.patch lrzsz: add upstream status for lrzsz's patches bluez: add upstream status for bluez's patches bluez-dtl1-workaround: add upstream status for COPYING.patch libgsmd: add upstream status for gsm's patches. gypsy: add upstream status for gypsy's patch libpcap: add upstream status for libpcap's patches ppp: add upstream status for ppp's patches libtelepathy: add upstream status for libtelepathy's patches telepathy-python: add upstream status for telepahty-python's patches wireless-tools: add upstream status for wireless-tools's patches wpa-supplicant: add upstream status for wpa-supplicant zeroconf: add upstream status for zeroconf's patch glibc: add upstream status for glibc's patches dpkg: add upstream status for dpkg's patches makedevs: add upstream status for makedevs's patch opkg: add upstream status for opkg's patches opkg-utils: add upstream status for opkg-utils's patch minicom: add upstream status for minicom patches rpcbind: add upstream status for rpcbind's patch which: add upstream status for which's patch clutter-gst: add upstream status for clutter-gst's patches flac: add upstream status for flac's patches gst-ffmpeg: add upstream status for gst-ffmpeg's patch liba52: add upstream status for liba52's patch libid3tag: add upstream status for libid3tag libmusicbrainz: add upstream status for libmusicbrainz's patch pulseaudio: add upstream status for pulseaudio patches db: add upstream status for db's patch neon: add upstream status for neon's patch taglib: add upstream status for taglib's patches libetpan: add upstream status for libetpan's patch libopensync: add upstream status for libopensync's patches libopensync-plugin-evolution2: add upstream status for its patch libopensync-plugin-syncml: add upstream status for its patch libsyncml: add upstream status for libsyncml's patch empathy: add upstream status for empathy's patch wv: add upstream status for wv's patch xournal: add upstream status for xournal's patch (From OE-Core rev: 0f9f0518ac46c2f2beb0224e881ff136f1603d33) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes-connectivity: Cleanup package descriptions and summariesMark Hatle2010-10-111-1/+4
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-connectivity to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-014-0/+228
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>