Commit Graph

8447 Commits

Author SHA1 Message Date
Khem Raj 098a963a0e tmux: Add -p option to mkdir
This help avoiding a build failure when this dir already exists

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-03 07:54:13 -07:00
Khem Raj 5482c60353 toybox: Add packageconfigs for iconv and getconf
iconv and getconf are also provided by glibc-utils which is built along
with glibc and update-alternatives don't work with special packages like
glibc since it causes cyclic dependencies e.g

glibc->opkg-utils->glibc

therefore creating u-a for iconv and getconf gets into trouble when
glibc-utils is added to image along with toybox, usually with ptest
enabled images by default.

Therefore we turn these two applets into packageconfigs and delete them
by default from u-a, if one want toybox to provide them then clear
no-iconv and no-getconf from PACKAGECONFIG via a bbappend e.g.

PACKAGECONFIG_remove = "no-getconf no-iconv"

Remove bashism by enquiring for VIRTUAL-RUNTIME_init_manager from
bitbake datastore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-02 08:50:02 -07:00
Khem Raj 759342c9cc imapfilter: Fix linker flags
Linker flags were not being respected as a result it was passing wrong
gnu_hash options while linking.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01 20:25:36 -07:00
Martin Jansa 9f0a83f9af nss: remove signlibs.sh
Looks like my "solution" also isn't working well at least for images with read-only-rootfs in IMAGE_FEATURES.

pkg_postinst_ontarget_${PN} is always forced to run on the target, which for read-only-rootfs results in:
log.do_rootfs:
...
NOTE: If an image is being built, the postinstalls for the following packages will be postponed for first boot: nss
...
ERROR: The following packages could not be configured offline and rootfs is read-only: ['nss']

and now looking at the /usr/bin/signlibs.sh and it does pretty much
the same as the postinst script when D isn't empty.

>From oe-core git history it shows that signlibs.sh was added first:
https://git.openembedded.org/openembedded-core/commit/?id=a4580f967c8064294a06d406acf5deb24aee2acc
then the offline version of postinst was added to support read-only-rootfs in:
https://git.openembedded.org/openembedded-core/commit/?id=64e87fc6e99bc1d4807034166735034b1f92bad8
and nss-native should always provide the shlibsign since:
https://git.openembedded.org/openembedded-core/commit/?id=88540c5b08dea069660d1a68e506aebdd68e6ae0
and only after
https://git.openembedded.org/openembedded-core/commit/?id=8f782f7095e718dd9452055af53363beb6bdbece
it looked like signlibs.sh was something special only for target.

So it looks to me, that we should just remove signlibs.sh script and let the same postinst be used on target and offline
(with or without D being empty).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01 20:24:44 -07:00
Slater, Joseph 26c103da9f openjpeg: fix CVE-2020-15389
Backport from github meta-xilinx-tools.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01 15:37:45 -07:00
Wenlin Kang 6c43941d11 lua: fix CVE-2020-15945
Backport with modifications to apply successfully.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01 15:37:44 -07:00
Khem Raj 6a2b4a8ca4 packagegroup-meta-oe: Exclude from world builds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 23:47:52 -07:00
Khem Raj 32c7ebbab5 properties-cpp: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 16:57:06 -07:00
Leon Anavi f46931abf0 php: Upgrade 7.4.4 -> 7.4.9
Upgrade to release 7.4.9:

- Fixed: Upgrade apache2handler's php_apache_sapi_get_request_time
  to return usec
- Fixed: BSTR to PHP string conversion not binary safe
- Fixed: DCOM does not work with Username, Password parameter
- Fixed: serialize() and unserialize() methods can not be called
  statically
- Fixed: Segfault in php_str_replace_common
- Fixed: Assertion failure if dumping closure with unresolved
  static variable
- Fixed: Assertion failure when assigning property of string
  offset by reference
- Fixed: HT iterators not removed if empty array is destroyed
- Fixed: Changing array during undef index RW error segfaults
- Fixed: Use after free if changing array during undef var during
  array write fetch
- Fixed: Use after free if string used in undefined index warning
  is changed
- Fixed: Public non-static property in child should take priority
  over private static
- Fixed: getimagesize function silently truncates after a null
  byte
- Fixed: finfo_file crash (FILEINFO_MIME)
- Fixed: ftp_size on large files
- Fixed: mb_strimwidth does not trim string
- Fixed: Use of freed hash key in the phar_parse_zipfile function
- Fixed: ::getStaticProperties() ignores property modifications
- Fixed: ::getStaticPropertyValue() throws on protected props
- Fixed: Use after free when type duplicated into
  ReflectionProperty gets resolved
- Fixed: Can't copy() large 'data://' with open_basedir
- Fixed: dns_check_record() always return true on Alpine
- Fixed: array_walk() does not respect property types

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 13:04:43 -07:00
Khem Raj b10cbda286 sharutils: Use update alternatives for uudecode/uuencode
This can then live with toybox

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 09:52:38 -07:00
Khem Raj f9300e78c4 imagemagick: Create symlinks for magick-script
This link was missed out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 09:52:38 -07:00
Khem Raj bfcf2faba7 uml-utilities: Use update alternatives for tunctl
This can then live along with toybox

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 09:52:38 -07:00
Khem Raj 0bfce1c8eb lmbench: Use update alternatives for stream
stream is also provided by imagemagick as an alternative

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 09:52:38 -07:00
Zang Ruochen 08779114c9 paho-mqtt-c: upgrade 1.3.4 -> 1.3.5
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Zang Ruochen b2bbacfc57 iperf3: upgrade 3.7 -> 3.9
-License-Update: Copyright year updated to 2020.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Zang Ruochen 85af6c1f18 fio: upgrade 3.21 -> 3.22
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Khem Raj 97f52d0f6a hexedit: Define update alternatives
hexedit can also be provided by toybox

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj 09df8e6784 sblim-sfcb: Fix target postinst
Separate out target specific postintalls into pkg_postinst_ontarget_PN

Fixes
/mnt/b/yoe/master/build/tmp/work/qemuarm64-yoe-linux/meta-oe-ptest-image/1.0-r0/rootfs//var/lib/opkg/info/sblim-sfcb.postinst: line 6: /usr/share/sfcb/genSslCert.sh: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj 6336d2b700 ttf-liberation-sans-narrow: Do not install normal liberation fonts
They are provided by ttf-liberation recipe, this avoids install time
conflicts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj e96331850c libusbgx: Use update-alternatives
gadget-acm-ecm show-gadgets are also provided by older libusbg recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj 7de0bbbbaa canutils: Use update-alternatives
canutils provides applications which conflict with can-utils recipe.
update-alternatives helps fix this when both are installed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj 874a6c7a99 mime-support: Use update-alternatives
mime.types is also provided by mailcap so use update-alternatives to
install is policy when both are added into image

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj 48cd26a743 packagegroup-meta-oe: Overhaul so it can build meta-oe-image
Ensure that newly added recipes are added
Organise the packages per direcories
introduce packagegroup for fortran packages
Add missing packagegroup for printing packages
Document the packages which can not be included in these packahge groups

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Gianfranco Costamagna c32d2eb448 dlt-daemon: superseed upstream pr #238 patch with pr #245 due to unexpected behaviour
Upstream commented to use the second one

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-30 01:32:33 -07:00
Khem Raj ffe9fa02bb wvdial: Update SRC_URI to an accessible location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-30 01:32:33 -07:00
Khem Raj 625e7f73fc wvstreams: Update SRC_URI to a fetchable location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-30 01:32:33 -07:00
Khem Raj 9bcbc18728 mini-iconv: Remove
It was needed for uclibc, unused now a days

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-29 00:34:44 -07:00
Michael Vetter c035e249af README: Use quotation marks for subject prefix
On zsh it otherwise returns:
```
zsh: bad pattern: --subject-prefix=meta-oe][PATCH
```

With quotation marks it should work on all shells.

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28 17:16:57 -07:00
Michael Vetter a41dd8804d jasper: Use new repo URL
The official repo is now https://github.com/jasper-software/jasper.
https://github.com/mdadams/jasper will forward there.

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28 17:16:57 -07:00
Marc 0a27b0840f openocd: Update to latest git version
The 0001-Do-not-include-sysctrl.h-with-glibc.patch is no longer needed,
and is thus removed.
The 0001-bitbang-Make-bitbang_swd-extern-definition.patch was fixed
upstream in c60252ac2b636c4d99b766a574b9df0966151696 and is thus removed.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28 17:16:57 -07:00
Martin Jansa 00bd5ad72f nss: fix postinst in do_rootfs for target
Partially revert "nss: fix postinst script for nativesdk build"

This reverts commit 31552510b1.

When running in do_rootfs we need to run shlibsign provided
by nss-native, otherwise it fails when /usr/bin/shlibsign
doesn't exist on host builder:

do_rootfs: Postinstall scriptlets of ['nss'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28 17:16:57 -07:00
Khem Raj 3bc89dc7b3 nss: Upgrade to 3.56
Forward port 0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28 17:16:52 -07:00
Khem Raj 9bbe3ff102 nss: Disable Werror across all recipe types
We are seeing warnigs with gcc-10 even on target builds e.g.

| In file included from nsinstall.c:20:
| /usr/include/unistd.h:520:14: note: in a call to function ‘getcwd’ declared with attribute ‘write_only (1, 2)’
|   520 | extern char *getcwd (char *__buf, size_t __size) __THROW __wur
|       |              ^~~~~~
| nsinstall.c:70:16: error: argument 1 is null but the corresponding size argument 2 value is 4096 [-Werror=nonnull]
|    70 | #define GETCWD getcwd
|       |                ^
| nsinstall.c:246:13: note: in expansion of macro ‘GETCWD’
|   246 |     todir = GETCWD(0, PATH_MAX);
|       |             ^~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-27 16:29:23 -07:00
Zang Ruochen 25871c2068 spitools: upgrade 0.8.4 -> 0.8.5
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-27 00:03:51 -07:00
Zang Ruochen 19a8d8e33e satyr: upgrade 0.30 -> 0.31
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-27 00:03:51 -07:00
Zang Ruochen 33a1714050 libidn: upgrade 1.35 -> 1.36
-License-Update: Copyright year updated to 2020.

Refresh the following patch:
0001-idn-format-security-warnings.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-27 00:03:51 -07:00
Bartosz Golaszewski 8340965ac6 libgpiod: update v1.4.3 -> v1.4.4
This is a bug-fix release fixing the issue with reading line values for
bulks of lineevents.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 19:20:40 -07:00
Khem Raj 6e11e41264 nss: Avoid converting enum to void*
Found with clang-11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 19:20:40 -07:00
Mikko Rapeli 31552510b1 nss: fix postinst script for nativesdk build
It's better to refer to binaries in postinst script with
full path which also works on SDK when
/opt/nativesysroot/usr/bin is not in PATH.

Fixes install of nativesdk-nss:

Configuring nativesdk-nss.
/var/lib/opkg/info/nativesdk-nss.postinst: line 14: signlibs.sh: not found

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:27:09 -07:00
Leon Anavi 0f720e1c05 doxygen: Upgrade 1.8.17 -> 1.8.20
Upgrade to release 1.8.20:

- Add configuration setting to have docstrings not as preformatted
  text but as normal documentation
- Bug fix: void return type reported as not documented
- Bug fix: Doxywizard 1.8.19 (Windows): Source code directory
  seems to be ignored
- Bug fix: The Doxygen uses too much memory (or has probably a
  memory leak)
- Bug fix: Doxygen doesn't stop on errors
- Bug fix: C++ grouped functions in namespace have disappeard
- Improvement of line count for e.g. warnings
- Improved layout on the bibliography page
- Updated the swedish language translation to 1.8.19

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:27:09 -07:00
Bjarne Michelsen 34007cfda9 asio: extend recipe to add native support
Native support is not required by anything in oe-core, but may be useful
for some project specfic use cases.

Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 13:31:24 -07:00
Khem Raj ed2944037d vulkan-cts: Update to 1.2.3.2
Expand SRCREV_FORMAT to cover all repos in SRC_URI
Drop using tags since they force bitbake to enquire remote, use
corresponding SRCREV instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2020-08-25 11:24:58 -07:00
Arthur She d347904e64 xmlrpc-c: fix Makefile macro error
This error caused the curl library wouldn't to be linked correctly.

Signed-off-by: Arthur She <arthur.she@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 11:24:58 -07:00
Diego Rondini 605c28165b libeigen: update SRC_URI to download from gitlab
Bitbucket is no longer the official home of eigen, which has moved to
gitlab. Update SRC_URI to download releases from gitlab, fixing:
WARNING: libeigen-3.3.7-r0 do_fetch: Failed to fetch URL
https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2;downloadfilename=libeigen-3.3.7.tar.bz2,
attempting MIRRORS if available

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 11:24:58 -07:00
Leon Anavi 81ae736158 mercurial: Upgrade 5.4 -> 5.5
Upgrade to release 5.5:

- clonebundles can be annotated with the expected memory
  requirements using the REQUIREDRAM option. This allows clients
  to skip bundles created with large zstd windows and fallback
  to larger, but less demanding bundles.
- The phabricator extension now provides more functionality of the
  arcanist CLI like changing the status of a differential.
- Phases processing is much faster, especially for repositories
  with old non-public changesets.
- For the case when connected to a TTY, stdout was fixed to be
  line-buffered on Python 3
- Subversion sources of the convert extension were fixed to work
  on Python 3
- Subversion sources of the convert extension now interpret the
  encoding of URLs like Subversion.
- The empty changeset check of in-memory rebases was fixed to
  match that of normal rebases (and that of the commit command).
- The push command now checks the correct set of outgoing
  changesets for obsolete and unstable changesets. Previously, it
  could happen that the check prevented pushing changesets which
  were already on the server.

More details are available at:
https://www.mercurial-scm.org/wiki/Release5.5

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 11:24:58 -07:00
Leon Anavi 354c2add85 lshw: Upgrade 2.18 -> 2.19
Upgrade to release B.02.19:

- detection of NVMe disks
- detection of SD/MMC and SDIO devices
- bug fixes
- code cleanup
- updated data files

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 11:24:58 -07:00
Richard Leitner 4c7f8a0997 liburing: add v0.7
Add initial support for liburing v0.7.
Fix build with musl by linking and depending on libucontext

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 10:39:27 -07:00
Marek Vasut 8834838970 freerdp: Add missing libxkbcommon WL dependency
The WL build depends on libxkbcommon, so add the dependency.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 10:32:25 -07:00
Khem Raj 9949d2714d kernel-selftest: Disable vm tests for mips/arm
Include lib and kernel subdirs as vm tests need headers from it in 5.8+
(test_hmm_uapi.h) see [1]

It now uses tests which are not compatible on arm starting with 5.8+

[1] https://lkml.org/lkml/2020/4/22/1654

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-24 13:04:03 -07:00
Khem Raj 5efb06176a vboxguestdrivers: Fix build with kernel 5.8
Remove patches which are already covered in this new patch

Fixes
step1b: ERROR: modpost: "__get_vm_area_caller" [/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/qemux86_64-poky-linux/vboxguestdrivers/6.1.12-r0/vboxguestdrivers-6.1.12/vboxguest/vboxguest.ko] undefined!
step1b: ERROR: modpost: "map_kernel_range" [/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/qemux86_64-poky-linux/vboxguestdrivers/6.1.12-r0/vboxguestdrivers-6.1.12/vboxguest/vboxguest.ko] undefined!

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-23 23:16:18 -07:00