svn commit: trunk/buildroot/package/busybox
Author: jacmet
Date: 2008-06-07 00:46:01 -0700 (Sat, 07 Jun 2008) New Revision: 22254
Log:
busybox 1.10.x: bump version
Removed:
trunk/buildroot/package/busybox/busybox-1.10.2-dnsd.patch trunk/buildroot/package/busybox/busybox-1.10.2-fuser.patch trunk/buildroot/package/busybox/busybox-1.10.2-hush.patch trunk/buildroot/package/busybox/busybox-1.10.2-ip.patch trunk/buildroot/package/busybox/busybox-1.10.2-mdev.patch trunk/buildroot/package/busybox/busybox-1.10.2-semicolon.patch trunk/buildroot/package/busybox/busybox-1.10.2-syslogd.patch
Modified:
trunk/buildroot/package/busybox/Config.in
Changeset:
Modified: trunk/buildroot/package/busybox/Config.in
===================================================================
buildroot/package/busybox/Config.in +1 -1
@@ -50,7 +50,7 @@ default "1.7.5" if BR2_BUSYBOX_VERSION_1_7_X default "1.8.3" if BR2_BUSYBOX_VERSION_1_8_X default "1.9.2" if BR2_BUSYBOX_VERSION_1_9_X - default "1.10.2" if BR2_BUSYBOX_VERSION_1_10_X + default "1.10.3" if BR2_BUSYBOX_VERSION_1_10_X config BR2_PACKAGE_BUSYBOX_FULLINSTALL
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-dnsd.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-dnsd.patch +0 -87
87 lines not on this page · raw message
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-fuser.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-fuser.patch +0 -29
@@ -1,29 +0,0 @@ ---- busybox-1.10.2/procps/fuser.c Sat Apr 19 06:03:13 2008 -+++ busybox-1.10.2-fuser/procps/fuser.c Wed May 28 16:53:35 2008 -@@ -208,6 +208,7 @@ - return plist; - } - -+/* NB: does chdir internally */ - static pid_list *scan_proc_pids(inode_list *ilist) - { - DIR *d; -@@ -215,7 +216,8 @@ - pid_t pid; - pid_list *plist; - -- d = opendir("."); -+ xchdir("/proc"); -+ d = opendir("/proc"); - if (!d) - return NULL; - -@@ -329,7 +331,7 @@ - pp++; - } - -- plist = scan_proc_pids(ilist); -+ plist = scan_proc_pids(ilist); /* changes dir to "/proc" */ - - if (!plist) - return EXIT_FAILURE;
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-hush.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-hush.patch +0 -57
57 lines not on this page · raw message
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-ip.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-ip.patch +0 -11
@@ -1,11 +0,0 @@ ---- busybox-1.10.2/networking/libiproute/ip_parse_common_args.c Sat Apr 19 05:50:26 2008 -+++ busybox-1.10.2-ip/networking/libiproute/ip_parse_common_args.c Sat May 31 09:32:09 2008 -@@ -54,7 +54,7 @@ - break; - } - } -- arg = index_in_strings(ip_common_commands, opt); -+ arg = index_in_substrings(ip_common_commands, opt); - if (arg < 0) - bb_show_usage(); - if (arg == ARG_oneline) {
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-mdev.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-mdev.patch +0 -31
@@ -1,31 +0,0 @@ ---- busybox-1.10.2/util-linux/mdev.c Thu May 8 17:22:48 2008 -+++ busybox-1.10.2-mdev/util-linux/mdev.c Sat May 24 18:43:40 2008 -@@ -72,8 +72,14 @@ - /* Determine device name, type, major and minor */ - device_name = bb_basename(path); - /* http://kernel.org/doc/pending/hotplug.txt says that only -- * "/sys/block/..." is for block devices. "sys/bus" etc is not! */ -- type = (strncmp(&path[5], "block/", 6) == 0 ? S_IFBLK : S_IFCHR); -+ * "/sys/block/..." is for block devices. "/sys/bus" etc is not! -+ * Since kernel 2.6.25 block devices are also in /sys/class/block. */ -+ /* TODO: would it be acceptable to just use strstr(path, "/block/")? */ -+ if (strncmp(&path[5], "class/block/"+6, 6) != 0 -+ && strncmp(&path[5], "class/block/", 12) != 0) -+ type = S_IFCHR; -+ else -+ type = S_IFBLK; - - if (ENABLE_FEATURE_MDEV_CONF) { - FILE *fp; -@@ -172,8 +178,9 @@ - /* substitute %1..9 with off[1..9], if any */ - n = 0; - s = val; -- while (*s && *s++ == '%') -- n++; -+ while (*s) -+ if (*s++ == '%') -+ n++; - - p = alias = xzalloc(strlen(val) + n * strlen(device_name)); - s = val + 1;
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-semicolon.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-semicolon.patch +0 -22
@@ -1,22 +0,0 @@ ---- busybox-1.10.2/networking/interface.c Sat Apr 19 05:50:27 2008 -+++ busybox-1.10.2-semicolon/networking/interface.c Thu May 15 21:40:04 2008 -@@ -223,7 +223,7 @@ - char *pos; - unsigned int i; - -- if (!buff); -+ if (!buff) - buff = xmalloc(sizeof(struct sockaddr) * 3 + 1); - pos = buff; - for (i = 0; i < sizeof(struct sockaddr); i++) { ---- busybox-1.10.2/networking/isrv_identd.c Sat Apr 19 05:50:27 2008 -+++ busybox-1.10.2-semicolon/networking/isrv_identd.c Thu May 15 21:40:04 2008 -@@ -113,7 +113,7 @@ - strncpy(bogouser, argv[optind], sizeof(bogouser)); - - /* Daemonize if no -f and no -i and no -w */ -- if (!(opt & OPT_fiw)); -+ if (!(opt & OPT_fiw)) - bb_daemonize_or_rexec(0, argv); - - /* Where to log in inetd modes? "Classic" inetd
Deleted: trunk/buildroot/package/busybox/busybox-1.10.2-syslogd.patch
===================================================================
buildroot/package/busybox/busybox-1.10.2-syslogd.patch +0 -16
@@ -1,16 +0,0 @@ ---- busybox-1.10.2/sysklogd/syslogd.c Sat Apr 19 05:50:29 2008 -+++ busybox-1.10.2-syslogd/sysklogd/syslogd.c Sat May 24 23:02:56 2008 -@@ -347,10 +347,11 @@ - sprintf(newFile, "%s.%d", G.logFilePath, i); - if (i == 0) break; - sprintf(oldFile, "%s.%d", G.logFilePath, --i); -- xrename(oldFile, newFile); -+ /* ignore errors - file might be missing */ -+ rename(oldFile, newFile); - } - /* newFile == "f.0" now */ -- xrename(G.logFilePath, newFile); -+ rename(G.logFilePath, newFile); - fl.l_type = F_UNLCK; - fcntl(G.logFD, F_SETLKW, &fl); - close(G.logFD);