35 Commits

Author SHA1 Message Date
Peter Marko
91fe45b5ba dash: set CVE_PRODUCT
This removes false positive CVE-2024-21485 from cve reports.

$ sqlite3 nvdcve_2-2.db
sqlite> select * from products where product = 'dash';
CVE-2009-0854|dash|dash|0.5.4|=||
CVE-2024-21485|plotly|dash|||2.13.0|<
CVE-2024-21485|plotly|dash|2.14.0|>=|2.15.0|<

Our dash:dash did not reach major version 1 yet.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e1427013e01df44b9275908f7605e8e25fc3fd83)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-10-27 11:17:11 +01:00
Dan McGregor
dceecf820f dash: correct licence
According to its copyright file, dash is only BSD-3-Clause. It has
a build time tool from bash that's under the GPL, but only the
tool's output is used, not the tool itself. So all compiled artefacts
in dash appear to share the same licence.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8eba35f8b03659ffd73aceb52b6e78da8661a6dd)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-10-01 19:40:58 +02:00
Martin Jansa
6c55571912 zsh: fix installed-vs-shipped with multilib
* fixes:
lib32-zsh-5.8: lib32-zsh: Files/directories were installed but not shipped in any package:
  /usr/share/lib32-zsh
  /usr/share/lib32-zsh/5.8
  /usr/share/lib32-zsh/site-functions
  /usr/share/lib32-zsh/5.8/functions
  /usr/share/lib32-zsh/5.8/functions/_selinux_users
... 1000+ lines ...
  /usr/share/lib32-zsh/5.8/functions/VCS_INFO_bydir_detect
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-zsh: 1116 installed and not shipped files. [installed-vs-shipped]

* they will clash if someone is trying to install both zsh
  and lib32-zsh, but it's not very likely as nobody sane
  was building lib32-zsh with 1000+ line warning regularly

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>
2023-04-13 08:26:26 -04:00
Chee Yang Lee
69be9c7151 zsh: Fix CVE-2021-45444
backport patch from debian

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-19 08:28:29 -05:00
Khem Raj
0af5a28854 tcsh: Do not install symlinks into /bin with usrmerge
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e059bf5da05dd895ac5fde665f283022ad5c59d2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-05-03 06:49:07 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Ross Burton
09aa844891 dash: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
zangrc
633f211505 dash: upgrade 0.5.11.3 -> 0.5.11.5
parser: Fix VSLENGTH parsing with trailing garbage
eval: Do not cache value of eflag in evaltree

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-09 09:34:13 -07:00
Tony Battersby
48596d4db3 tcsh: fix compile error after LDFLAGS change
Adding -f*-prefix-map to LDFLAGS caused the following issue when
compiling tcsh on Ubuntu 18.04:

gcc: error: unrecognized command line option ‘-fmacro-prefix-map=...’

Fix by using BUILD_LDFLAGS instead of LDFLAGS for gethost.

[YOCTO #14481]

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-11 10:23:54 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Martin Jansa
b25ea9cb97 zsh: work around file-rdeps QA issues with usrmerge in DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
Andreas Müller
dc5e42154f zsh: upgrade 5.4.2 -> 5.8
* without autotools-brokensep install fails for several isssues. Started to fix
  them but stooped after third
* remove some odd/orphaned code in recipe

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-22 05:54:00 -07:00
Andreas Müller
df10c7bcc0 zsh: reduce priority slightly to avoid conflict with bash
| [log_check] Warn: update-alternatives: sh has multiple providers with the same priority, please check /workdir/raspberrypi4_64-mortsgna-linux/allgui-dev-image/1.0-r0/rootfs/usr/lib/opkg/alternatives/sh for details

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-03 08:06:18 -07:00
zhengruoqin
3e4081db29 tcsh: upgrade 6.22.03 -> 6.22.04
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
zangrc
8aa0ecba3f dash: upgrade 0.5.11.2 -> 0.5.11.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-05 09:16:27 -08:00
zhengruoqin
ec9327e238 tcsh: upgrade 6.22.02 -> 6.22.03
0001-Remove-defining-handle_interrupt-twice.patch
Removed since this is included in 6.22.03.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-30 22:42:20 -08:00
Zang Ruochen
e04060dea5 dash: upgrade 0.5.11.1 -> 0.5.11.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-08 11:53:53 -07:00
Khem Raj
d23e9b9691 tcsh: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Zang Ruochen
8ee7ab057f dash: upgrade 0.5.11 -> 0.5.11.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-03 00:15:29 -07:00
Zang Ruochen
c3041362f5 mksh: upgrade 58 -> 59
-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-06-08 22:00:37 -07:00
Wang Mingyu
eed981879a dash: upgrade 0.5.10.2 -> 0.5.11
0001-Fix-printf-format-errors-with-clang.patch
removed since it is not available in 0.5.11

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-05 18:42:45 -07:00
Wang Mingyu
63f587ecb7 mksh: upgrade 57 -> 58
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-14 21:26:57 -07:00
Khem Raj
0a3b6af977 tcsh: Update SRC_URI
the ftp site seems to be intermittent

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-05 07:09:22 -08:00
Zheng Ruoqin
5ad5cf3127 tcsh: upgrade 6.21.00 -> 6.22.02
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-04 08:15:20 -08:00
Zang Ruochen
2c83141421 mksh: upgrade 56 -> 57
-License-Update: Copyright year updated to 2019.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-29 16:41:22 -08:00
Zang Ruochen
a67175d42a tcsh: upgrade 6.20.00 -> 6.21.00
-Upgrade from tcsh_6.20.00.bb to tcsh_6.21.00.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Zang Ruochen
c16b5dc0e2 dash: upgrade 0.5.9.1 -> 0.5.10.2
upgrade from dash_0.5.9.1.bb to dash_0.5.10.2.bb

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-01 18:51:29 -08:00
Richard Weinberger
b0d5b8c22d mksh: Don't use ${PN}
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00
Eduardas Meile
0bb29681c4 mksh: add version 56
The MirBSD Korn Shell is a permissively licensed shell currently used
by Android.

Signed-off-by: Eduardas Meile <eduardas.m@fods.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-06 08:11:52 -08:00
Khem Raj
901af82e7d zsh: Delete ${D}/usr if empty
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Khem Raj
43b089317b tcsh: Add dep on virtual/crypt
libcrypt is now a separate package starting glibc 2.28+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Derek Straka
26b6f912a3 zsh: update to version 5.4.2
License-Update: Update the license checksum for copyright year and verify the terms remain the same

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:17 -07:00
Armin Kuster
eaff8c24ab dash: move dash to recipes-shell
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:37 -08:00
Armin Kuster
b836c5b810 tcsh: move to recipes-shells
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:35 -08:00
Armin Kuster
7da35538ab zsh: move to recipes-shells
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:23 -08:00