Commit Graph

21 Commits

Author SHA1 Message Date
Fabrice Fontaine 00e038942a utils/zsh: fix PKG_CPE_ID
zsh:zsh is a better CPE ID than zsh_project:zsh as this CPE ID has the
latest CVEs (whereas zsh_project:zsh only has CVEs up to 2017):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️zsh:zsh

Fixes: ff056fcffc (zsh: Update to 5.6.2)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 15:58:25 -08:00
Christian Marangi 5b929fde5f
zsh: backport PCRE2 patches and move to it
Backport PCRE2 patches from upstream and move package to PCRE2 library
as PCRE is EOL and won't receive any security update anymore.

Patch are backported with minimal change, only the Changelog change is
commented out as it would conflict and makes no sense to adapt for the
purpose of backport patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-10 12:29:49 +02:00
Oskari Rauta a7f837c98b
zsh: use autoreconf PKG_FIXUP to configure
In preparation to PCRE2 fixup, use autoreconf PKG_FIXUP as a better
configure system instead of configure script. This is needed to reduce
upcoming patch to migrate to PCRE2 library.

To correctly use autoreconf it's needed to declare empty
PKG_REMOVE_FILES.

zsh include custom macro in the default aclocal.m4
When autoreconf PKG_FIXUP is used, if PKG_REMOVE_FILES is not defined,
it's set to remove the file aclocal.m4 by default resulting in problem
with the custom macro AC_PROG_LN.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
[ split to 2 commit, add PKG_REMOVE_FILES, reword commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-05 12:57:17 +02:00
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
John Audia de2ff3a5f1 zsh: update to 5.9
Bump to latest release

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-05-18 12:26:59 -07:00
John Audia 034da11e2b zsh: update to 5.8.1
Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
2022-02-23 17:06:40 -08:00
Rosen Penev 1abf4f3884
zsh: update to 5.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-25 17:41:09 -07:00
Rosen Penev 825b7016e2
zsh: Update to 5.7.1
Remove --disable-dynamic. It disables regex support.

Installed extra lib files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-08 16:01:18 -08:00
Karel Kočí c09d6042fe
zsh: drop bash syntax in postinst
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-12-19 10:35:33 +01:00
Karel Kočí d2d193d818
zsh: fix invalid postrm script and little refactor of scripts
The postrm script was missing shebang. Postrm scripts are packaged and
executed directly and not sourced by default script (as in case of prerm
and postinst).

Also move some indents around to not confuse reader. The section in
postinst was indented to same level as grep "condition" but is on same
level as initial grep (not part of that "condition").

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-12-18 10:04:41 +01:00
Deng Qingfang b09d620139 zsh: size optimizations and fix build without musl
Disable dynamic libraries and enable LTO
Only use `--enable-libc-musl` when musl is selected
Shrinks ipk size by about 200KB

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-01-14 13:06:12 +08:00
Rosen Penev ff056fcffc zsh: Update to 5.6.2
Fixes at least CVE-2018-0502 and CVE-2018-13259

Added PKG_CPE_ID for proper CVE tracking.

Added PKG_BUILD_PARALLEL for faster compilation.

Some small reorganization for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-14 18:41:22 -07:00
Rosen Penev beedb40dcc
zsh: Update to 5.5.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-07 19:01:15 -07:00
Jakub Tymejczyk 5c4333de5f
zsh: add required dependency(issue #5514)
As indicated in https://github.com/openwrt/packages/issues/5514 zsh is compiled with --enable-cap option but libcap is not listed in dependencies

Signed-off-by: Jakub Tymejczyk <jakub@tymejczyk.pl>
2018-02-17 16:43:38 +01:00
Vadim A. Misbakh-Soloviov dc9654770a
zsh: updated to 5.4.2
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2017-10-23 18:12:11 +07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Alberto Bursi 05d213405b zsh: move to Shells submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-23 17:56:06 +02:00
Vadim A. Misbakh-Soloviov b9300ac98d
zsh: update to 5.2
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2016-05-28 23:35:52 +06:00
Vadim A. Misbakh-Soloviov 2ce374d1e3
zsh: bump to 5.1.1
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2015-10-03 16:15:56 +06:00
Vadim A. Misbakh-Soloviov 62c3532741 zsh: added
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2014-09-30 23:24:58 +07:00