Commit Graph

5144 Commits

Author SHA1 Message Date
Khem Raj f96dffa6e0 open-vm-tools: Add -Wno-address-of-packed-member for with clang
This option ignores a warning as following
 error: taking address of packed member 'actualSize' of class or structure 'HgfsReplyReadV3' may result in an unaligned pointer value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
Khem Raj ca31d48634 mongodb: Disable for armv7 and fix build on musl
32bit arm is not supported
Add patches to compile 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:37 +02:00
Khem Raj e70416c59b gperftools: 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:37 +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
dengke.du@windriver.com 37a5e57751 openjpeg: upgrade to 2.2.0
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:37 +02:00
Jackie Huang a002051b5e pmtools: use update-alternatives for acpixtract
acpixtract is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:

| file /usr/bin/acpixtract conflicts between attempted installs of
  pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20170303-r0.i586

Signed-off-by: Jackie Huang <jackie.huang@windriver.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
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
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
Khem Raj 7254ea1dbe iptraf-ng: Add new recipe
Delete iptraf and use iptraf-ng to provide
iptraf functionality

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
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
Khem Raj 863d7a9639 lxdm: Copy Makefile.in.in from gettext-native
virtual/gettext is not including virtual/gettext anymore

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
Khem Raj 57acffff3c libgphoto2: Copy Makefile.in.in from gettext-native
virtual/gettext is not including virtual/gettext anymore

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
Khem Raj e9d4bf3989 gsoap: 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:56:39 +02:00
Khem Raj e9c79841b9 serial-forward: Fix build with hardening+musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:56:39 +02:00
Martin Jansa e5681e1dca layer.conf: remove FREESMARTPHONE_GIT variable
* nothing in meta-oe is using it now and meta-fso is also gone now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 14:22:12 +02:00
Martin Jansa d55c6a6d03 layer.conf: exclude android-tools->android-tools-conf from siggen
* when android-tools were moved from meta-smartphone/meta-android to
  meta-oe this part was overlooked and my jenkins jobs didn't detect
  it because I was still including meta-android layer.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 14:21:43 +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
Chen Qi 6775acb048 udisk: fix dependency about libdevmapper
We have separated libdevmapper from lvm2, so we need to also fix related
dependency for udisk.

Instead of simply replacing lvm2 with libdevmapper in DEPENDS, we add
PACKAGECONFIG for libdevmapper.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Kai Kang 860f01d1bd opencv: fix CVEs
Fix CVEs for opencv 3.3:

* CVE-2017-12597
* CVE-2017-12598
* CVE-2017-12599
* CVE-2017-12600
* CVE-2017-12601
* CVE-2017-12602
* CVE-2017-12603
* CVE-2017-12604
* CVE-2017-12605
* CVE-2017-12606
* CVE-2017-12862
* CVE-2017-12863
* CVE-2017-12864

Refs:
1 https://github.com/opencv/opencv/pull/9376
2 https://security-tracker.debian.org/tracker/CVE-2017-12601

Signed-off-by: Kai Kang <kai.kang@windriver.com>
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
Jackie Huang 8ca8ec9be3 corosync: fixes for sysvinit and systemd
* Replace ${systemd_unitdir}/system with ${systemd_system_unitdir}

* Remove the upstar settings and don't install upstar config files

* Add volatile for sysvinit and tmpfiles for systemd

* Set the correct bash path for init scripts to avoid QA issue:
| corosync-2.4.2: /usr/share/corosync/corosync contained in package corosync
  requires /tmp/hosttools/bash, but no providers found in RDEPENDS_corosync?
  [file-rdeps]

* The systemd services are intalled properly by "make install",
  no need to install manually.

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
Khem Raj 346d12ef94 openipmi: Fix build with clang+hardening
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Hongxu Jia d321e9e90d libreport: 2.9.1 -> 2.9.2
Change SRC_URI to git fetcher, github archives can be regenerated from
time to time with different checksums.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Khem Raj 059b3b2474 glade: Fix format string warnings with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Khem Raj 3f37748ee8 nodejs: Upgrade to 8.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Khem Raj 53dcbe9d2b irssi: Upgrade to 1.0.4
Disable perl explicitly, it pokes into host
its better to disable it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Khem Raj bfa145f46b openipmi: Upgrade to 2.0.24
Remove patches which are irrelevant now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Khem Raj ff77141b96 glmark2: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Khem Raj fd9b6aa1d3 vboxguestdrivers: Upgrade to 5.1.26
Fixes build with kernel 4.12 along the way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Khem Raj 6f6f0b6284 efivar: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Khem Raj 91df32a790 efibootmgr: Upgrade to 0.15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Kai Kang 0d71705498 imagemagick: 7.0.5 -> 7.0.6_9
Upgrade imagemagick from 7.0.5 patchset 6 to 7.0.9 patchset 9.

* update SRC_URI. Replace tarball with git repo that it only keeps
  latest tarball on www.imagemagick.org

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:32 +02:00
Khem Raj 90e08ddc2b efivar: Upgrade to 0.31
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:12:51 +02:00
Ioan-Adrian Ratiu af7c6e5754 terminus-font: fix RSS breakage and unblacklist
Depend on bdftopcf-native to fix errors like:

| perl ./ucstoany.pl ter-u12b.bdf ISO8859 1 uni/x11gr.uni uni/ascii-h.uni uni/win-1252.uni | bdftopcf -o ter-112b.pcf
| /bin/sh: bdftopcf: command not found

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:11:54 +02:00
Kai Kang 37034ff4bb mariadb: disable thumb on armv4 and armv5
Disable thumb on armv4 and armv5 for mariadb which causes link error:

| libsql.a(mysqld.cc.o): In function `test_if_case_insensitive(char const*) [clone .constprop.28]':
| /usr/src/debug/mariadb/5.5.57-r0/mariadb-5.5.57/sql/mysqld.cc:8276:(.text.unlikely+0xbe):
| relocation truncated to fit: R_ARM_THM_CALL against symbol `fn_format' defined
| in .glue_7 section in linker stubs
| /usr/src/debug/mariadb/5.5.57-r0/mariadb-5.5.57/sql/mysqld.cc:8278:(.text.unlikely+0xd0):
| relocation truncated to fit: R_ARM_THM_CALL against symbol `fn_format' defined
| in .glue_7 section in linker stubs
| /usr/src/debug/mariadb/5.5.57-r0/mariadb-5.5.57/sql/mysqld.cc:8285:(.text.unlikely+0x150):
| relocation truncated to fit: R_ARM_THM_CALL against symbol
| `sql_print_warning(char const*, ...)' defined in .glue_7 section in linker stubs

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:11:54 +02:00
Kai Kang ea0e706a22 mariadb: 5.5.55 -> 5.5.57
Upgrade mariadb from 5.5.55 to 5.5.57.

* update SRC_URI that mariadb.com doesn't provides source tarball of 5.5.57
* remove gcc7.patch which is not needed any more

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:11:53 +02:00
Fabio Berton 28d2c9b447 iproute2: Move append to meta-networking layer
meta-openembedded commit eb8994f44a added
iproute2 append to enable tipc PACKAGECONFIG that install libmnl
package. libmnl recipe is in meta-networking layer and this layer
needs to be added to bblayers.conf file to build libmnl. Move
iproute2 append to meta-networking to allow build iproute2 without add
meta-networking layer to bblayers.conf.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-30 17:17:38 +02:00
Joe Slater 108cb0394a multipath-tools: RDEPEND on bash
Make sure /bin/bash will be on the target if we are.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:07 +02:00
Hongxu Jia 5ecae0f0c1 libreport: fix typo of SRC_URI
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:06 +02:00
Khem Raj 2b1e724cbb wvstreams: Fix parallel build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:06 +02:00
Khem Raj bcbd6884a5 libhugetlbfs: Define HUGETLB_LDSCRIPT_PATH
When accessed relative to build dir it ends up
using wrong relative paths and cant find the
linker scripts when linked with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:06 +02:00
Khem Raj dd7bcff5b5 enscript: Define PERL variable
This sets up the perl interpreter correctly on target package
Also fixes
QA Issue: /usr/bin/sliceprint contained in package enscript requires /mnt/a/oe
/build/tmp/hosttools/perl, but no providers found in RDEPENDS_enscript? [file-rdeps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:05 +02:00
Khem Raj 6fa689ba97 mpich: Define PERL variable and pass to configure
Fixes
QA Issue: /usr/bin/parkill contained in package mpich requires /mnt/a/oe/build/tmp/
hosttools/perl, but no providers found in RDEPENDS_mpich

also move BASH_SHELL in same realm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:05 +02:00
Ioan-Adrian Ratiu 4d71753da9 xorg-fonts-100dpi: unblacklist recipe
All dependencies have been fixed by the following commits:

b3d7a464c font-adobe-100dpi: update depends to fix builds with RSS
8de29d274 font-bh-100dpi: update depends to fix builds with RSS
bac94456a font-adobe-utopia-100dpi: update depends to fix builds with RSS
5fecd31c6 font-bh-lucidatypewriter-100dpi: update depends to fix builds with RSS

Unblacklist it so it won't get auto-deleted in about a week when the
2.4 dev cycle starts.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:05 +02:00
Ioan-Adrian Ratiu 9d06ee2622 openldap: fix native LDFLAGS build error
LDFLAGS += "-pthread" adds the flag both for native and target builds,
however the openldap-native build overwrites the variable inside
native.bbclass causing "undefined reference to `pthread_getspecific'"
and other linker errors.

Change the append to happen after parsing by using the override
syntax and thus make sure it executes after native.bbclass (bitbake -e
reports pre-expansion value "${BUILD_LDFLAGS} -pthread").

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:05 +02:00
Jackie Huang dec7c6c75b logwarn: set correct paths and add missing dependency
* Set correct paths for programs (bash, cat, rm and sed)
  to avoid QA issue:
  | ERROR: logwarn-1.0.14-r0 do_package_qa: QA Issue:
  | /usr/lib/nagios/plugins/check_logwarn contained in package
  | logwarn-nagios requires /builddir/tmp/hosttools/bash,
  |  but no providers found in RDEPENDS_logwarn-nagios? [file-rdeps]

* Add missing dependency on coreutils and sed.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:05 +02:00
Jackie Huang d853932c66 logcheck: update to 1.3.18 and move to meta-perl
- logcheck depends on mime-construct which is in meta-perl,
  so move it to meta-perl to avoid that meta-oe depends on
  meta-perl.

- logcheck should not be run as root, so inherit useradd
  and add proper user and group.

- Add missing runtime dependencies according to the file
  debian/control and simple test by running "logcheck -ot".

- For syslog, debian directly depends on rsyslog, but logcheck
  works with any syslog and we have busybox-syslog, sysklogd,
  syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the
  syslog dependency and set rsyslog as the default, which can be
  easily overridden in distro conf file or local.conf.

- Don't install /var/lock when populating rootfs. Do it
  through volatile.

- install header.txt for generated mails

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:04 +02:00