From 63f7d0e5511492edfc2d56208f907edef68aad88d6c210bf181404a7e7e46f69 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 29 Sep 2024 09:52:27 +0000 Subject: [PATCH 1/3] - 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 --- .gitattributes | 23 + .gitignore | 1 + ash-fix-segfault-d417193cf.patch | 80 ++ busybox-1.36.1.tar.bz2 | 3 + busybox-1.36.1.tar.bz2.sig | Bin 0 -> 95 bytes busybox-1.37.0.tar.bz2 | 3 + busybox-1.37.0.tar.bz2.sig | Bin 0 -> 121 bytes busybox.changes | 985 ++++++++++++++++++++++++ busybox.config | 1235 ++++++++++++++++++++++++++++++ busybox.config.static | 17 + busybox.config.static.warewulf3 | 4 + busybox.install.patch | 37 + busybox.keyring | 24 + busybox.spec | 812 ++++++++++++++++++++ cpio-long-opt.patch | 14 + man.conf | 1 + sendmail-ignore-F-option.patch | 12 + tc-no-TCA_CBQ.patch | 18 + testsuite-gnu-echo.patch | 26 + udhcp6-install-path.patch | 11 + 20 files changed, 3306 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ash-fix-segfault-d417193cf.patch create mode 100644 busybox-1.36.1.tar.bz2 create mode 100644 busybox-1.36.1.tar.bz2.sig create mode 100644 busybox-1.37.0.tar.bz2 create mode 100644 busybox-1.37.0.tar.bz2.sig create mode 100644 busybox.changes create mode 100644 busybox.config create mode 100644 busybox.config.static create mode 100644 busybox.config.static.warewulf3 create mode 100644 busybox.install.patch create mode 100644 busybox.keyring create mode 100644 busybox.spec create mode 100644 cpio-long-opt.patch create mode 100644 man.conf create mode 100644 sendmail-ignore-F-option.patch create mode 100644 tc-no-TCA_CBQ.patch create mode 100644 testsuite-gnu-echo.patch create mode 100644 udhcp6-install-path.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ash-fix-segfault-d417193cf.patch b/ash-fix-segfault-d417193cf.patch new file mode 100644 index 0000000..12b566d --- /dev/null +++ b/ash-fix-segfault-d417193cf.patch @@ -0,0 +1,80 @@ +From d417193cf37ca1005830d7e16f5fa7e1d8a44209 Mon Sep 17 00:00:00 2001 +From: Denys Vlasenko +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 +--- + 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 + diff --git a/busybox-1.36.1.tar.bz2 b/busybox-1.36.1.tar.bz2 new file mode 100644 index 0000000..77a0ec1 --- /dev/null +++ b/busybox-1.36.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314 +size 2525473 diff --git a/busybox-1.36.1.tar.bz2.sig b/busybox-1.36.1.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..fc23fee9e6aab58630e073ebd5778f62964ec0bc9192e101640ed24c3c59ed34 GIT binary patch literal 95 zcmeB(WnmCxVvrS6WI6fLF~97Y!0iijS@_+z^MtNBIW3x%DJ5_&dD)O*e*Cfn WUq5V#U9-z_vtS3CTX{wp??wPdW;1U9 literal 0 HcmV?d00001 diff --git a/busybox.changes b/busybox.changes new file mode 100644 index 0000000..826f22b --- /dev/null +++ b/busybox.changes @@ -0,0 +1,985 @@ +------------------------------------------------------------------- +Sat Sep 28 20:48:01 UTC 2024 - Matthias G. Eckermann + +- Update to 1.37.0 +- remove unnecessary patch +- Update default config to match 1.37.0 expectations + +------------------------------------------------------------------- +Thu Mar 14 09:15:13 UTC 2024 - Thorsten Kukuk + +- tc-no-TCA_CBQ.patch: Disable TCA_CBQ code if kernel headers don't + support them. + +------------------------------------------------------------------- +Fri Dec 8 10:47:35 UTC 2023 - Thorsten Kukuk + +- 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] + +------------------------------------------------------------------- +Tue Aug 29 09:55:24 UTC 2023 - Radoslav Kolev + +- Add ash-fix-segfault-d417193cf.patch: fix stack overflow vulnerability + in ash (CVE-2022-48174, bsc#1214538) + +------------------------------------------------------------------- +Fri Jun 2 21:08:22 UTC 2023 - Dirk Müller + +- 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. + +------------------------------------------------------------------- +Fri Jan 6 08:01:46 UTC 2023 - Radoslav Kolev + +- Update to version 1.36.0 + - awk: fix use after free (CVE-2022-30065) + - various fixes for ash, bc, cut, fbset, kbuild, libbb, mkfs.vfat, + mv, powertop, sed, sort, taskset, top, udhcpc6, unzip, vi, xxd + - improvements in ash, cmp, crond, devmem, ed, fbset, fdisk, ls, xargs, pkill + - new applets added: seedrng, tree, tsort +- Adjust busybox.config for new features + - ash: enable sleep built-in + - enable new applets: seedrng, tree, tsort + - enable SHA hardware acceleration + - try LOOP_CONFIGURE for losetup/loop mounts, but fall back to + LOOP_SET_FD + LOOP_SET_STATUS if not supported +- drop e63d7cdf.patch (fix for CVE-2022-30065), included upstream + +------------------------------------------------------------------- +Tue Dec 27 10:27:35 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + +------------------------------------------------------------------- +Wed Nov 23 13:24:55 UTC 2022 - Dominique Leuenberger + +- Add e63d7cdf.patch: awk: fix use after free (CVE-2022-30065, + boo#1199744). + +------------------------------------------------------------------- +Mon Nov 14 08:52:35 UTC 2022 - Radoslav Kolev + +- Fix build under SLE-12 + +------------------------------------------------------------------- +Mon Oct 17 17:26:27 UTC 2022 - Radoslav Kolev + +- 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 + +------------------------------------------------------------------- +Thu Jun 30 08:30:05 UTC 2022 - Ludwig Nussel + +- prepare spec file for rpmbuild --build-in-place --noprep +- use bcond for static and ww3 subpackages +- fix verbose flag + +------------------------------------------------------------------- +Fri Jun 10 17:52:27 UTC 2022 - Marcos de Souza + +- Enable switch_root + With this change virtme --force-initramfs works as expected. + +------------------------------------------------------------------- +Wed Mar 30 14:05:16 UTC 2022 - Marcos de Souza + +- Enable udhcpc + +------------------------------------------------------------------- +Wed Mar 23 13:36:44 UTC 2022 - Dominique Leuenberger + +- 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. + +------------------------------------------------------------------- +Wed Jan 12 15:40:40 UTC 2022 - Thorsten Kukuk + +- Update to 1.35.0 + - awk: fix printf %%, fix read beyond end of buffer + - chrt: silence analyzer warning + - libarchive: remove duplicate forward declaration + - mount: "mount -o rw ...." should not fall back to RO mount + - ps: fix -o pid=PID,args interpreting entire "PID,args" as header + - tar: prevent malicious archives with long name sizes causing OOM + - udhcpc6: fix udhcp_find_option to actually find DHCP6 options + - xxd: fix -p -r + - support for new optoins added to basename, cpio, date, find, + mktemp, wget and others +- Adjust busybox.config for new features in find, date and cpio + +------------------------------------------------------------------- +Thu Jan 6 06:37:24 UTC 2022 - Radoslav Kolev + +- Annotate CVEs already fixed in upstream, but not mentioned in .changes: + * CVE-2017-16544 (bsc#1069412): Insufficient sanitization of filenames when autocompleting + * CVE-2015-9261 (bsc#1102912): huft_build misuses a pointer, causing segfaults + * CVE-2016-2147 (bsc#970663): out of bounds write (heap) due to integer underflow in udhcpc + * CVE-2016-2148 (bsc#970662): heap-based buffer overflow in OPTION_6RD parsing + * CVE-2016-6301 (bsc#991940): NTP server denial of service flaw + * CVE-2017-15873 (bsc#1064976): The get_next_block function in archival/libarchive/decompress_bunzip2.c has an Integer Overflow + * CVE-2017-15874 (bsc#1064978): archival/libarchive/decompress_unlzma.c has an Integer Underflow + * CVE-2019-5747 (bsc#1121428): out of bounds read in udhcp components + * CVE-2021-42373, CVE-2021-42374, CVE-2021-42375, CVE-2021-42376, + CVE-2021-42377, CVE-2021-42378, CVE-2021-42379, CVE-2021-42380, + CVE-2021-42381, CVE-2021-42382, CVE-2021-42383, CVE-2021-42384, + CVE-2021-42385, CVE-2021-42386 (bsc#1192869) : v1.34.0 bugfixes + - CVE-2021-28831 (bsc#1184522): invalid free or segmentation fault via malformed gzip data + - CVE-2018-20679 (bsc#1121426): out of bounds read in udhcp + - CVE-2018-1000517 (bsc#1099260): Heap-based buffer overflow in the retrieve_file_data() + - CVE-2011-5325 (bsc#951562): tar directory traversal + - CVE-2018-1000500 (bsc#1099263): wget: Missing SSL certificate validation + +------------------------------------------------------------------- +Sat Oct 30 09:03:16 UTC 2021 - Stephan Kulow + +- Disable crc32 to avoid conflict with perl-Archive-Zip + (until some project really requires crc32) + +------------------------------------------------------------------- +Wed Oct 27 17:22:38 UTC 2021 - Egbert Eich + +- Build busybox-warewulf3 for i586 as well. This allowes to set up + i586 nodes. + +------------------------------------------------------------------- +Fri Oct 22 12:10:55 UTC 2021 - Lukas Lansky + +- Enable fdisk (jsc#CAR-16) +- Add testsuite-gnu-echo.patch: testing.sh to use GNU echo + +------------------------------------------------------------------- +Thu Oct 21 17:43:22 UTC 2021 - Stephan Kulow + +- 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 + +------------------------------------------------------------------- +Thu Oct 21 16:36:27 UTC 2021 - Stephan Kulow + +- 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 + +------------------------------------------------------------------- +Sat Oct 9 13:16:11 UTC 2021 - Egbert Eich + +- 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). + +------------------------------------------------------------------- +Fri May 7 19:04:53 UTC 2021 - Andreas Stieger + +- update to 1.33.1: + * httpd: fix sendfile + * ash: fix HISTFILE corruptio + * ash: fix unset variable pattern expansion + * traceroute: fix option parsing + * gunzip: fix for archive corruption +- drop update_passwd_selinux_fix.patch, included upstream +- add upstream signing key and verify source signature + +------------------------------------------------------------------- +Thu Jan 28 15:22:02 UTC 2021 - Thorsten Kukuk + +- Update to version 1.33.0 + - many bug fixes and new features +- update_passwd_selinux_fix.patch upstream compile fix for SELinux + +------------------------------------------------------------------- +Tue Jan 5 08:17:09 UTC 2021 - Thorsten Kukuk + +- Update to version 1.32.1 + - fixes a case where in ash, "wait" never finishes. + +------------------------------------------------------------------- +Tue Jan 5 07:26:20 UTC 2021 - Thorsten Kukuk + +- sendmail-ignore-F-option.patch: ignore -F option as used by + cron (workaround for [bbn#13426]) + +------------------------------------------------------------------- +Wed Dec 9 14:40:27 UTC 2020 - Thorsten Kukuk + +- Don't require nogroup for adduser command, as this can lead to + a dependency cycle with sysusers-tools. + +------------------------------------------------------------------- +Mon Dec 7 10:25:00 UTC 2020 - Thorsten Kukuk + +- cpio-long-opt.patch: add more long options to cpio for IBS/unrpm + +------------------------------------------------------------------- +Fri Nov 20 08:59:57 UTC 2020 - Ludwig Nussel + +- prepare usrmerge (boo#1029961) + +------------------------------------------------------------------- +Tue Sep 29 10:00:25 UTC 2020 - Thorsten Kukuk + +- Disable RPM builtin, did become pretty useless +- Disable popmaildir and mime utilities + +------------------------------------------------------------------- +Fri Aug 21 11:56:44 UTC 2020 - Thorsten Kukuk + +- 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) + +------------------------------------------------------------------- +Wed Aug 12 13:43:26 UTC 2020 - Thorsten Kukuk + +- Enable SELinux for the dynamic version + +------------------------------------------------------------------- +Wed Jul 22 15:10:41 UTC 2020 - Thorsten Kukuk + +- Update to busybox 1.32.0 + - many bugfixes and new features + - Obsoletes busybox-no-stime.patch + +------------------------------------------------------------------- +Wed Jul 22 09:24:42 UTC 2020 - Thorsten Kukuk + +- 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 + +------------------------------------------------------------------- +Sat Jul 11 06:05:40 UTC 2020 - Thorsten Kukuk + +- Enable syslogd for containers + +------------------------------------------------------------------- +Wed Jul 8 07:26:14 UTC 2020 - Stephan Kulow + +- Enable testsuite and package it for later rerun (for QA, + jsc#CAR-15) + +------------------------------------------------------------------- +Fri Apr 17 09:46:21 UTC 2020 - Thorsten Kukuk + +- Re-add modutils + +------------------------------------------------------------------- +Sat Mar 21 11:18:54 UTC 2020 - Thorsten Kukuk + +- Set last ID to 65533, else nobody cannot be created + +------------------------------------------------------------------- +Fri Mar 13 20:04:25 UTC 2020 - Thorsten Kukuk + +- Merge config of default, -container and -static to be able to + drop -container variant + +------------------------------------------------------------------- +Sat Feb 22 17:46:55 UTC 2020 - Thorsten Kukuk + +- Disable CONFIG_FEATURE_NSLOOKUP_BIG as it leads to incompatible + nslookup behavior + +------------------------------------------------------------------- +Mon Feb 10 11:46:10 UTC 2020 - Thorsten Kukuk + +- Eanble FEATURE_TFTP_HPA_COMPAT and SH_MATH_BASE + +------------------------------------------------------------------- +Sat Feb 8 14:38:51 UTC 2020 - Dominique Leuenberger + +- 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(). + +------------------------------------------------------------------- +Wed Oct 23 22:35:14 CEST 2019 - kukuk@suse.de + +- Add man.conf to container variant + +------------------------------------------------------------------- +Tue Sep 10 07:27:49 UTC 2019 - Jan Engelhardt + +- Trim marketing from description. + +------------------------------------------------------------------- +Thu Aug 22 15:27:18 CEST 2019 - kukuk@suse.de + +- Drop busybox-rpm-E.patch, not needed anymore +- Create new "container" subpackage with special stripped down + version for container images (8MB instead of 15MB). + +------------------------------------------------------------------- +Thu Jul 25 15:29:03 CEST 2019 - kukuk@suse.de + +- Provide "useradd_or_adduser_dep" for sysuser-shadow + +------------------------------------------------------------------- +Fri Mar 29 12:03:49 CET 2019 - kukuk@suse.de + +- Implement rpm -E %_dbpath for kiwi (busybox-rpm-E.patch) +- Don't require /bin/sh, be self contained + +------------------------------------------------------------------- +Thu Mar 28 21:58:41 CET 2019 - kukuk@suse.de + +- 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 + +------------------------------------------------------------------- +Wed Aug 22 21:41:23 UTC 2018 - jjolly@suse.com + +- Enabled functionality within busybox for warewulf compatibility + * CONFIG_FEATURE_REMOTE_LOG + * CONFIG_DEPMOD + * CONFIG_TAC + +------------------------------------------------------------------- +Fri Nov 10 16:16:48 CET 2017 - kukuk@suse.de + +- Build against libtirpc in preparation of deprecating sunrpc from + glibc + +------------------------------------------------------------------- +Sun Jul 2 11:27:52 UTC 2017 - astieger@suse.com + +- update to 1.26.2: + * many updates and fixes to individual tools + +------------------------------------------------------------------- +Tue Nov 1 17:20:51 UTC 2016 - astieger@suse.com + +- update to 1.25.1: + * fixes for hush, gunzip, ip route, ntpd +- includes changes from 1.25.0: + * many added and expanded implementations of command options +- includes changes from 1.24.2: + * fixes for build system (static build with glibc fixed), + truncate, gunzip and unzip. + +------------------------------------------------------------------- +Thu Mar 3 13:21:03 UTC 2016 - olaf@aepfle.de + +- Disable build timestamp + +------------------------------------------------------------------- +Sun Jan 3 12:00:13 UTC 2016 - p.drouand@gmail.com + +- Update to version 1.24.1 + * for a full list of changes see http://www.busybox.net/news.html +- Refresh busybox.install.patch + +------------------------------------------------------------------- +Mon Apr 20 16:16:14 UTC 2015 - mpluskal@suse.com + +- 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 + +------------------------------------------------------------------- +Thu Oct 9 11:41:36 UTC 2014 - olaf@aepfle.de + +- Remove mkinitrd scripts + +------------------------------------------------------------------- +Thu Sep 4 23:43:33 UTC 2014 - andreas.stieger@gmx.de + +- update to 1.22.1: + Many updates and fixes for most included tools, see + see http://www.busybox.net/news.html +- adjust busybox-resource.patch + +------------------------------------------------------------------- +Thu Dec 12 23:21:11 UTC 2013 - p.drouand@gmail.com + +- 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 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 + +------------------------------------------------------------------- +Sun Dec 9 14:17:29 UTC 2012 - p.drouand@gmail.com + +- Update to 1.20.2 (Bug fix release): + * fix for variable expansion in redirection + * fix for "pre-up" and "pre-down" handling + * fixes for compressed man pages handling + * important fix! due to misplaced s_mkfs_time field, ext4 driver + couldn't mount our images + * fix for getting uptime on non-Linux platforms + * fix base-256 decoding +- Remove busybox-1.19.4-ext2fs_h.diff: fixed on upstream release + +------------------------------------------------------------------- +Wed Aug 1 14:15:40 UTC 2012 - lnussel@suse.de + +- fix path in busybox.install (bnc#680153) + +------------------------------------------------------------------- +Wed Jul 18 07:43:58 UTC 2012 - aj@suse.de + +- Add missing sys/resource include (glibc 2.16) + +------------------------------------------------------------------- +Wed Jun 6 13:02:52 UTC 2012 - seife+obs@b1-systems.com + +- busybox-1.19.4-ext2fs_h.diff: + more complete fix for latest ext2_fs.h breakage from busybox git, + drop busybox-1.19.4-typedef_umode_t.patch + +------------------------------------------------------------------- +Tue Apr 10 15:19:52 CEST 2012 - ro@suse.de + +- 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 + +------------------------------------------------------------------- +Tue Apr 10 14:49:18 CEST 2012 - ro@suse.de + +- 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 + +------------------------------------------------------------------- +Fri Sep 30 14:45:39 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro, set HOSTCC + +------------------------------------------------------------------- +Sat Sep 17 21:08:48 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + +------------------------------------------------------------------- +Sat Mar 12 23:03:39 UTC 2011 - chris@computersalat.de + +- update to 1.18.13 + see http://www.busybox.net/ for full changelog +- add upstream patches + o buildsys.patch + o cksum.patch + o klogd.patch + o menuconfig.patch + o modutils24.patch + o wget.patch +- rework libunarchive-array patch + o -> libarchive patch +- remove .gitignore files +- added missing BusyBox.1 as S:1 +- added export CFLAGS="{optflags} -fno-strict-aliasing" + +------------------------------------------------------------------- +Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + +------------------------------------------------------------------- +Wed Oct 6 16:39:15 UTC 2010 - aj@suse.de + +- Update to busybox 1.17.2: + * obsoletes patches busybox.dmesg-size.patch, busybox-1.17.1-make.patch, + busybox-buildfix.patch + * see http://www.busybox.net/ for full changelog + +------------------------------------------------------------------- +Mon Sep 20 13:25:00 UTC 2010 - coolo@novell.com + +- add backported fix for make 3.82 + +------------------------------------------------------------------- +Tue Aug 4 18:13:36 CEST 2009 - aj@suse.de + +- Fix build with updated kernel headers (busybox-buildfix.patch) + +------------------------------------------------------------------- +Thu Dec 18 11:35:49 CET 2008 - sassmann@suse.de + +- update to 1.12.3 bugfix release + * has fixes for option parsing and line editing + +------------------------------------------------------------------- +Tue Nov 4 14:01:23 CET 2008 - sassmann@suse.de + +- updated config file to use a single config for + both busybox and busybox-static + +------------------------------------------------------------------- +Wed Oct 15 14:17:15 CEST 2008 - sassmann@suse.de + +- update to 1.12.1 + see http://www.busybox.net/ for full changelog +- removed patches included upstream + * busybox-1.8.2-arping.patch + * busybox-1.8.2-static + * busybox-1.8.2-vi.patch +- refreshed patches + * busybox.libunarchive-array.patch + * busybox.dmesg-size.patch +- updated config file + * removed awk math support and dc to get rid of libm + +------------------------------------------------------------------- +Wed Sep 3 11:09:34 CEST 2008 - hare@suse.de + +- Call mkinitrd_setup during %post and %postun (bnc#413709) + +------------------------------------------------------------------- +Fri Aug 22 16:55:24 CEST 2008 - prusnak@suse.cz + +- enabled SELinux support [Fate#303662] + +------------------------------------------------------------------- +Wed Jul 23 15:16:30 CEST 2008 - hare@suse.de + +- Include mkinitrd scriptlets. + +------------------------------------------------------------------- +Thu Jan 17 14:30:48 CET 2008 - sassmann@suse.de + +- update to 1.8.2 + see http://www.busybox.net/ for full changelog +- added bugfixes + * busybox-1.8.2-arping.patch + * busybox-1.8.2-static + * busybox-1.8.2-vi.patch + +------------------------------------------------------------------- +Fri Nov 16 15:02:36 CET 2007 - olh@suse.de + +- update to 1.8.1 + see http://www.busybox.net/ for full changelog + +------------------------------------------------------------------- +Sun Jul 15 10:47:28 CEST 2007 - olh@suse.de + +- update to 1.6.1 + see http://www.busybox.net/ for full changelog + +------------------------------------------------------------------- +Fri May 11 16:18:53 CEST 2007 - olh@suse.de + +- increase ash cmdline history size + user kernel ringbuffer size for dmesg + +------------------------------------------------------------------- +Mon May 7 10:27:51 CEST 2007 - olh@suse.de + +- gcc42 rejects out of bounds array access + +------------------------------------------------------------------- +Sat Apr 28 21:32:57 CEST 2007 - olh@suse.de + +- update to 1.4.2 + reduces binary size after e2fsprogs removal + +------------------------------------------------------------------- +Wed Dec 6 17:41:32 CET 2006 - trenn@suse.de + +- move to 1.2.2 and enable nearly everything. + Most important (awk,less,vi and much more) + binary on i386 now has 732k + +------------------------------------------------------------------- +Wed Aug 9 01:25:09 CEST 2006 - ihno@suse.de + +- update to busybox 1.2.1 final + Bugfix release. Bugs fixed: + lash: "var=value" works without export + tar: can extract git generated tarballs + adduser: /etc/group is updated + modprobe: look for modules.conf at the right place for 2.6 kernels + all setuid and getgid calls are check return values in case + somebody using per-process resource limits that prevent a user + from having too many processes + + +------------------------------------------------------------------- +Wed Jan 25 21:34:46 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Jan 16 17:04:28 CET 2006 - ihno@suse.de + +- Update to busybox 1.1.0 final + +------------------------------------------------------------------- +Wed Jan 11 15:39:39 CET 2006 - ihno@suse.de + +- update to busybox 1.1.0-pre1 + +------------------------------------------------------------------- +Wed Nov 16 15:44:27 CET 2005 - dmueller@suse.de + +- build against dietlibc unconditionally + +------------------------------------------------------------------- +Thu May 12 18:08:14 CEST 2005 - uli@suse.de + +- use dietlibc on ARM +- uclibc config file needs to be fixed + +------------------------------------------------------------------- +Sat Apr 2 00:36:53 CEST 2005 - mmj@suse.de + +- Correct function declaration + +------------------------------------------------------------------- +Mon Jan 24 04:40:25 CET 2005 - nashif@suse.de + +- Update to 1.00 final + +------------------------------------------------------------------- +Tue Aug 17 13:45:34 CEST 2004 - nashif@suse.de + +- Update to 1.00-rc3 + +------------------------------------------------------------------- +Thu Aug 5 23:28:44 CEST 2004 - nashif@suse.de + +- Update to 1.00-rc2 + +------------------------------------------------------------------- +Wed Jul 21 17:10:34 CEST 2004 - nashif@suse.de + +- Update to 1.00-rc1 + +------------------------------------------------------------------- +Tue May 11 16:38:33 CEST 2004 - nashif@suse.de + +- Bug #39461 - Fixes netlink vulnerability + +------------------------------------------------------------------- +Tue Apr 27 11:17:35 CEST 2004 - mmj@suse.de + +- Fix strict aliasing + +------------------------------------------------------------------- +Mon Mar 1 06:27:03 CET 2004 - nashif@suse.de + +- Update to 1.0 pre 8 + +------------------------------------------------------------------- +Wed Feb 11 02:00:48 CET 2004 - ro@suse.de + +- hack to build it on amd64 + +------------------------------------------------------------------- +Tue Feb 10 23:15:31 CET 2004 - schwab@suse.de + +- Fix building on ia64. + +------------------------------------------------------------------- +Wed Feb 4 09:57:44 CET 2004 - kukuk@suse.de + +- Remove wrong dietlibc requires + +------------------------------------------------------------------- +Mon Feb 2 14:43:54 CET 2004 - hare@suse.de + +- Fixed spec file to build on all archs. + +------------------------------------------------------------------- +Fri Jan 30 14:55:45 CET 2004 - hare@suse.de + +- Update to 1.00-pre5 +- Patched dietlibc support to use a menuconfig option. + +------------------------------------------------------------------- +Sat Jan 10 18:25:15 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Wed Dec 10 14:48:43 CET 2003 - uli@suse.de + +- build with dietlibc where available + +------------------------------------------------------------------- +Mon Jun 2 16:05:33 CEST 2003 - nashif@suse.de + +- Set Autoreqprov: on + +------------------------------------------------------------------- +Thu May 29 15:49:26 CEST 2003 - nashif@suse.de + +- Updated with latest stable release incl. patches. + +------------------------------------------------------------------- +Sat May 17 01:48:55 CEST 2003 - nashif@suse.de + +- Removed CVS files + +------------------------------------------------------------------- +Sat Nov 2 04:17:12 CET 2002 - nashif@suse.de + +- Update to version 0.60.5 +- Unique patch names + +------------------------------------------------------------------- +Mon Jun 10 02:21:41 CEST 2002 - nashif@suse.de + +- Update to version 0.60.3 + +------------------------------------------------------------------- +Mon Nov 26 05:15:14 CET 2001 - nashif@suse.de + +- Update to version 0.60.2 +- Major Changes: + * msh was reworked + * reworked hostname + * Various bugfixes + +------------------------------------------------------------------- +Fri Aug 24 02:59:15 CEST 2001 - nashif@suse.de + +- Update to version 0.60.1 +- This is a relatively minor bug fixing release which fixes bugs + in the following applets, among others: msh, sed, route, syslogd, + ifconfig, lash +- Rewrite of tftp + +------------------------------------------------------------------- +Sat Aug 4 07:21:18 CEST 2001 - nashif@suse.de + +- Update to version 0.60.0 + +------------------------------------------------------------------- +Fri Jul 13 00:29:02 CEST 2001 - nashif@suse.de + +- Update to version 0.52 + +------------------------------------------------------------------- +Wed Apr 11 06:16:03 CEST 2001 - nashif@suse.de + +- Update to version 0.51 + +------------------------------------------------------------------- +Fri Feb 9 17:30:33 MET 2001 - nashif@suse.de + +- Fixed sync.c to compile + +------------------------------------------------------------------- +Mon Feb 5 08:06:26 MET 2001 - nashif@suse.de + +- Update to version 0.49 + +------------------------------------------------------------------- +Wed Dec 20 17:53:40 CET 2000 - uli@suse.de + +- disabled insmod for all archs except IA32, ARM and SH + +------------------------------------------------------------------- +Tue Dec 19 19:10:50 MET 2000 - nashif@suse.de + +- Update to 0.48 (Fixes many bugs) + +------------------------------------------------------------------- +Mon Nov 27 22:36:15 MET 2000 - nashif@suse.de + +- Fixed pathes in install script + +------------------------------------------------------------------- +Tue Nov 7 21:36:42 MET 2000 - nashif@suse.de + +- Added EM_486 and OPEN_MAX fixes + +------------------------------------------------------------------- +Wed Sep 27 04:47:12 MEST 2000 - nashif@suse.de + +- Update to 0.47 +- Fix nfsmount.c + +------------------------------------------------------------------- +Wed Aug 30 06:51:34 MEST 2000 - nashif@suse.de + +- Fix for axp + +------------------------------------------------------------------- +Mon Aug 28 18:54:49 MEST 2000 - nashif@suse.de + +- Update to version 0.46 + +------------------------------------------------------------------- +Thu Jul 6 19:17:53 MEST 2000 - nashif@suse.de + +- Fix install script (Bug #3195) + +------------------------------------------------------------------- +Tue May 23 20:37:05 CEST 2000 - nashif@suse.de + +- Initial Release (Version 0.43) + diff --git a/busybox.config b/busybox.config new file mode 100644 index 0000000..e4f3e5c --- /dev/null +++ b/busybox.config @@ -0,0 +1,1235 @@ +# +# Automatically generated make config: don't edit +# Busybox version: 1.37.0 +# Fri Sep 27 16:45:20 2024 +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Settings +# +CONFIG_DESKTOP=y +# CONFIG_EXTRA_COMPAT is not set +# CONFIG_FEDORA_COMPAT is not set +CONFIG_INCLUDE_SUSv2=y +CONFIG_LONG_OPTS=y +CONFIG_SHOW_USAGE=y +CONFIG_FEATURE_VERBOSE_USAGE=y +CONFIG_FEATURE_COMPRESS_USAGE=y +CONFIG_LFS=y +CONFIG_TIME64=y +# CONFIG_PAM is not set +CONFIG_FEATURE_DEVPTS=y +CONFIG_FEATURE_UTMP=y +CONFIG_FEATURE_WTMP=y +CONFIG_FEATURE_PIDFILE=y +CONFIG_PID_FILE_PATH="/var/run" +CONFIG_BUSYBOX=y +# CONFIG_FEATURE_SHOW_SCRIPT is not set +# CONFIG_FEATURE_INSTALLER is not set +# CONFIG_INSTALL_NO_USR is not set +CONFIG_FEATURE_SUID=y +# CONFIG_FEATURE_SUID_CONFIG is not set +# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set +# CONFIG_FEATURE_PREFER_APPLETS is not set +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +CONFIG_SELINUX=y +# CONFIG_FEATURE_CLEAN_UP is not set +# CONFIG_FEATURE_SYSLOG_INFO is not set +CONFIG_FEATURE_SYSLOG=y + +# +# Build Options +# +# CONFIG_STATIC is not set +CONFIG_PIE=y +# CONFIG_NOMMU is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set +# CONFIG_FEATURE_INDIVIDUAL is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_SYSROOT="" +CONFIG_EXTRA_CFLAGS="" +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" +# CONFIG_USE_PORTABLE_CODE is not set +CONFIG_STACK_OPTIMIZATION_386=y +CONFIG_STATIC_LIBGCC=y + +# +# Installation Options ("make install" behavior) +# +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set +CONFIG_PREFIX="/usr" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_DEBUG_PESSIMIZE is not set +# CONFIG_DEBUG_SANITIZE is not set +# CONFIG_UNIT_TEST is not set +# CONFIG_WERROR is not set +# CONFIG_WARN_SIMPLE_MSG is not set +CONFIG_NO_DEBUG_LIB=y +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set + +# +# Library Tuning +# +# CONFIG_FEATURE_USE_BSS_TAIL is not set +CONFIG_FLOAT_DURATION=y +CONFIG_FEATURE_RTMINMAX=y +CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_PASSWORD_MINLEN=6 +CONFIG_MD5_SMALL=1 +CONFIG_SHA1_SMALL=1 +CONFIG_SHA1_HWACCEL=n +CONFIG_SHA256_HWACCEL=y +CONFIG_SHA3_SMALL=1 +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_USE_SENDFILE=y +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y +CONFIG_FEATURE_EDITING=y +CONFIG_FEATURE_EDITING_MAX_LEN=1024 +# CONFIG_FEATURE_EDITING_VI is not set +CONFIG_FEATURE_EDITING_HISTORY=255 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y +# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set +CONFIG_FEATURE_REVERSE_SEARCH=y +CONFIG_FEATURE_TAB_COMPLETION=y +# CONFIG_FEATURE_USERNAME_COMPLETION is not set +# CONFIG_FEATURE_EDITING_FANCY_PROMPT is not set +CONFIG_FEATURE_EDITING_WINCH=y +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +# CONFIG_LOCALE_SUPPORT is not set +CONFIG_UNICODE_SUPPORT=y +# CONFIG_UNICODE_USING_LOCALE is not set +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_SUBST_WCHAR=63 +CONFIG_LAST_SUPPORTED_WCHAR=767 +# CONFIG_UNICODE_COMBINING_WCHARS is not set +# CONFIG_UNICODE_WIDE_WCHARS is not set +# CONFIG_UNICODE_BIDI_SUPPORT is not set +# CONFIG_UNICODE_NEUTRAL_TABLE is not set +# CONFIG_UNICODE_PRESERVE_BROKEN is not set +# CONFIG_LOOP_CONFIGURE is not set +# CONFIG_NO_LOOP_CONFIGURE is not set +CONFIG_TRY_LOOP_CONFIGURE=y + +# +# Applets +# + +# +# Archival Utilities +# +CONFIG_FEATURE_SEAMLESS_XZ=y +CONFIG_FEATURE_SEAMLESS_LZMA=y +CONFIG_FEATURE_SEAMLESS_BZ2=y +CONFIG_FEATURE_SEAMLESS_GZ=y +CONFIG_FEATURE_SEAMLESS_Z=y +CONFIG_AR=y +CONFIG_FEATURE_AR_LONG_FILENAMES=y +CONFIG_FEATURE_AR_CREATE=y +CONFIG_UNCOMPRESS=y +CONFIG_GUNZIP=y +CONFIG_ZCAT=y +CONFIG_FEATURE_GUNZIP_LONG_OPTIONS=y +CONFIG_BUNZIP2=y +CONFIG_BZCAT=y +CONFIG_UNLZMA=y +CONFIG_LZCAT=y +CONFIG_LZMA=y +CONFIG_UNXZ=y +CONFIG_XZCAT=y +CONFIG_XZ=y +CONFIG_BZIP2=y +CONFIG_BZIP2_SMALL=8 +CONFIG_FEATURE_BZIP2_DECOMPRESS=y +CONFIG_CPIO=y +CONFIG_FEATURE_CPIO_O=y +CONFIG_FEATURE_CPIO_P=y +CONFIG_FEATURE_CPIO_IGNORE_DEVNO=y +CONFIG_FEATURE_CPIO_RENUMBER_INODES=y +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +CONFIG_GZIP=y +CONFIG_FEATURE_GZIP_LONG_OPTIONS=y +CONFIG_GZIP_FAST=0 +# CONFIG_FEATURE_GZIP_LEVELS is not set +CONFIG_FEATURE_GZIP_DECOMPRESS=y +CONFIG_LZOP=y +# CONFIG_UNLZOP is not set +# CONFIG_LZOPCAT is not set +# CONFIG_LZOP_COMPR_HIGH is not set +# CONFIG_RPM is not set +# CONFIG_RPM2CPIO is not set +CONFIG_TAR=y +CONFIG_FEATURE_TAR_LONG_OPTIONS=y +CONFIG_FEATURE_TAR_CREATE=y +# CONFIG_FEATURE_TAR_AUTODETECT is not set +CONFIG_FEATURE_TAR_FROM=y +# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +CONFIG_FEATURE_TAR_TO_COMMAND=y +CONFIG_FEATURE_TAR_UNAME_GNAME=y +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y +CONFIG_FEATURE_TAR_SELINUX=y +CONFIG_UNZIP=y +CONFIG_FEATURE_UNZIP_CDF=y +CONFIG_FEATURE_UNZIP_BZIP2=y +CONFIG_FEATURE_UNZIP_LZMA=y +CONFIG_FEATURE_UNZIP_XZ=y +# CONFIG_FEATURE_LZMA_FAST is not set + +# +# Coreutils +# +CONFIG_FEATURE_VERBOSE=y + +# +# Common options for date and touch +# +CONFIG_FEATURE_TIMEZONE=y + +# +# Common options for cp and mv +# +CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y +CONFIG_BASENAME=y +CONFIG_CAT=y +CONFIG_FEATURE_CATN=y +CONFIG_FEATURE_CATV=y +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +CONFIG_FEATURE_CHOWN_LONG_OPTIONS=y +CONFIG_CHROOT=y +CONFIG_CKSUM=y +# CONFIG_CRC32 is not set +CONFIG_COMM=y +CONFIG_CP=y +CONFIG_FEATURE_CP_LONG_OPTIONS=y +CONFIG_FEATURE_CP_REFLINK=y +CONFIG_CUT=y +CONFIG_FEATURE_CUT_REGEX=y +CONFIG_DATE=y +CONFIG_FEATURE_DATE_ISOFMT=y +# CONFIG_FEATURE_DATE_NANO is not set +CONFIG_FEATURE_DATE_COMPAT=y +CONFIG_DD=y +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +CONFIG_FEATURE_DD_THIRD_STATUS_LINE=y +CONFIG_FEATURE_DD_IBS_OBS=y +CONFIG_FEATURE_DD_STATUS=y +CONFIG_DF=y +CONFIG_FEATURE_DF_FANCY=y +CONFIG_FEATURE_SKIP_ROOTFS=y +CONFIG_DIRNAME=y +CONFIG_DOS2UNIX=y +CONFIG_UNIX2DOS=y +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +CONFIG_EXPAND=y +CONFIG_UNEXPAND=y +CONFIG_EXPR=y +CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_FACTOR=y +CONFIG_FALSE=y +CONFIG_FOLD=y +CONFIG_HEAD=y +CONFIG_FEATURE_FANCY_HEAD=y +CONFIG_HOSTID=y +CONFIG_ID=y +CONFIG_GROUPS=y +CONFIG_INSTALL=y +CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y +CONFIG_LINK=y +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_WIDTH=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +# CONFIG_FEATURE_LS_COLOR is not set +# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set +CONFIG_MD5SUM=y +CONFIG_SHA1SUM=y +CONFIG_SHA256SUM=y +CONFIG_SHA512SUM=y +CONFIG_SHA3SUM=y + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y +CONFIG_MKDIR=y +CONFIG_MKFIFO=y +CONFIG_MKNOD=y +CONFIG_MKTEMP=y +CONFIG_MV=y +CONFIG_NICE=y +CONFIG_NL=y +CONFIG_NOHUP=y +CONFIG_NPROC=y +CONFIG_OD=y +CONFIG_PASTE=y +CONFIG_PRINTENV=y +CONFIG_PRINTF=y +CONFIG_PWD=y +CONFIG_READLINK=y +CONFIG_FEATURE_READLINK_FOLLOW=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +CONFIG_SEQ=y +CONFIG_SHRED=y +CONFIG_SHUF=y +CONFIG_SLEEP=y +# CONFIG_FEATURE_FANCY_SLEEP is not set +CONFIG_SORT=y +CONFIG_FEATURE_SORT_BIG=y +# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set +CONFIG_SPLIT=y +CONFIG_FEATURE_SPLIT_FANCY=y +CONFIG_STAT=y +CONFIG_FEATURE_STAT_FORMAT=y +CONFIG_FEATURE_STAT_FILESYSTEM=y +CONFIG_STTY=y +CONFIG_SUM=y +CONFIG_SYNC=y +CONFIG_FEATURE_SYNC_FANCY=y +CONFIG_FSYNC=y +CONFIG_TAC=y +CONFIG_TAIL=y +# CONFIG_FEATURE_FANCY_TAIL is not set +CONFIG_TEE=y +# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set +CONFIG_TEST=y +CONFIG_TEST1=y +CONFIG_TEST2=y +CONFIG_FEATURE_TEST_64=y +CONFIG_TIMEOUT=y +CONFIG_TOUCH=y +CONFIG_FEATURE_TOUCH_SUSV3=y +CONFIG_TR=y +CONFIG_FEATURE_TR_CLASSES=y +CONFIG_FEATURE_TR_EQUIV=y +CONFIG_TRUE=y +CONFIG_TRUNCATE=y +CONFIG_TSORT=y +CONFIG_TTY=y +CONFIG_UNAME=y +CONFIG_UNAME_OSNAME="GNU/Linux" +CONFIG_BB_ARCH=y +CONFIG_UNIQ=y +CONFIG_UNLINK=y +CONFIG_USLEEP=y +CONFIG_UUDECODE=y +CONFIG_BASE32=y +CONFIG_BASE64=y +CONFIG_UUENCODE=y +CONFIG_WC=y +CONFIG_FEATURE_WC_LARGE=y +CONFIG_WHO=y +CONFIG_W=y +CONFIG_USERS=y +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Console Utilities +# +CONFIG_CHVT=y +CONFIG_CLEAR=y +CONFIG_DEALLOCVT=y +# CONFIG_DUMPKMAP is not set +# CONFIG_FGCONSOLE is not set +# CONFIG_KBD_MODE is not set +CONFIG_LOADFONT=y +CONFIG_SETFONT=y +CONFIG_FEATURE_SETFONT_TEXTUAL_MAP=y +CONFIG_DEFAULT_SETFONT_DIR="" + +# +# Common options for loadfont and setfont +# +CONFIG_FEATURE_LOADFONT_PSF2=y +CONFIG_FEATURE_LOADFONT_RAW=y +CONFIG_LOADKMAP=y +CONFIG_OPENVT=y +CONFIG_RESET=y +CONFIG_RESIZE=y +CONFIG_FEATURE_RESIZE_PRINT=y +CONFIG_SETCONSOLE=y +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set +CONFIG_SETKEYCODES=y +CONFIG_SETLOGCONS=y +CONFIG_SHOWKEY=y + +# +# Debian Utilities +# +# CONFIG_PIPE_PROGRESS is not set +# CONFIG_RUN_PARTS is not set +# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set +# CONFIG_FEATURE_RUN_PARTS_FANCY is not set +# CONFIG_START_STOP_DAEMON is not set +# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set +# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set +CONFIG_WHICH=y + +# +# klibc-utils +# +# CONFIG_MINIPS is not set +# CONFIG_NUKE is not set +# CONFIG_RESUME is not set +# CONFIG_RUN_INIT is not set + +# +# Editors +# +CONFIG_AWK=y +# CONFIG_FEATURE_AWK_LIBM is not set +CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y +CONFIG_CMP=y +CONFIG_DIFF=y +CONFIG_FEATURE_DIFF_LONG_OPTIONS=y +CONFIG_FEATURE_DIFF_DIR=y +CONFIG_ED=y +CONFIG_PATCH=y +CONFIG_SED=y +CONFIG_VI=y +CONFIG_FEATURE_VI_MAX_LEN=4096 +CONFIG_FEATURE_VI_8BIT=y +CONFIG_FEATURE_VI_COLON=y +CONFIG_FEATURE_VI_COLON_EXPAND=y +CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_FEATURE_VI_SEARCH=y +# CONFIG_FEATURE_VI_REGEX_SEARCH is not set +CONFIG_FEATURE_VI_USE_SIGNALS=y +CONFIG_FEATURE_VI_DOT_CMD=y +CONFIG_FEATURE_VI_READONLY=y +CONFIG_FEATURE_VI_SETOPTS=y +CONFIG_FEATURE_VI_SET=y +CONFIG_FEATURE_VI_WIN_RESIZE=y +CONFIG_FEATURE_VI_ASK_TERMINAL=y +CONFIG_FEATURE_VI_UNDO=y +CONFIG_FEATURE_VI_UNDO_QUEUE=y +CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256 +CONFIG_FEATURE_VI_VERBOSE_STATUS=y +CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_FIND=y +CONFIG_FEATURE_FIND_PRINT0=y +CONFIG_FEATURE_FIND_MTIME=y +CONFIG_FEATURE_FIND_ATIME=y +CONFIG_FEATURE_FIND_CTIME=y +CONFIG_FEATURE_FIND_MMIN=y +CONFIG_FEATURE_FIND_AMIN=y +CONFIG_FEATURE_FIND_CMIN=y +CONFIG_FEATURE_FIND_PERM=y +CONFIG_FEATURE_FIND_TYPE=y +CONFIG_FEATURE_FIND_EXECUTABLE=y +CONFIG_FEATURE_FIND_XDEV=y +CONFIG_FEATURE_FIND_MAXDEPTH=y +CONFIG_FEATURE_FIND_NEWER=y +CONFIG_FEATURE_FIND_INUM=y +CONFIG_FEATURE_FIND_SAMEFILE=y +CONFIG_FEATURE_FIND_EXEC=y +CONFIG_FEATURE_FIND_EXEC_PLUS=y +CONFIG_FEATURE_FIND_EXEC_OK=y +CONFIG_FEATURE_FIND_USER=y +CONFIG_FEATURE_FIND_GROUP=y +CONFIG_FEATURE_FIND_NOT=y +CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_FEATURE_FIND_PAREN=y +CONFIG_FEATURE_FIND_SIZE=y +CONFIG_FEATURE_FIND_PRUNE=y +CONFIG_FEATURE_FIND_QUIT=y +CONFIG_FEATURE_FIND_DELETE=y +CONFIG_FEATURE_FIND_EMPTY=y +CONFIG_FEATURE_FIND_PATH=y +CONFIG_FEATURE_FIND_REGEX=y +# CONFIG_FEATURE_FIND_CONTEXT is not set +CONFIG_FEATURE_FIND_LINKS=y +CONFIG_GREP=y +CONFIG_EGREP=y +CONFIG_FGREP=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y +CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y +CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y +CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y +CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y +CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y +CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y + +# +# Init Utilities +# +# CONFIG_BOOTCHARTD is not set +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set +# CONFIG_HALT is not set +# CONFIG_POWEROFF is not set +# CONFIG_REBOOT is not set +# CONFIG_FEATURE_WAIT_FOR_INIT is not set +# CONFIG_FEATURE_CALL_TELINIT is not set +CONFIG_TELINIT_PATH="" +# CONFIG_INIT is not set +# CONFIG_LINUXRC is not set +# CONFIG_FEATURE_USE_INITTAB is not set +# CONFIG_FEATURE_KILL_REMOVED is not set +CONFIG_FEATURE_KILL_DELAY=0 +# CONFIG_FEATURE_INIT_SCTTY is not set +# CONFIG_FEATURE_INIT_SYSLOG is not set +# CONFIG_FEATURE_INIT_QUIET is not set +# CONFIG_FEATURE_INIT_COREDUMPS is not set +CONFIG_INIT_TERMINAL_TYPE="" +# CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set + +# +# Login/Password Management Utilities +# +CONFIG_FEATURE_SHADOWPASSWDS=y +# CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_USE_BB_SHADOW is not set +# CONFIG_USE_BB_CRYPT is not set +# CONFIG_USE_BB_CRYPT_SHA is not set +# CONFIG_ADD_SHELL is not set +# CONFIG_REMOVE_SHELL is not set +CONFIG_ADDGROUP=y +CONFIG_FEATURE_ADDUSER_TO_GROUP=y +CONFIG_ADDUSER=y +# CONFIG_FEATURE_CHECK_NAMES is not set +CONFIG_LAST_ID=65535 +CONFIG_FIRST_SYSTEM_ID=101 +CONFIG_LAST_SYSTEM_ID=999 +CONFIG_CHPASSWD=y +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="sha512" +CONFIG_CRYPTPW=y +CONFIG_MKPASSWD=y +CONFIG_DELUSER=y +CONFIG_DELGROUP=y +CONFIG_FEATURE_DEL_USER_FROM_GROUP=y +# CONFIG_GETTY is not set +CONFIG_LOGIN=y +# CONFIG_LOGIN_SESSION_AS_CHILD is not set +# CONFIG_LOGIN_SCRIPTS is not set +CONFIG_FEATURE_NOLOGIN=y +CONFIG_FEATURE_SECURETTY=y +CONFIG_PASSWD=y +# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set +CONFIG_SU=y +CONFIG_FEATURE_SU_SYSLOG=y +CONFIG_FEATURE_SU_CHECKS_SHELLS=y +# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set +CONFIG_SULOGIN=y +CONFIG_VLOCK=y + +# +# Linux Ext2 FS Progs +# +CONFIG_CHATTR=y +CONFIG_FSCK=y +CONFIG_LSATTR=y +# CONFIG_TUNE2FS is not set + +# +# Linux Module Utilities +# +# CONFIG_MODPROBE_SMALL is not set +CONFIG_DEPMOD=y +CONFIG_INSMOD=y +CONFIG_LSMOD=y +CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y +CONFIG_MODINFO=y +CONFIG_MODPROBE=y +CONFIG_FEATURE_MODPROBE_BLACKLIST=y +CONFIG_RMMOD=y + +# +# Options common to multiple modutils +# +CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS=y +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set +CONFIG_FEATURE_MODUTILS_ALIAS=y +CONFIG_FEATURE_MODUTILS_SYMBOLS=y +CONFIG_DEFAULT_MODULES_DIR="/lib/modules" +CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" + +# +# Linux System Utilities +# +# CONFIG_ACPID is not set +# CONFIG_FEATURE_ACPID_COMPAT is not set +# CONFIG_BLKDISCARD is not set +CONFIG_BLKID=y +CONFIG_FEATURE_BLKID_TYPE=y +# CONFIG_BLOCKDEV is not set +CONFIG_CAL=y +# CONFIG_CHRT is not set +CONFIG_DMESG=y +# CONFIG_FEATURE_DMESG_PRETTY is not set +# CONFIG_EJECT is not set +# CONFIG_FEATURE_EJECT_SCSI is not set +CONFIG_FALLOCATE=y +CONFIG_FATATTR=y +# CONFIG_FBSET is not set +# CONFIG_FEATURE_FBSET_FANCY is not set +# CONFIG_FEATURE_FBSET_READMODE is not set +# CONFIG_FDFORMAT is not set +CONFIG_FDISK=y +# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set +CONFIG_FEATURE_FDISK_WRITABLE=y +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +# CONFIG_FEATURE_GPT_LABEL is not set +# CONFIG_FEATURE_FDISK_ADVANCED is not set +CONFIG_FINDFS=y +CONFIG_FLOCK=y +# CONFIG_FDFLUSH is not set +# CONFIG_FREERAMDISK is not set +# CONFIG_FSCK_MINIX is not set +# CONFIG_FSFREEZE is not set +# CONFIG_FSTRIM is not set +CONFIG_GETOPT=y +CONFIG_FEATURE_GETOPT_LONG=y +CONFIG_HEXDUMP=y +# CONFIG_HD is not set +CONFIG_XXD=y +# CONFIG_HWCLOCK is not set +# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set +# CONFIG_IONICE is not set +CONFIG_IPCRM=y +CONFIG_IPCS=y +CONFIG_LAST=y +CONFIG_FEATURE_LAST_FANCY=y +CONFIG_LOSETUP=y +CONFIG_LSPCI=y +CONFIG_LSUSB=y +CONFIG_MDEV=y +CONFIG_FEATURE_MDEV_CONF=y +CONFIG_FEATURE_MDEV_RENAME=y +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set +# CONFIG_FEATURE_MDEV_EXEC is not set +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set +# CONFIG_FEATURE_MDEV_DAEMON is not set +CONFIG_MESG=y +CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y +CONFIG_MKE2FS=y +CONFIG_MKFS_EXT2=y +# CONFIG_MKFS_MINIX is not set +# CONFIG_FEATURE_MINIX2 is not set +# CONFIG_MKFS_REISER is not set +CONFIG_MKDOSFS=y +CONFIG_MKFS_VFAT=y +CONFIG_MKSWAP=y +CONFIG_FEATURE_MKSWAP_UUID=y +CONFIG_MORE=y +CONFIG_MOUNT=y +CONFIG_FEATURE_MOUNT_FAKE=y +CONFIG_FEATURE_MOUNT_VERBOSE=y +# CONFIG_FEATURE_MOUNT_HELPERS is not set +CONFIG_FEATURE_MOUNT_LABEL=y +# CONFIG_FEATURE_MOUNT_NFS is not set +# CONFIG_FEATURE_MOUNT_CIFS is not set +CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_FEATURE_MOUNT_OTHERTAB=y +CONFIG_MOUNTPOINT=y +CONFIG_NOLOGIN=y +CONFIG_NOLOGIN_DEPENDENCIES=y +CONFIG_NSENTER=y +# CONFIG_PIVOT_ROOT is not set +# CONFIG_RDATE is not set +# CONFIG_RDEV is not set +# CONFIG_READPROFILE is not set +CONFIG_RENICE=y +CONFIG_REV=y +# CONFIG_RTCWAKE is not set +CONFIG_SCRIPT=y +CONFIG_SCRIPTREPLAY=y +CONFIG_SETARCH=y +CONFIG_LINUX32=y +CONFIG_LINUX64=y +CONFIG_SETPRIV=y +CONFIG_FEATURE_SETPRIV_DUMP=y +CONFIG_FEATURE_SETPRIV_CAPABILITIES=y +CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES=y +CONFIG_SETSID=y +# CONFIG_SWAPON is not set +# CONFIG_FEATURE_SWAPON_DISCARD is not set +# CONFIG_FEATURE_SWAPON_PRI is not set +# CONFIG_SWAPOFF is not set +# CONFIG_FEATURE_SWAPONOFF_LABEL is not set +CONFIG_SWITCH_ROOT=y +# CONFIG_TASKSET is not set +# CONFIG_FEATURE_TASKSET_FANCY is not set +# CONFIG_FEATURE_TASKSET_CPULIST is not set +CONFIG_UEVENT=y +CONFIG_UMOUNT=y +CONFIG_FEATURE_UMOUNT_ALL=y +CONFIG_UNSHARE=y +CONFIG_WALL=y + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set +CONFIG_VOLUMEID=y + +# +# Filesystem/Volume identification +# +CONFIG_FEATURE_VOLUMEID_BCACHE=y +CONFIG_FEATURE_VOLUMEID_BTRFS=y +CONFIG_FEATURE_VOLUMEID_CRAMFS=y +CONFIG_FEATURE_VOLUMEID_EROFS=y +CONFIG_FEATURE_VOLUMEID_EXFAT=y +CONFIG_FEATURE_VOLUMEID_EXT=y +CONFIG_FEATURE_VOLUMEID_F2FS=y +CONFIG_FEATURE_VOLUMEID_FAT=y +CONFIG_FEATURE_VOLUMEID_HFS=y +CONFIG_FEATURE_VOLUMEID_ISO9660=y +CONFIG_FEATURE_VOLUMEID_JFS=y +CONFIG_FEATURE_VOLUMEID_LFS=y +CONFIG_FEATURE_VOLUMEID_LINUXRAID=y +CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y +CONFIG_FEATURE_VOLUMEID_LUKS=y +CONFIG_FEATURE_VOLUMEID_MINIX=y +CONFIG_FEATURE_VOLUMEID_NILFS=y +CONFIG_FEATURE_VOLUMEID_NTFS=y +CONFIG_FEATURE_VOLUMEID_OCFS2=y +CONFIG_FEATURE_VOLUMEID_REISERFS=y +CONFIG_FEATURE_VOLUMEID_ROMFS=y +CONFIG_FEATURE_VOLUMEID_SQUASHFS=y +CONFIG_FEATURE_VOLUMEID_SYSV=y +CONFIG_FEATURE_VOLUMEID_UBIFS=y +CONFIG_FEATURE_VOLUMEID_UDF=y +CONFIG_FEATURE_VOLUMEID_XFS=y + +# +# Miscellaneous Utilities +# +# CONFIG_ADJTIMEX is not set +CONFIG_ASCII=y +# CONFIG_BBCONFIG is not set +# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set +CONFIG_BC=y +# CONFIG_DC is not set +CONFIG_FEATURE_DC_BIG=y +# CONFIG_FEATURE_DC_LIBM is not set +CONFIG_FEATURE_BC_INTERACTIVE=y +CONFIG_FEATURE_BC_LONG_OPTIONS=y +CONFIG_BEEP=y +CONFIG_FEATURE_BEEP_FREQ=4000 +CONFIG_FEATURE_BEEP_LENGTH_MS=30 +# CONFIG_CHAT is not set +# CONFIG_FEATURE_CHAT_NOFAIL is not set +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set +# CONFIG_CONSPY is not set +# CONFIG_CROND is not set +# CONFIG_FEATURE_CROND_D is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set +CONFIG_FEATURE_CROND_DIR="" +# CONFIG_CRONTAB is not set +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_FEATURE_DEVFS is not set +# CONFIG_DEVMEM is not set +# CONFIG_FBSPLASH is not set +# CONFIG_FLASH_ERASEALL is not set +# CONFIG_FLASH_LOCK is not set +# CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASHCP is not set +CONFIG_GETFATTR=y +# CONFIG_HDPARM is not set +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +CONFIG_HEXEDIT=y +# CONFIG_I2CGET is not set +# CONFIG_I2CSET is not set +# CONFIG_I2CDUMP is not set +# CONFIG_I2CDETECT is not set +# CONFIG_I2CTRANSFER is not set +# CONFIG_INOTIFYD is not set +CONFIG_LESS=y +CONFIG_FEATURE_LESS_MAXLINES=9999999 +CONFIG_FEATURE_LESS_BRACKETS=y +CONFIG_FEATURE_LESS_FLAGS=y +CONFIG_FEATURE_LESS_TRUNCATE=y +CONFIG_FEATURE_LESS_MARKS=y +CONFIG_FEATURE_LESS_REGEXP=y +CONFIG_FEATURE_LESS_WINCH=y +CONFIG_FEATURE_LESS_ASK_TERMINAL=y +CONFIG_FEATURE_LESS_DASHCMD=y +CONFIG_FEATURE_LESS_LINENUMS=y +CONFIG_FEATURE_LESS_RAW=y +CONFIG_FEATURE_LESS_ENV=y +CONFIG_LSSCSI=y +# CONFIG_MAKEDEVS is not set +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +# CONFIG_FEATURE_MAKEDEVS_TABLE is not set +CONFIG_MAN=y +# CONFIG_MICROCOM is not set +# CONFIG_MIM is not set +# CONFIG_MT is not set +# CONFIG_NANDWRITE is not set +# CONFIG_NANDDUMP is not set +# CONFIG_PARTPROBE is not set +# CONFIG_RAIDAUTORUN is not set +# CONFIG_READAHEAD is not set +# CONFIG_RFKILL is not set +# CONFIG_RUNLEVEL is not set +# CONFIG_RX is not set +CONFIG_SEEDRNG=y +CONFIG_SETFATTR=y +# CONFIG_SETSERIAL is not set +CONFIG_STRINGS=y +CONFIG_TIME=y +CONFIG_TREE=y +# CONFIG_TS is not set +CONFIG_TTYSIZE=y +# CONFIG_UBIATTACH is not set +# CONFIG_UBIDETACH is not set +# CONFIG_UBIMKVOL is not set +# CONFIG_UBIRMVOL is not set +# CONFIG_UBIRSVOL is not set +# CONFIG_UBIUPDATEVOL is not set +# CONFIG_UBIRENAME is not set +# CONFIG_VOLNAME is not set +# CONFIG_WATCHDOG is not set +# CONFIG_FEATURE_WATCHDOG_OPEN_TWICE is not set + +# +# Networking Utilities +# +CONFIG_FEATURE_IPV6=y +# CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +CONFIG_VERBOSE_RESOLUTION_ERRORS=y +# CONFIG_FEATURE_ETC_NETWORKS is not set +# CONFIG_FEATURE_ETC_SERVICES is not set +CONFIG_FEATURE_HWIB=y +# CONFIG_FEATURE_TLS_SHA1 is not set +CONFIG_ARP=y +CONFIG_ARPING=y +CONFIG_BRCTL=y +CONFIG_FEATURE_BRCTL_FANCY=y +CONFIG_FEATURE_BRCTL_SHOW=y +# CONFIG_DNSD is not set +CONFIG_ETHER_WAKE=y +# CONFIG_FTPD is not set +# CONFIG_FEATURE_FTPD_WRITE is not set +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set +# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set +CONFIG_HOSTNAME=y +CONFIG_DNSDOMAINNAME=y +# CONFIG_HTTPD is not set +CONFIG_FEATURE_HTTPD_PORT_DEFAULT=0 +# CONFIG_FEATURE_HTTPD_RANGES is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set +# CONFIG_FEATURE_HTTPD_PROXY is not set +# CONFIG_FEATURE_HTTPD_GZIP is not set +# CONFIG_FEATURE_HTTPD_ETAG is not set +# CONFIG_FEATURE_HTTPD_LAST_MODIFIED is not set +# CONFIG_FEATURE_HTTPD_DATE is not set +# CONFIG_FEATURE_HTTPD_ACL_IP is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +CONFIG_FEATURE_IFCONFIG_SLIP=y +CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y +CONFIG_FEATURE_IFCONFIG_HW=y +CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y +CONFIG_IFENSLAVE=y +# CONFIG_IFPLUGD is not set +CONFIG_IFUP=y +CONFIG_IFDOWN=y +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" +CONFIG_FEATURE_IFUPDOWN_IP=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +CONFIG_FEATURE_IFUPDOWN_IPV6=y +CONFIG_FEATURE_IFUPDOWN_MAPPING=y +# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set +# CONFIG_INETD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_IPADDR=y +CONFIG_IPLINK=y +CONFIG_IPROUTE=y +CONFIG_IPTUNNEL=y +CONFIG_IPRULE=y +CONFIG_IPNEIGH=y +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_LINK_CAN=y +CONFIG_FEATURE_IP_ROUTE=y +CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" +CONFIG_FEATURE_IP_TUNNEL=y +CONFIG_FEATURE_IP_RULE=y +CONFIG_FEATURE_IP_NEIGH=y +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_FAKEIDENTD is not set +CONFIG_NAMEIF=y +CONFIG_FEATURE_NAMEIF_EXTENDED=y +CONFIG_NBDCLIENT=y +CONFIG_NC=y +# CONFIG_NETCAT is not set +CONFIG_NC_SERVER=y +CONFIG_NC_EXTRA=y +CONFIG_NC_110_COMPAT=y +CONFIG_NETSTAT=y +CONFIG_FEATURE_NETSTAT_WIDE=y +CONFIG_FEATURE_NETSTAT_PRG=y +CONFIG_NSLOOKUP=y +# CONFIG_FEATURE_NSLOOKUP_BIG is not set +# CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS is not set +# CONFIG_NTPD is not set +# CONFIG_FEATURE_NTPD_SERVER is not set +# CONFIG_FEATURE_NTPD_CONF is not set +# CONFIG_FEATURE_NTP_AUTH is not set +CONFIG_PING=y +CONFIG_PING6=y +CONFIG_FEATURE_FANCY_PING=y +CONFIG_PSCAN=y +CONFIG_ROUTE=y +CONFIG_SLATTACH=y +CONFIG_SSL_CLIENT=y +CONFIG_TC=y +CONFIG_FEATURE_TC_INGRESS=y +# CONFIG_TCPSVD is not set +# CONFIG_UDPSVD is not set +CONFIG_TELNET=y +CONFIG_FEATURE_TELNET_TTYPE=y +CONFIG_FEATURE_TELNET_AUTOLOGIN=y +CONFIG_FEATURE_TELNET_WIDTH=y +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_STANDALONE is not set +CONFIG_FEATURE_TELNETD_PORT_DEFAULT=0 +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set +CONFIG_TFTP=y +CONFIG_FEATURE_TFTP_PROGRESS_BAR=y +CONFIG_FEATURE_TFTP_HPA_COMPAT=y +# CONFIG_TFTPD is not set +CONFIG_FEATURE_TFTP_GET=y +CONFIG_FEATURE_TFTP_PUT=y +CONFIG_FEATURE_TFTP_BLOCKSIZE=y +# CONFIG_TFTP_DEBUG is not set +CONFIG_TLS=y +CONFIG_TRACEROUTE=y +CONFIG_TRACEROUTE6=y +CONFIG_FEATURE_TRACEROUTE_VERBOSE=y +CONFIG_FEATURE_TRACEROUTE_USE_ICMP=y +CONFIG_TUNCTL=y +CONFIG_FEATURE_TUNCTL_UG=y +CONFIG_VCONFIG=y +CONFIG_WGET=y +CONFIG_FEATURE_WGET_LONG_OPTIONS=y +CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_FEATURE_WGET_FTP=y +CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_FEATURE_WGET_TIMEOUT=y +CONFIG_FEATURE_WGET_HTTPS=y +CONFIG_FEATURE_WGET_OPENSSL=y +CONFIG_WHOIS=y +CONFIG_ZCIP=y +# CONFIG_UDHCPD is not set +# CONFIG_FEATURE_UDHCPD_BOOTP is not set +# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set +CONFIG_DHCPD_LEASES_FILE="" +# CONFIG_DUMPLEASES is not set +# CONFIG_DHCPRELAY is not set +CONFIG_UDHCPC=y +# CONFIG_FEATURE_UDHCPC_ARPING is not set +# CONFIG_FEATURE_UDHCPC_SANITIZEOPT is not set +CONFIG_UDHCPC_DEFAULT_SCRIPT="" +CONFIG_UDHCPC6_DEFAULT_SCRIPT="" +# CONFIG_UDHCPC6 is not set +# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set +# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set +# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set +# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set + +# +# Common options for DHCP applets +# +CONFIG_UDHCPC_DEFAULT_INTERFACE="" +# CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_UDHCP_DEBUG=0 +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 +# CONFIG_FEATURE_UDHCP_RFC3397 is not set +# CONFIG_FEATURE_UDHCP_8021Q is not set +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" + +# +# Print Utilities +# +# CONFIG_LPD is not set +# CONFIG_LPR is not set +# CONFIG_LPQ is not set + +# +# Mail Utilities +# +CONFIG_FEATURE_MIME_CHARSET="us-ascii" +# CONFIG_MAKEMIME is not set +# CONFIG_POPMAILDIR is not set +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set +# CONFIG_REFORMIME is not set +# CONFIG_FEATURE_REFORMIME_COMPAT is not set +CONFIG_SENDMAIL=y + +# +# Process Utilities +# +CONFIG_FEATURE_FAST_TOP=y +CONFIG_FEATURE_SHOW_THREADS=y +CONFIG_FREE=y +CONFIG_FUSER=y +CONFIG_IOSTAT=y +CONFIG_KILL=y +CONFIG_KILLALL=y +CONFIG_KILLALL5=y +CONFIG_LSOF=y +CONFIG_MPSTAT=y +CONFIG_NMETER=y +CONFIG_PGREP=y +CONFIG_PKILL=y +CONFIG_PIDOF=y +CONFIG_FEATURE_PIDOF_SINGLE=y +CONFIG_FEATURE_PIDOF_OMIT=y +CONFIG_PMAP=y +# CONFIG_POWERTOP is not set +# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set +CONFIG_PS=y +# CONFIG_FEATURE_PS_WIDE is not set +# CONFIG_FEATURE_PS_LONG is not set +CONFIG_FEATURE_PS_TIME=y +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set +CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y +CONFIG_PSTREE=y +CONFIG_PWDX=y +CONFIG_SMEMCAP=y +CONFIG_BB_SYSCTL=y +CONFIG_TOP=y +CONFIG_FEATURE_TOP_INTERACTIVE=y +CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +CONFIG_FEATURE_TOP_SMP_CPU=y +CONFIG_FEATURE_TOP_DECIMALS=y +CONFIG_FEATURE_TOP_SMP_PROCESS=y +CONFIG_FEATURE_TOPMEM=y +CONFIG_UPTIME=y +CONFIG_FEATURE_UPTIME_UTMP_SUPPORT=y +CONFIG_WATCH=y + +# +# Runit Utilities +# +# CONFIG_CHPST is not set +# CONFIG_SETUIDGID is not set +# CONFIG_ENVUIDGID is not set +CONFIG_ENVDIR=y +# CONFIG_SOFTLIMIT is not set +# CONFIG_RUNSV is not set +# CONFIG_RUNSVDIR is not set +# CONFIG_FEATURE_RUNSVDIR_LOG is not set +# CONFIG_SV is not set +CONFIG_SV_DEFAULT_SERVICE_DIR="" +# CONFIG_SVC is not set +# CONFIG_SVOK is not set +# CONFIG_SVLOGD is not set + +# +# SELinux Utilities +# +CONFIG_CHCON=y +CONFIG_GETENFORCE=y +CONFIG_GETSEBOOL=y +CONFIG_LOAD_POLICY=y +CONFIG_MATCHPATHCON=y +CONFIG_RUNCON=y +CONFIG_SELINUXENABLED=y +CONFIG_SESTATUS=y +CONFIG_SETENFORCE=y +CONFIG_SETFILES=y +CONFIG_FEATURE_SETFILES_CHECK_OPTION=y +CONFIG_RESTORECON=y +CONFIG_SETSEBOOL=y + +# +# Shells +# +CONFIG_SH_IS_ASH=y +# CONFIG_SH_IS_HUSH is not set +# CONFIG_SH_IS_NONE is not set +# CONFIG_BASH_IS_ASH is not set +# CONFIG_BASH_IS_HUSH is not set +CONFIG_BASH_IS_NONE=y +CONFIG_SHELL_ASH=y +CONFIG_ASH=y +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y +CONFIG_ASH_INTERNAL_GLOB=y +CONFIG_ASH_BASH_COMPAT=y +# CONFIG_ASH_BASH_SOURCE_CURDIR is not set +CONFIG_ASH_BASH_NOT_FOUND_HOOK=y +CONFIG_ASH_JOB_CONTROL=y +CONFIG_ASH_ALIAS=y +CONFIG_ASH_RANDOM_SUPPORT=y +CONFIG_ASH_EXPAND_PRMT=y +CONFIG_ASH_IDLE_TIMEOUT=y +CONFIG_ASH_MAIL=y +CONFIG_ASH_ECHO=y +CONFIG_ASH_PRINTF=y +CONFIG_ASH_TEST=y +CONFIG_ASH_HELP=y +CONFIG_ASH_GETOPTS=y +CONFIG_ASH_CMDCMD=y +# CONFIG_CTTYHACK is not set +CONFIG_HUSH=y +CONFIG_SHELL_HUSH=y +CONFIG_HUSH_BASH_COMPAT=y +CONFIG_HUSH_BRACE_EXPANSION=y +# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set +CONFIG_HUSH_LINENO_VAR=y +CONFIG_HUSH_INTERACTIVE=y +CONFIG_HUSH_SAVEHISTORY=y +CONFIG_HUSH_JOB=y +CONFIG_HUSH_TICK=y +CONFIG_HUSH_IF=y +CONFIG_HUSH_LOOPS=y +CONFIG_HUSH_CASE=y +CONFIG_HUSH_FUNCTIONS=y +CONFIG_HUSH_LOCAL=y +CONFIG_HUSH_RANDOM_SUPPORT=y +CONFIG_HUSH_MODE_X=y +CONFIG_HUSH_ECHO=y +CONFIG_HUSH_PRINTF=y +CONFIG_HUSH_TEST=y +CONFIG_HUSH_HELP=y +CONFIG_HUSH_EXPORT=y +CONFIG_HUSH_EXPORT_N=y +CONFIG_HUSH_READONLY=y +CONFIG_HUSH_KILL=y +CONFIG_HUSH_WAIT=y +CONFIG_HUSH_COMMAND=y +CONFIG_HUSH_TRAP=y +CONFIG_HUSH_TYPE=y +CONFIG_HUSH_TIMES=y +CONFIG_HUSH_READ=y +CONFIG_HUSH_SET=y +CONFIG_HUSH_UNSET=y +CONFIG_HUSH_ULIMIT=y +CONFIG_HUSH_UMASK=y +CONFIG_HUSH_GETOPTS=y +# CONFIG_HUSH_MEMLEAK is not set + +# +# Options common to all shells +# +CONFIG_FEATURE_SH_MATH=y +CONFIG_FEATURE_SH_MATH_64=y +CONFIG_FEATURE_SH_MATH_BASE=y +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_FEATURE_SH_NOFORK is not set +CONFIG_FEATURE_SH_READ_FRAC=y +CONFIG_FEATURE_SH_HISTFILESIZE=y +CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y + +# +# System Logging Utilities +# +# CONFIG_KLOGD is not set +# CONFIG_FEATURE_KLOGD_KLOGCTL is not set +CONFIG_LOGGER=y +# CONFIG_LOGREAD is not set +# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set +CONFIG_SYSLOGD=y +CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_FEATURE_REMOTE_LOG=y +CONFIG_FEATURE_SYSLOGD_DUP=y +CONFIG_FEATURE_SYSLOGD_CFG=y +# CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 +CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_FEATURE_KMSG_SYSLOG=y diff --git a/busybox.config.static b/busybox.config.static new file mode 100644 index 0000000..69a2e62 --- /dev/null +++ b/busybox.config.static @@ -0,0 +1,17 @@ +# CONFIG_SELINUX is not set +CONFIG_STATIC=y +# CONFIG_PIE is not set +# CONFIG_FEATURE_TAR_SELINUX is not set +# CONFIG_CHCON is not set +# CONFIG_GETENFORCE is not set +# CONFIG_GETSEBOOL is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_MATCHPATHCON is not set +# CONFIG_RUNCON is not set +# CONFIG_SELINUXENABLED is not set +# CONFIG_SESTATUS is not set +# CONFIG_SETENFORCE is not set +# CONFIG_SETFILES is not set +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set +# CONFIG_RESTORECON is not set +# CONFIG_SETSEBOOL is not set diff --git a/busybox.config.static.warewulf3 b/busybox.config.static.warewulf3 new file mode 100644 index 0000000..7c4a345 --- /dev/null +++ b/busybox.config.static.warewulf3 @@ -0,0 +1,4 @@ +CONFIG_REBOOT=y +CONFIG_SWITCH_ROOT=y +CONFIG_CTTYHACK=y + diff --git a/busybox.install.patch b/busybox.install.patch new file mode 100644 index 0000000..7cb8c71 --- /dev/null +++ b/busybox.install.patch @@ -0,0 +1,37 @@ +--- a/applets/install.sh ++++ b/applets/install.sh 2019/03/29 09:03:34 +@@ -1,11 +1,11 @@ +-#!/bin/sh ++#!/usr/bin/busybox sh + + export LC_ALL=POSIX + export LC_CTYPE=POSIX + + prefix=$1 + if [ -z "$prefix" ]; then +- echo "usage: applets/install.sh DESTINATION TYPE [OPTS ...]" ++ echo "usage: busybox.install DESTINATION TYPE [OPTS ...]" + echo " TYPE is one of: --symlinks --hardlinks --binaries --scriptwrapper --none" + echo " OPTS is one or more of: --cleanup --noclobber" + exit 1 +@@ -13,9 +13,9 @@ + shift # Keep only remaining options + + # Source the configuration +-. ./.config ++#. ./.config + +-h=`sort busybox.links | uniq` ++h=`sort /usr/share/busybox/busybox.links | uniq` + + sharedlib_dir="0_lib" + +@@ -78,7 +78,7 @@ + + rm -f "$prefix/bin/busybox" || exit 1 + mkdir -p "$prefix/bin" || exit 1 +-install -m 755 busybox "$prefix/bin/busybox" || exit 1 ++install -m 755 /usr/bin/busybox "$prefix/bin/busybox" || exit 1 + + for i in $h; do + appdir=`dirname "$i"` diff --git a/busybox.keyring b/busybox.keyring new file mode 100644 index 0000000..8dd2324 --- /dev/null +++ b/busybox.keyring @@ -0,0 +1,24 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.6 (GNU/Linux) + +mQGiBEV/D2cRBACIILILVH2Hw7pTT/wGSx8sV4AiRGqgLrkSYej1o2aV73KYr803 +ciaE6cvCv2pA7VVDGNjjA0Qm6z9NLiwOyL6Lxt0X7pv5LPHiGuusuJbo1IlT7Alf +vJS47XNZUKOK+DwTbrnKawEGKJLdANJ3x4aqu1tZI0tle2u42Ek1zgBiiwCg5WIB +LbZbsN9vuvhDXkU5rjA+rtsD/jeV7l4q+F31xboCE6Kixzv1Q+UNeiP+lcncqzOW +CIzh6prPooRqdXokb13OYwfAv1d84Ww2AA93grCAnNHUBomz4iVzpnMsRRxpwMoy +EnVFbutX8Zl1S631IqSKmM237X4cTItUDHABQIqUY4k7xW44UMBb62jYxyekNW6v +yVo5A/4yM8ri1E7AIUAOjoEMuWkBSYxdcq7h1jxh1Rm5QqRejiS7TNejF5EOUSlo +oPx5ijS56JHAvPJZFWu5CU0VUveTcFrv0IhqDuoYNM4uUIh/QIjo06CxBEjgviNs +kYZBwHBIBMGOIj/Vo+xzGQLySDuVxzMpDrUm9gXb49e/5skxSrQpRGVuaXMgVmxh +c2Vua28gPHZkYS5saW51eEBnb29nbGVtYWlsLmNvbT6IYAQTEQIAIAUCRX8PZwIb +AwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEEe3DFWsyZZbExwAoOTGwQOj75Hj +pDbOw99+vhlx8/uUAKCwAaxacnpRFUkhVRBsCYWIC5obf7kBDQRFfw9oEAQAjQyS +MWag/Dxc6G9Em9/2jVG9FQAi+NOPx2EigOUC8wEeErEjwQRN/9xIU8CCncttYfBe +U00b198fSL9axKZIptn0hLAMOruFODBVjVDiOY09M67DfQ47zzTRE9HWst47TgVN +LWdfNljB+wqgvEor4S6WtZpyAcq8f1kOMrX115sAAwUD/2eow67bKR7yGhHw8Me2 +HWqUmd8B0+CM5QpfYGOND5p7oKnMLXDu+Q0bma6wbTasQX+urA1UxdXo0EAWrQXr +ttQTF92G6G0Gi5JcMWu2QkgTWiZMr90sY+PMAi3nGnqiJLwHVnlxhKnTSE5JdpcX +cQLJQDYDoJtBBccBUtF0o1z+iEkEGBECAAkFAkV/D2gCGwwACgkQR7cMVazJllvV +igCfbxD3ZRcgCpaZo6gZyXf89oyKCjAAnAiK5h7KxXPrwviUL4K/GlWGGFOA +=2JoA +-----END PGP PUBLIC KEY BLOCK----- diff --git a/busybox.spec b/busybox.spec new file mode 100644 index 0000000..7bd4111 --- /dev/null +++ b/busybox.spec @@ -0,0 +1,812 @@ +# +# spec file for package busybox +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%ifarch x86_64 aarch64 i586 +%bcond_without ww3 +%else +%bcond_with ww3 +%endif +%bcond_without static + +Name: busybox +Version: 1.37.0 +Release: 157.17 +Summary: Minimalist variant of UNIX utilities linked in a single executable +License: GPL-2.0-or-later +Group: System/Base +URL: https://www.busybox.net/ +Source: https://busybox.net/downloads/%{name}-%{version}.tar.bz2 +Source2: busybox.config +# Make sure busybox-static.config stays in sync with busybox.config - +# exception: SELinux commands - these do not build statically. +Source3: busybox.config.static +Source4: man.conf +Source5: https://busybox.net/downloads/%{name}-%{version}.tar.bz2.sig +Source6: https://busybox.net/~vda/vda_pubkey.gpg#/%{name}.keyring +Source7: busybox.config.static.warewulf3 +Patch0: cpio-long-opt.patch +Patch1: sendmail-ignore-F-option.patch +Patch2: testsuite-gnu-echo.patch +# # PATCH-FIX-UPSTREAM shell: avoid segfault on ${0::0/0~09J} (CVE-2022-48174) https://git.busybox.net/busybox/commit/?id=d417193cf +# Patch3: ash-fix-segfault-d417193cf.patch +Patch4: udhcp6-install-path.patch +Patch5: tc-no-TCA_CBQ.patch +# other patches +Patch100: busybox.install.patch +Provides: useradd_or_adduser_dep +BuildRequires: glibc-devel-static +#in SLE12 hostname is part of the net-tools package +%if %{?suse_version} && %{?suse_version} <= 1315 +BuildRequires: net-tools +%else +BuildRequires: hostname +%endif +BuildRequires: pkgconfig(libselinux) +# for test suite +BuildRequires: zip + +%description +BusyBox combines tiny versions of many common UNIX utilities into a +single executable. It provides minimalist replacements for utilities +usually found in fileutils, shellutils, findutils, textutils, grep, +gzip, tar, and more. BusyBox provides a fairly complete POSIX +environment for small or embedded systems. The utilities in BusyBox +generally have fewer options than their GNU cousins. The options that +are included provide the expected functionality and behave much like +their GNU counterparts. +BusyBox is for emergency and special use cases. Replacing the standard +tools in a system is not supported. Some tools don't work out of the +box but need special configuration, like udhcpc, the dhcp client. + +%package static +Summary: Static linked version of Busybox, a compact UNIX utility collection +Group: System/Base + +%description static +BusyBox combines tiny versions of many common UNIX utilities into a +single executable. + +%package warewulf3 +Summary: Static version of Busybox - for building Warewulf3 +Group: System/Base + +%description warewulf3 +This version of busybox is only for building Warewulf3 +https://github.com/warewulf/warewulf3 + +%package testsuite +Summary: Testsuite of busybox +Group: Development/Testing +Requires: %{name} = %{version} +Requires: zip + +%description testsuite +Using this package you can test the busybox build on different kernels and glibc. +It needs to run with permission to the current directory, so either copy it away +as is or run as root: + +cd /usr/share/busybox/testsuite +PATH=/usr/share/busybox:$PATH SKIP_KNOWN_BUGS=1 ./runtest + +%prep +#SLE12 needs an empty line after autosetup for it to expand properly (bsc#1205420) +%autosetup -p1 + +find "(" -name CVS -o -name .cvsignore -o -name .svn -o -name .gitignore ")" \ + -exec rm -Rf {} + + +%build +export KCONFIG_NOTIMESTAMP=KCONFIG_NOTIMESTAMP +export KBUILD_VERBOSE=1 +export CFLAGS="%{optflags} -fPIC -fno-strict-aliasing -I/usr/include/tirpc" +export CC="gcc" +export HOSTCC=gcc +%if %{with static} +cat %{SOURCE3} %{SOURCE2} > .config +make %{?_smp_mflags} -e oldconfig +make -e %{?_smp_mflags} +mv busybox busybox-static +%endif + +%if 0%{with ww3} +make -e %{?_smp_mflags} clean +cat %{SOURCE7} %{SOURCE3} %{SOURCE2} > .config +make %{?_smp_mflags} -e oldconfig +make -e %{?_smp_mflags} +mv busybox busybox-warewulf3 +make -e busybox.links %{?_smp_mflags} +mv busybox.links busybox-warewulf3.links +%endif + +make -e %{?_smp_mflags} clean +cp -a %{SOURCE2} .config +make %{?_smp_mflags} -e oldconfig +#make -e %{?_smp_mflags} +make -e +make -e doc busybox.links %{?_smp_mflags} + +%if 0%{?suse_version} >= 1550 +for i in busybox.links %{?with_ww3:busybox-warewulf3.links}; do + sed -i -e 's,^/\(s\?bin\)/,/usr/\1/,' $i +done +%endif + +%install +install -d %{buildroot}/%{_bindir} +install -d %{buildroot}/%{_datadir}/busybox +install -m 0644 busybox.links %{buildroot}%{_datadir}/busybox +install applets/install.sh %{buildroot}%{_bindir}/busybox.install +install -m 0755 busybox %{buildroot}%{_bindir} +%if %{with static} +install -m 0755 busybox-static %{buildroot}%{_bindir} +%endif +install -d %{buildroot}%{_sysconfdir} +install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/ +install -d %{buildroot}%{_mandir}/man1 +install -m 644 docs/busybox.1 %{buildroot}%{_mandir}/man1 +%if %{with ww3} +install -m 0644 busybox-warewulf3.links %{buildroot}%{_datadir}/busybox +install -m 0755 busybox-warewulf3 %{buildroot}%{_bindir} +%endif +cp %{SOURCE2} %{buildroot}%{_datadir}/busybox/.config +ln -s %_bindir/busybox %{buildroot}%{_datadir}/busybox/busybox +cp -a testsuite %{buildroot}%{_datadir}/busybox/testsuite + +%check +export KCONFIG_NOTIMESTAMP=KCONFIG_NOTIMESTAMP +export KBUILD_VERBOSE=1 +export CFLAGS="%{optflags} -fPIC -fno-strict-aliasing -I/usr/include/tirpc" +export CC="gcc" +export HOSTCC=gcc +export SKIP_KNOWN_BUGS=1 +export SKIP_INTERNET_TESTS=1 +make -e %{?_smp_mflags} test + +%files +%license LICENSE +%doc docs/mdev.txt +%config %{_sysconfdir}/man.conf +%doc %{_mandir}/man1/busybox.1.gz +%{_bindir}/busybox +%{_bindir}/busybox.install +%dir %{_datadir}/busybox +%{_datadir}/busybox/busybox.links + +%files testsuite +%{_datadir}/busybox/busybox +%{_datadir}/busybox/.config +%{_datadir}/busybox/testsuite + +%if %{with static} +%files static +%license LICENSE +%{_bindir}/busybox-static +%endif + +%if %{with ww3} +%files warewulf3 +%license LICENSE +%{_bindir}/busybox-warewulf3 +%dir %{_datadir}/busybox +%{_datadir}/busybox/busybox-warewulf3.links +%endif + +%changelog +* Sat Sep 28 2024 Matthias G. Eckermann +- Update to 1.37.0 +* Thu Mar 14 2024 Thorsten Kukuk +- tc-no-TCA_CBQ.patch: Disable TCA_CBQ code if kernel headers don't + support them. +* Fri Dec 8 2023 Thorsten Kukuk +- 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] +* Tue Aug 29 2023 Radoslav Kolev +- Add ash-fix-segfault-d417193cf.patch: fix stack overflow vulnerability + in ash (CVE-2022-48174, bsc#1214538) +* Fri Jun 2 2023 Dirk Müller +- 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. +* Fri Jan 6 2023 Radoslav Kolev +- Update to version 1.36.0 + - awk: fix use after free (CVE-2022-30065) + - various fixes for ash, bc, cut, fbset, kbuild, libbb, mkfs.vfat, + mv, powertop, sed, sort, taskset, top, udhcpc6, unzip, vi, xxd + - improvements in ash, cmp, crond, devmem, ed, fbset, fdisk, ls, xargs, pkill + - new applets added: seedrng, tree, tsort +- Adjust busybox.config for new features + - ash: enable sleep built-in + - enable new applets: seedrng, tree, tsort + - enable SHA hardware acceleration + - try LOOP_CONFIGURE for losetup/loop mounts, but fall back to + LOOP_SET_FD + LOOP_SET_STATUS if not supported +- drop e63d7cdf.patch (fix for CVE-2022-30065), included upstream +* Tue Dec 27 2022 Ludwig Nussel +- Replace transitional %%usrmerged macro with regular version check (boo#1206798) +* Wed Nov 23 2022 Dominique Leuenberger +- Add e63d7cdf.patch: awk: fix use after free (CVE-2022-30065, + boo#1199744). +* Mon Nov 14 2022 Radoslav Kolev +- Fix build under SLE-12 +* Mon Oct 17 2022 Radoslav Kolev +- 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 +* Thu Jun 30 2022 Ludwig Nussel +- prepare spec file for rpmbuild --build-in-place --noprep +- use bcond for static and ww3 subpackages +- fix verbose flag +* Fri Jun 10 2022 Marcos de Souza +- Enable switch_root + With this change virtme --force-initramfs works as expected. +* Wed Mar 30 2022 Marcos de Souza +- Enable udhcpc +* Wed Mar 23 2022 Dominique Leuenberger +- 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. +* Wed Jan 12 2022 Thorsten Kukuk +- Update to 1.35.0 + - awk: fix printf %%%%, fix read beyond end of buffer + - chrt: silence analyzer warning + - libarchive: remove duplicate forward declaration + - mount: "mount -o rw ...." should not fall back to RO mount + - ps: fix -o pid=PID,args interpreting entire "PID,args" as header + - tar: prevent malicious archives with long name sizes causing OOM + - udhcpc6: fix udhcp_find_option to actually find DHCP6 options + - xxd: fix -p -r + - support for new optoins added to basename, cpio, date, find, + mktemp, wget and others +- Adjust busybox.config for new features in find, date and cpio +* Thu Jan 6 2022 Radoslav Kolev +- Annotate CVEs already fixed in upstream, but not mentioned in .changes: + * CVE-2017-16544 (bsc#1069412): Insufficient sanitization of filenames when autocompleting + * CVE-2015-9261 (bsc#1102912): huft_build misuses a pointer, causing segfaults + * CVE-2016-2147 (bsc#970663): out of bounds write (heap) due to integer underflow in udhcpc + * CVE-2016-2148 (bsc#970662): heap-based buffer overflow in OPTION_6RD parsing + * CVE-2016-6301 (bsc#991940): NTP server denial of service flaw + * CVE-2017-15873 (bsc#1064976): The get_next_block function in archival/libarchive/decompress_bunzip2.c has an Integer Overflow + * CVE-2017-15874 (bsc#1064978): archival/libarchive/decompress_unlzma.c has an Integer Underflow + * CVE-2019-5747 (bsc#1121428): out of bounds read in udhcp components + * CVE-2021-42373, CVE-2021-42374, CVE-2021-42375, CVE-2021-42376, + CVE-2021-42377, CVE-2021-42378, CVE-2021-42379, CVE-2021-42380, + CVE-2021-42381, CVE-2021-42382, CVE-2021-42383, CVE-2021-42384, + CVE-2021-42385, CVE-2021-42386 (bsc#1192869) : v1.34.0 bugfixes + - CVE-2021-28831 (bsc#1184522): invalid free or segmentation fault via malformed gzip data + - CVE-2018-20679 (bsc#1121426): out of bounds read in udhcp + - CVE-2018-1000517 (bsc#1099260): Heap-based buffer overflow in the retrieve_file_data() + - CVE-2011-5325 (bsc#951562): tar directory traversal + - CVE-2018-1000500 (bsc#1099263): wget: Missing SSL certificate validation +* Sat Oct 30 2021 Stephan Kulow +- Disable crc32 to avoid conflict with perl-Archive-Zip + (until some project really requires crc32) +* Wed Oct 27 2021 Egbert Eich +- Build busybox-warewulf3 for i586 as well. This allowes to set up + i586 nodes. +* Fri Oct 22 2021 Lukas Lansky +- Enable fdisk (jsc#CAR-16) +- Add testsuite-gnu-echo.patch: testing.sh to use GNU echo +* Thu Oct 21 2021 Stephan Kulow +- 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 +* Thu Oct 21 2021 Stephan Kulow +- 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 +* Sat Oct 9 2021 Egbert Eich +- 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). +* Fri May 7 2021 Andreas Stieger +- update to 1.33.1: + * httpd: fix sendfile + * ash: fix HISTFILE corruptio + * ash: fix unset variable pattern expansion + * traceroute: fix option parsing + * gunzip: fix for archive corruption +- drop update_passwd_selinux_fix.patch, included upstream +- add upstream signing key and verify source signature +* Thu Jan 28 2021 Thorsten Kukuk +- Update to version 1.33.0 + - many bug fixes and new features +- update_passwd_selinux_fix.patch upstream compile fix for SELinux +* Tue Jan 5 2021 Thorsten Kukuk +- Update to version 1.32.1 + - fixes a case where in ash, "wait" never finishes. +* Tue Jan 5 2021 Thorsten Kukuk +- sendmail-ignore-F-option.patch: ignore -F option as used by + cron (workaround for [bbn#13426]) +* Wed Dec 9 2020 Thorsten Kukuk +- Don't require nogroup for adduser command, as this can lead to + a dependency cycle with sysusers-tools. +* Mon Dec 7 2020 Thorsten Kukuk +- cpio-long-opt.patch: add more long options to cpio for IBS/unrpm +* Fri Nov 20 2020 Ludwig Nussel +- prepare usrmerge (boo#1029961) +* Tue Sep 29 2020 Thorsten Kukuk +- Disable RPM builtin, did become pretty useless +- Disable popmaildir and mime utilities +* Fri Aug 21 2020 Thorsten Kukuk +- 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) +* Wed Aug 12 2020 Thorsten Kukuk +- Enable SELinux for the dynamic version +* Wed Jul 22 2020 Thorsten Kukuk +- Update to busybox 1.32.0 + - many bugfixes and new features + - Obsoletes busybox-no-stime.patch +* Wed Jul 22 2020 Thorsten Kukuk +- 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 +* Sat Jul 11 2020 Thorsten Kukuk +- Enable syslogd for containers +* Wed Jul 8 2020 Stephan Kulow +- Enable testsuite and package it for later rerun (for QA, + jsc#CAR-15) +* Fri Apr 17 2020 Thorsten Kukuk +- Re-add modutils +* Sat Mar 21 2020 Thorsten Kukuk +- Set last ID to 65533, else nobody cannot be created +* Fri Mar 13 2020 Thorsten Kukuk +- Merge config of default, -container and -static to be able to + drop -container variant +* Sat Feb 22 2020 Thorsten Kukuk +- Disable CONFIG_FEATURE_NSLOOKUP_BIG as it leads to incompatible + nslookup behavior +* Mon Feb 10 2020 Thorsten Kukuk +- Eanble FEATURE_TFTP_HPA_COMPAT and SH_MATH_BASE +* Sat Feb 8 2020 Dominique Leuenberger +- 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(). +* Wed Oct 23 2019 kukuk@suse.de +- Add man.conf to container variant +* Tue Sep 10 2019 Jan Engelhardt +- Trim marketing from description. +* Thu Aug 22 2019 kukuk@suse.de +- Drop busybox-rpm-E.patch, not needed anymore +- Create new "container" subpackage with special stripped down + version for container images (8MB instead of 15MB). +* Thu Jul 25 2019 kukuk@suse.de +- Provide "useradd_or_adduser_dep" for sysuser-shadow +* Fri Mar 29 2019 kukuk@suse.de +- Implement rpm -E %%_dbpath for kiwi (busybox-rpm-E.patch) +- Don't require /bin/sh, be self contained +* Thu Mar 28 2019 kukuk@suse.de +- 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 +* Wed Aug 22 2018 jjolly@suse.com +- Enabled functionality within busybox for warewulf compatibility + * CONFIG_FEATURE_REMOTE_LOG + * CONFIG_DEPMOD + * CONFIG_TAC +* Fri Nov 10 2017 kukuk@suse.de +- Build against libtirpc in preparation of deprecating sunrpc from + glibc +* Sun Jul 2 2017 astieger@suse.com +- update to 1.26.2: + * many updates and fixes to individual tools +* Tue Nov 1 2016 astieger@suse.com +- update to 1.25.1: + * fixes for hush, gunzip, ip route, ntpd +- includes changes from 1.25.0: + * many added and expanded implementations of command options +- includes changes from 1.24.2: + * fixes for build system (static build with glibc fixed), + truncate, gunzip and unzip. +* Thu Mar 3 2016 olaf@aepfle.de +- Disable build timestamp +* Sun Jan 3 2016 p.drouand@gmail.com +- Update to version 1.24.1 + * for a full list of changes see http://www.busybox.net/news.html +- Refresh busybox.install.patch +* Mon Apr 20 2015 mpluskal@suse.com +- 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 +* Thu Oct 9 2014 olaf@aepfle.de +- Remove mkinitrd scripts +* Thu Sep 4 2014 andreas.stieger@gmx.de +- update to 1.22.1: + Many updates and fixes for most included tools, see + see http://www.busybox.net/news.html +- adjust busybox-resource.patch +* Thu Dec 12 2013 p.drouand@gmail.com +- 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 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 +* Sun Dec 9 2012 p.drouand@gmail.com +- Update to 1.20.2 (Bug fix release): + * fix for variable expansion in redirection + * fix for "pre-up" and "pre-down" handling + * fixes for compressed man pages handling + * important fix! due to misplaced s_mkfs_time field, ext4 driver + couldn't mount our images + * fix for getting uptime on non-Linux platforms + * fix base-256 decoding +- Remove busybox-1.19.4-ext2fs_h.diff: fixed on upstream release +* Wed Aug 1 2012 lnussel@suse.de +- fix path in busybox.install (bnc#680153) +* Wed Jul 18 2012 aj@suse.de +- Add missing sys/resource include (glibc 2.16) +* Wed Jun 6 2012 seife+obs@b1-systems.com +- busybox-1.19.4-ext2fs_h.diff: + more complete fix for latest ext2_fs.h breakage from busybox git, + drop busybox-1.19.4-typedef_umode_t.patch +* Tue Apr 10 2012 ro@suse.de +- 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 +* Tue Apr 10 2012 ro@suse.de +- 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 +* Fri Sep 30 2011 uli@suse.com +- cross-build fix: use %%__cc macro, set HOSTCC +* Sat Sep 17 2011 jengelh@medozas.de +- Remove redundant tags/sections from specfile +* Sat Mar 12 2011 chris@computersalat.de +- update to 1.18.13 + see http://www.busybox.net/ for full changelog +- add upstream patches + o buildsys.patch + o cksum.patch + o klogd.patch + o menuconfig.patch + o modutils24.patch + o wget.patch +- rework libunarchive-array patch + o -> libarchive patch +- remove .gitignore files +- added missing BusyBox.1 as S:1 +- added export CFLAGS="{optflags} -fno-strict-aliasing" +* Sun Oct 31 2010 jengelh@medozas.de +- Use %%_smp_mflags +* Wed Oct 6 2010 aj@suse.de +- Update to busybox 1.17.2: + * obsoletes patches busybox.dmesg-size.patch, busybox-1.17.1-make.patch, + busybox-buildfix.patch + * see http://www.busybox.net/ for full changelog +* Mon Sep 20 2010 coolo@novell.com +- add backported fix for make 3.82 +* Tue Aug 4 2009 aj@suse.de +- Fix build with updated kernel headers (busybox-buildfix.patch) +* Thu Dec 18 2008 sassmann@suse.de +- update to 1.12.3 bugfix release + * has fixes for option parsing and line editing +* Tue Nov 4 2008 sassmann@suse.de +- updated config file to use a single config for + both busybox and busybox-static +* Wed Oct 15 2008 sassmann@suse.de +- update to 1.12.1 + see http://www.busybox.net/ for full changelog +- removed patches included upstream + * busybox-1.8.2-arping.patch + * busybox-1.8.2-static + * busybox-1.8.2-vi.patch +- refreshed patches + * busybox.libunarchive-array.patch + * busybox.dmesg-size.patch +- updated config file + * removed awk math support and dc to get rid of libm +* Wed Sep 3 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) +* Fri Aug 22 2008 prusnak@suse.cz +- enabled SELinux support [Fate#303662] +* Wed Jul 23 2008 hare@suse.de +- Include mkinitrd scriptlets. +* Thu Jan 17 2008 sassmann@suse.de +- update to 1.8.2 + see http://www.busybox.net/ for full changelog +- added bugfixes + * busybox-1.8.2-arping.patch + * busybox-1.8.2-static + * busybox-1.8.2-vi.patch +* Fri Nov 16 2007 olh@suse.de +- update to 1.8.1 + see http://www.busybox.net/ for full changelog +* Sun Jul 15 2007 olh@suse.de +- update to 1.6.1 + see http://www.busybox.net/ for full changelog +* Fri May 11 2007 olh@suse.de +- increase ash cmdline history size + user kernel ringbuffer size for dmesg +* Mon May 7 2007 olh@suse.de +- gcc42 rejects out of bounds array access +* Sat Apr 28 2007 olh@suse.de +- update to 1.4.2 + reduces binary size after e2fsprogs removal +* Wed Dec 6 2006 trenn@suse.de +- move to 1.2.2 and enable nearly everything. + Most important (awk,less,vi and much more) + binary on i386 now has 732k +* Tue Aug 8 2006 ihno@suse.de +- update to busybox 1.2.1 final + Bugfix release. Bugs fixed: + lash: "var=value" works without export + tar: can extract git generated tarballs + adduser: /etc/group is updated + modprobe: look for modules.conf at the right place for 2.6 kernels + all setuid and getgid calls are check return values in case + somebody using per-process resource limits that prevent a user + from having too many processes +* Wed Jan 25 2006 mls@suse.de +- converted neededforbuild to BuildRequires +* Mon Jan 16 2006 ihno@suse.de +- Update to busybox 1.1.0 final +* Wed Jan 11 2006 ihno@suse.de +- update to busybox 1.1.0-pre1 +* Wed Nov 16 2005 dmueller@suse.de +- build against dietlibc unconditionally +* Thu May 12 2005 uli@suse.de +- use dietlibc on ARM +- uclibc config file needs to be fixed +* Fri Apr 1 2005 mmj@suse.de +- Correct function declaration +* Mon Jan 24 2005 nashif@suse.de +- Update to 1.00 final +* Tue Aug 17 2004 nashif@suse.de +- Update to 1.00-rc3 +* Thu Aug 5 2004 nashif@suse.de +- Update to 1.00-rc2 +* Wed Jul 21 2004 nashif@suse.de +- Update to 1.00-rc1 +* Tue May 11 2004 nashif@suse.de +- Bug #39461 - Fixes netlink vulnerability +* Tue Apr 27 2004 mmj@suse.de +- Fix strict aliasing +* Mon Mar 1 2004 nashif@suse.de +- Update to 1.0 pre 8 +* Wed Feb 11 2004 ro@suse.de +- hack to build it on amd64 +* Tue Feb 10 2004 schwab@suse.de +- Fix building on ia64. +* Wed Feb 4 2004 kukuk@suse.de +- Remove wrong dietlibc requires +* Mon Feb 2 2004 hare@suse.de +- Fixed spec file to build on all archs. +* Fri Jan 30 2004 hare@suse.de +- Update to 1.00-pre5 +- Patched dietlibc support to use a menuconfig option. +* Sat Jan 10 2004 adrian@suse.de +- build as user +* Wed Dec 10 2003 uli@suse.de +- build with dietlibc where available +* Mon Jun 2 2003 nashif@suse.de +- Set Autoreqprov: on +* Thu May 29 2003 nashif@suse.de +- Updated with latest stable release incl. patches. +* Fri May 16 2003 nashif@suse.de +- Removed CVS files +* Sat Nov 2 2002 nashif@suse.de +- Update to version 0.60.5 +- Unique patch names +* Mon Jun 10 2002 nashif@suse.de +- Update to version 0.60.3 +* Mon Nov 26 2001 nashif@suse.de +- Update to version 0.60.2 +- Major Changes: + * msh was reworked + * reworked hostname + * Various bugfixes +* Fri Aug 24 2001 nashif@suse.de +- Update to version 0.60.1 +- This is a relatively minor bug fixing release which fixes bugs + in the following applets, among others: msh, sed, route, syslogd, + ifconfig, lash +- Rewrite of tftp +* Sat Aug 4 2001 nashif@suse.de +- Update to version 0.60.0 +* Thu Jul 12 2001 nashif@suse.de +- Update to version 0.52 +* Wed Apr 11 2001 nashif@suse.de +- Update to version 0.51 +* Fri Feb 9 2001 nashif@suse.de +- Fixed sync.c to compile +* Mon Feb 5 2001 nashif@suse.de +- Update to version 0.49 +* Wed Dec 20 2000 uli@suse.de +- disabled insmod for all archs except IA32, ARM and SH +* Tue Dec 19 2000 nashif@suse.de +- Update to 0.48 (Fixes many bugs) +* Mon Nov 27 2000 nashif@suse.de +- Fixed pathes in install script +* Tue Nov 7 2000 nashif@suse.de +- Added EM_486 and OPEN_MAX fixes +* Wed Sep 27 2000 nashif@suse.de +- Update to 0.47 +- Fix nfsmount.c +* Wed Aug 30 2000 nashif@suse.de +- Fix for axp +* Mon Aug 28 2000 nashif@suse.de +- Update to version 0.46 +* Thu Jul 6 2000 nashif@suse.de +- Fix install script (Bug #3195) +* Tue May 23 2000 nashif@suse.de +- Initial Release (Version 0.43) diff --git a/cpio-long-opt.patch b/cpio-long-opt.patch new file mode 100644 index 0000000..8eaea4b --- /dev/null +++ b/cpio-long-opt.patch @@ -0,0 +1,14 @@ +Index: busybox-1.35.0/archival/cpio.c +=================================================================== +--- busybox-1.35.0.orig/archival/cpio.c ++++ busybox-1.35.0/archival/cpio.c +@@ -413,6 +413,9 @@ int cpio_main(int argc UNUSED_PARAM, cha + const char *long_opts = + "extract\0" No_argument "i" + "list\0" No_argument "t" ++ "unconditional\0" No_argument "u" ++ "preserve-modification-time\0" No_argument "m" ++ "make-directories\0" No_argument "d" + #if ENABLE_FEATURE_CPIO_O + "create\0" No_argument "o" + "format\0" Required_argument "H" diff --git a/man.conf b/man.conf new file mode 100644 index 0000000..8db5c9b --- /dev/null +++ b/man.conf @@ -0,0 +1 @@ +MANPATH /usr/share/man diff --git a/sendmail-ignore-F-option.patch b/sendmail-ignore-F-option.patch new file mode 100644 index 0000000..2e7a6eb --- /dev/null +++ b/sendmail-ignore-F-option.patch @@ -0,0 +1,12 @@ +diff -urN busybox-1.32.0.orig/mailutils/sendmail.c busybox-1.32.0/mailutils/sendmail.c +--- busybox-1.32.0.orig/mailutils/sendmail.c 2020-06-26 20:47:44.000000000 +0200 ++++ busybox-1.32.0/mailutils/sendmail.c 2021-01-05 09:04:05.973347132 +0100 +@@ -271,7 +271,7 @@ + // -a is for ssmtp (http://downloads.openwrt.org/people/nico/man/man8/ssmtp.8.html) compatibility, + // it is still under development. + opts = getopt32(argv, "^" +- "tf:o:iw:+H:S:a:*:v" ++ "tf:o:iw:+H:S:a:*:vF:" + "\0" + // -v is a counter, -H and -S are mutually exclusive, -a is a list + "vv:H--S:S--H", diff --git a/tc-no-TCA_CBQ.patch b/tc-no-TCA_CBQ.patch new file mode 100644 index 0000000..c2a8fc9 --- /dev/null +++ b/tc-no-TCA_CBQ.patch @@ -0,0 +1,18 @@ +--- busybox-1.36.1/networking/tc.c.old 2023-01-03 15:14:43.000000000 +0100 ++++ busybox-1.36.1/networking/tc.c 2024-03-14 10:04:19.733155657 +0100 +@@ -233,6 +233,7 @@ + #endif + static int cbq_print_opt(struct rtattr *opt) + { ++#ifdef TCA_CBQ_MAX + struct rtattr *tb[TCA_CBQ_MAX+1]; + struct tc_ratespec *r = NULL; + struct tc_cbq_lssopt *lss = NULL; +@@ -320,6 +321,7 @@ + } + } + done: ++#endif + return 0; + } + diff --git a/testsuite-gnu-echo.patch b/testsuite-gnu-echo.patch new file mode 100644 index 0000000..5c10a9e --- /dev/null +++ b/testsuite-gnu-echo.patch @@ -0,0 +1,26 @@ +From 0bc41194d1f934f94c84fd0a7b835cee6961d824 Mon Sep 17 00:00:00 2001 +From: Bogdan Lezhepekov +Date: Thu, 4 Feb 2021 18:02:11 +0200 +Subject: [PATCH v1] testing.sh: Use GNU echo instead of builtin + +Signed-off-by: Bogdan Lezhepekov +--- + testsuite/testing.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testsuite/testing.sh b/testsuite/testing.sh +index f5b756947..c853f3cfd 100644 +--- a/testsuite/testing.sh ++++ b/testsuite/testing.sh +@@ -39,7 +39,7 @@ export SKIP= + # Helper for helpers. Oh my... + + test x"$ECHO" != x"" || { +- ECHO="echo" ++ ECHO="/bin/echo" + test x"`echo -ne`" = x"" || { + # Compile and use a replacement 'echo' which understands -e -n + ECHO="$PWD/echo-ne" +-- +2.26.2 + diff --git a/udhcp6-install-path.patch b/udhcp6-install-path.patch new file mode 100644 index 0000000..c11ad59 --- /dev/null +++ b/udhcp6-install-path.patch @@ -0,0 +1,11 @@ +--- busybox-1.36.1/networking/udhcp/d6_dhcpc.c.old 2023-01-03 15:14:43.000000000 +0100 ++++ busybox-1.36.1/networking/udhcp/d6_dhcpc.c 2023-12-08 11:46:16.570298842 +0100 +@@ -45,7 +45,7 @@ + //config: You can request bootfile-url with "-O bootfile_url" and + //config: bootfile-params with "-O bootfile_params". + +-//applet:IF_UDHCPC6(APPLET(udhcpc6, BB_DIR_USR_BIN, BB_SUID_DROP)) ++//applet:IF_UDHCPC6(APPLET(udhcpc6, BB_DIR_USR_SBIN, BB_SUID_DROP)) + + //kbuild:lib-$(CONFIG_UDHCPC6) += d6_dhcpc.o d6_packet.o d6_socket.o common.o socket.o signalpipe.o + //kbuild:lib-$(CONFIG_FEATURE_UDHCPC6_RFC3646) += domain_codec.o From a50467c64bb90c64ab5706920c75add5876cbe3460a5203b9dd651fd5275774c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 29 Sep 2024 10:02:57 +0000 Subject: [PATCH 2/3] - remove unnecessary patch ash-fix-segfault-d417193cf.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=129 --- busybox.changes | 2 +- busybox.spec | 603 ------------------------------------------------ 2 files changed, 1 insertion(+), 604 deletions(-) diff --git a/busybox.changes b/busybox.changes index 826f22b..c0cdd14 100644 --- a/busybox.changes +++ b/busybox.changes @@ -2,7 +2,7 @@ Sat Sep 28 20:48:01 UTC 2024 - Matthias G. Eckermann - Update to 1.37.0 -- remove unnecessary patch +- remove unnecessary patch ash-fix-segfault-d417193cf.patch - Update default config to match 1.37.0 expectations ------------------------------------------------------------------- diff --git a/busybox.spec b/busybox.spec index 7bd4111..3c74e9c 100644 --- a/busybox.spec +++ b/busybox.spec @@ -207,606 +207,3 @@ make -e %{?_smp_mflags} test %endif %changelog -* Sat Sep 28 2024 Matthias G. Eckermann -- Update to 1.37.0 -* Thu Mar 14 2024 Thorsten Kukuk -- tc-no-TCA_CBQ.patch: Disable TCA_CBQ code if kernel headers don't - support them. -* Fri Dec 8 2023 Thorsten Kukuk -- 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] -* Tue Aug 29 2023 Radoslav Kolev -- Add ash-fix-segfault-d417193cf.patch: fix stack overflow vulnerability - in ash (CVE-2022-48174, bsc#1214538) -* Fri Jun 2 2023 Dirk Müller -- 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. -* Fri Jan 6 2023 Radoslav Kolev -- Update to version 1.36.0 - - awk: fix use after free (CVE-2022-30065) - - various fixes for ash, bc, cut, fbset, kbuild, libbb, mkfs.vfat, - mv, powertop, sed, sort, taskset, top, udhcpc6, unzip, vi, xxd - - improvements in ash, cmp, crond, devmem, ed, fbset, fdisk, ls, xargs, pkill - - new applets added: seedrng, tree, tsort -- Adjust busybox.config for new features - - ash: enable sleep built-in - - enable new applets: seedrng, tree, tsort - - enable SHA hardware acceleration - - try LOOP_CONFIGURE for losetup/loop mounts, but fall back to - LOOP_SET_FD + LOOP_SET_STATUS if not supported -- drop e63d7cdf.patch (fix for CVE-2022-30065), included upstream -* Tue Dec 27 2022 Ludwig Nussel -- Replace transitional %%usrmerged macro with regular version check (boo#1206798) -* Wed Nov 23 2022 Dominique Leuenberger -- Add e63d7cdf.patch: awk: fix use after free (CVE-2022-30065, - boo#1199744). -* Mon Nov 14 2022 Radoslav Kolev -- Fix build under SLE-12 -* Mon Oct 17 2022 Radoslav Kolev -- 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 -* Thu Jun 30 2022 Ludwig Nussel -- prepare spec file for rpmbuild --build-in-place --noprep -- use bcond for static and ww3 subpackages -- fix verbose flag -* Fri Jun 10 2022 Marcos de Souza -- Enable switch_root - With this change virtme --force-initramfs works as expected. -* Wed Mar 30 2022 Marcos de Souza -- Enable udhcpc -* Wed Mar 23 2022 Dominique Leuenberger -- 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. -* Wed Jan 12 2022 Thorsten Kukuk -- Update to 1.35.0 - - awk: fix printf %%%%, fix read beyond end of buffer - - chrt: silence analyzer warning - - libarchive: remove duplicate forward declaration - - mount: "mount -o rw ...." should not fall back to RO mount - - ps: fix -o pid=PID,args interpreting entire "PID,args" as header - - tar: prevent malicious archives with long name sizes causing OOM - - udhcpc6: fix udhcp_find_option to actually find DHCP6 options - - xxd: fix -p -r - - support for new optoins added to basename, cpio, date, find, - mktemp, wget and others -- Adjust busybox.config for new features in find, date and cpio -* Thu Jan 6 2022 Radoslav Kolev -- Annotate CVEs already fixed in upstream, but not mentioned in .changes: - * CVE-2017-16544 (bsc#1069412): Insufficient sanitization of filenames when autocompleting - * CVE-2015-9261 (bsc#1102912): huft_build misuses a pointer, causing segfaults - * CVE-2016-2147 (bsc#970663): out of bounds write (heap) due to integer underflow in udhcpc - * CVE-2016-2148 (bsc#970662): heap-based buffer overflow in OPTION_6RD parsing - * CVE-2016-6301 (bsc#991940): NTP server denial of service flaw - * CVE-2017-15873 (bsc#1064976): The get_next_block function in archival/libarchive/decompress_bunzip2.c has an Integer Overflow - * CVE-2017-15874 (bsc#1064978): archival/libarchive/decompress_unlzma.c has an Integer Underflow - * CVE-2019-5747 (bsc#1121428): out of bounds read in udhcp components - * CVE-2021-42373, CVE-2021-42374, CVE-2021-42375, CVE-2021-42376, - CVE-2021-42377, CVE-2021-42378, CVE-2021-42379, CVE-2021-42380, - CVE-2021-42381, CVE-2021-42382, CVE-2021-42383, CVE-2021-42384, - CVE-2021-42385, CVE-2021-42386 (bsc#1192869) : v1.34.0 bugfixes - - CVE-2021-28831 (bsc#1184522): invalid free or segmentation fault via malformed gzip data - - CVE-2018-20679 (bsc#1121426): out of bounds read in udhcp - - CVE-2018-1000517 (bsc#1099260): Heap-based buffer overflow in the retrieve_file_data() - - CVE-2011-5325 (bsc#951562): tar directory traversal - - CVE-2018-1000500 (bsc#1099263): wget: Missing SSL certificate validation -* Sat Oct 30 2021 Stephan Kulow -- Disable crc32 to avoid conflict with perl-Archive-Zip - (until some project really requires crc32) -* Wed Oct 27 2021 Egbert Eich -- Build busybox-warewulf3 for i586 as well. This allowes to set up - i586 nodes. -* Fri Oct 22 2021 Lukas Lansky -- Enable fdisk (jsc#CAR-16) -- Add testsuite-gnu-echo.patch: testing.sh to use GNU echo -* Thu Oct 21 2021 Stephan Kulow -- 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 -* Thu Oct 21 2021 Stephan Kulow -- 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 -* Sat Oct 9 2021 Egbert Eich -- 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). -* Fri May 7 2021 Andreas Stieger -- update to 1.33.1: - * httpd: fix sendfile - * ash: fix HISTFILE corruptio - * ash: fix unset variable pattern expansion - * traceroute: fix option parsing - * gunzip: fix for archive corruption -- drop update_passwd_selinux_fix.patch, included upstream -- add upstream signing key and verify source signature -* Thu Jan 28 2021 Thorsten Kukuk -- Update to version 1.33.0 - - many bug fixes and new features -- update_passwd_selinux_fix.patch upstream compile fix for SELinux -* Tue Jan 5 2021 Thorsten Kukuk -- Update to version 1.32.1 - - fixes a case where in ash, "wait" never finishes. -* Tue Jan 5 2021 Thorsten Kukuk -- sendmail-ignore-F-option.patch: ignore -F option as used by - cron (workaround for [bbn#13426]) -* Wed Dec 9 2020 Thorsten Kukuk -- Don't require nogroup for adduser command, as this can lead to - a dependency cycle with sysusers-tools. -* Mon Dec 7 2020 Thorsten Kukuk -- cpio-long-opt.patch: add more long options to cpio for IBS/unrpm -* Fri Nov 20 2020 Ludwig Nussel -- prepare usrmerge (boo#1029961) -* Tue Sep 29 2020 Thorsten Kukuk -- Disable RPM builtin, did become pretty useless -- Disable popmaildir and mime utilities -* Fri Aug 21 2020 Thorsten Kukuk -- 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) -* Wed Aug 12 2020 Thorsten Kukuk -- Enable SELinux for the dynamic version -* Wed Jul 22 2020 Thorsten Kukuk -- Update to busybox 1.32.0 - - many bugfixes and new features - - Obsoletes busybox-no-stime.patch -* Wed Jul 22 2020 Thorsten Kukuk -- 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 -* Sat Jul 11 2020 Thorsten Kukuk -- Enable syslogd for containers -* Wed Jul 8 2020 Stephan Kulow -- Enable testsuite and package it for later rerun (for QA, - jsc#CAR-15) -* Fri Apr 17 2020 Thorsten Kukuk -- Re-add modutils -* Sat Mar 21 2020 Thorsten Kukuk -- Set last ID to 65533, else nobody cannot be created -* Fri Mar 13 2020 Thorsten Kukuk -- Merge config of default, -container and -static to be able to - drop -container variant -* Sat Feb 22 2020 Thorsten Kukuk -- Disable CONFIG_FEATURE_NSLOOKUP_BIG as it leads to incompatible - nslookup behavior -* Mon Feb 10 2020 Thorsten Kukuk -- Eanble FEATURE_TFTP_HPA_COMPAT and SH_MATH_BASE -* Sat Feb 8 2020 Dominique Leuenberger -- 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(). -* Wed Oct 23 2019 kukuk@suse.de -- Add man.conf to container variant -* Tue Sep 10 2019 Jan Engelhardt -- Trim marketing from description. -* Thu Aug 22 2019 kukuk@suse.de -- Drop busybox-rpm-E.patch, not needed anymore -- Create new "container" subpackage with special stripped down - version for container images (8MB instead of 15MB). -* Thu Jul 25 2019 kukuk@suse.de -- Provide "useradd_or_adduser_dep" for sysuser-shadow -* Fri Mar 29 2019 kukuk@suse.de -- Implement rpm -E %%_dbpath for kiwi (busybox-rpm-E.patch) -- Don't require /bin/sh, be self contained -* Thu Mar 28 2019 kukuk@suse.de -- 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 -* Wed Aug 22 2018 jjolly@suse.com -- Enabled functionality within busybox for warewulf compatibility - * CONFIG_FEATURE_REMOTE_LOG - * CONFIG_DEPMOD - * CONFIG_TAC -* Fri Nov 10 2017 kukuk@suse.de -- Build against libtirpc in preparation of deprecating sunrpc from - glibc -* Sun Jul 2 2017 astieger@suse.com -- update to 1.26.2: - * many updates and fixes to individual tools -* Tue Nov 1 2016 astieger@suse.com -- update to 1.25.1: - * fixes for hush, gunzip, ip route, ntpd -- includes changes from 1.25.0: - * many added and expanded implementations of command options -- includes changes from 1.24.2: - * fixes for build system (static build with glibc fixed), - truncate, gunzip and unzip. -* Thu Mar 3 2016 olaf@aepfle.de -- Disable build timestamp -* Sun Jan 3 2016 p.drouand@gmail.com -- Update to version 1.24.1 - * for a full list of changes see http://www.busybox.net/news.html -- Refresh busybox.install.patch -* Mon Apr 20 2015 mpluskal@suse.com -- 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 -* Thu Oct 9 2014 olaf@aepfle.de -- Remove mkinitrd scripts -* Thu Sep 4 2014 andreas.stieger@gmx.de -- update to 1.22.1: - Many updates and fixes for most included tools, see - see http://www.busybox.net/news.html -- adjust busybox-resource.patch -* Thu Dec 12 2013 p.drouand@gmail.com -- 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 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 -* Sun Dec 9 2012 p.drouand@gmail.com -- Update to 1.20.2 (Bug fix release): - * fix for variable expansion in redirection - * fix for "pre-up" and "pre-down" handling - * fixes for compressed man pages handling - * important fix! due to misplaced s_mkfs_time field, ext4 driver - couldn't mount our images - * fix for getting uptime on non-Linux platforms - * fix base-256 decoding -- Remove busybox-1.19.4-ext2fs_h.diff: fixed on upstream release -* Wed Aug 1 2012 lnussel@suse.de -- fix path in busybox.install (bnc#680153) -* Wed Jul 18 2012 aj@suse.de -- Add missing sys/resource include (glibc 2.16) -* Wed Jun 6 2012 seife+obs@b1-systems.com -- busybox-1.19.4-ext2fs_h.diff: - more complete fix for latest ext2_fs.h breakage from busybox git, - drop busybox-1.19.4-typedef_umode_t.patch -* Tue Apr 10 2012 ro@suse.de -- 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 -* Tue Apr 10 2012 ro@suse.de -- 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 -* Fri Sep 30 2011 uli@suse.com -- cross-build fix: use %%__cc macro, set HOSTCC -* Sat Sep 17 2011 jengelh@medozas.de -- Remove redundant tags/sections from specfile -* Sat Mar 12 2011 chris@computersalat.de -- update to 1.18.13 - see http://www.busybox.net/ for full changelog -- add upstream patches - o buildsys.patch - o cksum.patch - o klogd.patch - o menuconfig.patch - o modutils24.patch - o wget.patch -- rework libunarchive-array patch - o -> libarchive patch -- remove .gitignore files -- added missing BusyBox.1 as S:1 -- added export CFLAGS="{optflags} -fno-strict-aliasing" -* Sun Oct 31 2010 jengelh@medozas.de -- Use %%_smp_mflags -* Wed Oct 6 2010 aj@suse.de -- Update to busybox 1.17.2: - * obsoletes patches busybox.dmesg-size.patch, busybox-1.17.1-make.patch, - busybox-buildfix.patch - * see http://www.busybox.net/ for full changelog -* Mon Sep 20 2010 coolo@novell.com -- add backported fix for make 3.82 -* Tue Aug 4 2009 aj@suse.de -- Fix build with updated kernel headers (busybox-buildfix.patch) -* Thu Dec 18 2008 sassmann@suse.de -- update to 1.12.3 bugfix release - * has fixes for option parsing and line editing -* Tue Nov 4 2008 sassmann@suse.de -- updated config file to use a single config for - both busybox and busybox-static -* Wed Oct 15 2008 sassmann@suse.de -- update to 1.12.1 - see http://www.busybox.net/ for full changelog -- removed patches included upstream - * busybox-1.8.2-arping.patch - * busybox-1.8.2-static - * busybox-1.8.2-vi.patch -- refreshed patches - * busybox.libunarchive-array.patch - * busybox.dmesg-size.patch -- updated config file - * removed awk math support and dc to get rid of libm -* Wed Sep 3 2008 hare@suse.de -- Call mkinitrd_setup during %%post and %%postun (bnc#413709) -* Fri Aug 22 2008 prusnak@suse.cz -- enabled SELinux support [Fate#303662] -* Wed Jul 23 2008 hare@suse.de -- Include mkinitrd scriptlets. -* Thu Jan 17 2008 sassmann@suse.de -- update to 1.8.2 - see http://www.busybox.net/ for full changelog -- added bugfixes - * busybox-1.8.2-arping.patch - * busybox-1.8.2-static - * busybox-1.8.2-vi.patch -* Fri Nov 16 2007 olh@suse.de -- update to 1.8.1 - see http://www.busybox.net/ for full changelog -* Sun Jul 15 2007 olh@suse.de -- update to 1.6.1 - see http://www.busybox.net/ for full changelog -* Fri May 11 2007 olh@suse.de -- increase ash cmdline history size - user kernel ringbuffer size for dmesg -* Mon May 7 2007 olh@suse.de -- gcc42 rejects out of bounds array access -* Sat Apr 28 2007 olh@suse.de -- update to 1.4.2 - reduces binary size after e2fsprogs removal -* Wed Dec 6 2006 trenn@suse.de -- move to 1.2.2 and enable nearly everything. - Most important (awk,less,vi and much more) - binary on i386 now has 732k -* Tue Aug 8 2006 ihno@suse.de -- update to busybox 1.2.1 final - Bugfix release. Bugs fixed: - lash: "var=value" works without export - tar: can extract git generated tarballs - adduser: /etc/group is updated - modprobe: look for modules.conf at the right place for 2.6 kernels - all setuid and getgid calls are check return values in case - somebody using per-process resource limits that prevent a user - from having too many processes -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Mon Jan 16 2006 ihno@suse.de -- Update to busybox 1.1.0 final -* Wed Jan 11 2006 ihno@suse.de -- update to busybox 1.1.0-pre1 -* Wed Nov 16 2005 dmueller@suse.de -- build against dietlibc unconditionally -* Thu May 12 2005 uli@suse.de -- use dietlibc on ARM -- uclibc config file needs to be fixed -* Fri Apr 1 2005 mmj@suse.de -- Correct function declaration -* Mon Jan 24 2005 nashif@suse.de -- Update to 1.00 final -* Tue Aug 17 2004 nashif@suse.de -- Update to 1.00-rc3 -* Thu Aug 5 2004 nashif@suse.de -- Update to 1.00-rc2 -* Wed Jul 21 2004 nashif@suse.de -- Update to 1.00-rc1 -* Tue May 11 2004 nashif@suse.de -- Bug #39461 - Fixes netlink vulnerability -* Tue Apr 27 2004 mmj@suse.de -- Fix strict aliasing -* Mon Mar 1 2004 nashif@suse.de -- Update to 1.0 pre 8 -* Wed Feb 11 2004 ro@suse.de -- hack to build it on amd64 -* Tue Feb 10 2004 schwab@suse.de -- Fix building on ia64. -* Wed Feb 4 2004 kukuk@suse.de -- Remove wrong dietlibc requires -* Mon Feb 2 2004 hare@suse.de -- Fixed spec file to build on all archs. -* Fri Jan 30 2004 hare@suse.de -- Update to 1.00-pre5 -- Patched dietlibc support to use a menuconfig option. -* Sat Jan 10 2004 adrian@suse.de -- build as user -* Wed Dec 10 2003 uli@suse.de -- build with dietlibc where available -* Mon Jun 2 2003 nashif@suse.de -- Set Autoreqprov: on -* Thu May 29 2003 nashif@suse.de -- Updated with latest stable release incl. patches. -* Fri May 16 2003 nashif@suse.de -- Removed CVS files -* Sat Nov 2 2002 nashif@suse.de -- Update to version 0.60.5 -- Unique patch names -* Mon Jun 10 2002 nashif@suse.de -- Update to version 0.60.3 -* Mon Nov 26 2001 nashif@suse.de -- Update to version 0.60.2 -- Major Changes: - * msh was reworked - * reworked hostname - * Various bugfixes -* Fri Aug 24 2001 nashif@suse.de -- Update to version 0.60.1 -- This is a relatively minor bug fixing release which fixes bugs - in the following applets, among others: msh, sed, route, syslogd, - ifconfig, lash -- Rewrite of tftp -* Sat Aug 4 2001 nashif@suse.de -- Update to version 0.60.0 -* Thu Jul 12 2001 nashif@suse.de -- Update to version 0.52 -* Wed Apr 11 2001 nashif@suse.de -- Update to version 0.51 -* Fri Feb 9 2001 nashif@suse.de -- Fixed sync.c to compile -* Mon Feb 5 2001 nashif@suse.de -- Update to version 0.49 -* Wed Dec 20 2000 uli@suse.de -- disabled insmod for all archs except IA32, ARM and SH -* Tue Dec 19 2000 nashif@suse.de -- Update to 0.48 (Fixes many bugs) -* Mon Nov 27 2000 nashif@suse.de -- Fixed pathes in install script -* Tue Nov 7 2000 nashif@suse.de -- Added EM_486 and OPEN_MAX fixes -* Wed Sep 27 2000 nashif@suse.de -- Update to 0.47 -- Fix nfsmount.c -* Wed Aug 30 2000 nashif@suse.de -- Fix for axp -* Mon Aug 28 2000 nashif@suse.de -- Update to version 0.46 -* Thu Jul 6 2000 nashif@suse.de -- Fix install script (Bug #3195) -* Tue May 23 2000 nashif@suse.de -- Initial Release (Version 0.43) From abb765b7a94a63a5c7d1243cf07d130edd5700931f2cd66d557b6b95add31234 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 4 Oct 2024 12:09:21 +0000 Subject: [PATCH 3/3] - 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 --- busybox.changes | 6 ++++++ busybox.config | 17 ++++++++--------- busybox.spec | 47 ++++++++++++++++++++++------------------------- 3 files changed, 36 insertions(+), 34 deletions(-) diff --git a/busybox.changes b/busybox.changes index c0cdd14..1a06141 100644 --- a/busybox.changes +++ b/busybox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 4 11:55:30 UTC 2024 - Thorsten Kukuk + +- Fix busybox.config again (got broken with 1.37.0 update) +- Cleanup spec file + ------------------------------------------------------------------- Sat Sep 28 20:48:01 UTC 2024 - Matthias G. Eckermann diff --git a/busybox.config b/busybox.config index e4f3e5c..dceb7c5 100644 --- a/busybox.config +++ b/busybox.config @@ -1,7 +1,6 @@ # # Automatically generated make config: don't edit # Busybox version: 1.37.0 -# Fri Sep 27 16:45:20 2024 # CONFIG_HAVE_DOT_CONFIG=y @@ -95,7 +94,7 @@ CONFIG_FEATURE_BUFFERS_USE_MALLOC=y CONFIG_PASSWORD_MINLEN=6 CONFIG_MD5_SMALL=1 CONFIG_SHA1_SMALL=1 -CONFIG_SHA1_HWACCEL=n +CONFIG_SHA1_HWACCEL=y CONFIG_SHA256_HWACCEL=y CONFIG_SHA3_SMALL=1 CONFIG_FEATURE_NON_POSIX_CP=y @@ -1022,11 +1021,11 @@ CONFIG_UDHCPC=y # CONFIG_FEATURE_UDHCPC_SANITIZEOPT is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="" CONFIG_UDHCPC6_DEFAULT_SCRIPT="" -# CONFIG_UDHCPC6 is not set -# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set -# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set +CONFIG_UDHCPC6=y +CONFIG_FEATURE_UDHCPC6_RFC3646=y +CONFIG_FEATURE_UDHCPC6_RFC4704=y +CONFIG_FEATURE_UDHCPC6_RFC4833=y +CONFIG_FEATURE_UDHCPC6_RFC5970=y # # Common options for DHCP applets @@ -1035,8 +1034,8 @@ CONFIG_UDHCPC_DEFAULT_INTERFACE="" # CONFIG_FEATURE_UDHCP_PORT is not set CONFIG_UDHCP_DEBUG=0 CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 -# CONFIG_FEATURE_UDHCP_RFC3397 is not set -# CONFIG_FEATURE_UDHCP_8021Q is not set +CONFIG_FEATURE_UDHCP_RFC3397=y +CONFIG_FEATURE_UDHCP_8021Q=y CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" # diff --git a/busybox.spec b/busybox.spec index 3c74e9c..f332dcc 100644 --- a/busybox.spec +++ b/busybox.spec @@ -25,10 +25,9 @@ Name: busybox Version: 1.37.0 -Release: 157.17 +Release: 0 Summary: Minimalist variant of UNIX utilities linked in a single executable License: GPL-2.0-or-later -Group: System/Base URL: https://www.busybox.net/ Source: https://busybox.net/downloads/%{name}-%{version}.tar.bz2 Source2: busybox.config @@ -48,17 +47,18 @@ Patch4: udhcp6-install-path.patch Patch5: tc-no-TCA_CBQ.patch # other patches Patch100: busybox.install.patch -Provides: useradd_or_adduser_dep BuildRequires: glibc-devel-static +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libselinux) +# for test suite +BuildRequires: zip +Provides: useradd_or_adduser_dep #in SLE12 hostname is part of the net-tools package %if %{?suse_version} && %{?suse_version} <= 1315 BuildRequires: net-tools %else BuildRequires: hostname %endif -BuildRequires: pkgconfig(libselinux) -# for test suite -BuildRequires: zip %description BusyBox combines tiny versions of many common UNIX utilities into a @@ -75,7 +75,6 @@ box but need special configuration, like udhcpc, the dhcp client. %package static Summary: Static linked version of Busybox, a compact UNIX utility collection -Group: System/Base %description static BusyBox combines tiny versions of many common UNIX utilities into a @@ -83,7 +82,6 @@ single executable. %package warewulf3 Summary: Static version of Busybox - for building Warewulf3 -Group: System/Base %description warewulf3 This version of busybox is only for building Warewulf3 @@ -91,7 +89,6 @@ https://github.com/warewulf/warewulf3 %package testsuite Summary: Testsuite of busybox -Group: Development/Testing Requires: %{name} = %{version} Requires: zip @@ -100,8 +97,8 @@ Using this package you can test the busybox build on different kernels and glibc It needs to run with permission to the current directory, so either copy it away as is or run as root: -cd /usr/share/busybox/testsuite -PATH=/usr/share/busybox:$PATH SKIP_KNOWN_BUGS=1 ./runtest +cd %{_datadir}/busybox/testsuite +PATH=%{_datadir}/busybox:$PATH SKIP_KNOWN_BUGS=1 ./runtest %prep #SLE12 needs an empty line after autosetup for it to expand properly (bsc#1205420) @@ -118,31 +115,31 @@ export CC="gcc" export HOSTCC=gcc %if %{with static} cat %{SOURCE3} %{SOURCE2} > .config -make %{?_smp_mflags} -e oldconfig -make -e %{?_smp_mflags} +%make_build -e oldconfig +%make_build -e mv busybox busybox-static %endif %if 0%{with ww3} -make -e %{?_smp_mflags} clean +%make_build -e clean cat %{SOURCE7} %{SOURCE3} %{SOURCE2} > .config -make %{?_smp_mflags} -e oldconfig -make -e %{?_smp_mflags} +%make_build -e oldconfig +%make_build -e mv busybox busybox-warewulf3 -make -e busybox.links %{?_smp_mflags} +%make_build -e busybox.links mv busybox.links busybox-warewulf3.links %endif -make -e %{?_smp_mflags} clean +%make_build -e clean cp -a %{SOURCE2} .config -make %{?_smp_mflags} -e oldconfig +%make_build -e oldconfig #make -e %{?_smp_mflags} -make -e -make -e doc busybox.links %{?_smp_mflags} +%make_build -e +%make_build -e doc busybox.links %if 0%{?suse_version} >= 1550 for i in busybox.links %{?with_ww3:busybox-warewulf3.links}; do - sed -i -e 's,^/\(s\?bin\)/,/usr/\1/,' $i + sed -i -e 's,^/\(s\?bin\)/,%{_prefix}/\1/,' $i done %endif @@ -164,7 +161,7 @@ install -m 0644 busybox-warewulf3.links %{buildroot}%{_datadir}/busybox install -m 0755 busybox-warewulf3 %{buildroot}%{_bindir} %endif cp %{SOURCE2} %{buildroot}%{_datadir}/busybox/.config -ln -s %_bindir/busybox %{buildroot}%{_datadir}/busybox/busybox +ln -s %{_bindir}/busybox %{buildroot}%{_datadir}/busybox/busybox cp -a testsuite %{buildroot}%{_datadir}/busybox/testsuite %check @@ -175,13 +172,13 @@ export CC="gcc" export HOSTCC=gcc export SKIP_KNOWN_BUGS=1 export SKIP_INTERNET_TESTS=1 -make -e %{?_smp_mflags} test +%make_build -e test %files %license LICENSE %doc docs/mdev.txt %config %{_sysconfdir}/man.conf -%doc %{_mandir}/man1/busybox.1.gz +%{_mandir}/man1/busybox.1%{?ext_man} %{_bindir}/busybox %{_bindir}/busybox.install %dir %{_datadir}/busybox