2010-07-06 07:33:31 +00:00
|
|
|
require busybox.inc
|
|
|
|
|
|
|
|
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
|
2011-02-04 01:29:50 +00:00
|
|
|
file://busybox-udhcpc-no_deconfig.patch \
|
2010-07-06 07:33:31 +00:00
|
|
|
file://find-touchscreen.sh \
|
|
|
|
file://busybox-cron \
|
|
|
|
file://busybox-httpd \
|
|
|
|
file://busybox-udhcpd \
|
|
|
|
file://default.script \
|
|
|
|
file://simple.script \
|
|
|
|
file://hwclock.sh \
|
|
|
|
file://mount.busybox \
|
|
|
|
file://syslog \
|
2012-01-02 21:50:32 +00:00
|
|
|
file://syslog-startup.conf \
|
2013-09-03 02:14:50 +00:00
|
|
|
file://syslog.conf \
|
2013-08-23 11:20:30 +00:00
|
|
|
file://busybox-syslog.default \
|
2011-05-02 19:09:16 +00:00
|
|
|
file://mdev \
|
|
|
|
file://mdev.conf \
|
2014-12-18 14:17:31 +00:00
|
|
|
file://mdev-mount.sh \
|
2010-07-06 07:33:31 +00:00
|
|
|
file://umount.busybox \
|
2012-07-24 14:28:00 +00:00
|
|
|
file://defconfig \
|
2013-01-17 13:09:58 +00:00
|
|
|
file://busybox-syslog.service.in \
|
|
|
|
file://busybox-klogd.service.in \
|
2013-04-15 09:50:52 +00:00
|
|
|
file://fail_on_no_media.patch \
|
2013-06-24 14:52:21 +00:00
|
|
|
file://run-ptest \
|
2013-04-15 09:50:52 +00:00
|
|
|
file://inetd.conf \
|
2013-06-06 06:11:16 +00:00
|
|
|
file://inetd \
|
2013-06-17 03:20:06 +00:00
|
|
|
file://login-utilities.cfg \
|
2014-08-05 02:03:00 +00:00
|
|
|
file://recognize_connmand.patch \
|
2014-11-07 09:15:45 +00:00
|
|
|
file://busybox-cross-menuconfig.patch \
|
2015-09-25 13:28:05 +00:00
|
|
|
file://0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch \
|
2015-12-02 18:41:46 +00:00
|
|
|
file://busybox-1.24.1-unzip.patch \
|
|
|
|
file://busybox-1.24.1-unzip-regression.patch \
|
2016-01-22 20:39:08 +00:00
|
|
|
file://busybox-1.24.1-truncate-open-mode.patch \
|
2016-04-21 09:24:07 +00:00
|
|
|
file://0001-flock-update-the-behaviour-of-c-parameter-to-match-u.patch \
|
2015-07-30 20:56:27 +00:00
|
|
|
file://mount-via-label.cfg \
|
2015-07-30 20:56:28 +00:00
|
|
|
file://sha1sum.cfg \
|
|
|
|
file://sha256sum.cfg \
|
2015-09-06 15:25:38 +00:00
|
|
|
file://getopts.cfg \
|
2015-10-27 17:51:22 +00:00
|
|
|
file://resize.cfg \
|
2016-12-14 21:13:04 +00:00
|
|
|
${@["", "file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
|
|
|
|
${@["", "file://mdev.cfg"][(d.getVar('VIRTUAL-RUNTIME_dev_manager') == 'busybox-mdev')]} \
|
2016-01-22 20:49:09 +00:00
|
|
|
file://inittab \
|
|
|
|
file://rcS \
|
|
|
|
file://rcK \
|
|
|
|
file://runlevel \
|
2016-04-28 00:47:21 +00:00
|
|
|
file://CVE-2016-2148.patch \
|
2016-04-28 00:47:22 +00:00
|
|
|
file://CVE-2016-2147.patch \
|
|
|
|
file://CVE-2016-2147_2.patch \
|
2017-04-06 07:07:37 +00:00
|
|
|
file://CVE-2016-6301.patch \
|
2016-04-28 00:47:23 +00:00
|
|
|
file://ip_fix_problem_on_mips64_n64_big_endian_musl_systems.patch \
|
2016-08-17 11:54:27 +00:00
|
|
|
file://makefile-fix-backport.patch \
|
busybox: fix "sed n (flushes pattern space, terminates early)" testcase failure
It is a busybox upstream known bug. When the busybox sed sub-command 'n'
hit the files EOF, it print an extra character that have been printed, but
the GNU sed would not print it.
In busybox source code ../editors/sed.c
------------------------------------------------------------------------
case 'n':
if (!G.be_quiet)
sed_puts(pattern_space, last_gets_char);
if (next_line) {
free(pattern_space);
pattern_space = next_line;
last_gets_char = next_gets_char;
next_line = get_next_line(&next_gets_char, &last_puts_char, last_gets_char);
substituted = 0;
linenum++;
break;
}
/* fall through */
/* Quit. End of script, end of input. */
case 'q':
/* Exit the outer while loop */
free(next_line);
next_line = NULL;
goto discard_commands;
------------------------------------------------------------------------
when read at the end of the file, the 'next_line' is null, it would go
"case 'q'" and goto discard_commands, the discard_commands would print
the old pattern space which have been printed.
So in order to comply with GNU sed, in case 'n', when the next_line is null
I add "else" at the end of the second "if": "goto again;" and send it to
the busybox upstream, the busybox maintainer adopt it and make a little
changes to the patch, we can see it at:
His reply:
http://lists.busybox.net/pipermail/busybox/2016-September/084613.html
The new patch on busybox master branch:
https://git.busybox.net/busybox/commit/?id=76d72376e0244a5cafd4880cdc623e37d86a75e4
(From OE-Core rev: 5a680c267454d7c135c4bfe4e551a780f38a5087)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-01 09:42:10 +00:00
|
|
|
file://0001-sed-fix-sed-n-flushes-pattern-space-terminates-early.patch \
|
2016-09-14 17:05:46 +00:00
|
|
|
file://busybox-kbuild-race-fix-commit-d8e61bb.patch \
|
|
|
|
file://commit-applet_tables-fix-commit-0dddbc1.patch \
|
|
|
|
file://makefile-libbb-race.patch \
|
2016-12-13 16:19:28 +00:00
|
|
|
file://0001-libiproute-handle-table-ids-larger-than-255.patch \
|
2017-03-08 09:27:30 +00:00
|
|
|
file://ifupdown-pass-interface-device-name-for-ipv6-route-c.patch \
|
2017-04-05 10:38:57 +00:00
|
|
|
file://BUG9071_buffer_overflow_arp.patch \
|
2017-10-06 12:12:44 +00:00
|
|
|
file://busybox-tar-add-IF_FEATURE_-checks.patch \
|
2017-10-06 12:12:45 +00:00
|
|
|
file://0001-iproute-support-scope-.-Closes-8561.patch \
|
|
|
|
file://0001-ip-fix-an-improper-optimization-req.r.rtm_scope-may-.patch \
|
2013-10-31 08:16:28 +00:00
|
|
|
"
|
2015-11-19 00:59:33 +00:00
|
|
|
SRC_URI_append_libc-musl = " file://musl.cfg "
|
2010-07-06 07:33:31 +00:00
|
|
|
|
2015-10-13 18:55:27 +00:00
|
|
|
SRC_URI[tarball.md5sum] = "be98a40cadf84ce2d6b05fa41a275c6a"
|
|
|
|
SRC_URI[tarball.sha256sum] = "37d03132cc078937360b392170b7a1d0e5b322eee9f57c0b82292a8b1f0afe3d"
|