Skip to contentSkip to conversation

busybox: bump 1.22 series to 1.22.1

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox: bump 1.22 series to 1.22.1

---
 .../busybox/1.22.0/0002-busybox-1.22.0-find.patch  | 40 -----------
 .../busybox/1.22.0/0003-busybox-1.22.0-grep.patch  | 80 ----------------------
 .../busybox/1.22.0/0004-busybox-1.22.0-ntpd.patch  | 11 ---
 .../1.22.0/0005-busybox-1.22.0-lineedit.patch      | 12 ----
 ...libiproute-use-linux-if_packet.h-instead-.patch |  0
 .../busybox/1.22.1/0002-busybox-1.22.1-ash.patch   | 20 ++++++
 package/busybox/Config.in                          |  2 +-
 7 files changed, 21 insertions(+), 144 deletions(-)
 delete mode 100644 package/busybox/1.22.0/0002-busybox-1.22.0-find.patch
 delete mode 100644 package/busybox/1.22.0/0003-busybox-1.22.0-grep.patch
 delete mode 100644 package/busybox/1.22.0/0004-busybox-1.22.0-ntpd.patch
 delete mode 100644 package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch
 rename package/busybox/{1.22.0 => 1.22.1}/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch (100%)
 create mode 100644 package/busybox/1.22.1/0002-busybox-1.22.1-ash.patch
package/busybox/1.22.0/0002-busybox-1.22.0-find.patch deleted +0 -40
deleted file mode 100644
index 75a06a8..0000000
@@ -1,40 +0,0 @@
---- busybox-1.22.0/findutils/find.c
-+++ busybox-1.22.0-find/findutils/find.c
-@@ -1291,9 +1291,27 @@ int find_main(int argc, char **argv) MAI
- int find_main(int argc UNUSED_PARAM, char **argv)
- {
- 	int i, firstopt, status = EXIT_SUCCESS;
-+	char **past_HLP, *saved;
- 
- 	INIT_G();
- 
-+	/* "find -type f" + getopt("+HLP") => disaster.
-+	 * Need to avoid getopt running into a non-HLP option.
-+	 * Do this by temporarily storing NULL there:
-+	 */
-+	past_HLP = argv;
-+	for (;;) {
-+		saved = *++past_HLP;
-+		if (!saved)
-+			break;
-+		if (saved[0] != '-')
-+			break;
-+		if (!saved[1])
-+			break; /* it is "-" */
-+		if ((saved+1)[strspn(saved+1, "HLP")] != '\0')
-+			break;
-+	}
-+	*past_HLP = NULL;
- 	/* "+": stop on first non-option */
- 	i = getopt32(argv, "+HLP");
- 	if (i & (1<<0))
-@@ -1301,7 +1319,8 @@ int find_main(int argc UNUSED_PARAM, cha
- 	if (i & (1<<1))
- 		G.recurse_flags |= ACTION_FOLLOWLINKS | ACTION_DANGLING_OK;
- 	/* -P is default and is ignored */
--	argv += optind;
-+	argv = past_HLP; /* same result as "argv += optind;" */
-+	*past_HLP = saved;
- 
- 	for (firstopt = 0; argv[firstopt]; firstopt++) {
- 		if (argv[firstopt][0] == '-')
package/busybox/1.22.0/0003-busybox-1.22.0-grep.patch deleted +0 -80

80 lines not on this page · raw message

package/busybox/1.22.0/0004-busybox-1.22.0-ntpd.patch deleted +0 -11
deleted file mode 100644
index 1334f57..0000000
@@ -1,11 +0,0 @@
---- busybox-1.22.0/networking/ntpd.c
-+++ busybox-1.22.0-ntpd/networking/ntpd.c
-@@ -1445,6 +1445,8 @@ update_local_clock(peer_t *p)
- 
- 		run_script("step", offset);
- 
-+		recv_time += offset;
-+
- #if USING_INITIAL_FREQ_ESTIMATION
- 		if (G.discipline_state == STATE_NSET) {
- 			set_new_values(STATE_FREQ, /*offset:*/ 0, recv_time);
package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch deleted +0 -12
deleted file mode 100644
index e414314..0000000
@@ -1,12 +0,0 @@
---- busybox-1.22.0/libbb/lineedit.c
-+++ busybox-1.22.0-lineedit/libbb/lineedit.c
-@@ -1255,7 +1255,9 @@ line_input_t* FAST_FUNC new_line_input_t
- {
- 	line_input_t *n = xzalloc(sizeof(*n));
- 	n->flags = flags;
-+#if MAX_HISTORY > 0
- 	n->max_history = MAX_HISTORY;
-+#endif
- 	return n;
- }
- 
package/busybox/1.22.1/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch renamed from package/busybox/1.22.0/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch +0 -0
similarity index 100%
rename from package/busybox/1.22.0/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch
rename to package/busybox/1.22.1/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch
package/busybox/1.22.1/0002-busybox-1.22.1-ash.patch new file +20 -0
new file mode 100644
index 0000000..767c3a8
@@ -0,0 +1,20 @@
+--- busybox-1.22.1/procps/top.c
++++ busybox-1.22.1-ash/procps/top.c
+@@ -917,17 +917,12 @@ enum {
+ #if ENABLE_FEATURE_USE_TERMIOS
+ static unsigned handle_input(unsigned scan_mask, unsigned interval)
+ {
+-	struct pollfd pfd[1];
+-
+ 	if (option_mask32 & OPT_EOF) {
+ 		/* EOF on stdin ("top </dev/null") */
+ 		sleep(interval);
+ 		return scan_mask;
+ 	}
+ 
+-	pfd[0].fd = 0;
+-	pfd[0].events = POLLIN;
+-
+ 	while (1) {
+ 		int32_t c;
+ 
package/busybox/Config.in +1 -1
index d2d8fa0..a356863 100644
@@ -40,7 +40,7 @@ config BR2_BUSYBOX_VERSION
 	default "1.19.4"	if BR2_BUSYBOX_VERSION_1_19_X
 	default "1.20.2"	if BR2_BUSYBOX_VERSION_1_20_X
 	default "1.21.1"	if BR2_BUSYBOX_VERSION_1_21_X
-	default "1.22.0"	if BR2_BUSYBOX_VERSION_1_22_X
+	default "1.22.1"	if BR2_BUSYBOX_VERSION_1_22_X
 
 config BR2_PACKAGE_BUSYBOX_CONFIG
 	string "BusyBox configuration file to use?"
Signature · 1 line
1.8.3.2