lede/package/utils
aakkll 47266d39f7
busybox: update to 1.35.0 (#8389)
* Revert "busybox: update to 1.33.2 bugfix release (#8386)"

This reverts commit a6f79ace50.

* busybox: fix compilation with GCC 10

When compiling busybox with GCC 10 and CONFIG_PKG_ASLR_PIE_ALL=y, there
are hundreds of errors like:

relocation R_MIPS16_26 against `xzalloc' cannot be used when making a
shared object; recompile with -fPIC

Simply solve this by no longer disabling PKG_ASLR_PIE, so that $(FPIC)
is properly added to the CFLAGS and LDFLAGS.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

* busybox: update to version 1.34.0

Update busybox to version 1.34.0

* Remove upstreamed patches (205, 530, 540)

* Remove one old patch that does not apply any more. (203)
  That was originally introduced in 2008 with 563d23459,
  but does not apply after busybox restructuring with
  https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?h=1_34_stable&id=e6007c4911c3ea26925f9473b9f156a692585f30
  and
  https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?h=1_34_stable&id=1c7253726fcbab09917f143f0b703efbd2df55c3

* Refresh config and patches.

* Backport upstream fixes for
   - MIPS compilation breakage and
   - process substitution regression

Config refresh:

Refresh commands, run after busybox is first built once:

cd utils/busybox/
cd config/
../convert_menuconfig.pl ../../../../build_dir/target-aarch64_cortex-a53_musl/busybox-default/busybox-1.34.0
cd ..
./convert_defaults.pl < ../../../build_dir/target-aarch64_cortex-a53_musl/busybox-default/busybox-1.34.0/.config > Config-defaults.in

Manual edits needed afterward:

* Config-defaults.in:  OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6
* Config-defaults.in:  OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)
* Config-defaults.in:  OpenWrt logic applied to
  BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917)
  BUSYBOX_DEFAULT_UDHCPC_DEFAULT_INTERFACE (just "")
* config/editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)
* config/shell/Config.in : change at "Options common to all shells"  the symbol
  SHELL_ASH  -->  BUSYBOX_CONFIG_SHELL_ASH
   (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
     Apparently our script does not see the hidden option while
     prepending config options with "BUSYBOX_CONFIG_" which leads to a
     missed dependency when the options are later evaluated.)
* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

* busybox: update to 1.34.1

Update busybox to version 1.34.1, which is a minor
maintenance release. It contains just the two post-1.34.0
upstream patches that we earlier backported plus a few fixes
to awk.

* Remove the two backported upstream patches that are
  now unnecessary.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

* busybox: fix compatibility with BUSYBOX_CONFIG_INSTALL_NO_USR

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

* busybox: update to 1.35.0

Update busybox to 1.35.0

* refresh patches

Config refresh:

Refresh commands, run after busybox is first built once:

cd package/utils/busybox/config/
../convert_menuconfig.pl ../../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.35.0
cd ..
./convert_defaults.pl ../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.35.0/.config > Config-defaults.in

Manual edits needed after config refresh:

* Config-defaults.in: OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6

* Config-defaults.in: OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)

* Config-defaults.in: OpenWrt logic applied to
  BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917)

* config/editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)

* config/shell/Config.in : change at "Options common to all shells" the symbol
  SHELL_ASH --> BUSYBOX_CONFIG_SHELL_ASH
  (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
  Apparently our script does not see the hidden option while
  prepending config options with "BUSYBOX_CONFIG_" which leads to a
  missed dependency when the options are later evaluated.)

* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-01-14 12:15:24 +08:00
..
adb Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
bcm27xx-userland bcm27xx: sync upstream source code (#6435) 2021-02-25 15:44:46 +08:00
bcm4908img add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
bsdiff update source 2017-09-06 19:19:45 +08:00
busybox busybox: update to 1.35.0 (#8389) 2022-01-14 12:15:24 +08:00
bzip2 Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
checkpolicy add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ct-bugcheck Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
e2fsprogs add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
f2fs-tools add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
fbtest Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
fritz-tools Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
jboot-tools Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
jsonfilter Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
lua x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lua5.3 Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
mdadm utils/mdadm: fix build on hosts without /run dir (#8651) 2022-01-10 16:56:47 +08:00
mtd-utils add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
nvram add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
osafeloader update source 2017-09-06 19:19:45 +08:00
oseama update source 2017-09-06 19:19:45 +08:00
otrx Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
policycoreutils add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
px5g-mbedtls add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
px5g-wolfssl x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
ravpower-mcu kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350) 2020-08-26 11:31:50 +08:00
secilc add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
spidev_test Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
ucode add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ugps x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
usbmode Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
util-linux util-linux: update to 2.37 (#7427) 2021-07-19 12:50:07 +00:00