Commit Graph

514 Commits

Author SHA1 Message Date
Khem Raj
577604b93c libmbim: Fix build with clang
We need to check for clang in configure so
the warning options can be added surgically
depending upon compiler type

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:38 +02:00
dengke.du@windriver.com
3fd61331a4 libndp: 1.5 -> 1.6
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-25 15:31:17 +02:00
Cody P Schafer
c7f39c7667 thrift: disable java
Without this, thrift will try to use system java to build it's java
bindings, which is both unexpected and may fail depending on the
version of system java.

Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-05 18:21:12 +02:00
Ming Liu
aba02d72d6 libnet: fixes musl libc build
This patch is back ported from libnet upstream.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:19:57 +02:00
Zhixiong Chi
47ab72fca1 hostapd: Security Advisory-CVE-2016-4476
Add CVE-2016-4476 patch for avoiding \n and \r characters in passphrase
parameters, which allows remote attackers to cause a denial of service
(daemon outage) via a crafted WPS operation.
patches came from http://w1.fi/security/2016-1/

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:19:55 +02:00
Khem Raj
4703a3d41f lirc: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:14 +02:00
Martin Jansa
4f3ae98d68 gammu: add dependency on unixodbc
* autodetected for smsd as reported in bitbake world status e-mails:
  gammu-1.32.0: libgsmsd rdepends on unixodbc, but it isn't a build dependency, missing unixodbc in DEPENDS or PACKAGECONFIG? [build-deps]

* log.do_package:
  DEBUG: libgsmsd: Dependency libodbc.so.2 requires package unixodbc (used by files: /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/gammu/1.32.0-r0/packages-split/libgsmsd/usr/lib/libgsmsd.so.7.1.32.0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:08 +02:00
Haiqing Bai
a3cdf02a39 networkmanager: Fix package splitting and systemd service issue
* Put binary "/usr/bin/nm-online" into main package
  as the systemd service "NetworkManager-wait-online.service"
  is provided by main package and it needs to run
  "/usr/bin/nm-online"
* Correct "NetworkManager-wait-online.service.in"
  to avoid dependency circle and get right service status

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-19 16:24:03 +02:00
Wenzong Fan
2ed5ad2e40 krb5: upgrade to 1.13.6
* fix CVEs: CVE-2015-8629, CVE-2015-8630, CVE-2015-8631

* update LIC_FILES_CHKSUM, only Copyright changed in NOTICE file:

  -Copyright (C) 1985-2015 by the Massachusetts Institute of Technology.
  +Copyright (C) 1985-2016 by the Massachusetts Institute of Technology.

* remove useless functions: krb5_do_unpack(), do_unpack()

* remove patches that included by new release:
  - 0001-Work-around-uninitialized-warning-in-cc_kcm.c.patch
  - Fix-SPNEGO-context-aliasing-bugs-CVE-2015-2695.patch
  - Fix-IAKERB-context-aliasing-bugs-CVE-2015-2696.patch
  - Fix-build_principal-memory-bug-CVE-2015-2697.patch
  - Fix-IAKERB-context-export-import-CVE-2015-2698.patch
  - krb5-CVE-2016-3119.patch
  - krb5-CVE-2016-3120.patch

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:49 +02:00
Cody P Schafer
3b675cb672 thrift: fix build on gcc-6
thrift build issues on gcc-6 were essentially 2 issues:

 - gcc-6 has stricter overflow checking on array declaration, and
   thrift was using `char` when it should have used `signed char`
 - gcc-6 is really picky about it's include paths (`-I`), and thrift
   had a bad habbit of passing internal ones when it was cross compiled
   due to how it was using `include_directories()`

This adds 2 patches (both variations of those submitted upstream, the
ones included here are rebased onto thrift-0.9.3).

	https://issues.apache.org/jira/browse/THRIFT-3831
	https://issues.apache.org/jira/browse/THRIFT-3828

Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:48 +02:00
Andreas Müller
2f157021ff libqmi: fix floating dependencies
libgudev:
* Is not configurable -> DEPENDS
* fixes
| WARNING: libqmi-1.16.0-r0 do_package_qa: QA Issue: libqmi rdepends on libgudev, but it isn't a build dependency, missing libgudev in DEPENDS or PACKAGECONFIG? [build-deps]
| WARNING: libqmi-1.16.0-r0 do_package_qa: QA Issue: libqmi rdepends on libudev, but it isn't a build dependency, missing systemd in DEPENDS or PACKAGECONFIG? [build-deps]
| WARNING: libqmi-1.16.0-r0 do_package_qa: QA Issue: libqmi rdepends on libcap, but it isn't a build dependency, missing libcap in DEPENDS or PACKAGECONFIG? [build-deps]

libmbim:
* tested
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[libmbim] = "--enable-mbim-qmux, --disable-mbim-qmux, libmbim"

  configure reported correct "QMUX over MBIM:       no" but still
  | WARNING: libqmi-1.16.0-r0 do_package_qa: QA Issue: libqmi rdepends on libmbim, but it isn't a build dependency, missing libmbim in DEPENDS or PACKAGECONFIG? [build-deps]
  => libmbim -> DEPENDS

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:45 +02:00
Wang Xin
cc9b89f116 networkmanager: 1.0.10 -> 1.0.12
1) Upgrade networkmanager from 1.0.10 to 1.0.12.
2) Delete some patches, since they are no use.
    0003-core-fix-failure-to-configure-routes-due-to-wrong-de.patch
    0004-ppp-manager-clear-ppp_watch_id-upon-pppd-termination.patch
    0005-device-update-ip_iface-only-if-IP-interface-exists.patch

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:52 +02:00
Alexandru Moise
19dc7117fd krb5: Fix S4U2Self KDC crash when anon is restricted
This is CVE-2016-3120

The validate_as_request function in kdc_util.c in the Key Distribution
Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.13.6 and 1.4.x before
1.14.3, when restrict_anonymous_to_tgt is enabled, uses an incorrect
client data structure, which allows remote authenticated users to cause
a denial of service (NULL pointer dereference and daemon crash) via an
S4U2Self request.

Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:50 +02:00
Martin Jansa
289217bbc3 meta-oe: fix indentation
* remove tabs which sneaked in since last cleanup
* meta-oe layers are using consistent indentation with 4 spaces, see
  http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Robert P. J. Day
107689a133 meta-oe: Standardize use of "_append" versus use of "+="
Remove superfluous "+=", then manually add necessary leading space.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:29 +02:00
Derek Straka
355cdb7045 libmbim: update to 1.14.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:59 +02:00
Martin Jansa
0cd0b09dee networkmanager-openvpn: add intltool-native dependency
* fixes:
  | ../NetworkManager-openvpn-1.0.8/configure: line 12468: syntax error near unexpected token `0.35'
  | ../NetworkManager-openvpn-1.0.8/configure: line 12468: `IT_PROG_INTLTOOL(0.35)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:21:38 +02:00
Martin Jansa
5f7fc33b0e gnokii: add missing intltool-native dependency
* fixes:
  | checking for ar... arm-starfish-linux-gnueabi-ar
  | ../gnokii-0.6.31/configure: line 5688: syntax error near unexpected token `0.35.0'
  | ../gnokii-0.6.31/configure: line 5688: `IT_PROG_INTLTOOL(0.35.0)'
  | WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:21:37 +02:00
Andreas Müller
2ed31c7ebb modemmanager: update to 1.6.0 and unblacklist - libqmi was fixed
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-08 13:46:49 +02:00
Andreas Müller
5b5bad7c88 libqmi: update to 1.16.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-08 13:46:48 +02:00
Martin Jansa
8f4c447cc7 packagegroup-tools-bluetooth: Fix incorrect LIC_FILES_CHKSUMs
* it was using checksum from old LICENSE file

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:01:01 +02:00
Philip Balister
d0c4bdc2fa zeromq: Update to version 4.1.5.
Added PACKAGECONFIG to use libsodium instead of builtin tweetnacl.

Compiling with current master led to:

| ../zeromq-4.1.5/src/ctx.cpp:50:28: fatal error: randombytes.h: No such file or directory
|  #   include "randombytes.h"
|                             ^
| compilation terminated.
| Makefile:2573: recipe for target 'src/libzmq_la-ctx.lo' failed
| make[1]: *** [src/libzmq_la-ctx.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
| In file included from ../zeromq-4.1.5/src/curve_client.cpp:41:0:
| ../zeromq-4.1.5/src/curve_client.hpp:39:31: fatal error: tweetnacl_base.h: No such file or directory
|  #   include "tweetnacl_base.h"
|                                ^
| compilation terminated.

Using external libsodium works around this. The default for PACKAGECONFIG is
set to use external libsodium so the recipe builds.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:55 +02:00
Martin Jansa
d212af495f lirc: inherit python3native instead of pythonnative
* when native python 2.7 is used, do_configure fails with:
  checking whether sysroots/x86_64-linux/usr/bin/python-native/python version is >= 3.1... no
  configure: error: Python interpreter is too old
  WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-22 21:45:39 +02:00
Wenzong Fan
c29c8e3a8f krb5: add systemd support
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:21:26 +02:00
Hongxu Jia
016e7480a8 Revert "python-pygobject, python-cloudeebus, python-dbusmock: Blacklist because of python-pygobject is broken"
This reverts commit b0fae32dfc.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:21:26 +02:00
Derek Straka
d516719ef5 libqmi: update to version 1.14.2
* Addresses build issues with gcc-6

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:20:05 +02:00
Martin Jansa
b0fae32dfc python-pygobject, python-cloudeebus, python-dbusmock: Blacklist because of python-pygobject is broken
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 19:06:46 +02:00
Martin Jansa
25a78e55e9 abiword, fbreader, tvheadend, glmark2, libqmi, modemmanager, thrift, wvdial, wvstreams, dt, collectd, gtkmathview, tcsh, glcompbench, geos, libspatialite, geis, grail, opencv, openwbem, fwts: blacklist, fails to build with gcc-6 or glibc-2.24
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 19:06:44 +02:00
Christopher Larson
a3d4309fac networkmanager: add missing dep on dbus-glib-native
The networkmanager build runs dbus-binding-tool, which only exists if
dbus-glib-native has been built, and will fail otherwise.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-27 15:39:09 +02:00
Christopher Larson
08395623a9 networkmanager: add missing dep on intltool-native
Recipes using intltool need this dependency.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-27 15:39:09 +02:00
Andrea Adami
569b11c6e3 obexftp: mark as compatible with bluez5
Fix opie-image:
ERROR: Nothing PROVIDES 'obexftp'
ERROR: obexftp was skipped: Recipe is blacklisted: bluez5 conflicts with
 bluez4 and bluez5 is selected in DISTRO_FEATURES

Somehow on 2015-05-11 obex* had been blacklisted and on the same day Dmitry
sent the patches #93471 and #93473.
Openobex was then fixed (bluez 4 vs. 5 ) with commit id
3d6d36d24b.

Originally
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:40 +02:00
Daniel McGregor
5da9408672 krb5: fix uninitialized variable warning
On some targets clang erroniously detects an uninitialized variable.
Backport the fix from upstream.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:39 +02:00
Kinsella, Ray
786ab843f0 wvstreams: fixing segfault with new gcc optimizations
Recent GCC optimizations -ftree-dce and -foptimize-sibling-calls are causing
a segfault in the wvstream stackmaster. Fedora had the same problem and
resolved the issue by removing these optimizations.

See: https://bugzilla.redhat.com/show_bug.cgi?id=812651

Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-10 20:18:56 +02:00
Ann Thornton
5397ae5d57 packagegroup-tools-bluetooth: Selects the tools appropriate for the version of bluez being used.
Signed-off-by: Ann Thornton <ann.thornton@nxp.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-10 20:18:55 +02:00
Ann Thornton
a78aebb606 packagegroup-tools-bluetooth.bb: Selects the tools appropriate for the version of bluez being used.
Signed-off-by: Ann Thornton <ann.thornton@nxp.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:25 +02:00
Philip Balister
53adf32f49 thrift: Add recipe for Apache Thrift.
* Run tested cpp bindings with GNU Radio Control Port.
 * The patch forcible removes Qt5 from configure. The disable is correct,
   but doesn't prevent a cmake error looking for qmake during configure.
   We do not need Qt5, so remove check. I suspect the issue might be in
   Qt5 cmake files.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:38:31 +02:00
Zhixiong Chi
4d6c01395e krb5-CVE-2016-3119.patch
Backport <commit 08c642c09c38a9c6454ab43a9b53b2a89b9eef99> from krb5
upstream <https://github.com/krb5/krb5> to fix CVE-2016-3119

avoid remote authenticated users to cause a denial of service (NULL pointer
dereference and daemon crash) via a crafted request to modify a principal.

Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:40 +02:00
Ross Burton
21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Adrian Dudau
bfa6d1c090 umip: unblacklist and disable parallel make
The SRC_URI is up again, no need to blacklist the recipe if we disable parallel make

The following error can ocurr in a race condition:

scan.l:38:18: fatal error: gram.h: No such file or directory
http://errors.yoctoproject.org/Errors/Details/56158/

That is, the scan.l file is parsed before the gram.h file is generated.
To avoid this, we clear the PARALLEL_MAKE variable.

Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:19 +02:00
Roy Li
ead0d3b0c8 krb5: add native and nativesdk extend
add native and nativesdk extend, curl-native/nativesdk need them.
replace the hardcode /etc with ${sysconfdir}, /var with ${localstatedir}

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:18 +02:00
Ruben De Smet
53e8edb4ea linuxptp: update to 1.6, most recent release.
No further updates were required, aside from changing the
checksums and renaming the file.

Signed-off-by: Ruben De Smet <ruben.de.smet@rubdos.be>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12 11:07:46 +02:00
Martin Jansa
b5f1fa8c58 Revert "ti-wifi-utils: add recipe"
* fails to build for hardfloat MACHINEs
  http://lists.openembedded.org/pipermail/openembedded-devel/2016-April/106782.html

This reverts commit f4958cfc97.
2016-04-12 11:07:45 +02:00
Ioan-Adrian Ratiu
f4958cfc97 ti-wifi-utils: add recipe
This recipe is for a TI WiFi calibrator utility [1]. The firmware from
this project is already shipped inside linux-firmware so we do not
package it in this recipe.

[1] http://linuxwireless.sipsolutions.net/en/users/Drivers/wl12xx/#Calibration

Signed-off-by: James Minor <james.minor@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25 11:27:30 +01:00
Martin Jansa
d82b0d8f63 umip: blacklist
* SRC_URI seems to be down:
  fatal: unable to connect to git.umip.org:
  git.umip.org[0: 77.133.223.36]: errno=Connection timed out
  git.umip.org[1: 2a02:8428:26f:b200:221:70ff:fe55:8f78]: errno=Network is unreachable
* and build fails with:
  scan.l:38:18: fatal error: gram.h: No such file or directory
  http://errors.yoctoproject.org/Errors/Details/56158/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25 11:26:57 +01:00
Alexander Kanavin
00d9742ee2 telepathy-glib: fix gobject introspection support
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:30 +01:00
Alexander Kanavin
7c34827f7b networkmanager: fix introspection and vala support
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:30 +01:00
Alexander Kanavin
95650ac3e0 modemmanager: fix vala support
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:29 +01:00
Alexander Kanavin
6fbf74623b bluez4: use real introspection instead of legacy pygobject
Now that the real introspection is available, and legacy pygobject is not,
the patch to use the latter should be removed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:29 +01:00
Philip Balister
6706871ee6 cppzmq: Bump rev.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:28 +01:00
Philip Balister
a8576f6d8b zeromq: Update to 4.1.4.
* This resolves a build error due to libsodium update.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:27 +01:00