Commit Graph

5176 Commits

Author SHA1 Message Date
Khem Raj 7a873e61d5 minicoredumper: Switch src_uri to upstream lf git
COPYING file changed since copyright is now assined to linutronix from Erricson

Fix build on arm

Fixes error like
corestripper.c:1245:4: error: format specifies type 'unsigned long' but the arg
ument has type 'long long' [-Werror,-Wformat]

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
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 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
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
Khem Raj 788b13604b tesseract: Upgrade to 3.05.01
LIC_FILES_CHKSUM changes are typo corrections in COPYING file
https://github.com/tesseract-ocr/tesseract/commit/5a3ccf06bf2d4f92ec2fd87389affd9c8c625225#diff-7116ef0705885343c9e1b2171a06be0e

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
Khem Raj 367352d61c leptonica: Upgrade to 1.74.4
copyright year changed to 2016

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
Khem Raj 3d113e03d0 pm-qa: Upgrade to 0.5.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:20 +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 36ed830bc2 mpv: Requires ffmpeg which has a LICENSE_FLAGS = commercial set
We need to also set LICENSE_FLAGS = commercial to avoid any type of parsing
errors for world builds.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:13:19 +02:00
Mark Hatle 25c94d71f5 open-vm-tools: only build if meta-networking and meta-filesystems is available
libdnet - meta-networking
fuse - meta-filesystems

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:46 +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 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 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 b95b75ba88 xorg-drivers: Add opengl distro flag requirement to ati and nouveau
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 1d6b694459 glmark2: Set required distro features to opengl
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
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
Mark Hatle e889c678a6 openipmi: Move to meta-networking requires net-snmp
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 39731d843d security_flags.inc: Delete
OE-Core has now reworked the PIE flags, where they
are implicitly passed by compiler when security flags are enabled

None of these pinnings are needed anymore, since these packages
compile fine with security flags enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-08 16:38:12 -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
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
Ming Liu a966c86b5c librcf: link to libatomic
In commit 1d594f18f6:
[ librcf: Add -latomic to LDFLAGS ]

I added '-latomic' to LDFLAGS, which worked for clang 3.9 but it does
not work for clang 5.0, seems the linking order matters for clang 5.0,
it should be after -lrcf.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:59:21 +02:00
Ming Liu ffc78c155c json-spirit: link to libatomic
In commit ac2a6d2b5d:
[ json-spirit: Add -latomic to LDFLAGS ]

I added '-latomic' to LDFLAGS, which worked for clang 3.9 but it does
not work for clang 5.0, seems the linking order matters for clang 5.0,
it should be after -ljson_spirit.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:59:20 +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:
https://github.com/rsyslog/rsyslog/commit/6d258339802cb9f13d8a4a157a4b74eccb902d8f

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
Jackie Huang 142edc3f06 protobuf-c: use git fetcher instead of github archives
Change to use git fetcher as github archives can be regenerated
from time to time with different checksums.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
Yi Zhao 16a6fee6c0 psqlodbc: add recipe
This package provides a driver that allows ODBC-enabled applications to
access PostgreSQL database.

This recipe was removed in commit
ec9e5ed062

Since its dependency postgresql already unblacklisted, so add it back.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
fan.xin 728f8226ef libjs-jquery: Add HOMEPAGE info into recipe file.
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
fan.xin 666839c1da pps-tools: Add HOMEPAGE info into recipe file.
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
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