Commit Graph

857 Commits

Author SHA1 Message Date
Tim Orling
75356b6a76 mraa: fix build for musl
* be16toh and le16toh are defined in endian.h

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-11 11:50:56 -08:00
Martin Jansa
99aa19ff53 recipes: use oe.utils.conditional instead of deprecated base_conditional
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-01 13:48:27 +00:00
Martin Jansa
c51d0b8f48 fluentbit: use Unix Makefiles OECMAKE generator
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-26 17:29:50 -08:00
Martin Jansa
27c474bd3e cmpi-bindings: use Unix Makefiles OECMAKE generator
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-26 17:28:11 -08:00
Otavio Salvador
26d60d24a4 haveged: Add sysvinit support
The haveged daemon is also useful on sysvinit-based systems, so we add
a init script for this use-case.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-22 19:39:17 -08:00
Yi Zhao
550acd3295 dialog: update SRC_URI
Update the SRC_URI since the upstream server is changed from
ftp://invisible-island.net to ftp://ftp.invisible-island.net

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:38:09 -08:00
Kai Kang
4230f56485 cfengine: 3.9.0 -> 3.10.2
Upgrade cfengine from 3.9.0 to lastest lts version 3.10.2.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:36:53 -08:00
Kai Kang
8c6a4273a2 cfengine-masterfiles: 3.9.0 -> 3.10.2
Upgrade cfengine-masterfiles from 3.9.0 to lastest lts version 3.10.2.

* year info has been updated in license file so md5 checksum changed
* remove remove-policy-of-usr-local-sbin.patch which has been done in upstream already
* correct install prefix

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:36:53 -08:00
Yi Zhao
fa21162559 leveldb: fix checking for SSE flag
The build_detect_platform-Check-for-__SSE4_2__.patch tries to use fgrep
with pipe to get the SSE flag. But actually it would fail with error:
fgrep: /tmp/leveldb_build_detect_platform-cxx.25886: No such file or
directory

That means it can not get the correct SSE flag.
We should make sure the fgrep command runs after g++ command has
finished and redirect the stdout and stderr to /dev/null to avoid make
error:
Makefile:18: *** missing separator. Stop.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:57 -08:00
Qi.Chen@windriver.com
303fd6d589 hwloc: fix multilib problem
Use libhwloc instead of lib${PN} to fix problem in case of multilib.
Otherwise, when installing lib32-hwloc into image, we would have the
following error at do_rootfs.

  - nothing provides lib32-liblib32-hwloc = 1.11.5-r0 needed by lib32-hwloc-1.11.5-r0.corei7_32

Also, fix FILES variable for libhwloc to not contain .so link file.
This would fix the QA issue, and the INSANE_SKIP line is no longer needed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:49 -08:00
Andrea Galbusera
73ac0e419a hiredis: fix paths in pkgconfig conf file
Set PREFIX via EXTRA_OEMAKE instead of exporting it in do_install_prepend():
than ensuring the correct prefix gets into hiredis.pc, which is generated by
upstream makefile at do_compile() time.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-30 09:13:32 -08:00
Jackie Huang
19f0e8b40b polkit: add consolekit only when x11 is enabled
consolekit depends on virtual/libx11 then it requires x11
distro feature, so add consolekit option only when x11
is in DISTRO_FEATURES.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-19 13:44:17 -08:00
Paul Barker
a72fc487da dumb-init: New recipe
This is a really simple init replacement for lightweight container images.

See https://engineeringblog.yelp.com/2016/01/dumb-init-an-init-for-docker.html
for more info.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:06 -08:00
Paul Barker
c80401b416 tmux: Update to v2.6
We can also switch to using a release archive.

The license checksum change is due to a change in the author's email address.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:06 -08:00
Paul Barker
6f3368cebe ddrescue: Update to v1.22
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Paul Barker
db54cae6bd dash: Update to v0.5.9.1
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Andrea Galbusera
5a14546439 can-isotp: add recipe
Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol.

CAN Transport Protocol offers support for segmented Point-to-Point
communication between CAN nodes via two defined CAN Identifiers. This protocol
driver implements data transfers according to ISO 15765-2.

This recipe provides can-isotp.ko kernel module.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Mikko Ylinen
2913f7073f mraa/upm: drop HAVE_NODEJS conditional
HAVE_NODEJS is a leftover from meta-refkit-core where the
layer had to adapt to different BBLAYER combinations (some
where nodejs wasn't available but mraa/upm were).

mraa/upm nodejs bindings currently fail to build (due to a problem
in swig with nodejs > v7.x) so we keep them disabled until a newer
version of swig lands in OE-core.

The commit adds BINDINGS overrides for armv4/5 to remind that nodejs
isn't available on those architectures.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Hongxu Jia
5d6d21e98e libreport: fix Nothing RPROVIDES 'lib32-python3-libreport'
While multilib enabled, if other recipe RDEPENDS python3-libreport,
it failed with:
...
ERROR: Nothing RPROVIDES 'lib32-python3-libreport'
...

Do not use python3-${PN} could fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-27 16:39:34 +00:00
Hongxu Jia
3c73befc03 libpwquality: fix Nothing RPROVIDES 'lib32-python3-libpwquality'
While multilib enabled, if other recipe RDEPENDS python3-libpwquality,
it failed with:
...
ERROR: Nothing RPROVIDES 'lib32-python3-libpwquality'
...

Do not use python3-${PN} could fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-27 16:39:34 +00:00
Pascal Bach
095c366c29 rocksdb: add version 5.8
Version 5.8 does no longer includes the facebook patent grant and is
licensed under the Apache-2.0 or GPL-2.0 license.

Tests and tools don't compile on armv5 so we disable them.
The tools are never installed anyway so it doesn't make a difference for
the resulting package.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-17 10:32:03 +00:00
Martin Jansa
77a6793fb9 leveldb: fix parallel build II
* I was still able to reproduce the build failure which was supposed to be
  fixed by this patch.
* added comment suggesting to do the same in:
  6a6541b339

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:32 +00:00
Paul Eggleton
a43751b149 upm: add recipe from meta-refkit-core
Make this recipe a little more widely visible (has previously appeared
in meta-refkit-core and meta-intel-iot-middleware). Also make couple of
minor tweaks:

* Fix BINDINGS example to use the correct recipe name (copy-paste error)
* Set HOMEPAGE
* Drop AUTHOR as this is field is only really intended for older
  software where there is no real point of contact for upstream other
  than an author's email address.
* Set same COMPATIBLE_HOST as mraa since upm depends upon it

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:31 +00:00
Paul Eggleton
c2a7348684 mraa: move recipe from meta-refkit-core
Make this recipe a little more widely visible (has previously appeared
in meta-refkit-core and meta-intel-iot-middleware). Also make couple of
minor tweaks:

* Make SUMMARY more accurate by borrowing the first part of the short
  description now in the mraa github repo
* Set HOMEPAGE
* Drop AUTHOR as this is field is only really intended for older
  software where there is no real point of contact for upstream other
  than an author's email address.
* Set COMPATIBLE_HOST to match what is checked by mraa's CMakeLists.txt

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:31 +00:00
Khem Raj
db68fbc784 leveldb: Fix parallel build
Add build parallelism, since we do not use oe_runmake

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-02 12:35:39 +00:00
Khem Raj
f841648657 openwsman: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:56:13 +00:00
Huang Qiyu
01c7f3e75d byacc: Add HOMEPAGE info into recipe file.
copy byacc from meta to meta-oe.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:48 +00:00
Randy MacLeod
cddeb4fbc4 rsyslog: update from 8.22 to 8.29
Drop two patches:
    CVE-2017-12588.patch
    0001-core-bugfix-segfault-after-configuration-errors.patch
since they are included in 8.29.

Update the testbench configuration flags.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:40 +00:00
Randy MacLeod
89fca8bbe2 librelp: upgrade from 1.2.12 to 1.2.14
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:40 +00: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
0dfbd9b268 sgpio: 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
Huang Qiyu
a6a27107b3 mozjs: 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
Huang Qiyu
0c6a745837 liblockfile: 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
Khem Raj
a3e6631543 leveldb: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:16:12 +02:00
Khem Raj
8c037f68f9 fluentbit: Upgrade to 0.12.1
Drop upstreamed patches
Fix jemalloc build with musl
Fix linking errors due to missing -lpthread

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:22 +02:00
Mikko Ylinen
09a285db61 efivar: fix build when host gcc version is < 4.9
efivar v27 started using C11 _Generic keyword in macros but that
is not implemented in gcc until 4.9. This makes efivar-native
(which is a dependency to efivar) build to fail if the builder host
gcc version is < 4.9.

It turns out only 'makeguids' generator needs to be built for the
build arch to generate GENERATED_SOURCES for efivar target build.
'makeguids' sources/includes have no gcc version dependencies so
to fix efivar build when host gcc < 4.9, we simply build 'makeguids'
target for efivar-native.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:22 +02:00
Khem Raj
02009e2114 sblim-sfcc: Fix build with musl
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
21fb078ce1 pywbem: Requires python-m2crypto-native (and others) from meta-python
Move pywbem to the meta-python layer to avoid missing requirements.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:46 +02:00
Mark Hatle
5e406e208c boinc-client: Add distro flag, requires opengl
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:46 +02:00
Mark Hatle
16b6e71213 openlmi-tools: Only build if the necessary python pieces are available
Since this isn't a python library it doesn't really belong to meta-python.
But I couldn't figure out where else to move it to.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:45 +02:00
Mark Hatle
cd72321a44 dlm: requires corosync, 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:09 -04:00
Mark Hatle
fe8db59501 corosync: Requires net-snmp 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
Khem Raj
2756ef68c9 corosync: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:59:21 +02:00
Ovidiu Panait
7b7a49b1ba rsyslog: fix segfault after configuration errors
rsyslog will segfault on startup if
a) the local machine's hostname is set to a non-FQDN name
b) the getaddrinfo() system call fails
This scenario is higly unlikely, but may exist especially with
provisioned VMs which may not properly be able to do name queries
on startup (seen for example on AWS).

This patch fixes the situation and also provides more robustness
for very early startup error messages when some of the error-reporting
subsystem is not yet properly initialized. Note that under these
circumstances, errors may only show up on stderr.

closes https://github.com/rsyslog/rsyslog/issues/1573

Reference:
https://github.com/rsyslog/rsyslog/issues/1573

Upstream patch:
6d25833980

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:39 +02:00
Khem Raj
59cbb1d54d pam-ssh-agent-auth: Get newer version of config.sub and config.guess scripts
helps compiling on newer architectures and libcs like musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:37 +02:00
Armin Kuster
7192708450 libexecinfo: fix complie issue
define _GNU_SOURCES to fix compile issue:
 execinfo.c:76:5: error: unknown type name 'Dl_info'
|      Dl_info info;
|      ^~~~~~~
| execinfo.c:83:13: warning: implicit declaration of function 'dladdr' [-Wimplicit-function-declaration]
|          if (dladdr(buffer[i], &info) != 0) {

V2: Merged two CFLAGS lines into one.

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
Khem Raj
e67ac72d07 sblim-sfcb: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:36 +02:00
Hongxu Jia
150f3e9424 libpwquality: fix do_qa_configure issue
...
|ERROR: libpwquality-1.4.0-r0 do_configure: gettext-native required but
not in DEPENDS for file
|tmp/work/core2-64-poky-linux/libpwquality/1.4.0-r0/libpwquality-1.4.0/configure.ac.
|Missing inherit gettext?
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:56:39 +02:00
Martin Jansa
ec9e5ed062 recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long
  time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Jackie Huang
f6695433d6 corosync: add support for extra features
* Add support for features: dbus qdevice qnetd snmp
* Add related PACKAGECONFIG
* inherit useradd to add proper user for qnetd service

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00