Commit Graph

1170 Commits

Author SHA1 Message Date
Roland Hieber
db892b5e62 lockfile-progs: use DEBIAN_MIRROR in SRC_URI
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7b8efbbd0f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-01-10 10:59:08 -08:00
Gianfranco
a82e2fbdfa dlt-daemon: add upstream patch to fix CVE-2020-29394
More information on: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976228
| A buffer overflow in the dlt_filter_load function in dlt_common.c in
| dlt-daemon 2.8.5 (GENIVI Diagnostic Log and Trace) allows arbitrary
| code execution because fscanf is misused (no limit on the number of
| characters to be read in a format argument).

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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-12-14 21:25:32 -08:00
Yi Zhao
f798436418 minifi-cpp: depend on nettle and lz4
Add nettle and lz4 to DEPENDS to make the minifi extension archive
support crypto and lz4.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-12-14 21:24:17 -08:00
Khem Raj
ac4ccd2fbb minifi-cpp: Fix build with riscv64/clang
Do not use lld linker on risc64, since it errors out
riscv64-yoe-linux-ld.lld: error: init.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Khem Raj
bc83d3f088 redis: Fix build on 32bit targets and clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Zang Ruochen
bd5ae6e125 ostree: upgrade 2020.6 -> 2020.7
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Yi Zhao
c697727db7 minifi-cpp: specify GCC_AR and GCC_RANLIB
We encountered a minifi-cpp build error on a self-hosted image:
[snip]
/build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-ranlib:
thirdparty/civetweb-1.10/src/libcivetweb-cpp.a(CivetServer.cpp.o): plugin needed to handle lto object
/build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-ranlib:
thirdparty/civetweb-1.10/src/libcivetweb.a(civetweb.c.o): plugin needed to handle lto object
[snip]
/build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/10.2.0/ld: DWARF error: could not find variable specification at offset c960f
/build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/10.2.0/ld: DWARF error: could not find variable specification at offset c961d
[snip]
extensions/civetweb/libminifi-civet-extensions.a(ListenHTTP.cpp.o):
in function `org::apache::nifi::minifi::processors::ListenHTTP::WriteCallback::process(std::shared_ptr<org::apache::nifi::minifi::io::BaseStream>)':
/usr/src/debug/minifi-cpp/0.7.0-r0/git/extensions/civetweb/processors/ListenHTTP.cpp:464: undefined reference to `mg_read'
[snip]

When using GCC's link-time optimization with static linked libraries, we
should use gcc-ar and gcc-ranlib to create the static libraries. By
default, it will search gcc-ar and gcc-ranlib in the system. But if the
gcc-ranlib is not found, it will use ranlib instead which causes this
issue.
Specify GCC_AR and GCC_RANLIB in EXTRA_OECMAKE to make sure it can find
the correct gcc-ar/gcc-ranlib.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:51 -08:00
Alexander Kanavin
51eccca899 libsigrokdecode: add python 3.9 support
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-29 10:44:49 -07:00
Alexander Kanavin
be5eb3eba5 collect: do not build with -Werror
The option is prone to unwanted regressions, particularly
new version of python has introduced new deprecations, which
broke the build.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-29 10:44:49 -07:00
Khem Raj
b5f20c99be redis: Fix build with clang on riscv32
clang defines __ILP32__ for rv32 but gcc does not as a result
backtracing gets enabled when using clang but not when using gcc so
clang build exposes a porting error. Therefore add code to return
correct mcontext on rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-27 08:39:09 -07:00
Khem Raj
ae0d7b3a0e minifi-cpp: Do not use lld on riscv32
Fixes errors like
|     riscv32-yoe-linux-ld.lld: error: init.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
|     riscv32-yoe-linux-ld.lld: error: testCCompiler.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-26 10:20:34 -07:00
zangrc
77c36bec1e libpwquality: upgrade 1.4.2 -> 1.4.4
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-23 10:20:24 -07:00
Andreas Müller
dcbaf20dfa wxwidgets: upgrade 3.1.3 -> 3.1.4
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-13 22:33:05 -07:00
Andreas Müller
7219c72141 wxwidgets: Add what's necessary so that consumers of wxwidgets_git can find it
When I created wxwidgets recipe I had no test case for consumers of wxwidgets.
This changed now and it showed that wxwidgets is building fine but is
completely useless: It is a collection of libraries that are impossible to
find for other recipes.

To get rid wxwidgets now inherits binconfig: wxwidgets creates wx-config that
at least cmake relies upon. wx-config content had to be adjusted:

* As is it is a symlink to a useless file: Make it a file with usable contents
* To let wx-config report correct libraries a patch was added disabling cross
  magic not working here.
* Set full sysroot paths for includedir/libdir/bindir so that sstate can adjust
  them when creating recipe-sysroot for recipes depending on wxwidgets

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-13 22:33:05 -07:00
Andreas Müller
0488766d58 wxwidgets: add opengl PACKAGECONFIG / enable it if opengl is in DISTRO_FEATURES
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-13 22:33:05 -07:00
Sinan Kaya
45efb73f1f collectd: make rrdtool and rrdcached optional
rrdtool plugin pulls x11 library dependencies into the target.
It should be only set on need basis.

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-28 20:49:15 -07:00
Richard Purdie
916158a379 minifi-cpp: Adapt to potential psuedo changes
If we do adopt path filtering for pseudo, we may filter out ${B} as not
needing to be tracked for "root" permissions. We do need to track
the data installed by do_install though, so move the temp directory this
recipe uses out of ${B} and place it in WORKDIR.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-28 09:17:18 -07:00
Yi Zhao
a8bc9fb94f minifi-cpp: set the default repositories location to /var/lib
Currently, the provenance repository, flowfile repository and content
repository are created in /var/run/ directory which is mounted as tmpfs.
Since the minifi uses RocksDB repositories with direct IO, we will
encounter an error when restart minifi service:

[org::apache::nifi::minifi::provenance::ProvenanceRepository] [error]
MiNiFi Provenance Repository database open /var/run/minifi/provenance_repository failed: IO error:
While open a file for appending: /var/run/minifi/provenance_repository/000004.sst: Invalid argument

Set the default repositories directory to /var/lib to fix this issue.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-28 09:17:18 -07:00
Yi Zhao
256d24c6d6 minifi-cpp: do not download source during compile
The minifi-cpp needs to download and compile several sources
during compile. Add these sources to SRC_URI to make sure they are
downloaded in do_fetch not in do_compile.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-28 09:17:18 -07:00
Mingli Yu
f9f8904623 smartmontools: Remove obsolete setting regarding the Standard Output
The Standard output type "syslog" is obsolete, causing a warning since systemd
version 246 [1].

Please consider using "journal" or "journal+console"

[1] https://github.com/systemd/systemd/blob/master/NEWS#L202

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-22 22:25:52 -07:00
Zang Ruochen
b6277f454b redis: upgrade 6.0.7 -> 6.0.8
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-17 08:56:33 -07:00
Zang Ruochen
3ff25ef770 byacc: upgrade 20200330 -> 20200910
Refresh the following patch:
0001-byacc-do-not-reorder-CC-and-CFLAGS.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-16 23:03:29 -07:00
Haiqing Bai
7a0edf425e rsyslog: fix wrong option of PACKAGECONFIG[valgrind]
The source configure.ac shows:
--enable-valgrind: Enable somes special code that rsyslog core developers
                   consider useful for testing.Do NOT use if you don't
                   exactly know what you are doing, except if told so
                   by rsyslog developers.
                   NOT to be used by distro maintainers for building regular
                   packages.

--without-valgrind-testbench:
                   Don't use valgrind in testbench

PACKAGECONFIG[valgrind] should use '--without-valgrind-testbench'
And after this fix, the code which removes the valgrind depended
ptest cases for arm,mips is no longer needed.

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15 20:51:09 -07:00
Zang Ruochen
9a1c3d75b2 redis: upgrade 6.0.6 -> 6.0.7
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 21:20:23 -07:00
Zang Ruochen
cb3e8df821 ostree: upgrade 2020.5 -> 2020.6
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 21:20:23 -07:00
Zang Ruochen
c56e0d8d4a collectd: upgrade 5.11.0 -> 5.12.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 21:20:23 -07:00
Diego Rondini
db7fc115e0 hplip: use libexecdir
In oe-core commit:
2ce6ef29b9bb4f16ed9d78e166d455b7a6d968bf
cups crossscripts have been fixed to report the correct serverbin folder, so
backend, filters, etc, need to go in ${libexecdir} now.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 21:20:23 -07:00
Yann Dirson
58ba034db7 libcec: split the python example into a separate package
It does not provide more functionality than the C-based examples, so
is of little value on a target except for checking the python module
is working.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Yann Dirson
e59b461d19 libcec: rename libcec-tools to libcec-examples
Those are really not general-usage tools, just examples of the API usage.
Let's use a more explicit package name.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Yann Dirson
52fbd36e62 libcec: build with Linux CEC API
The Linux CEC API is available in linux-kernel-headers 4.10 and newer,
and supported since libcec 5.0.0, though they still default to the
legacy Raspberry Pi API.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Yann Dirson
5d28b4ec75 libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian
As described in https://github.com/Pulse-Eight/libcec/issues/530 the
cmake code looks at the host to make decisions about the target, and
we can't even override this with a flag.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Gianfranco Costamagna
c159290920 brotli: set upstream-status for the patch backported from upstream
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-09-08 11:53:53 -07:00
Gianfranco Costamagna
933b9d92d9 brotli: update to 1.0.9
cherry-pick upstream fix for pkg-config based detection failure

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-09-04 18:48:18 -07:00
Arturo Buzarra
4d1bc207f4 byacc: add nativesdk support
This support is required if a tool depends on this package and must be
installed on the sdk.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-04 06:59:17 -07:00
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
32c7ebbab5 properties-cpp: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 16:57:06 -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
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
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
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
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
Zang Ruochen
e4d491efcc sanlock: upgrade 3.8.1 -> 3.8.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-21 16:35:25 -07:00
Alex Kiernan
d58a9a8923 ostree: upgrade 2020.4 -> 2020.5
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-19 08:20:02 -07:00
Khem Raj
aef9af7697 minifi-cpp: Fix linking with libxml2
when libxml2-native is staged, then on x86 it starts to detect that for
target and fail to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-18 09:35:23 -07:00
Khem Raj
302a6c4474 sedutils: Fix build with clang11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-17 17:52:09 -07:00
Khem Raj
503d90b608 minifi-cpp: Fix build with lto/clang
Define CMAKE_RANLIN to llvm-ranlib and use lld for linking since it
detects LTO use for civetweb and therefore archives (.a) should be
creatd is compiler ar/ranlib and gold or lld be used.

backport a patch to fix build with clang, this patch is already proposed
via [1]

[1] https://github.com/facebook/rocksdb/pull/7265

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-17 16:26:14 -07:00
Khem Raj
de793ef7ac pegtl: Disable type-limits warning
gcc 10.2 warns with this
rep_one_min_max.hpp:40:26: error: comparison of unsigned expression in '>= 0' is always true [-Werror=type-limits]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-17 12:26:41 -07:00
Khem Raj
ab1f4f709f sblim-sfcb: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Khem Raj
646429ef0a fluentbit: Use -fcommon to compile
gcc10+ defaults to -fno-common and fluentbit does not compile with
-fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00