Commit Graph

12283 Commits

Author SHA1 Message Date
Qi.Chen@windriver.com
892948980c python(3)-ndg-httpsclient: use update-alternatives to avoid do_rootfs failure
Use update-alternaives to manage /usr/bin/ndg_httpclient to avoid the following
do_rootfs failure.

Error: Transaction check error:
  file /usr/bin/ndg_httpclient conflicts between attempted installs of python-ndg-httpsclient-0.5.1-r0.core2_64 and python3-ndg-httpsclient-0.5.1-r0.core2_64

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14 19:01:41 -07:00
Khem Raj
8baaf20880 thrift: Refresh patches
Make devtool happy patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14 19:01:41 -07:00
Khem Raj
6e9c34d6a1 kernel-selftest: Fix build on musl
* (Depends upon a linux-libc-headers patch proposed to oe-core)
* Delete unused patch
* Mark Clang 6.0 as minimum required version
* Do not hardcode python3 interpreter path

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Hongzhi.Song <hongzhi.song@windriver.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-14 19:01:41 -07:00
Mingli Yu
e6d2fc45e5 postfix: fix pkg_postinst_${PN}
"exit 0" will break the postinst logic
below the line "exit 0" such as:

===
update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 120
update-alternatives --install /usr/bin/mailq mailq /usr/bin/mailq.postfix 120
update-alternatives --install /usr/bin/newaliases newaliases /usr/bin/newaliases.postfix 120
===

It's enough to call "$INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} mlprefix=${MLPREFIX}"
, so remove it to guarantee the postinstall logic is correct

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14 19:01:41 -07:00
Hongxu Jia
e04a0b57f3 cyrus-sasl: fix parallel build issue
While building plugins, each <plugin>.c requires a <plugin>_init.c,
and the <plugin>_init.c is dynamically generated by makeinit.sh.

But the makeinit.sh generates all *_init.c (13 mechanism plugins,
3 auxprop plugins) at one time, if there are multiple plugins,
there will be multiple makeinit.sh invoking.

It caused a parallel issue, the *_init.c files will be generated
repeatedly.

It occasionally generate dapdb_init.c incorrectly
[snip plugins/ldapdb_init.c]
SASL_CANONUSER_PLUG_INIT( ldapdb )
SASL_CANONUSER_PLUG_INIT( ldapdb )
SASL_CANONUSER_PLUG_INIT( ldapdb )
[snip plugins/ldapdb_init.c]

Let makeinit.sh generate the expected <plugin>_init.c which
is exactly required by <plugin>.c.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14 19:01:41 -07:00
Martin Jansa
d347312b9a spice: cleanup leftover patch from upgrade to 0.13.90
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14 19:01:41 -07:00
Changqing Li
cff2f38874 spice: fix compile error on 32bit system
Fix below compile error on 32bit system,  since input argument
is uLong, but use format %d:
format '%d' expects argument of type 'int', but argument 6 has type
'long unsigned int' [-Werror=format=]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14 19:01:41 -07:00
Khem Raj
e5c84d8365 kexec-tools-klibc: Deliberately add -O2
This helps the compiler to be more aggressive and do the expected
optimizations to remove unused code which otherwise gets flagged on some
architectures e.g. armv7l

errors like
undefined reference to `bad_unaligned_access_length'

Also see
http://lists.infradead.org/pipermail/kexec/2009-August/003488.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-14 19:01:41 -07:00
Andrew Bresticker
5028479bff nbd: Upgrade to nbd 3.17
Upgrade to a more recent version of nbd that supports listening on
multiple IP addresses.

Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 21:14:26 -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
Hongxu Jia
e5e95cf3a3 cyrus-sasl: fix build out of source tree failed while configuring with `--enable-ldapdb'
[snip]
| powerpc-wrs-linux-gcc [snip] -I../common
|../../git/saslauthd/lak.c:58:10: fatal error: crypto-compat.h:
No such file or directory
[snip]

The crypto-compat.h locates in git/common/, it should be                                                                                                                           |
`-I../../git/common'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 09:10:15 -07:00
Bartosz Golaszewski
dca2a7f628 networkd-dispatcher: new package
This adds a recipe for networkd-dispatcher.

It's a simple package containing a python script that needs to be
installed together with a systemd service and an example config
file. There's nothing to build.

Tested with current poky & meta-openembedded master branches.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 07:08:49 -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
Mingli Yu
b0ece93cbd gd: Fix CVE-2018-1000222
check return value in gdImageBmpPtr

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 07:07:28 -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
Khem Raj
aee5ef8906 opencv: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-11 22:48:22 -07:00
Khem Raj
76bc58e932 klibc: Fix build with security flags
Drop -Os which is also causing the relro
Fixes
| x86_64-bec-linux-musl-ld.bfd: discarded output section: `.got.plt'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-11 22:48:21 -07:00
Khem Raj
0411983c2f start-stop-daemon: Recognise musleabi triplet in dpkg
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-11 22:48:21 -07:00
Baptiste DURAND
9e050f01a9 minidlna: restore & fix recipe
Restore minidlna recipe and bump it to v1.2.1
Move it to meta-multimedia
Signed-off-by: Baptiste Durand <baptiste.durand@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-11 22:48:21 -07:00
Khem Raj
f0b1f3d30b gstd: Upgrade to latest and fix unrecognised options to configure
QA Issue: gstd: configure was passed unrecognised options: --disable-gtk-doc [unknown-configure-option]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-11 22:48:20 -07:00
Martin Jansa
90467a8d61 python-pyflame: skip for aarch64 as well
* fails with:
| ../../git/src/ptrace.cc: In function 'user_regs_struct pyflame::PtraceGetRegs(pid_t)':
| ../../git/src/ptrace.cc:127:14: error: 'PTRACE_GETREGS' was not declared in this scope
|    if (ptrace(PTRACE_GETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
| ../../git/src/ptrace.cc:127:14: note: suggested alternative: 'PTRACE_GETREGSET'
|    if (ptrace(PTRACE_GETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
|               PTRACE_GETREGSET
| ../../git/src/ptrace.cc: In function 'void pyflame::PtraceSetRegs(pid_t, user_regs_struct)':
| ../../git/src/ptrace.cc:136:14: error: 'PTRACE_SETREGS' was not declared in this scope
|    if (ptrace(PTRACE_SETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
| ../../git/src/ptrace.cc:136:14: note: suggested alternative: 'PTRACE_SETREGSET'
|    if (ptrace(PTRACE_SETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
|               PTRACE_SETREGSET
| Makefile:524: recipe for target 'ptrace.o' failed
| make[2]: *** [ptrace.o] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 11:51:50 -07:00
Richard Purdie
8cb0272d7f xmlstarlet: Disable PARALLEL_MAKE (again)
* MJ: this was applied for 1.5.0 version in:
  https://patchwork.openembedded.org/patch/116023/
  then removed with the upgrade to 1.6.1 in:
  https://patchwork.openembedded.org/patch/141059/
  but as reported before this issue is still reproducible
  with 1.6.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 11:51:35 -07:00
Gianfranco Costamagna
b336c4ab23 cpprest: bump version to 2.10.6, drop clang 747 patch: upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 08:56:40 -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
Alexander Filippov
131eb1f697 split net-snmp-libs into smaller packages
By default `net-snmp-libs` contains all compiled libs.
This commit splits `net-snmp-libs` into subpackages for each library.

This allows for smaller resulting image due to finer packaging.

Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 06:59:32 -07:00
Qi.Chen@windriver.com
7ee034e3c4 cyrus-sasl: do not set CLEANBROKEN
A previous commit set CLEANBROKEN to "1" to claim to fix the following
error.

Fixed rebuild error:
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: ./configure failed for saslauthd

However, I'm still seeing these errors!

The actual problem is about autotools.bbclass not cleaning things up. It just
uses 'make clean' while maybe 'make distclean' and 'rm -f ${B}/config.cache' also
needs to be there.

In fact, setting CLEANBROKEN will do no cleanup except removing some .la files.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 06:58:41 -07:00
Khem Raj
d5ed5b9ccf opencv: Fix build on big-endian systems
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 23:01:26 -07:00
Khem Raj
77922f115a klcc-cross: Recognise clang options
Let klcc understand '-no-integrated-as' which is a clang option used by
meta-clang for compiler defaults

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-09 22:50:06 -07:00
Oleksandr Kravchuk
2c3aa1e4b6 nano: upgrade to 3.0
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 22:10:11 -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
8705570331 evince: Fix build with clang
The added patch aids clang to avoid format warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@googlemail.com>
2018-09-09 21:59:14 -07:00
Khem Raj
7b6c088b87 libkcapi: Disable Wsign-compare warning with clang/musl
clang 7.0 is grumpy and complains about cmsg structures and macros from
sys/socket.h

kcapi-kernel-if.c:25:11: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare] header = CMSG_NXTHDR(&msg, header);

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 12:08:46 -07:00
Khem Raj
6718a9cc2d breakpad: Pass correct type name to sizeof()
memset is clearing memory area address starting at contect.context but
it needs the correct size of type 'ucontext_t', currently its getting
size of 'ucontext_t*'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andre McCurdy <armccurdy@gmail.com>
2018-09-09 10:56:28 -07:00
Khem Raj
cb82b13c65 wvstreams: Add openssl 1.1.x support
* Backport a pull request to support OpenSSL 1.1.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
7b9f86ca79 opencv: Update to 3.4.3
* Drop backported patches
* Update versions of external submodules

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
806c4d981d openflow: Fix build with openSSL 1.1.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
a883fca429 openhpi: Upgrade to 3.8.0
* Add patches to fix build with OpenSSL 1.1.x
* Forward patches and drop ones not needed anymore
* openhpi: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
24383588ea libqmi: Upgrade to 1.20.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
973578148d uftrace: Upgrade to 0.8.3
* Deliberately provide a non existing path to with_elfutils so it does
  not copy libelf.so into its staged install and become a provider for
  that library while elfutils should be the legit provider and this
  package should just list it in its rdeps

* Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
5cb9dae677 xfce4-vala: Build for vala 0.42 to match oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
6e56df6868 kea: Fix build with boost 1.68+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -07:00
Khem Raj
d8560cb5e5 umip: Fetch from git.umip.org
* Adjust patches
* Depend on openssl10
* remove spurious dep on rpm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 10:46:29 -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
79d66aea14 opensc: Upgrade to 0.18.0
* Fixes build with OpenSSL 1.1.x
* Fix build with gcc8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
492ac5ceaf rtorrent: Upgrade to 0.9.7 release point
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Oleksandr Kravchuk
c17fabc2a3 libfribidi: delete recipe
Deleted recipe as it is already part of poky.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
5ccc6fd2da python-m2crypto: Ignore WCHAR_MAX and WCHAR_MIN when on musl
This fixes the build until we upgrade to swig 4.0 where this is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
791a1c612f vboxguestdrivers: Update to 5.2.18
* Fix build with 4.18 kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
19246b82df ipmitool: Fix build with OpenSSL 1.1.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
4a811e78f1 oscam: Depend on openssl10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00