851 Commits

Author SHA1 Message Date
Andreas Müller
626364981c polkit-group-rules: Fix error in do_rootfs for rpm package-manager
* An issue in meta-mortsgna was reported. Discussion is found at [1]
* We do similar in meta-gnome's gvfs for same reason [2]
* This is a bugfix which should apply and work for many release-branches

Fixes:
| Error: Transaction check error:
|   file /etc/polkit-1/rules.d conflicts between attempted installs of polkit-group-rule-datetime-1.0-r0.cortexa7t2hf_neon_vfpv4 and polkit-0.115-r0.cortexa7t2hf_neon_vfpv4

[1] https://github.com/schnitzeltony/meta-mortsgna/issues/11
[2] fd1a0c9210/meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb (L72)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a47d38561249411449cc62ba878eb7c36916fe55)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-19 08:14:11 -07:00
Dan Tran
6f4dcd00ce polkit: Fix CVE-2018-19788
Signed-off-by: Dan Tran <dantran@microsoft.com>
[Fixup for warrior context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-05 08:58:45 -07:00
Khem Raj
b3a2441534 redis: Fix build with clang/x86
Need to link with libatomics for 64bit atomics support
Fixes
i686-yoe-linux/i686-yoe-linux-ld: networking.o: in function `createClient':
| /usr/src/debug/redis/4.0.14-r0/redis-4.0.14/src/networking.c:103: undefined reference to `__atomic_fetch_add_8'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2b49254d61ca817799a206cd022617854aa5bc0b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-05 07:45:32 -07:00
Martin Jansa
b2da1b54fc scsirastools: add runtime dependency on bash II
* fixes:
  ERROR: QA Issue: /etc/init.d/sgdisk contained in package scsirastools-diskmon requires /bin/bash, but no providers found in RDEPENDS_scsirastools-diskmon? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-02 19:39:52 -07:00
Martin Jansa
e869efd3a2 scsirastools: add runtime dependency on bash
* fixes:
  ERROR: QA Issue: /etc/init.d/sgraid contained in package scsirastools-raidmon requires /bin/bash, but no providers found in RDEPENDS_scsirastools-raidmon? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-02 19:39:52 -07:00
Martin Jansa
dbf9ffc3a3 redis: backport a fix for stack trace generation on aarch64
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-02 19:39:29 -07:00
Changqing Li
23a2e95963 isomd5sum: fix "Nothing RPROVIDES" when multilib enabled
Multilib enabled, and add IMAGE_INSTALL_append = " python3-isomd5sum"
in local.conf

fix below problem:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-python3-isomd5sum']

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-02 19:39:28 -07:00
Changqing Li
c73bf450d7 volume-key: fix "Nothing RPROVIDES" when multilib enabled
Multilib enabled, and add IMAGE_INSTALL_append = " python3-volume-key"
in local.conf

fix below problem:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-python3-volume-key']

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-09-02 19:39:07 -07:00
Qi.Chen@windriver.com
cd933df57d polkit: fix CVE-2019-6133
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-16 08:15:44 -07:00
Martin Jansa
ce306eed9b triggerhappy: fix issues
* using PN instead of BPN in S causes all tasks to fail:
  make: *** No targets specified and no makefile found.  Stop.
* using github archives is bad, because they are regenerated from time to time
  with different checksums
* set PV, because this isn't exactly 0.5.0, because of the debian changes
  mostly the systemd support
* fix indentation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-16 08:15:18 -07:00
Mingli Yu
7392f986b6 rrdtool: Upgrade to 1.7.1
Backport 3 patches to fix below error:
ERROR: rrdtool-1.7.1-r0 do_package: SYSTEMD_SERVICE_rrdcached value rrdcached.socket does not exist

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Mingli Yu
9fa40ad5f4 indent: Upgrade to 2.2.12
Add two patches to fix the build error.

Add -Wno-error=unused-value for native build
to silence below error:
| In file included from ../../indent-2.2.12/src/indent.h:60:0,
                 from ../../indent-2.2.12/src/indent.c:77:
| ../../indent-2.2.12/src/indent.c: In function 'main':
| ../../indent-2.2.12/src/libgettext.h:88:5: error: statement with no effect [-Werror=unused-value]
     ((void) (Domainname), (const char *) (Dirname))
     ^
| ../../indent-2.2.12/src/indent.c:1064:5: note: in expansion of macro 'bindtextdomain'
     bindtextdomain(PACKAGE, LOCALEDIR);

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Khem Raj
4509bbd580 redis: Upgrade to 4.0.14
Add needed depends
Do not build jemalloc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-14 23:26:42 -07:00
Khem Raj
4a9deabbc8 lcdproc: Fix parallel build
This happens with larger parallelism e.g. -j 44
also reported here
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214766

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-08 10:28:06 -07:00
Khem Raj
5ec597d839 redis: Fix ocasional parallel build failure
Sometimes with high parallel build we see compile errors e.g.

clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:52: lua] Error 1

Therefore try to build dependencies before main build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-07 08:25:57 -07:00
Zang Ruochen
0041b8da7e lockfile-progs: upgrade 0.1.17 -> 0.1.18
-Upgrade from lockfile-progs_0.1.17.bb to lockfile-progs_0.1.18.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Gianfranco Costamagna
0f5e076f09 libmodbus: start to prefer version 3.1.4 as default
Now that even Debian testing is using it, and upstream declares this version as "very stable",
 it might be time to switch using it as default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Andreas Müller
9b454233e8 rrdtool: fix build by disabling docs
Have no idea what caused it but on all of my build machines started to fail
with recently:

| Attempt to reload Encode.pm aborted.
| Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33.
| Compilation failed in require at (eval 7) line 1.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Usage.pm line 30.
| Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19.
| make[1]: *** [Makefile:692: rrddump.1] Error 255
| make[1]: *** Waiting for unfinished jobs....

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Vincent Prince
8f78e302b9 Rsyslog: Add mmjsonparse to PACKAGECONFIG
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Mark Kubiak
60ec82d18c Add triggerhappy hotkey daemon recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-29 16:32:14 -07:00
Randy MacLeod
61c73067cb rsyslog: Update from 8.37.0 to 8.1903.0
Remove obsoleted fix-ptest-not-finish patch which is
no longer required after rsyslog commit:
   a5b9fbc02 testbench: remove no longer needed .conf files

Add libgcc and python dependencies for ptest:
  Testsuite summary for rsyslog 8.1903.0
  ========================================================================
  # TOTAL: 351
  # PASS:  309
  # SKIP:  38
  # XFAIL: 0
  # FAIL:  4
  # XPASS: 0
  # ERROR: 0
for qemux86[-64] when run with ptest-runner -t 800 since some tests
are stress tests and take quite a while to complete.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 21:53:00 -07:00
Mingli Yu
666c23a48a librelp: Upgrade to 1.4.0
Remove one backported patch.

Add openssl to Depends.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-14 07:24:03 -07:00
Khem Raj
d06ded1803 mozjs: Fix cross-builds of nsinstall
nsinstall must be built for host, so we need to define HOST_* compiler
defines so, it gets built using native compiler correctly

Disable stripping, OE will do it

Disable optimizing, set BUILD_OPT

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-26 10:16:24 -08:00
Nicolas Dechesne
62a8c64a02 polkit: add REQUIRED_DISTRO_FEATURES for polkit
After below commits to add polkit as a required
distro feature:
97a1a55 polkit: add polkit as a required distro feature
c049e02 polkit: inherit distro_features_check

All recipes that includes polkit-group-rule.inc will fail to parse
when polkit is not in DISTRO_FEATURE, especially 'world'. e.g.

ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'udisks', 'polkit']

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:53 -08:00
Changqing Li
d251663575 smartmontools: upgrade 6.6 -> 7.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:52 -08:00
Manjukumar Matha
5d5c14ef49 upm_git.bb: Add fix for installing the python files
Use SWIG_SUPPORT_FILES to find the list of python files generated by
CMake Swig module and install those files. This should be applicable to
cmake version 3.12 or higher

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:58:55 -08:00
Khem Raj
20e298af0e lcdproc: Disable serialVFD driver on arm/aarch64
This driver uses inb/outb instructions which seems to have trouble on
arm/aarch64 compiler

server/drivers/serialVFD_io.c
:45:
| ../../../git/server/drivers/port.h:344:32: error: invalid output constraint '=a' in asm
|
|         __asm__ volatile ("inb %1,%0":"=a" (value)
|                                       ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:58:55 -08:00
Khem Raj
ad8709febc pam-ssh-agent-auth: Port to work with openssl 1.1.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-03 07:07:51 -08:00
Khem Raj
c4432a5f62 mozjs: Fix symbol visibility with clang/libc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Stefan Agner
c049e02663 polkit: inherit distro_features_check
Make the recently added REQUIRED_DISTRO_FEATURES effective by
inheriting distro_features_check.

Fixes: 97a1a55f4755 ("polkit: add polkit as a required distro feature")
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-28 07:06:19 -08:00
Stefan Agner
97a1a55f47 polkit: add polkit as a required distro feature
Make sure polkit is in DISTRO_FEATURERS if this package is being
installed. This will make sure that people who do use polkit in
their image also do enabled the recently introduced distro feature
polkit in their distro.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20 10:15:44 -08:00
Hong Liu
e6f9d00977 logwatch:replace mv with cp
1.Mv is used in the original code, which may cause "mv: cannot stat 'conf/': No such file or directory".
  So we use cp instead of it.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Khem Raj
eb6cf36865 haveged: Upgrade 1.9.4
Upstream release mechanism has switched to using github
Forward port and update patch status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-14 10:46:36 -08:00
Khem Raj
22ddd2cd31 redis: Update to 4.0.12
Exclude atomics on ppc as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Khem Raj
e1db44b73f mozjs: Remove -Werror=format from CXXFLAGS
This is to make way for gcc9 since it spews some extra warnings
which need to be eventually fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Khem Raj
014b90ee43 collectd: Upgrade to 5.8.1 release
Fix build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 22:15:59 -08:00
Hongxu Jia
17845a7a33 libreport: 2.9.6 -> 2.9.7
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Brad Bishop
030e8d445a rsyslog: curl-less build with fmhttp PACKAGECONFIG
With all other configure options at their defaults, the dependency on
libcurl can be removed if fmhttp is configured out.  Add an fmhttp
PACKAGECONFIG, still enabled by default, to enable this.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05 10:18:59 -08:00
Oleksandr Kravchuk
3d4e72ce6d jansson: update to 2.12
License MD5 hash has been changed due to modified copyright year in the
LICENSE file.

Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05 10:18:59 -08:00
leimaohui
32403728e7 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>
2018-12-02 11:05:02 -08:00
Otavio Salvador
cce5af60b1 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>
2018-11-28 21:48:21 -08:00
Hongxu Jia
be16770cc4 libblockdev: 2.18 -> 2.20
Add nvdimm support since upstream python3-blivet [20ae5ea Re-add
nvdimm plugin Recommends on 3.1+.]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:37 -08:00
Hongxu Jia
cc46014a49 volume-key: 0.3.11 -> 0.3.12
Add PACKAGECONFIG to build with python3 rather than python2.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Hongxu Jia
652ddc6221 libreport: 2.9.5 -> 2.9.6
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Bartosz Golaszewski
11c3566f10 sigrok-cli: new package
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:05:22 -08:00
Bartosz Golaszewski
5c1715a93c libsigrokdecode: new package
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:05:22 -08:00
Bartosz Golaszewski
ae6c2240c2 libsigrok: new package
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:05:22 -08:00
Bartosz Golaszewski
63a2b79bd5 libserialport: new package
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:05:22 -08:00
Bartosz Golaszewski
26ec99bfe7 libzip: new package
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:05:21 -08:00
Primoz Fiser
61699cd093 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>
2018-11-26 09:38:14 -08:00