]> git.pld-linux.org Git - packages/busybox.git/commitdiff
- up to 1.5.0
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 30 Mar 2007 18:45:57 +0000 (18:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    busybox-ash_exec.patch -> 1.2
    busybox-dhcp.patch -> 1.3
    busybox-initrd.config -> 1.32
    busybox-logconsole.patch -> 1.7
    busybox-noerror.patch -> 1.2
    busybox-printf-gettext.patch -> 1.7
    busybox.config -> 1.22

busybox-ash_exec.patch
busybox-dhcp.patch
busybox-initrd.config
busybox-logconsole.patch
busybox-noerror.patch [deleted file]
busybox-printf-gettext.patch
busybox.config

index 2aea35eab951850c2848d57cb59b9bea299e15dc..c2b87b7547e50f3b2734c04293ee9b00454e7697 100644 (file)
@@ -1,11 +1,11 @@
 --- busybox-1.00-pre2/shell/ash.c~     2003-08-24 12:47:36.000000000 +0200
 +++ busybox-1.00-pre2/shell/ash.c      2003-08-24 12:47:43.000000000 +0200
-@@ -3739,7 +3739,7 @@
+@@ -6600,7 +6600,7 @@
  #endif
        if (repeated++) {
-               ckfree(argv);
+               free(argv);
 -      } else if (errno == ENOEXEC) {
 +      } else if (errno == ENOEXEC || errno == ENOENT) {
                char **ap;
                char **new;
+
index 8882a24d716049931c6f59ce6bcd8f5b31109f23..5a6887c8688af0bae78406e46b63d778333a42db 100644 (file)
@@ -3,7 +3,7 @@
 @@ -24,8 +24,8 @@
        {"hostname",    OPTION_STRING | OPTION_REQ,             0x0c},
        {"bootsize",    OPTION_U16,                             0x0d},
-       {"domain",      OPTION_STRING | OPTION_REQ,             0x0f},
+       {"domain",      OPTION_STRING | OPTION_LIST | OPTION_REQ, 0x0f},
 -      {"swapsvr",     OPTION_IP,                              0x10},
 -      {"rootpath",    OPTION_STRING,                          0x11},
 +      {"swapsvr",     OPTION_IP | OPTION_REQ,                 0x10},
        {"ipttl",       OPTION_U8,                              0x17},
        {"mtu",         OPTION_U16,                             0x1a},
        {"broadcast",   OPTION_IP | OPTION_REQ,                 0x1c},
-@@ -40,8 +40,8 @@
-       {"message",     OPTION_STRING,                          0x38},
-       {"vendorclass", OPTION_STRING,                          0x3C},
-       {"clientid",    OPTION_STRING,                          0x3D},
--      {"tftp",        OPTION_STRING,                          0x42},
--      {"bootfile",    OPTION_STRING,                          0x43},
-+      {"tftp",        OPTION_STRING | OPTION_REQ,             0x42},
-+      {"bootfile",    OPTION_STRING | OPTION_REQ,             0x43},
-       {"userclass",   OPTION_STRING,                          0x4D},
-       /* MSIE's "Web Proxy Autodiscovery Protocol" support */
-       {"wpad",        OPTION_STRING,                          0xfc},
+
index fca39f77ca03279f1d9937a94f8a19a419e976e3..8ff4c135e326c664d0a5a8fff548b42600f94122 100644 (file)
@@ -29,6 +29,7 @@ CONFIG_FEATURE_SYSLOG=n
 # CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
 CONFIG_FEATURE_HAVE_RPC=y
 # CONFIG_SELINUX is not set
+# CONFIG_FEATURE_EXEC_PREFER_APPLETS is not set
 CONFIG_BUSYBOX_EXEC_PATH="/bin/initrd-busybox"
 
 #
@@ -47,6 +48,7 @@ CROSS_COMPILER_PREFIX=""
 # Debugging Options
 #
 # CONFIG_DEBUG is not set
+# CONFIG_WERROR is not set
 # CONFIG_DEBUG_PESSIMIZE is not set
 # CONFIG_NO_DEBUG_LIB is not set
 # CONFIG_DMALLOC is not set
@@ -67,6 +69,7 @@ CONFIG_PREFIX="./_install"
 #
 CONFIG_PASSWORD_MINLEN=6
 CONFIG_MD5_SIZE_VS_SPEED=2
+# CONFIG_FEATURE_EDITING is not set
 
 #
 # Applets
@@ -432,6 +435,7 @@ CONFIG_FEATURE_MOUNT_LOOP=y
 #
 # CONFIG_ADJTIMEX is not set
 # CONFIG_BBCONFIG is not set
+# CONFIG_CHRT is not set
 # CONFIG_CROND is not set
 # CONFIG_DEBUG_CROND_OPTION is not set
 # CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
@@ -479,6 +483,7 @@ CONFIG_FEATURE_LESS_MAXLINES=
 # Networking Utilities
 #
 CONFIG_FEATURE_IPV6=y
+CONFIG_VERBOSE_RESOLUTION_ERRORS=y
 # CONFIG_ARP is not set
 # CONFIG_ARPING is not set
 # CONFIG_DNSD is not set
index e0ecee176d671f6cb0c1ed5b2ba408690702928b..8811785f19f28573a9411b3947db4eaa832f89f4 100644 (file)
@@ -22,12 +22,13 @@ diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.
 diff -urN busybox-1.00-pre2/init/init.c busybox-1.00-pre2.org/init/init.c
 --- busybox-1.00-pre2/init/init.c      2003-08-02 23:40:57.000000000 +0200
 +++ busybox-1.00-pre2.org/init/init.c  2003-08-02 23:45:30.000000000 +0200
-@@ -155,7 +155,7 @@
- static char console[CONSOLE_BUFF_SIZE] = _PATH_CONSOLE;
+@@ -85,7 +85,7 @@
+ static struct init_action *init_action_list = NULL;
  
- #if !ENABLE_SYSLOGD
--static char *log_console = VC_5;
-+static char *log_console = VC_12;
+ #if !ENABLE_FEATURE_INIT_SYSLOG
+-static const char *log_console = VC_5;
++static const char *log_console = VC_12;
  #endif
  #if !ENABLE_DEBUG_INIT
  static sig_atomic_t got_cont = 0;
+
diff --git a/busybox-noerror.patch b/busybox-noerror.patch
deleted file mode 100644 (file)
index f2ff264..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN busybox-1.3.1.org/Makefile.flags busybox-1.3.1/Makefile.flags
---- busybox-1.3.1.org/Makefile.flags   2006-12-27 05:57:07.000000000 +0100
-+++ busybox-1.3.1/Makefile.flags       2007-01-01 00:44:07.834829250 +0100
-@@ -16,7 +16,7 @@
-       -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP
- CFLAGS += \
--      -Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \
-+      -Wall -Wstrict-prototypes -Wshadow -Wundef \
-       -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \
-       -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
-       -fomit-frame-pointer -ffunction-sections -fdata-sections
index e11ef84e2ded4f390e449f56df14e16e1df0c87a..35642459833fbc093c8bddd2bd3a8b134ecd14ee 100644 (file)
@@ -10,8 +10,8 @@
  #include "busybox.h"
  
  static int print_formatted(char *format, int argc, char **argv);
-@@ -109,18 +112,137 @@
-       }
+@@ -288,19 +288,135 @@
+       return save_argc - argc;
  }
  
 +/*
 +
 +static u_int32_t swap(u_int32_t i)
 +{
-+      return (i << 24) | ((i & 0xff00) << 8) | 
-+             ((i >> 8) & 0xff00) | (i >> 24);
++      return (i << 24) | ((i & 0xff00) << 8) |
++              ((i >> 8) & 0xff00) | (i >> 24);
 +}
-+
 +#define swap_if(a) ((has_to_swap) ? swap(a) : (a))
 +
 +static char *getmsg(const char *filename, const char *msgid)
@@ -69,7 +68,7 @@
 +      struct string_desc *orig_tab, *trans_tab = NULL;
 +      int act = -1;
 +      char *ret = (char*)msgid;
-+              
++
 +      if (filename == NULL || stat(filename, &st))
 +              return ret;
 +
@@ -78,7 +77,7 @@
 +              return ret;
 +
 +      ptr = (struct mo_file_header *) mmap(NULL, st.st_size, PROT_READ,
-+                                           MAP_PRIVATE, fd, 0);
++                      MAP_PRIVATE, fd, 0);
 +      close(fd);
 +
 +      if (ptr == (void*)-1)
 +      /* FIXME: use hash table */
 +
 +      orig_tab = (struct string_desc *)
-+          ((char *) ptr + swap_if(ptr->orig_tab_offset));
++              ((char *) ptr + swap_if(ptr->orig_tab_offset));
 +      trans_tab = (struct string_desc *)
-+          ((char *) ptr + swap_if(ptr->trans_tab_offset));
++              ((char *) ptr + swap_if(ptr->trans_tab_offset));
 +
 +      bottom = 0;
 +      top = swap_if(ptr->nstrings);
 +      while (bottom < top) {
 +              int cmp_val;
-+
 +              act = (bottom + top) / 2;
 +              cmp_val =
-+                  strcmp(msgid,
-+                         ((char *) ptr + swap_if(orig_tab[act].offset)));
++                      strcmp(msgid,
++                                      ((char *) ptr + swap_if(orig_tab[act].offset)));
 +              if (cmp_val < 0)
 +                      top = act;
 +              else if (cmp_val > 0)
 +              act = -1;
 +      }
 +
-+      oops:
++oops:
 +      if (act != -1)
 +              ret = strdup(((char *) ptr + swap_if(trans_tab[act].offset)));
 +      munmap(ptr, st.st_size);
 +# define getmsg(a,b) (b)
 +#endif
 +
+ int printf_main(int argc, char **argv);
  int printf_main(int argc, char **argv)
  {
        char *format;
-       int args_used;
-+      int opt;
+-      int args_used;
++      int args_used, opt;
 +      const char *nls_file = NULL;
  
 -      if (argc <= 1 || argv[1][0] == '-') {
 -      }
 +      while ((opt = getopt(argc, argv, "n:")) != -1)
 +              switch (opt) {
-+              case 'n':
-+                      nls_file = optarg;
-+                      break;
-+              default:
-+                      bb_show_usage();
-+                      break;
++                      case 'n':
++                              nls_file = optarg;
++                              break;
++                      default:
++                              bb_show_usage();
++                              break;
 +              }
 +
 +      format = getmsg(nls_file, argv[optind++]);
index 5c9efe97974e15554172045719e7592f6cdf1e0f..ecdd282b03f69e66b6757464920ccaf378ff7943 100644 (file)
@@ -29,6 +29,7 @@ CONFIG_FEATURE_SUID_CONFIG=y
 CONFIG_FEATURE_SUID_CONFIG_QUIET=y
 CONFIG_FEATURE_HAVE_RPC=y
 # CONFIG_SELINUX is not set
+# CONFIG_FEATURE_EXEC_PREFER_APPLETS is not set
 CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox"
 
 #
@@ -47,6 +48,7 @@ CROSS_COMPILER_PREFIX=""
 # Debugging Options
 #
 # CONFIG_DEBUG is not set
+# CONFIG_WERROR is not set
 # CONFIG_DEBUG_PESSIMIZE is not set
 # CONFIG_NO_DEBUG_LIB is not set
 # CONFIG_DMALLOC is not set
@@ -67,6 +69,14 @@ CONFIG_PREFIX="./_install"
 #
 CONFIG_PASSWORD_MINLEN=6
 CONFIG_MD5_SIZE_VS_SPEED=2
+CONFIG_FEATURE_EDITING=y
+CONFIG_FEATURE_EDITING_FANCY_KEYS=y
+CONFIG_FEATURE_EDITING_VI=y
+CONFIG_FEATURE_EDITING_HISTORY=15
+CONFIG_FEATURE_EDITING_SAVEHISTORY=y
+CONFIG_FEATURE_TAB_COMPLETION=y
+CONFIG_FEATURE_USERNAME_COMPLETION=y
+CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
 
 #
 # Applets
@@ -452,6 +462,7 @@ CONFIG_FEATURE_MTAB_SUPPORT=y
 #
 CONFIG_ADJTIMEX=y
 # CONFIG_BBCONFIG is not set
+CONFIG_CHRT=y
 CONFIG_CROND=y
 # CONFIG_DEBUG_CROND_OPTION is not set
 CONFIG_FEATURE_CROND_CALL_SENDMAIL=y
@@ -499,6 +510,7 @@ CONFIG_WATCHDOG=y
 # Networking Utilities
 #
 CONFIG_FEATURE_IPV6=y
+CONFIG_VERBOSE_RESOLUTION_ERRORS=y
 # CONFIG_ARP is not set
 CONFIG_ARPING=y
 CONFIG_DNSD=y
This page took 0.192402 seconds and 4 git commands to generate.