805 Commits

Author SHA1 Message Date
Dan Tran
eb9b369b24 polkit: Fix CVE-2018-19788
Signed-off-by: Dan Tran <dantran@microsoft.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-05 09:01:00 -07:00
Khem Raj
0e8912b572 mozjs: Fix symbol visibility with clang/libc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
[fixup for thud context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-02-04 22:01:26 -08:00
leimaohui
d854899528 mraa: To file do_package error in multilib.
do_package: QA Issue: mraa: Files/directories were installed but not shipped in any package:
  /usr/lib/python3.5/site-packages/mraa.py
  /usr/lib/python3.5/site-packages/_mraa.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-02-04 21:16:19 -08:00
Primoz Fiser
1c982f813d sedutil: fix compile errors on big endian architectures
Patch fixes compile errors by defining empty macros as
hinted by TODO mark in the sources.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-02-04 21:09:37 -08:00
Otavio Salvador
2154631d35 mozjs: Avoid use of X11 from host when X11 is disabled
The mozjs build system makes use of host headers and libraries if not
passed an invalid path for `--x-includes` and `--x-libraries`. This
fixes host contamination while building in a development host.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-02-03 08:33:48 -08:00
Ovidiu Panait
cca27b5ea7 polkit: Fix CVE-2019-6133
In PolicyKit (aka polkit) 0.115, the start time protection mechanism can
be bypassed because fork() is not atomic, and therefore authorization
decisions are improperly cached. This is related to lack of uid checking
in polkitbackend/polkitbackendinteractiveauthority.c.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2019-6133

Upstream patch:
c898fdf4b1

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-01-23 08:17:23 -08:00
Armin Kuster
a15d7f6ebc sblim-sfc-common: use official SPDX license for EPL
WARNING: sblim-sfc-common-1.0.1-r0 do_populate_lic: sblim-sfc-common: No generic license file exists for: EPL in any provider

it is  EPL-1.0

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-11-22 11:34:44 -07:00
Mingli Yu
209385ee13 hwloc: Update the SRC_URI
Update the SRC_URI to fix below issue:
$ bitbake -cfetch lib32-hwloc
ERROR: lib32-hwloc-1.11.10-r0 do_fetch: Fetcher failure for URL: 'https://www.open-mpi.org/software/lib32-hwloc/v1.11/downloads/hwloc-1.11.10.tar.bz2'. Unable to fetch URL from any source.

Actually the source located under https://www.open-mpi.org/software/hwloc/v1.11/downloads/hwloc-1.11.10.tar.bz2

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-11-15 13:18:51 -08:00
Primoz Fiser
28893c142f sedutil: Add recipe
sedutil is utility to manage self encrypting drives that conform
to the Trusted Computing Group OPAL 2.0 SSC specification.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-11-15 13:18:51 -08:00
Gianfranco Costamagna
0ded4a44ac brotli: add initial recipe, based on meta-webkit layer
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-11-15 13:18:50 -08:00
Andrea Adami
48309c65be redis: fix build for qemuarm disabling atomics
Apply the same patch used for mips.

Fix
  |ld: networking.o: in function `createClient':
  | /usr/src/debug/redis/4.0.8-r0/redis-4.0.8/src/networking.c:93:
     undefined reference to `__atomic_fetch_add_8'

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-25 13:51:52 -07:00
Dan Dedrick
7eb7a22f9c zlog: fix up library path for multilib
When using multilib the path for libraries might be something other than
/usr/lib. zlog defaults LIBRARY_PATH to 'lib' so we need to set this
appropriately so that cases where this isn't 'lib' it works properly.

Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-15 13:37:23 -07:00
Pascal Bach
bb36a6190b libcec: update to 4.0.2
This also removes a warning that /usr/bin/python is not provided by any package.

Further it moves all binaires to a separate package libcec-tools

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-05 14:51:14 -07:00
Pascal Bach
bbd963f3e4 p8platform: update to 2.1.0.1
This also adds a patch that makes the resulting p8-platform-config.cmake
relocatable. Before it contained a hardcoded path to /usr/include.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-05 14:51:14 -07:00
Mingli Yu
0b663c4f9a rsyslog: avoid recompiling program during running ptest
* Previously there is below logic in rsyslog-8.37.0/tests/Makefile
  check-TESTS:

  After below commit in automake,
  8555e7b81 check: Make 'check-TESTS' target depend on test dependencies
  the logic changes to the below:
  check-TESTS: $(check_PROGRAMS)

  It will result in compiling program on
  target when run ptest on target, but
  actually there is no need to rebuild the
  program on target, so change it back to
  "check-TESTS:" to avoid recompiling.

* Update the path of abs_top_builddir
  to guarantee the test env is correct.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-30 08:42:03 -07:00
Hongxu Jia
5f23d82175 libblockdev: correct PACKAGECONFIG
Since commit `6cc057d libblockdev: make various features optional' applied,
it introduced issues:

1. As configure.ac told us, mpath/dm/lvm/lvm-dbus should have the
same depends, runtime depends
[configure.ac]
|AS_IF([test "x$with_dm" != "xno" -o "x$with_lvm" != "xno" -o "x$with_lvm_dbus" != "xno" -o "x$with_mpath" != "xno"],
|      [LIBBLOCKDEV_PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= 1.02.93])],
|      [])
[configure.ac]

2. Remove duplicated PACKAGECONFIG tags `lvm-dbus'

3. Remove `lvm-dbus' from PACKAGECONFIG since recipe lvm2 does not support dbus

4. Align with previous configure options, we should add `mpath'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-27 08:58:18 -07:00
Hong Liu
3709fa6124 mozjs: upgrade to 52.9.1
Upgrade mozjs from 52.8.1 to 52.9.1

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>

	renamed:    mozjs_52.8.1.bb -> mozjs_52.9.1.bb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 22:24:15 -07:00
Hongxu Jia
e46ed5b414 mailx: support openssl 1.1.x
Long time no maintain from upstream since 2013-06-04,
backport a fix from openSUSE

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 22:24:15 -07:00
Max Kellermann
6cc057dad7 libblockdev: make various features optional
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-24 11:49:45 -07:00
Hongxu Jia
5a92959001 konkretcmpi: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Hongxu Jia
aed77037d3 scsirastools: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Hongxu Jia
ddf939a1cb gnuplot: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Hongxu Jia
ed995f152b isomd5sum: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Alistair Francis
ec81952234 pmdk: Initial commit of the PMDK SDK
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 21:14:26 -07:00
Hongzhi.Song
376eb385a5 snappy: modify cmake variable to generate shared library
FILES_${PN}-xxx under packages-split/ depend on FILES_${PN}.
But the FILES_${PN} is empty. This is because snappy doesn't
generate shared library by default.

So we should modify cmake variable to generate shared library.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 07:08:11 -07:00
Khem Raj
205d83988e lcdproc: Update to master tip
* Do not build on musl/arm since it does not build due to musl not
implementing ioperm() function on ARM

Drop 0001-include-asm-ioctl.h-explicitly.patch its fixed differently
upstream already

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-11 22:48:22 -07:00
Hongxu Jia
99c7136fbd libpwquality: clean up python3-libpwquality
Since `8d3d529 libpwquality: Inherit distutils3-base' applied, sub
package python3-libpwquality was merged into package libpwquality.

So clean up obsolete python3-libpwquality definition.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 08:53:52 -07:00
Hongxu Jia
2d5b455f09 sanlock: add version 3.6.0
A shared storage lock manager.

- Fix compile failure with musl

- Fix installed-vs-shipped QA issue

- Fix ldflags QA issue

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 22:09:42 -07:00
Khem Raj
d960c17f48 md5deep: Upgrade to latest master
* Add clang fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
7ff00ed5b8 pam-ssh-agent-auth: Depend on openssl10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
467fe56ba4 boinc: Upgrade to 7.12
* Fixes build wth OpenSSL 1.1.x
* Drop cross compile patch, not needed anymore
* Package systemd support
* Drop no-pie flags, works ok with PIE now
* autotools-brokensep is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
bfbcc00cb9 libimobiledevice: Upgrade to latest
Needs several packages to be updates
Fixes build with openSSL 1.1.x

License-Update:

Drop LGPL-2.1, its moved out to separate package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
412045dfaf libusbmuxd: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
2647170181 openwsman: Upgrade to 2.6.5
* Backport patches to fix build with OpenSSL 1.1.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Hongxu Jia
98e284846c sblim-sfcb: do not use 'exit 1' to postpone to first boot
Since `939f7f1 meta/lib/oe/rootfs.py: do not execute
defer_to_first_boot when processing postinst_intercept hooks' applied
in oe-core, use defer_to_first_boot rather than `exit 1' to postpone
to first boot

Remove duplicated `systemctl enable', it is done in systemd.bbclass

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 13:59:16 -07:00
Randy MacLeod
72869dc798 rsyslog: update from 8.36 to 8.37
Drop upstreamed patch:
   edce434db fix race in parallel builds

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-30 09:19:35 -07:00
dengke.du@windriver.com
a8c59cfdee snappy: add -fPIC flags
Let the libsnappy.a be position independent code, so other packages can use it
to make shared PIC library, such as ceph.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Khem Raj
8d3d5299f4 libpwquality: Inherit distutils3-base
its building a module therefore its important to provide correct cross
build environment, distutils3-base automatically inherits python3native
this is seen when using clang where it tried to link with gcc since the
environment falls back to builtin LDSHARED variable

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Khem Raj
1db2116434 can-isotp: Upgrade to latest
Fixes build with linux kernel 4.18+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Ricardo Salveti
b833067233 mozjs: disable null pointer optimization with GCC >= 6
Mozjs fails to start on several architectures due broken build
optimizations when built with GCC >= 6.

Set -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks
to both CFLAGS and CXXFLAGS as workaround (flags also used by Firefox
and Fedora).

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Isaac Nickaein
2e76cbe8a7 iotop: Add missing dependency: python-subprocess
This adds python-subprocess as run-time dependency for iotop.

More info:
http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154111.html

Signed-off-by: Isaac Nickaein <nickaein.i@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Martin Jansa
b6d34f6519 cfengine: remove cf-consumer.service cf-redis-server.service
* they were removed from 3.12.0 release, see:
  8001b89c09
  d8426c42c0
* fixes:
  ERROR: SYSTEMD_SERVICE_cfengine value cf-consumer.service does not exist

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16 21:41:15 -04:00
Hongxu Jia
ca016f115d libblockdev: drop obsolete patch
Since libblockdev is upgraded to 2.18, the local patch is obsolete.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
a793c6d9d1 cfengine,cfengine-masterfiles: Upgrade to 3.12.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Hongxu Jia
19b47730e0 libblockdev: add PACKAGECONFIG for lvm-dbus
Currently, recipe lvm2 does not support dbus very well, so add
PACKAGECONFIG lvm-dbus for libblockdev and disable it by default.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-08 12:04:13 -07:00
Chen Qi
36ddb5233c rsyslog: add PACKAGECONFIG for imjournal
Add PACKAGECONFIG for imjournal, and add corresponding configuration
to /etc/rsyslog.d/imjournal.conf when it's enabled. Default to disable it.

This patch also enables rsyslog.conf to include configuration files
/etc/rsyslog.d/*.conf.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-05 23:31:28 -07:00
Hongxu Jia
eedd084d3b mozjs: tweak location of tmp dir creation
The tmp dir creation is out of build dir which has
the risk to be broken by others.
...
|   File "build/tmp-glibc/work/i586-wrs-linux/mozjs/52.8.1-r0/
mozjs-52.8.1/build/moz.configure/util.configure", line 190,
in try_invoke_compiler
|     os.remove(path)
| OSError: [Errno 2] No such file or directory: '/tmp/conftest.OiV37V.cpp'
...

Set var-TMP for tempfile.mktemp to use current build dir to
replace default `/tmp'.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Khem Raj
09a2eb4701 openlmi-tools: Fix setup.py clean during build
setuptools bbclass now runs clean target before configure
therefore create the setup.py before main configure task

secondly, all action happens inside cli subdir so mark it
default S

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Changqing Li
6d8982b61e mozjs: fix coredump caused by wrong use of getenv
getenv need include header stdlib.h, or an assumed int
return for getenv to char * pointer will tripping up
the code

Signed-off-by: Changqing Li <changqing.li@windriver.com>
2018-08-02 11:23:03 -07:00
Richard Leitner
f7ed3cfdf8 pam-plugin-ccreds: remove local patches
As our patches were merged upstream [1]  we can safely remove them and
use the new upstream revision.

[1] https://github.com/PADL/pam_ccreds/pull/1

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00