164 Commits

Author SHA256 Message Date
7363040bff Accepting request 1299220 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1299220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=93
2025-08-14 09:36:09 +00:00
0e58e16cba Accepting request 1297404 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1297404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=92
2025-08-06 12:31:04 +00:00
d343abcfc3 - revert the change to busybox.install.patch below. The logic will be
needed only in busybox-links package when generating file lists.
- fix mkdir path to point to /usr/bin instead of /bin

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=142
2025-08-04 07:20:14 +00:00
cc1c742188 Accepting request 1294032 from Base:System
Please not this request should be staged after or together with https://build.opensuse.org/request/show/1294030

- add placeholder variable and ignore applet logic to busybox.install 
- enable halt, poweroff, reboot commands (bsc#1243201)

OBS-URL: https://build.opensuse.org/request/show/1294032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=91
2025-07-20 13:28:29 +00:00
5bd23f260d - add placeholder variable and ignore applet logic to busybox.install
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=140
2025-07-17 06:59:38 +00:00
fd62806ef3 - enable halt, poweroff, reboot commands (bsc#1243201)
- annotate CVEs fixed in 1.37.0 in .changes file

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=139
2025-07-10 20:34:09 +00:00
c2c3c66fa7 Accepting request 1273377 from Base:System
- fix regression in hexdump that broke kernel build:
  * busybox-1.37.0-fix-regression-n2.patch
- fix build/tests and hexdump on big endian systems (S390):
  * busybox-1.37.0-hexdump-fix-regression-for-uint16-on-big-endian-syst.patch 
  * busybox-1.37.0-od-make-B-test-little-endian-only-add-variant-for-bi.patch
  * busybox-1.37.0-hexdump-add-tests-for-x-handle-little-big-endian-pro.patch

OBS-URL: https://build.opensuse.org/request/show/1273377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=90
2025-04-30 17:02:40 +00:00
6efe0aa237 add patches to the .changes entries
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=137
2025-04-29 09:40:05 +00:00
0695a48128 - fix regression in hexdump that broke kernel build
- fix build/tests and hexdump on big endian systems (S390)

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=136
2025-04-29 09:13:27 +00:00
23698c416e Accepting request 1252504 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1252504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=89
2025-03-13 14:04:11 +00:00
96fb0dc703 Accepting request 1251856 from home:dirkmueller:Factory
- add busybox-1.37.0-make-ping-work-without-root-privileges.patch
  (bsc#1239176)

- tc-no-TCA_CBQ.patch: Disable TCA_CBQ code if kernel headers don't
-  Add ash-fix-segfault-d417193cf.patch: fix stack overflow vulnerability
    in sleep), ed.
- Update to version 1.36.0
  - try LOOP_CONFIGURE for losetup/loop mounts, but fall back to
- Fix build under SLE-12
  * CVE-2014-9645 (bsc#914660):  strips of / in module names that can lead to loading unwanted modules
  - support for new optoins added to basename, cpio, date, find,
- Adjust busybox.config for new features in find, date and cpio
- Add testsuite-gnu-echo.patch: testing.sh to use GNU echo
  CONFIG_CTTYHACK=y
  - fixes a case where in ash, "wait" never finishes.
- obsolete busybox-1.18.3-libarchive.patch
    truncate, gunzip and unzip.
- Refresh busybox.install.patch
    subsystem match hack it used to have prior to 1.21.x.
  used in header linux/linux/ext2_fs.h
- build against dietlibc unconditionally
- Bug #39461 - Fixes netlink vulnerability
- build with dietlibc where available
  in the following applets, among others: msh, sed, route, syslogd,
- Rewrite of tftp
- Fixed sync.c to compile
- disabled insmod for all archs except IA32, ARM and SH

OBS-URL: https://build.opensuse.org/request/show/1251856
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=134
2025-03-12 14:35:24 +00:00
06934bfeab Accepting request 1206047 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1206047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=88
2024-10-08 15:16:28 +00:00
a4cb87b751 - Add patch to fix build on non-x86* architectures:
* busybox-1.37.0-fix-conditional-for-sha1_process_block64_shaNI.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=132
2024-10-07 09:03:13 +00:00
876861b012 Accepting request 1205684 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1205684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=87
2024-10-04 15:08:43 +00:00
abb765b7a9 - Fix busybox.config again (got broken with 1.37.0 update)
- Cleanup spec file

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=130
2024-10-04 12:09:21 +00:00
a50467c64b - remove unnecessary patch ash-fix-segfault-d417193cf.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=129
2024-09-29 10:02:57 +00:00
63f7d0e551 - Update to 1.37.0
- remove unnecessary patch
- Update default config to match 1.37.0 expectations
- Caveat: some tests may fail on s390x on Tumbleweed

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=128
2024-09-29 09:52:27 +00:00
c7852a0427 Accepting request 1157908 from Base:System
- tc-no-TCA_CBQ.patch: Disable TCA_CBQ code if kernel headers don't 
  support them.

OBS-URL: https://build.opensuse.org/request/show/1157908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=86
2024-03-14 16:43:56 +00:00
f86cbb7b3b - tc-no-TCA_CBQ.patch: Disable TCA_CBQ code if kernel headers don't
support them.

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=126
2024-03-14 09:16:11 +00:00
dc7002714c Accepting request 1132110 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1132110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=85
2023-12-09 21:49:12 +00:00
80cc31766f Accepting request 1132109 from home:kukuk:branches:Base:System
- Install udhcpc and udhcpc6 into the same directory
  (udhcp6-install-path.patch)
- Fully enable udhcpc and document that this tool needs special
  configuration and does not work out of the box [bsc#1217883]

OBS-URL: https://build.opensuse.org/request/show/1132109
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=124
2023-12-08 13:53:15 +00:00
0bab8e70b1 Accepting request 1108060 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1108060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=84
2023-08-31 11:42:27 +00:00
943d2a21af Accepting request 1107908 from home:radolin:branches:Base:System
-  Add ash-fix-segfault-d417193cf.patch: fix stack overflow vulnerability 
   in ash (CVE-2022-48174, bsc#1214538)

OBS-URL: https://build.opensuse.org/request/show/1107908
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=122
2023-08-30 08:28:43 +00:00
4eaa35070d Accepting request 1091097 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1091097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=83
2023-06-07 21:06:29 +00:00
a201ce2668 Accepting request 1090575 from home:dirkmueller:Factory
- update to 1.36.1:
  * fixes for line editing, detection of hardware sha1/sha256
    support, unzip
   (do not create suid/sgid files unless -K),
    shell (printf and sleep with no args, handing of SIGINT
    in sleep), ed.

OBS-URL: https://build.opensuse.org/request/show/1090575
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=120
2023-06-06 13:46:17 +00:00
c3448ab9de Accepting request 1057007 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1057007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=82
2023-01-10 13:59:08 +00:00
8f521dad3c Accepting request 1056385 from home:radolin:branches:Base:System
Update to version 1.36.0

OBS-URL: https://build.opensuse.org/request/show/1056385
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=118
2023-01-09 09:12:19 +00:00
348e8ec0bf Accepting request 1055973 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1055973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=81
2023-01-05 14:00:24 +00:00
47571d1a23 Accepting request 1051647 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1051647
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=116
2023-01-04 18:07:01 +00:00
37619bdbc3 Accepting request 1037649 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1037649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=80
2022-11-24 11:22:36 +00:00
Ihno Krumreich
97ddd30897 Accepting request 1037611 from home:dimstar:Factory
- Add e63d7cdf.patch: awk: fix use after free (CVE-2022-30065,
  boo#1199744).

OBS-URL: https://build.opensuse.org/request/show/1037611
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=114
2022-11-23 16:26:38 +00:00
6a2f5c83a0 Accepting request 1035783 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1035783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=79
2022-11-16 14:42:19 +00:00
cdd3182bee Accepting request 1035770 from home:radolin:branches:Base:System
- Fix build under SLE12

OBS-URL: https://build.opensuse.org/request/show/1035770
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=112
2022-11-15 09:31:32 +00:00
7b5dca71f2 Accepting request 1035299 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1035299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=78
2022-11-14 13:28:55 +00:00
70c69d8726 Accepting request 1035077 from home:radolin:branches:Base:System
Fix .changes entry for 1.35.0 to address comment in declined request 282321 an other submisions to SLE15.

OBS-URL: https://build.opensuse.org/request/show/1035077
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=110
2022-11-11 16:06:23 +00:00
491fe4dd92 Accepting request 1029651 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1029651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=77
2022-10-18 10:44:40 +00:00
2bb103b024 Accepting request 1029581 from home:radolin:branches:Base:System
- Annotate CVEs already fixed in upstream, but not mentioned in .changes:
  * CVE-2014-9645 (bsc#914660):  strips of / in module names that can lead to loading unwanted modules

OBS-URL: https://build.opensuse.org/request/show/1029581
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=108
2022-10-18 06:19:53 +00:00
796dcffbc0 Accepting request 989153 from Base:System
- prepare spec file for rpmbuild --build-in-place --noprep
- use bcond for static and ww3 subpackages
- fix verbose flag

OBS-URL: https://build.opensuse.org/request/show/989153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=76
2022-07-18 16:32:55 +00:00
9afdb37c31 OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=106 2022-07-14 12:36:58 +00:00
e5a79eeebf Accepting request 987007 from home:lnussel:branches:Base:System
- prepare spec file for rpmbuild --build-in-place --noprep
- use bcond for static and ww3 subpackages
- fix verbose flag

OBS-URL: https://build.opensuse.org/request/show/987007
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=105
2022-07-11 12:57:07 +00:00
23200459ab Accepting request 982568 from Base:System
OBS-URL: https://build.opensuse.org/request/show/982568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=75
2022-06-17 19:18:16 +00:00
cb324ff4f0 Accepting request 982448 from home:mpdesouza:branches:Base:System
- Enable switch_root
  With this change virtme --force-initramfs works as expected.

OBS-URL: https://build.opensuse.org/request/show/982448
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=103
2022-06-14 07:36:42 +00:00
6b0edf295c Accepting request 967758 from Base:System
OBS-URL: https://build.opensuse.org/request/show/967758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=74
2022-04-10 17:05:10 +00:00
Ihno Krumreich
08e0fbf5f7 Accepting request 966069 from home:mpdesouza:branches:Base:System
Enable udhcpc

OBS-URL: https://build.opensuse.org/request/show/966069
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=101
2022-04-08 11:20:41 +00:00
50e06266ce Accepting request 964616 from Base:System
OBS-URL: https://build.opensuse.org/request/show/964616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=73
2022-03-28 14:58:28 +00:00
de69b5e8f0 Accepting request 964306 from home:dimstar:Factory
- BuildRequire hostname: the test suite wants to compare the output
  of 'hostname' against 'busybox hostname'. We should not rely
  hostname to be present in the build environment.

OBS-URL: https://build.opensuse.org/request/show/964306
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=99
2022-03-24 10:23:13 +00:00
3318792f4b Accepting request 946465 from Base:System
OBS-URL: https://build.opensuse.org/request/show/946465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=72
2022-01-14 22:13:01 +00:00
a525213321 Accepting request 946463 from home:radolin:branches:Base:System
Fix incorrect bugzilla numbers for CVE-2017-15874 and CVE-2019-5747

OBS-URL: https://build.opensuse.org/request/show/946463
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=98
2022-01-14 16:27:43 +00:00
d97fbe74ba Accepting request 946141 from home:radolin:branches:Base:System
- Update to 1.35.0
  - Adjust busybox.config for new features in find, date and cpio 
- Annotate CVEs already fixed in upstream, but not mentioned in .changes

OBS-URL: https://build.opensuse.org/request/show/946141
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=97
2022-01-13 13:21:50 +00:00
5cd72e80f4 - Update to 1.35.0
- Adjust busybox.config for new features in find, date and cpio

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=96
2022-01-12 15:41:26 +00:00
410677d0cf OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=95 2022-01-12 15:40:34 +00:00
dd44929e91 Accepting request 928280 from Base:System
OBS-URL: https://build.opensuse.org/request/show/928280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=71
2021-11-03 16:25:19 +00:00
4d7ba075c8 Accepting request 928254 from home:coolo:branches:openSUSE:Factory
- Disable crc32 to avoid conflict with perl-Archive-Zip
  (until some project really requires crc32)

OBS-URL: https://build.opensuse.org/request/show/928254
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=94
2021-10-30 15:42:54 +00:00
ffc021a07d osc copypac from project:openSUSE:Factory package:busybox revision:68, using expand
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=70
2021-10-30 07:27:51 +00:00
17d1f7688f Accepting request 927965 from Base:System
OBS-URL: https://build.opensuse.org/request/show/927965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=69
2021-10-29 20:33:56 +00:00
Ihno Krumreich
27c2717678 Accepting request 927936 from home:eeich:branches:Base:System
- Build busybox-warewulf3 for i586 as well. This allowes to set up
  i586 nodes.

OBS-URL: https://build.opensuse.org/request/show/927936
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=93
2021-10-28 13:02:22 +00:00
5040491c97 Accepting request 927035 from home:llansky3:branches:Base:System
Enable fdisk and testsuite to use GNU echo

OBS-URL: https://build.opensuse.org/request/show/927035
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=92
2021-10-26 14:40:09 +00:00
9da16c7fa1 Accepting request 926821 from home:coolo:branches:openSUSE:Factory
- Remove the duplicated config entries and construct the snippets
  on the fly based on the main config. This way it's easier to
  keep track of what's different

- Update to 1.34.1:
  * build system: use SOURCE_DATE_EPOCH for timestamp if available
  * many bug fixes and new features
  * touch: make FEATURE_TOUCH_NODEREF unconditional

OBS-URL: https://build.opensuse.org/request/show/926821
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=91
2021-10-26 14:04:43 +00:00
005b227ccf Accepting request 925383 from Base:System
OBS-URL: https://build.opensuse.org/request/show/925383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=68
2021-10-18 20:03:29 +00:00
Ihno Krumreich
32e4efdf4b Accepting request 924964 from home:eeich:branches:Base:System
- Create separate 'Warewulf3' (https://github.com/warewulf/warewulf3)
  flavor of busybox with the
  additional setting:
  CONFIG_REBOOT=y
  CONFIG_SWITCH_ROOT=y
  CONFIG_CTTYHACK=y 
  (bsc#1191514).

OBS-URL: https://build.opensuse.org/request/show/924964
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=90
2021-10-15 08:33:08 +00:00
67dea2a96c Accepting request 892050 from Base:System
OBS-URL: https://build.opensuse.org/request/show/892050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=67
2021-05-12 17:31:42 +00:00
bef21c8c07 Accepting request 891384 from home:AndreasStieger:branches:Base:System
busybox 1.33.1

OBS-URL: https://build.opensuse.org/request/show/891384
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=88
2021-05-10 13:45:30 +00:00
a51aa0129a Accepting request 868685 from Base:System
- Update to version 1.33.0
  - many bug fixes and new features
- update_passwd_selinux_fix.patch upstream compile fix for SELinux (forwarded request 868684 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/868685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=66
2021-02-07 14:14:19 +00:00
81ed445f5a Accepting request 868684 from home:kukuk:container
- Update to version 1.33.0
  - many bug fixes and new features
- update_passwd_selinux_fix.patch upstream compile fix for SELinux

OBS-URL: https://build.opensuse.org/request/show/868684
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=86
2021-02-02 15:43:27 +00:00
5195bd2729 Accepting request 860409 from Base:System
- Update to version 1.32.1
  - fixes a case where in ash, "wait" never finishes. 

- sendmail-ignore-F-option.patch: ignore -F option as used by
  cron (workaround for [bbn#13426]) (forwarded request 860408 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/860409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=65
2021-01-06 18:55:40 +00:00
67d783471a Accepting request 860408 from home:kukuk:container
- Update to version 1.32.1
  - fixes a case where in ash, "wait" never finishes. 

- sendmail-ignore-F-option.patch: ignore -F option as used by
  cron (workaround for [bbn#13426])

OBS-URL: https://build.opensuse.org/request/show/860408
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=84
2021-01-05 09:00:02 +00:00
8bdcbedbf9 Accepting request 856498 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/856498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=64
2020-12-18 18:52:32 +00:00
52f14fa62c Accepting request 853557 from Base:System
- cpio-long-opt.patch: add more long options to cpio for IBS/unrpm

OBS-URL: https://build.opensuse.org/request/show/853557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=63
2020-12-09 21:11:24 +00:00
37f162f0c7 - Don't require nogroup for adduser command, as this can lead to
a dependency cycle with sysusers-tools.

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=81
2020-12-09 14:41:24 +00:00
ca2cb2b5de - cpio-long-opt.patch: add more long options to cpio for IBS/unrpm
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=80
2020-12-07 10:52:11 +00:00
738a3cb886 Accepting request 852917 from Base:System
OBS-URL: https://build.opensuse.org/request/show/852917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=62
2020-12-04 20:27:45 +00:00
5689b35720 Accepting request 852893 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/852893
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=78
2020-12-03 13:59:15 +00:00
c7fa3533de Accepting request 839288 from Base:System
OBS-URL: https://build.opensuse.org/request/show/839288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=61
2020-10-08 11:08:02 +00:00
988d41be0b Accepting request 839287 from home:kukuk:container
- Disable RPM builtin, did become pretty useless
- Disable popmaildir and mime utilities

OBS-URL: https://build.opensuse.org/request/show/839287
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=76
2020-10-03 07:40:49 +00:00
95e70b2789 Accepting request 828495 from Base:System
- Set CONFIG_FIRST_SYSTEM_ID to 101 as we use 100 already as fixed
  ID for a system account.
- Require group "nogroup" (used by adduser) (forwarded request 828493 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/828495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=60
2020-09-01 18:01:24 +00:00
aaca560b27 Accepting request 828493 from home:kukuk:container
- Set CONFIG_FIRST_SYSTEM_ID to 101 as we use 100 already as fixed
  ID for a system account.
- Require group "nogroup" (used by adduser)

OBS-URL: https://build.opensuse.org/request/show/828493
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=74
2020-08-21 12:50:54 +00:00
0be0e26393 Accepting request 826044 from Base:System
- Enable SELinux for the dynamic version

OBS-URL: https://build.opensuse.org/request/show/826044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=59
2020-08-14 07:32:07 +00:00
682c9589d8 - Enable SELinux for the dynamic version
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=72
2020-08-12 13:44:45 +00:00
1cdcb7c2d1 Accepting request 822592 from Base:System
OBS-URL: https://build.opensuse.org/request/show/822592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=58
2020-07-29 15:15:40 +00:00
4ad9196269 Accepting request 822590 from home:kukuk:container
- Update to busybox 1.32.0
  - many bugfixes and new features
  - Obsoletes busybox-no-stime.patch
- Disable ftpget/ftpput, non-standard, ftp is outdated
- Disable run-init, we don't use that
- Disable cttyhack, we don't provide the calling tools
- Disable dnsd

OBS-URL: https://build.opensuse.org/request/show/822590
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=70
2020-07-24 09:10:04 +00:00
021ec02fc5 Accepting request 820440 from Base:System
- Enable syslogd for containers (forwarded request 820439 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/820440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=57
2020-07-15 09:32:21 +00:00
c067abf701 Accepting request 820439 from home:kukuk:container
- Enable syslogd for containers

OBS-URL: https://build.opensuse.org/request/show/820439
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=68
2020-07-11 18:40:40 +00:00
25439fbe5d Accepting request 819364 from home:coolo:branches:openSUSE:Factory
- Enable testsuite and package it for later rerun (for QA,
  jsc#CAR-15)

OBS-URL: https://build.opensuse.org/request/show/819364
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=67
2020-07-08 07:52:43 +00:00
0f019d0673 Accepting request 794857 from Base:System
- Re-add modutils (forwarded request 794856 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/794857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=56
2020-05-09 17:47:51 +00:00
b923dad709 Accepting request 794856 from home:kukuk:container
- Re-add modutils

OBS-URL: https://build.opensuse.org/request/show/794856
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=65
2020-04-17 09:47:15 +00:00
8d0cb566e7 Accepting request 792902 from home:kukuk:container
- Set last ID to 65533, else nobody cannot be created
- Merge config of default, -container and -static to be able to
  drop -container variant

OBS-URL: https://build.opensuse.org/request/show/792902
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=64
2020-04-10 08:09:23 +00:00
302dcba41f Accepting request 778275 from Base:System
- Disable CONFIG_FEATURE_NSLOOKUP_BIG as it leads to incompatible
  nslookup behavior

OBS-URL: https://build.opensuse.org/request/show/778275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=55
2020-02-25 15:01:25 +00:00
ce590300ee - Disable CONFIG_FEATURE_NSLOOKUP_BIG as it leads to incompatible
nslookup behavior

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=62
2020-02-22 17:48:02 +00:00
b7924ab585 Accepting request 772655 from Base:System
- Eanble FEATURE_TFTP_HPA_COMPAT and SH_MATH_BASE

- Update to version 1.31.1:
  + Bug fix release. 1.30.1 has fixes for dc, ash (PS1 expansion
    fix), hush, dpkg-deb, telnet and wget.
- Changes from version 1.31.0:
  + many bugfixes and new features.
- Add busybox-no-stime.patch: stime() has been deprecated in glibc
  2.31 and replaced with clock_settime().

OBS-URL: https://build.opensuse.org/request/show/772655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=54
2020-02-15 21:21:44 +00:00
792fb9489d - Eanble FEATURE_TFTP_HPA_COMPAT and SH_MATH_BASE
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=60
2020-02-10 11:46:43 +00:00
2c863f31f7 Accepting request 772350 from home:dimstar:Factory
- Update to version 1.31.1:

NOTE: There are a few new config parameters I added as 'unset' to the
      various .config files. They might need to be tweaked a bit

This version, together with the patch added, builds successfully
 against glibc 2.31 (Staging_B) - so would be quite important to
 get submitted to Factory soon

OBS-URL: https://build.opensuse.org/request/show/772350
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=59
2020-02-10 11:27:06 +00:00
6fc17dfdde Accepting request 742257 from Base:System
- Add man.conf to container variant (forwarded request 742256 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/742257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=53
2019-10-25 16:42:09 +00:00
70ee979d9d Accepting request 742256 from home:kukuk:branches:Base:System
- Add man.conf to container variant

OBS-URL: https://build.opensuse.org/request/show/742256
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=57
2019-10-23 20:36:10 +00:00
96fccd963c Accepting request 732096 from Base:System
OBS-URL: https://build.opensuse.org/request/show/732096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=52
2019-09-26 18:36:08 +00:00
4e8b0edbfb Accepting request 730727 from home:jengelh:branches:Base:System
- Trim marketing from description.

OBS-URL: https://build.opensuse.org/request/show/730727
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=55
2019-09-20 07:58:17 +00:00
3c9a5fd1b0 Accepting request 726502 from Base:System
OBS-URL: https://build.opensuse.org/request/show/726502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=51
2019-09-07 09:25:28 +00:00
Ihno Krumreich
cf4c647bbb Accepting request 725315 from home:kukuk:container
- Drop busybox-rpm-E.patch, not needed anymore
- Create new "container" subpackage with special stripped down
  version for container images (8MB instead of 15MB).

OBS-URL: https://build.opensuse.org/request/show/725315
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=53
2019-08-27 14:02:41 +00:00
b06e6a775b Accepting request 720716 from Base:System
OBS-URL: https://build.opensuse.org/request/show/720716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=50
2019-08-15 10:22:37 +00:00
dafc3316e0 Accepting request 718762 from home:kukuk:container
- Provide "useradd_or_adduser_dep" for sysuser-shadow

OBS-URL: https://build.opensuse.org/request/show/718762
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=51
2019-08-02 18:50:05 +00:00
d64861e197 Accepting request 690641 from Base:System
OBS-URL: https://build.opensuse.org/request/show/690641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=49
2019-04-04 12:12:29 +00:00
Ihno Krumreich
08d47d0085 Accepting request 689870 from home:kukuk:container
- Implement rpm -E %_dbpath for kiwi (busybox-rpm-E.patch)
- Don't require /bin/sh, be self contained

- update to 1.30.1
  * many bugfixes and new features
- obsolete busybox-1.18.3-libarchive.patch 
- obsolete busybox-resource.patch
- Update busybox*.config
- Merge busybox.spec and busybox-static.spec and build the static
  binary as subpackage

OBS-URL: https://build.opensuse.org/request/show/689870
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=49
2019-04-02 11:46:57 +00:00
755ee08496 Accepting request 631395 from Base:System
OBS-URL: https://build.opensuse.org/request/show/631395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=48
2018-09-11 15:10:37 +00:00
Ihno Krumreich
3dce635314 Accepting request 630988 from home:jjolly:branches:Base:System
Added functionality to busybox for warewulf

OBS-URL: https://build.opensuse.org/request/show/630988
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=47
2018-08-24 14:44:09 +00:00
b472d0e8b5 Accepting request 566408 from Base:System
OBS-URL: https://build.opensuse.org/request/show/566408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=47
2018-01-20 10:21:57 +00:00
Ihno Krumreich
4830614a55 Accepting request 540624 from home:kukuk:no-sunrpc
- Disable RPC/NFS, we don't have a static libtirpc

- Build against libtirpc in preparation of deprecating sunrpc from
  glibc

OBS-URL: https://build.opensuse.org/request/show/540624
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=45
2018-01-16 12:41:30 +00:00
660d1c7d77 Accepting request 507998 from Base:System
- update to 1.26.2:
  * many updates and fixes to individual tools

- update to 1.26.2:
  * many updates and fixes to individual tools

OBS-URL: https://build.opensuse.org/request/show/507998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=46
2017-08-12 17:58:44 +00:00
39b222541e Accepting request 507584 from home:AndreasStieger:branches:Base:System
busybox 1.26.2

-static still failing

OBS-URL: https://build.opensuse.org/request/show/507584
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=43
2017-07-03 20:30:00 +00:00
7b98fa10cf Accepting request 438723 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/438723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=45
2016-11-07 12:25:14 +00:00
43e40eecee Accepting request 438172 from home:AndreasStieger:branches:Base:System
busybox 1.25.1

OBS-URL: https://build.opensuse.org/request/show/438172
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=41
2016-11-04 16:30:02 +00:00
214c806639 Accepting request 367533 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/367533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=44
2016-03-09 14:16:22 +00:00
8fa169c34c Accepting request 365337 from home:olh:branches:Base:System
- Disable build timestamp

OBS-URL: https://build.opensuse.org/request/show/365337
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=39
2016-03-07 12:34:52 +00:00
b97f39b134 Accepting request 351875 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/351875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=43
2016-01-08 14:21:50 +00:00
9656192800 Accepting request 351758 from home:posophe:branches:Base:System
update

OBS-URL: https://build.opensuse.org/request/show/351758
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=37
2016-01-04 10:41:29 +00:00
Stephan Kulow
ec682e1405 Accepting request 303927 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/303927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=42
2015-04-27 05:46:33 +00:00
Stephan Kulow
e0aa46df30 Accepting request 298217 from home:pluskalm:branches:Base:System
- Update to 1.23.2
  * for a full list of changes see http://www.busybox.net/news.html
- Cleaned up spec file with spec-cleaner
- Refreshed patches

- Update to 1.23.2
  * for a full list of changes see http://www.busybox.net/news.html
- Cleaned up spec file with spec-cleaner
- Refreshed patches

OBS-URL: https://build.opensuse.org/request/show/298217
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=35
2015-04-25 09:02:17 +00:00
Stephan Kulow
e58ed1401a Accepting request 256698 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/256698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=41
2014-10-18 07:08:08 +00:00
Tomáš Chvátal
0694d463f1 Accepting request 254841 from home:olh:branches:Base:System
- Remove mkinitrd scripts

OBS-URL: https://build.opensuse.org/request/show/254841
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=33
2014-10-15 12:07:49 +00:00
Stephan Kulow
98e41eb980 Accepting request 247683 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/247683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=40
2014-09-07 09:08:33 +00:00
eff82f8634 Accepting request 247618 from home:AndreasStieger:branches:Base:System
busybox 1.22.1

OBS-URL: https://build.opensuse.org/request/show/247618
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=31
2014-09-05 10:53:52 +00:00
Stephan Kulow
e60fec11ed Accepting request 211087 from Base:System
- Update to version 1.21.1
  + fixes for ntfs detection (big-endian fix)
  + xz decompression of concatenated streams
  + mdev acquired a [ENV=regex;] extension instead of undocumented
    subsystem match hack it used to have prior to 1.21.x. 
- Changes from 1.21.0
  + udhcpc: gracefully handle packets with CHECKSUM_PARTIAL
  + ifupdown: improve compatibility with Debian
  + get_linux_version_code: don't fail on Linux version strings
    like "3.0-foo"
  + build system: fix build failure when only gunzip is selected
  + CONFIG_PID_FILE_PATH: new configuration option for pidfile paths
  + declare strings with ALIGN1, as appropriate
  + nanddump: use the right operator of logic AND
  + nanddump: skip bad blocks when instructed to do so
  + nanddump: invert the meaning of the -o parameter to match upstream
  + mount: fix -o user=foo mishandling, fix unc= generation, add prefixpath=
  + build system: fix build of kconfig on Darwin
  + tar: support -J, --xz explicit compression option
  + simplify copyright/license notice that appears in the binary
  + mdev: tell kernel that we didn't find the firmware
  + lineedit: fix Alt-D when cursor==0
  + lineedit: histfile can get emptied when CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
  + build system: stop .eh_frame generation
  + build system: fix build failure when compressed help is selected, but bz2 compression is not
  + scripts/kconfig/mconf: work on systems w/o SIGWINCH
  + platform.h: disable ALIGNn macros for s390[x]
  + adduser: install to /usr, not /, like all other similar tools
  + ash: fix "read -s" + ^C. Closes 5504
  + ash: fix a bug in >${varexp} handling. Closes 5282
  + ash: implement export -n
  + ash: revert wrong "fix" for an apparent memory leak. Closes 5822
  + awk: fix FS assignment behavior. Closes 5108
  + awk: make -F STR interpret escape sequences. Closes 5126
  + brctl: fix build failure by s/strtotimeval/bb_strtotimeval/ (android has strtotimeval)
  + busybox: tweak help text and copyright year
  + decompress_uncompress: comment out debug printout on corrupted data
  + decompress_uncompress: move 'code' variable into loop - sole user
  + dhcpd: write lease file on exit
  + dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324
  + du: document incompatibility with standard tool
  + examples/mdev_fat.conf: small addition
  + find: if DESKTOP=y, support -wholename (synonym for -path)
  + find: make -mindepth N -xdev correctly stop on mountpoints
  + ftpd: fix MDTM's month value. Closes 5336
  + ftpd: free allocated string on error path
  + getty: fix for NOCTTY killing us with SIGHUP
  + grep: fix grep -Fw not respecting the -w option. Closes 5792
  + ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes 5786
  + libbb: correctness/size tweaks in signal-related helpers
  + lineedit: in !EDITING config, return -1 on fgets error
  + login: increase login name size limit from 32 to 64
  + lpr: don't send 0-byte print jobs (compat)
  + man: fix handling of gzipped manpages
  + mdev: add support for $DEVNAME and /dev/mdev.log debug aid
  + mdev: fix mode of dir1 in =dir1/dir2/file rule
  + mdev: remove undocumented subsystem/devname matching hack
  + mdev: when found, print major,minor into mdev.log
  + modprobe_small: make rmmod to NOT remove dependencies. Closes 5162
  + mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240
  + mount: fix the wrongly stored fs creation time
  + mount: set up RO loop device if mount -o ro. Closes 4784
  + mount: support strictatime option. Closes 5240
  + ntpd: on time step, kill all outstanding replies from other peers
  + sed: fix handling of s/// which has empty matches
  + sed: fix zero chars match/replace
  + sha3: make size/speed optimization decision configurable
  + syslogd: do not segfault on parse error when using default config. Closes 5762
  + telnet: convert CR -> CR LF, not CR -> CR NUL when sending data to server
  + telnet: convert Enter -> CR LF in line mode too
  + tftpd: fix -u USER to work with chroot. Closes 5348
  + top/ps: argv0:"gdm-session-worker [pam/gdm-password]" == comm:"gdm-session-wor"
  + top: do not touch stdin if -b
  + top: fix "last CPU" parsing
  + top: implement scrolling up/down (_very_ useful)
  + udhcp[cd]: fix binding to network aliases. Closes 5432, 5438
  + udhcpc: make -O <numeric_opt> work. Closes 5402
  + udhcpc[6]: show select timeout in log
  + unzip: make options parsing more robust on getopt w/o gnu extensions
  + vi: do not set autoindent by default
  + vi: nuke FEATURE_VI_OPTIMIZE_CURSOR
  + vi: save/restore screen upon invocation
  + volume_id/ext: detect ext4 too
  + wget: correctly handle failure to -c (continue)
  + wget: make -c _not_ truncate the file
  + wget: reorder fread and poll: poll only if fread returns EAGAIN. Closes 5426
  + wget: try reading after poll timeout - stdio may have buffered data. Closes 5426
  + acpid: add missing lid switch definition
  + tar: fix 256-bit encoded number decoding
  + udhcpc[6]: allow discover_retries == 0 (infinite)
  + ash: fix a memory leak
  + sysctl: implement -q
  + powertop: fix error message
  + sha3sum: new applet
  + fbset: respect rgba configuration lines in fb.modes
  + fbsplash: support non-RGB565 pixels in 16-bit mode
  + flashcp: remove unused variable opts
  + mount: add unc option to CIFS mount (needed for Linux 3.4+)
  + nanddump: make dumping read-only partitions work
  + ps: use separate get_uptime() and make it work on non-linux too
  + declare strings with ALIGN1, as appropriate
  + udhcpc6: depend on ipv6
  + include sys/resource.h where needed
  + disable format security warnings
  + build system: use pkg-config to look up selinux libs
  + ifenslave: fix missing close paren
  + sed: allow 'w' cmd to use two address form
  + tar: implement --no-recursion
  + unzip: ignore chmod errors
  + brctl: fix description and usage
  + su: do not change to home dir unless -l
  + ntpd: fix incorrect m_status field in outgoing packets. Closes 5120
  + dmesg: handle multi-char log levels
  + klogd: handle multi-char log levels
  + syslogd: add option to log to Linux kernel printk buffer
  + syslogd: convert dummy functions to statics and get rid of IF_FEATURE_* checks
  + config: do not refer to HTTPS for wget
  + sendmail: use host rather than NIS domain name for HELO
  + mktemp: fix mktemp -u temp.XXXXXX returning garbage when TMPDIR is set
  + blkid: show filesystem when both label and UUID are missing, but type is known
  + volume_id: add exFAT detection
  + ln: support -T and -v
  + sed: support long opts and -iSFX
  + mkdir,rmdir: accept and ignore -v, --verbose
  + mv: accept but ignore -v
  + blkid: add type display for btrfs
  + blkid: add support for nilfs2
  + blkid: add type display for hfsplus
  + volume_id: display hfs[+] 128-bit UUID properly
  + volume_id: uuid_format small code shrink
  + volume_id: add squashfs detection
  + testsuite: some more awk tests related to conditions
  + modinfo: match more standard module fields and fix version field
  + inetd: fix build failure in Android
  + android: fix 'stat', ifdef S_TYPEIS* in coreutiles/stat.c
  + platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH
  + android: some sensible defconfig changes
  + libbb: add missing_syscalls.c: for now, only Android syscalls
  + fbsplash: fix regression from e4fa7b7
  + adduser: make it accept "adduser USER GROUP" form
  + wget: add dummy --no-cache
  + testsuite: make mkfs.minix test not fail spuriously on big endian
  + refactor correct_password.c to avoid one if (forwarded request 210745 from posophe)

OBS-URL: https://build.opensuse.org/request/show/211087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=38
2013-12-19 11:06:27 +00:00
995decc282 Accepting request 210745 from home:posophe:branches:Base:System
- Update to version 1.21.1
  + fixes for ntfs detection (big-endian fix)
  + xz decompression of concatenated streams
  + mdev acquired a [ENV=regex;] extension instead of undocumented
    subsystem match hack it used to have prior to 1.21.x. 
- Changes from 1.21.0
  + udhcpc: gracefully handle packets with CHECKSUM_PARTIAL
  + ifupdown: improve compatibility with Debian
  + get_linux_version_code: don't fail on Linux version strings
    like "3.0-foo"
  + build system: fix build failure when only gunzip is selected
  + CONFIG_PID_FILE_PATH: new configuration option for pidfile paths
  + declare strings with ALIGN1, as appropriate
  + nanddump: use the right operator of logic AND
  + nanddump: skip bad blocks when instructed to do so
  + nanddump: invert the meaning of the -o parameter to match upstream
  + mount: fix -o user=foo mishandling, fix unc= generation, add prefixpath=
  + build system: fix build of kconfig on Darwin
  + tar: support -J, --xz explicit compression option
  + simplify copyright/license notice that appears in the binary
  + mdev: tell kernel that we didn't find the firmware
  + lineedit: fix Alt-D when cursor==0
  + lineedit: histfile can get emptied when CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
  + build system: stop .eh_frame generation
  + build system: fix build failure when compressed help is selected, but bz2 compression is not
  + scripts/kconfig/mconf: work on systems w/o SIGWINCH
  + platform.h: disable ALIGNn macros for s390[x]
  + adduser: install to /usr, not /, like all other similar tools
  + ash: fix "read -s" + ^C. Closes 5504
  + ash: fix a bug in >${varexp} handling. Closes 5282
  + ash: implement export -n
  + ash: revert wrong "fix" for an apparent memory leak. Closes 5822
  + awk: fix FS assignment behavior. Closes 5108
  + awk: make -F STR interpret escape sequences. Closes 5126
  + brctl: fix build failure by s/strtotimeval/bb_strtotimeval/ (android has strtotimeval)
  + busybox: tweak help text and copyright year
  + decompress_uncompress: comment out debug printout on corrupted data
  + decompress_uncompress: move 'code' variable into loop - sole user
  + dhcpd: write lease file on exit
  + dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324
  + du: document incompatibility with standard tool
  + examples/mdev_fat.conf: small addition
  + find: if DESKTOP=y, support -wholename (synonym for -path)
  + find: make -mindepth N -xdev correctly stop on mountpoints
  + ftpd: fix MDTM's month value. Closes 5336
  + ftpd: free allocated string on error path
  + getty: fix for NOCTTY killing us with SIGHUP
  + grep: fix grep -Fw not respecting the -w option. Closes 5792
  + ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes 5786
  + libbb: correctness/size tweaks in signal-related helpers
  + lineedit: in !EDITING config, return -1 on fgets error
  + login: increase login name size limit from 32 to 64
  + lpr: don't send 0-byte print jobs (compat)
  + man: fix handling of gzipped manpages
  + mdev: add support for $DEVNAME and /dev/mdev.log debug aid
  + mdev: fix mode of dir1 in =dir1/dir2/file rule
  + mdev: remove undocumented subsystem/devname matching hack
  + mdev: when found, print major,minor into mdev.log
  + modprobe_small: make rmmod to NOT remove dependencies. Closes 5162
  + mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240
  + mount: fix the wrongly stored fs creation time
  + mount: set up RO loop device if mount -o ro. Closes 4784
  + mount: support strictatime option. Closes 5240
  + ntpd: on time step, kill all outstanding replies from other peers
  + sed: fix handling of s/// which has empty matches
  + sed: fix zero chars match/replace
  + sha3: make size/speed optimization decision configurable
  + syslogd: do not segfault on parse error when using default config. Closes 5762
  + telnet: convert CR -> CR LF, not CR -> CR NUL when sending data to server
  + telnet: convert Enter -> CR LF in line mode too
  + tftpd: fix -u USER to work with chroot. Closes 5348
  + top/ps: argv0:"gdm-session-worker [pam/gdm-password]" == comm:"gdm-session-wor"
  + top: do not touch stdin if -b
  + top: fix "last CPU" parsing
  + top: implement scrolling up/down (_very_ useful)
  + udhcp[cd]: fix binding to network aliases. Closes 5432, 5438
  + udhcpc: make -O <numeric_opt> work. Closes 5402
  + udhcpc[6]: show select timeout in log
  + unzip: make options parsing more robust on getopt w/o gnu extensions
  + vi: do not set autoindent by default
  + vi: nuke FEATURE_VI_OPTIMIZE_CURSOR
  + vi: save/restore screen upon invocation
  + volume_id/ext: detect ext4 too
  + wget: correctly handle failure to -c (continue)
  + wget: make -c _not_ truncate the file
  + wget: reorder fread and poll: poll only if fread returns EAGAIN. Closes 5426
  + wget: try reading after poll timeout - stdio may have buffered data. Closes 5426
  + acpid: add missing lid switch definition
  + tar: fix 256-bit encoded number decoding
  + udhcpc[6]: allow discover_retries == 0 (infinite)
  + ash: fix a memory leak
  + sysctl: implement -q
  + powertop: fix error message
  + sha3sum: new applet
  + fbset: respect rgba configuration lines in fb.modes
  + fbsplash: support non-RGB565 pixels in 16-bit mode
  + flashcp: remove unused variable opts
  + mount: add unc option to CIFS mount (needed for Linux 3.4+)
  + nanddump: make dumping read-only partitions work
  + ps: use separate get_uptime() and make it work on non-linux too
  + declare strings with ALIGN1, as appropriate
  + udhcpc6: depend on ipv6
  + include sys/resource.h where needed
  + disable format security warnings
  + build system: use pkg-config to look up selinux libs
  + ifenslave: fix missing close paren
  + sed: allow 'w' cmd to use two address form
  + tar: implement --no-recursion
  + unzip: ignore chmod errors
  + brctl: fix description and usage
  + su: do not change to home dir unless -l
  + ntpd: fix incorrect m_status field in outgoing packets. Closes 5120
  + dmesg: handle multi-char log levels
  + klogd: handle multi-char log levels
  + syslogd: add option to log to Linux kernel printk buffer
  + syslogd: convert dummy functions to statics and get rid of IF_FEATURE_* checks
  + config: do not refer to HTTPS for wget
  + sendmail: use host rather than NIS domain name for HELO
  + mktemp: fix mktemp -u temp.XXXXXX returning garbage when TMPDIR is set
  + blkid: show filesystem when both label and UUID are missing, but type is known
  + volume_id: add exFAT detection
  + ln: support -T and -v
  + sed: support long opts and -iSFX
  + mkdir,rmdir: accept and ignore -v, --verbose
  + mv: accept but ignore -v
  + blkid: add type display for btrfs
  + blkid: add support for nilfs2
  + blkid: add type display for hfsplus
  + volume_id: display hfs[+] 128-bit UUID properly
  + volume_id: uuid_format small code shrink
  + volume_id: add squashfs detection
  + testsuite: some more awk tests related to conditions
  + modinfo: match more standard module fields and fix version field
  + inetd: fix build failure in Android
  + android: fix 'stat', ifdef S_TYPEIS* in coreutiles/stat.c
  + platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH
  + android: some sensible defconfig changes
  + libbb: add missing_syscalls.c: for now, only Android syscalls
  + fbsplash: fix regression from e4fa7b7
  + adduser: make it accept "adduser USER GROUP" form
  + wget: add dummy --no-cache
  + testsuite: make mkfs.minix test not fail spuriously on big endian
  + refactor correct_password.c to avoid one if

OBS-URL: https://build.opensuse.org/request/show/210745
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=29
2013-12-16 16:53:52 +00:00
Tomáš Chvátal
b3c410705b Accepting request 186768 from Base:System
- Build against glibc-devel-static to work around uClibc segfault;
  (bnc#758843).
  * Remove uClibc specific busybox.uClibc-build-fix.patch.
  * Add busybox-static.SuSE.config, which specifies CONFIG_STATIC=y. (forwarded request 186665 from dmdiss) (forwarded request 186728 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/186768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=36
2013-08-19 11:33:23 +00:00
29995079ea Accepting request 186728 from Base:System
- Build against glibc-devel-static to work around uClibc segfault;
  (bnc#758843).
  * Remove uClibc specific busybox.uClibc-build-fix.patch.
  * Add busybox-static.SuSE.config, which specifies CONFIG_STATIC=y. (forwarded request 186665 from dmdiss)

OBS-URL: https://build.opensuse.org/request/show/186728
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=27
2013-08-12 15:07:28 +00:00
Stephan Kulow
f72d875ab0 Accepting request 145072 from Base:System
update to 1.20.2 (forwarded request 144839 from posophe)

OBS-URL: https://build.opensuse.org/request/show/145072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=34
2012-12-14 05:34:48 +00:00
ef471214eb Accepting request 144839 from home:posophe:branches:Base:System
update to 1.20.2

OBS-URL: https://build.opensuse.org/request/show/144839
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=25
2012-12-11 12:41:58 +00:00
Stephan Kulow
15018dda38 Accepting request 129593 from Base:System
- Add missing sys/resource include (glibc 2.16)

- fix path in busybox.install (bnc#680153)

- Add missing sys/resource include (glibc 2.16)

OBS-URL: https://build.opensuse.org/request/show/129593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=33
2012-08-27 13:52:54 +00:00
57fa87d493 - fix path in busybox.install (bnc#680153)
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=23
2012-08-01 14:17:18 +00:00
3bfdc5d399 Accepting request 128187 from home:a_jaeger:FactoryFix
Add missing sys/resource include (glibc 2.16) (fixed changes entry)

OBS-URL: https://build.opensuse.org/request/show/128187
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=22
2012-07-18 16:11:10 +00:00
Stephan Kulow
cbf142c050 Accepting request 123856 from Base:System
more complete fix for latest ext2_fs.h breakage from busybox git (forwarded request 123855 from seife)

OBS-URL: https://build.opensuse.org/request/show/123856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=31
2012-06-06 16:02:16 +00:00
Stefan Seyfried
5c474ed224 Accepting request 123855 from home:seife:branches:Base:System
more complete fix for latest ext2_fs.h breakage from busybox git

OBS-URL: https://build.opensuse.org/request/show/123855
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=20
2012-06-06 14:26:52 +00:00
Stephan Kulow
6592e7885f Accepting request 113273 from Base:System
- busybox-1.19.4-typedef_umode_t.patch:
  fix compile as umode_t is only defined with KERNEL and is
  used in header linux/linux/ext2_fs.h

- update to 1.19.4
  - fix getty, mdev, modinfo and wget
- update to 1.19.3
  - fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
  - fix ash/hush, cttyhack, find, grep, less, patch, sed, top, 
    uncompress
- update to 1.19.0:
  - countless fixes in all utility programs, please see
    http://www.busybox.net/ for details
- remove obsolete patches previously marked as upstreamed

- busybox-1.19.4-typedef_umode_t.patch:
  fix compile as umode_t is only defined with KERNEL and is
  used in header linux/linux/ext2_fs.h 

- update to 1.19.4
  - fix getty, mdev, modinfo and wget
- update to 1.19.3
  - fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
  - fix ash/hush, cttyhack, find, grep, less, patch, sed, top,
    uncompress
- update to 1.19.0:
  - countless fixes in all utility programs, please see
    http://www.busybox.net/ for details (forwarded request 113102 from oertel)

OBS-URL: https://build.opensuse.org/request/show/113273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=30
2012-04-12 07:20:10 +00:00
95e97af54a Accepting request 113102 from home:oertel:branches:openSUSE:Factory
- busybox-1.19.4-typedef_umode_t.patch:
  fix compile as umode_t is only defined with KERNEL and is
  used in header linux/linux/ext2_fs.h

- update to 1.19.4
  - fix getty, mdev, modinfo and wget
- update to 1.19.3
  - fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
  - fix ash/hush, cttyhack, find, grep, less, patch, sed, top, 
    uncompress
- update to 1.19.0:
  - countless fixes in all utility programs, please see
    http://www.busybox.net/ for details
- remove obsolete patches previously marked as upstreamed

- busybox-1.19.4-typedef_umode_t.patch:
  fix compile as umode_t is only defined with KERNEL and is
  used in header linux/linux/ext2_fs.h 

- update to 1.19.4
  - fix getty, mdev, modinfo and wget
- update to 1.19.3
  - fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
  - fix ash/hush, cttyhack, find, grep, less, patch, sed, top,
    uncompress
- update to 1.19.0:
  - countless fixes in all utility programs, please see
    http://www.busybox.net/ for details

OBS-URL: https://build.opensuse.org/request/show/113102
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=18
2012-04-11 18:33:48 +00:00
Stephan Kulow
b0e16a84d0 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=29
2011-12-06 17:02:04 +00:00
Stephan Kulow
858a7b9737 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=28
2011-12-06 17:02:02 +00:00
Ruediger Oertel
c499d2565e Accepting request 86402 from Base:System
- cross-build fix: use %__cc macro, set HOSTCC

- cross-build fix: use %__cc macro, set HOSTCC (forwarded request 86375 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=26
2011-10-04 16:07:31 +00:00
232780dcf5 Accepting request 86375 from home:uli_suse:branches:Base:System
- cross-build fix: use %__cc macro, set HOSTCC

- cross-build fix: use %__cc macro, set HOSTCC

OBS-URL: https://build.opensuse.org/request/show/86375
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=16
2011-10-04 08:31:06 +00:00
Sascha Peilicke
3feb7d2bae Accepting request 83850 from Base:System
OBS-URL: https://build.opensuse.org/request/show/83850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=25
2011-09-21 14:56:23 +00:00
Stephan Kulow
b9446f38d0 Accepting request 82931 from home:jengelh:bl-b
- Remove redundant tags/sections from specfile
- Remove unexplained ExcludeArch directive

OBS-URL: https://build.opensuse.org/request/show/82931
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=14
2011-09-19 19:41:38 +00:00
Sascha Peilicke
2ec8efd8eb Autobuild autoformatter for 64515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=24
2011-03-21 09:33:42 +00:00
OBS User buildservice-autocommit
ecdf555062 Updating link to change in openSUSE:Factory/busybox revision 24.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=689301f17133576d9e88402dadc1f890
2011-03-21 09:33:42 +00:00
Sascha Peilicke
99025b4bc7 Accepting request 64515 from Base:System
Accepted submit request 64515 from user coolo

OBS-URL: https://build.opensuse.org/request/show/64515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=23
2011-03-21 09:33:26 +00:00
Stephan Kulow
124ada3f00 Accepting request 64020 from home:computersalat:devel:Base
OBS-URL: https://build.opensuse.org/request/show/64020
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=12
2011-03-18 18:51:17 +00:00
OBS User autobuild
41e6932c5a Autobuild autoformatter for 51834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=21
2010-11-02 12:38:29 +00:00
Ruediger Oertel
dfefc601bf Accepting request 51834 from Base:System
Accepted submit request 51834 from user coolo

OBS-URL: https://build.opensuse.org/request/show/51834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=20
2010-11-02 12:38:06 +00:00
Stephan Kulow
109810fbea Accepting request 51806 from home:jengelh:smp
OBS-URL: https://build.opensuse.org/request/show/51806
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=10
2010-11-01 08:22:07 +00:00
OBS User autobuild
5276d10dee Accepting request 49925 from Base:System
Copy from Base:System/busybox based on submit request 49925 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/49925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=19
2010-10-07 21:56:16 +00:00
OBS User buildservice-autocommit
aab63f58f8 Updating link to change in openSUSE:Factory/busybox revision 19.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=8210bccccb9475686be693bc174067af
2010-10-07 21:56:16 +00:00
OBS User autobuild
7c2690e525 Accepting request 49925 from Base:System
checked in (request 49925)

OBS-URL: https://build.opensuse.org/request/show/49925
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=9
2010-10-07 21:56:15 +00:00
Pavol Rusnak
77b1a5b340 Accepting request 49919 from home:a_jaeger:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/49919
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=8
2010-10-06 22:33:49 +00:00
OBS User autobuild
7e4468d042 Accepting request 48586 from Base:System
Copy from Base:System/busybox based on submit request 48586 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/48586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=18
2010-09-21 10:23:21 +00:00
OBS User autobuild
b9ef6e74c9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=15 2010-03-18 14:38:54 +00:00
OBS User unknown
fa52724b67 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=13 2009-08-07 20:44:44 +00:00
OBS User unknown
4533809422 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=12 2009-01-09 01:22:59 +00:00
OBS User unknown
c9ec48ad51 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=11 2008-10-22 15:42:03 +00:00
OBS User unknown
0d8a5bec1e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=10 2008-09-05 20:11:30 +00:00
OBS User unknown
582fbf9ba2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=9 2008-08-22 22:08:11 +00:00
OBS User unknown
a2129f7429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=8 2008-07-24 21:36:45 +00:00
OBS User unknown
f96dcff6ae OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=7 2008-01-17 21:10:25 +00:00
OBS User unknown
3dde2b9d17 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=6 2007-11-19 09:18:53 +00:00
OBS User unknown
b64f3b75e9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=5 2007-07-16 05:36:25 +00:00
OBS User unknown
a897698d44 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=4 2007-05-11 14:31:31 +00:00
OBS User unknown
abb4a85ef0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=3 2007-05-07 12:30:01 +00:00
OBS User unknown
2196c2ad2d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=2 2007-04-28 22:40:39 +00:00
OBS User unknown
b6ab3f22ff OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=1 2007-01-15 23:06:26 +00:00
3 changed files with 0 additions and 83 deletions

View File

@@ -1,80 +0,0 @@
From d417193cf37ca1005830d7e16f5fa7e1d8a44209 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Mon, 12 Jun 2023 17:48:47 +0200
Subject: [PATCH] shell: avoid segfault on ${0::0/0~09J}. Closes 15216
function old new delta
evaluate_string 1011 1053 +42
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
shell/math.c | 39 +++++++++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/shell/math.c b/shell/math.c
index 76d22c9bd..727c29467 100644
--- a/shell/math.c
+++ b/shell/math.c
@@ -577,6 +577,28 @@ static arith_t strto_arith_t(const char *nptr, char **endptr)
# endif
#endif
+//TODO: much better estimation than expr_len/2? Such as:
+//static unsigned estimate_nums_and_names(const char *expr)
+//{
+// unsigned count = 0;
+// while (*(expr = skip_whitespace(expr)) != '\0') {
+// const char *p;
+// if (isdigit(*expr)) {
+// while (isdigit(*++expr))
+// continue;
+// count++;
+// continue;
+// }
+// p = endofname(expr);
+// if (p != expr) {
+// expr = p;
+// count++;
+// continue;
+// }
+// }
+// return count;
+//}
+
static arith_t
evaluate_string(arith_state_t *math_state, const char *expr)
{
@@ -584,10 +606,12 @@ evaluate_string(arith_state_t *math_state, const char *expr)
const char *errmsg;
const char *start_expr = expr = skip_whitespace(expr);
unsigned expr_len = strlen(expr) + 2;
- /* Stack of integers */
- /* The proof that there can be no more than strlen(startbuf)/2+1
- * integers in any given correct or incorrect expression
- * is left as an exercise to the reader. */
+ /* Stack of integers/names */
+ /* There can be no more than strlen(startbuf)/2+1
+ * integers/names in any given correct or incorrect expression.
+ * (modulo "09v09v09v09v09v" case,
+ * but we have code to detect that early)
+ */
var_or_num_t *const numstack = alloca((expr_len / 2) * sizeof(numstack[0]));
var_or_num_t *numstackptr = numstack;
/* Stack of operator tokens */
@@ -652,6 +676,13 @@ evaluate_string(arith_state_t *math_state, const char *expr)
numstackptr->var = NULL;
errno = 0;
numstackptr->val = strto_arith_t(expr, (char**) &expr);
+ /* A number can't be followed by another number, or a variable name.
+ * We'd catch this later anyway, but this would require numstack[]
+ * to be twice as deep to handle strings where _every_ char is
+ * a new number or name. Example: 09v09v09v09v09v09v09v09v09v
+ */
+ if (isalnum(*expr) || *expr == '_')
+ goto err;
//bb_error_msg("val:%lld", numstackptr->val);
if (errno)
numstackptr->val = 0; /* bash compat */
--
2.26.2

BIN
busybox-1.36.1.tar.bz2 (Stored with Git LFS)

Binary file not shown.

Binary file not shown.