634 Commits

Author SHA1 Message Date
Trevor Woerner
a69be135d7 openobex: rely on cmake.bbclass to put cmake package files in dev package
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.

	http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 09:13:03 -07:00
André Draszik
3ba4e21bb8 krb5: DEPENDS on bison-native
bison-native is required for the build:

| yacc  getdate.y
| make[2]: yacc: Command not found
| make[2]: *** [<builtin>: getdate.c] Error 127

In most cases, this dependency comes indirectly via toolchain
dependencies, specifically binutils-cross, which pulls
bison-native.

Different setups, such as with external toolchains, or an
upcoming change to OE-core for avoiding exactly this
unnoticed dependency expose this problem, since the correct
dependency is not marked explicitly.

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
S. Lockwood-Childs
803f134c0b libev: correct source path
Let S default to "${WORKDIR}/${BPN}-${PV}" rather than replacing PN
with BPN, since source always unpacks to the same place including when
building for multilib (or native, though that's not enabled here)
in which case PN != BPN

Signed-off-by: S.Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Armin Kuster
51411b3c7a mosquito: move from oe to networking layer
mosquito has dependancy on meta-netowrking packages

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:32:26 -07:00
Trevor Woerner
abead52851 libwebsockets: update 2.1.0 -> 3.0.0
The LICENSE checksum update was required because the LICENSE file added an
initial clause, and the locations of the third-party sources changed.

Here is a diff of the old and new licenses:

	--- LICENSE.old 2018-05-11 14:36:05.053031281 -0400
	+++ LICENSE.new 2018-05-11 14:35:40.364931066 -0400
	@@ -1,7 +1,13 @@
	 Libwebsockets and included programs are provided under the terms of the GNU
	 Library General Public License (LGPL) 2.1, with the following exceptions:

	-1) Static linking of programs with the libwebsockets library does not
	+1) Any reference, whether in these modifications or in the GNU
	+Library General Public License 2.1, to this License, these terms, the
	+GNU Lesser Public License,  GNU Library General Public License, LGPL, or
	+any similar reference shall refer to the GNU Library General Public
	+License 2.1 as modified by these paragraphs 1) through 4).
	+
	+2) Static linking of programs with the libwebsockets library does not
	 constitute a derivative work and does not require the author to provide
	 source code for the program, use the shared libwebsockets libraries, or
	 link their program against a user-supplied version of libwebsockets.
	@@ -10,7 +16,7 @@
	 changes to libwebsockets must be provided under the terms of the LGPL in
	 sections 1, 2, and 4.

	-2) You do not have to provide a copy of the libwebsockets license with
	+3) You do not have to provide a copy of the libwebsockets license with
	 programs that are linked to the libwebsockets library, nor do you have to
	 identify the libwebsockets license in your program or documentation as
	 required by section 6 of the LGPL.
	@@ -22,26 +28,30 @@
	 "[program] is based in part on the work of the libwebsockets  project
	 (https://libwebsockets.org)"

	-3) Some sources included have their own, more liberal licenses, or options
	+4) Some sources included have their own, more liberal licenses, or options
	 to get original sources with the liberal terms.

	 Original liberal license retained

	-  - lib/sha-1.c         - 3-clause BSD license retained, link to original
	+  - lib/misc/sha-1.c    - 3-clause BSD license retained, link to original
	   - win32port/zlib      - ZLIB license (see zlib.h)
	+  - lib/tls/mbedtls/wrapper - Apache 2.0 (only built if linked against mbedtls)

	 Relicensed to libwebsocket license

	-  - lib/base64-decode.c - relicensed to LGPL2.1+SLE, link to original
	-  - lib/daemonize.c     - relicensed from Public Domain to LGPL2.1+SLE,
	-                          link to original Public Domain version
	+  - lib/misc/base64-decode.c - relicensed to LGPL2.1+SLE, link to original
	+  - lib/misc/daemonize.c     - relicensed from Public Domain to LGPL2.1+SLE,
	+                               link to original Public Domain version

	 Public Domain (CC-zero) to simplify reuse

	-  - test-server/*.c
	-  - test-server/*.h
	+  - test-apps/*.c
	+  - test-apps/*.h
	+  - minimal-examples/*
	   - lwsws/*
	-
	+
	+------ end of exceptions
	+
			   GNU LESSER GENERAL PUBLIC LICENSE
				Version 2.1, February 1999

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:28:20 -07:00
Trevor Woerner
dd80399993 libwebsockets: switch away from github archive
Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:28:20 -07:00
Trevor Woerner
a6a3de760f libuv: update 1.11.0 -> 1.20.3
The license change is as a result of removing one of the files
(pthread-fixes.h) from the list of files from Google and Sony.
No change in license has occurred. Here is a diff of the license
file:

	--- LICENSE.old 2018-05-11 10:50:19.024581228 -0400
	+++ LICENSE.new 2018-05-11 10:49:53.088488515 -0400
	@@ -62,8 +62,8 @@
	   - stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three
	     clause BSD license.

	-  - pthread-fixes.h, pthread-fixes.c, copyright Google Inc. and Sony Mobile
	-    Communications AB. Three clause BSD license.
	+  - pthread-fixes.c, copyright Google Inc. and Sony Mobile Communications AB.
	+    Three clause BSD license.

	   - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
	     Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:25:29 -07:00
Trevor Woerner
0c37018e7b libuv: switch away from github archive
Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:25:29 -07:00
Martin Kelly
395278591d modemmanager: fix mbim disable string
The current string used to disable mbim is "--enable-mbim=no", which is
producing a warning. It should be "--with-mdim=no", so change it.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:20:48 -07:00
Martin Kelly
f79a1bf458 modemmanager: upgrade to 1.7.991
This version has a ublox plugin for expanded modem support. The underlying issue
that enum-conversion.patch fixes appears to already have been fixed upstream, so
we can drop the patch.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:20:47 -07:00
Khem Raj
54c9f1d28f libmbim: Upgrade to 1.16.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:19:22 -07:00
Andre McCurdy
e59a9738c2 openobex: explicitly set ASNEEDED from openobex recipe
Up to now, an openobex specific over-ride for ASNEEDED has been
provided by oe-core (from as-needed.inc). If ASNEEDED does need to be
over-ridden in order to build openobex it's not ideal that the
over-ride comes from a different layer so define it directly in the
meta-oe recipe.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:19:21 -07:00
Hongxu Jia
7eb04ba677 krb5: support environment setting on systemd
Let krb5 support environment setting on systemd startup.
Here is one requirement of environment setting from upstream krb5
...
https://web.mit.edu/kerberos/krb5-1.16/doc/admin/conf_files/kdc_conf.html
|Normally, the kdc.conf file is found in the KDC state directory,
LOCALSTATEDIR/krb5kdc. You can override the default location by
setting the environment variable KRB5_KDC_PROFILE.
...

The fix of (krb5-admin-server.service/krb5-kdc.service) refers ubuntu 1604

Variable RUN_KADMIND is sysvinit, move it out from default/krb5-admin-server

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:19:21 -07:00
Armin Kuster
d3286daf33 smstools3: refresh patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file scripts/sms3
Hunk #1 succeeded at 24 with fuzz 2.

plus more

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:37 -07:00
Khem Raj
4489cac61f obexftp: use makefile instead of ninja cmake generator
Fixes

| NOTE: make -j 44 crctable
| make: *** No rule to make target 'crctable'.  Stop.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Andre McCurdy
8a54026a23 hostapd: fix LICENSE + misc recipe updates
According to the COPYING file in the top level of the hostapd source
tree, hostapd was re-licensed from dual BSD/GPLv2 to BSD only in
February 2012. This change has apparently gone unnoticed for the
past 6 years, but fix it now.

Also use pkg-config to find libnl headers (instead of hardcoding),
append to base do_configure (instead of over-riding), respect OE's
default CFLAGS (instead of ignoring) and make some minor formatting
tweaks to bring the recipe more in line with the OE Styleguide.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Khem Raj
1985b36b1d zeromq: Upgrade to 4.2.5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Mark Asselstine
e0a248c497 zeromq: Fixup do_install_ptest_base failure
The following error is being hit:

| install: cannot stat
|  '.../tmp/work/core2-64-poky-linux/zeromq/4.2.3-r0/build/.libs/test_*':
|  No such file or directory

This is being hit in the 'state of the world' builds (see [oe] State
of the world, 2018-03-19). The uprev to v4.2.3 (commit 50eb3504c83c)
did not take into account that the location of the tests changed in
the 'build' directory as part of the new release. Updating to use the
proper directory.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Andreas Müller
2e19b40505 libqmi: refresh 0001-Detect-clang.patch
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Andreas Müller
b0b1fbed35 krb5: refresh 0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Justin Bronder
dbc5708539 zeromq: 4.2.3 update
4.1.6 was released in late 2016 and upstream has moved on to the 4.2
series which has a number of new APIs but remains ABI compatible with
4.1.2+ per https://github.com/zeromq/libzmq/releases/tag/v4.2.0.

4.2.3 ChangeLog: https://github.com/zeromq/libzmq/releases/tag/v4.2.3

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:56:55 -07:00
Khem Raj
fafb973ec0 krb5: Correctly specify configure option --with-crypto-impl
Fixes
QA Issue: krb5: configure was passed unrecognised options: --with-pkinit-crypto-impl [unknown-configure-option]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:51:07 -07:00
Khem Raj
3d90f703f4 krb5: Add -D_REENTRANT -pthread to CFLAGS on risc-v
This is not defined by gcc for risc-v, probably a bug in
gcc but until then insulate ourselves

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-29 16:50:38 -07:00
Slater, Joseph
0be593bd12 hostapd: not compatible with openssl-no-weak-ciphers
Use CONFLICT_DISTRO_FEATURES to not build if des is not supported.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:34:24 -07:00
Martin Jansa
c808541864 krb5: remove PACKAGECONFIG for openssl
* --with-pkinit-crypto-impl option was removed in 1.16 by this commit;
  3e2344a14f (diff-f543b6d8715dcf859ebec297c750c370)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:34:04 -07:00
Justin Bronder
933cef83eb cppzmq: 4.2.3 update
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-16 19:15:50 -07:00
Khem Raj
404a37a9ef umip: Fix build incompatibilities
musl exposes some build issues which require portable code.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:17 -07:00
Huang Qiyu
5172944a06 krb5: 1.15.1 -> 1.16
1.Upgrade krb5 from 1.15.1 to 1.16
2.Update the checksum of LIC_FILES_CHKSUM, since krb5 has been changed. But lincese remains the same.just modify the following.
  -Copyright (C) 1985-2016 by the Massachusetts Institute of Technology.
  +Copyright (C) 1985-2017 by the Massachusetts Institute of Technology.

  -The KCM Mach RPC definition file used on OS X has the following
  +The KCM Mach RPC definition file used on macOS has the following

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 09:59:35 -07:00
Armin Kuster
92f0a730c5 obex-data-server: only include when x11 in DISTRO_FEATURES
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 09:59:33 -07:00
Fabio Berton
13e471c069 libqmi: Update to version 1.20.0
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-23 20:21:14 -08:00
André Draszik
000b80ef91 mosquitto: simplify build patch
By simply allowing to set certain make variables from
the environment, and by specifying the strip program
to use (/bin/true), we can greatly simplify the build
patch.

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-22 19:36:04 -08:00
André Draszik
fa6d5d1087 mosquitto: use uthash from meta-oe
meta-oe has uthash, so let's use that and not the
old version shipped with the mosquitto source.

(Debian does the same)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-22 19:36:03 -08:00
Bill Randle
d18b3c8ef0 smstools3: remove bash dependency on packaged scripts
An earlier patch to update smstools3 to v3.1.21 dropped the RDEPENDS for
bash, which caused qc errors during packaging, since the example scripts
still used /bin/bash as the command executor. This patch updates the scripts
to use /bin/sh instead. No known bash-only syntax is present in the packaged
scripts and they run ok under Busybox.

Upstream-Status: Submitted [http://smstools3.kekekasvi.com/topic.php?post=6188#post6188]
Signed-off-by: Bill Randle <bill.randle@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:33:04 -08:00
Bill Randle
f7f9e4f930 smstools3: update to 3.1.21; drop uneeded patches
Update smstools3 to latest version and drop some patches that no longer
seem to be required. (Builds and runs fine on poky.)

Signed-off-by: Bill Randle <bill.randle@gmail.com>
fixed sha256 hash
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:32:54 -08:00
Tobias Olausson
cf993a2c9e Move RDEPENDS on libasound-module to bluez4 since it has been removed from bluez5
See also: https://patchwork.openembedded.org/patch/139422/

Signed-off-by: Tobias Olausson <tobias.olausson@pelagicore.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-22 19:54:10 -08:00
Mark Hatle
ed6b5da874 hostapd: fix WPA2 key replay security bug
Note, hostapd and wpa_supplicant use the same sources.  This commit is based
on Ross Burton's change to OpenEmbedded-core.  Below is Ross's commit message
from OpenEmbedded-Core.

    WPA2 is vulnerable to replay attacks which result in unauthenticated users
    having access to the network.

    * CVE-2017-13077: reinstallation of the pairwise key in the Four-way handshake

    * CVE-2017-13078: reinstallation of the group key in the Four-way handshake

    * CVE-2017-13079: reinstallation of the integrity group key in the Four-way
    handshake

    * CVE-2017-13080: reinstallation of the group key in the Group Key handshake

    * CVE-2017-13081: reinstallation of the integrity group key in the Group Key
    handshake

    * CVE-2017-13082: accepting a retransmitted Fast BSS Transition Reassociation
    Request and reinstalling the pairwise key while processing it

    * CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup (TDLS)
    PeerKey (TPK) key in the TDLS handshake

    * CVE-2017-13087: reinstallation of the group key (GTK) when processing a
    Wireless Network Management (WNM) Sleep Mode Response frame

    * CVE-2017-13088: reinstallation of the integrity group key (IGTK) when
    processing a Wireless Network Management (WNM) Sleep Mode Response frame

    Backport patches from upstream to resolve these CVEs.

    Signed-off-by: Ross Burton <ross.burton@intel.com>

The hunk:

[PATCH 7/8] WNM: Ignore WNM-Sleep Mode Response without pending request

does not apply to hostapd and was removed from the patch.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-16 20:42:22 +00:00
Catalin Enache
532b5cbb40 krb5: CVE-2017-11462
Double free vulnerability in MIT Kerberos 5 (aka krb5) allows attackers to
have unspecified impact via vectors involving automatic deletion of
security contexts on error.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-11462

Upstream patch:
56f7b1bc95

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:12 +02:00
Jackie Huang
0487ed7f1d recipes: fix invalid license file
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning:

| WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic:
  ${COREBASE}/LICENSE is not a valid license file, please use
  '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM.
  This will become an error in the future

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:12 +02:00
Huang Qiyu
476e3c24fd libndp: Add HOMEPAGE info into recipe file.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:11 +02:00
Ankit Navik
73b8d2a909 ell: upgrade SRCREV
7b7c15c build: Include check for xxd binary when in maintainer-mode

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:25 +02:00
Pascal Bach
2ff76a705a thrift: build lib for native and nativesdk
The libraries can also be build for native and nativesdk.
This is useful for running tests on the build machine.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:21 +02:00
Khem Raj
0eeff8703e umip: Update SRC_URI to github
original link is not accessible anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:21 +02:00
Mark Hatle
a827e09338 libmtp: remove 'mtp-tools' from PACKAGES
mtp-tools is a 'rename' of the ${PN}-bin, so it should not be in the
PACKAGES value.  If it is, it will result in either an error during packaging
or an indeterminate package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:13:20 +02:00
Mark Hatle
836766e5cf telepathy-python: Move to meta-python, requires python-dbus
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:46 +02:00
Mark Hatle
677199bb7a networkmanager: Move to meta-networking, requires dnsmasq
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-12 10:55:08 -04:00
Mark Hatle
c4c0151e20 networkmanager-openvpn: requires openvpn from meta-networking
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-12 10:55:08 -04:00
Kai Kang
d9f7ef40d7 krb5: fix CVE-2017-11368
Backport patch to fix CVE-2017-11368 for krb5.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:59:56 +02:00
Armin Kuster
51c3205dc8 libmtp: fix build issue
DEBUG: Executing shell function BUILDSPEC
| error: line 109: %package -n mtp-tools: package mtp-tools already exists

Yes, there are two entries in libmtp.spec. Under packages-split, mtp-tools is empty but
libmtp-bin is not.

Removed PKG_${PN}-bin , this alignes how Debian split its packages

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:37 +02:00
Paul Eggleton
4d43e788f2 paho-mqtt-c: add recipe from meta-intel-iot-middleware and update
The following improvements have been made over the recipe that was in
meta-intel-iot-middleware (a layer which is no longer actively
maintained):

* Upgrade to 1.2.0. The version number being used previously (3.1) was
  bogus - I guess someone saw that it supported the MQTT *protocol*
  version 3.1 and assumed that was the library version. Since we are
  renaming it to paho-mqtt-c at the same time to distinguish it from
  other Eclipse Paho MQTT library flavours, we don't need to bump PE.
* Fix SRC_URI since the repository has been moved
* Fix "No GNU_HASH in the elf binary" QA error
* Add notice.html and about.html to LIC_FILES_CHKSUM since they cover
  licensing
* Add description, Signed-off-by and Upstream-Status to makefile.patch
* Set short description in SUMMARY
* Drop unnecessary custom do_compile - the default implementation
  basically does the same thing
* Drop RDEPENDS on openssl - linking already ensures runtime
  dependencies get set correctly
* Move DEPENDS further up

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:36 +02:00
Paul Eggleton
e1b4dc7243 mosquitto: add from meta-intel-iot-middleware and update
The following improvements have been made over the recipe that was in
meta-intel-iot-middleware (a layer which is no longer actively
maintained):

* Upgrade to 1.4.14
* Use correct LICENSE value (license changed back in version 1.4)
* Add files containing the actual license terms to LIC_FILES_CHKSUM
* Make optional dependencies optional through PACKAGECONFIG (c-ares
  dependency now defaults to disabled)
* Use ${prefix} instead of /usr
* Drop python package since the python client was removed in 1.4
* SUMMARY and DESCRIPTION now reflect that it also supports MQTT 3.1.1
* Add brief description and Upstream-Status to build.patch
* Drop PR = "r0"
* Drop unnecessary setting of FILES_${PN}-staticdev since the default
  already includes this file
* Move SRC_URI checksums next to SRC_URI
* Move inherit of systemd further up

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:36 +02:00