[-]
[+]
|
Changed |
busybox.spec
|
|
[-]
[+]
|
Deleted |
busybox-1.11.0-udhcp-services.patch
^
|
@@ -1,24 +0,0 @@
---- networking/udhcp/options.c.orig 2008-07-06 10:59:58.000000000 +0200
-+++ networking/udhcp/options.c 2008-07-06 11:05:29.000000000 +0200
-@@ -43,6 +43,10 @@
- { OPTION_STRING , 0x42 }, /* tftp */
- { OPTION_STRING , 0x43 }, /* bootfile */
- { OPTION_STRING , 0x4D }, /* userclass */
-+ { OPTION_IP | OPTION_LIST , 0x45 }, /* DHCP_SMTP_SERVER */
-+ { OPTION_IP | OPTION_LIST , 0x46 }, /* DHCP_POP3_SERVER */
-+ { OPTION_IP | OPTION_LIST , 0x4a }, /* DHCP_IRC_SERVER */
-+ { OPTION_IP | OPTION_LIST , 0x48 }, /* DHCP_WWW_SERVER */
- #if ENABLE_FEATURE_RFC3397
- { OPTION_STR1035 | OPTION_LIST , 0x77 }, /* search */
- #endif
-@@ -92,6 +96,10 @@
- "tftp" "\0"
- "bootfile" "\0"
- "userclass" "\0"
-+ "smtpsrv" "\0" /* DHCP_SMTP_SERVER */
-+ "pop3srv" "\0" /* DHCP_POP3_SERVER */
-+ "ircsrv" "\0" /* DHCP_IRC_SERVER */
-+ "wwwsrv" "\0" /* DHCP_WWW_SERVER */
- #if ENABLE_FEATURE_RFC3397
- "search" "\0"
- #endif
|
[-]
[+]
|
Added |
busybox-1.12.0-dmesg-size.patch
^
|
@@ -0,0 +1,26 @@
+--- util-linux/dmesg.c.orig 2008-06-25 14:51:38.000000000 +0200
++++ util-linux/dmesg.c 2008-07-06 10:12:12.000000000 +0200
+@@ -12,6 +12,14 @@
+ #include <sys/klog.h>
+ #include "libbb.h"
+
++static int kernel_ringbuffer_size(void)
++{
++ int len = klogctl(10, NULL, 0);
++ if (len > 0)
++ return len;
++ return 16384;
++}
++
+ int dmesg_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
+ int dmesg_main(int argc ATTRIBUTE_UNUSED, char **argv)
+ {
+@@ -31,7 +39,7 @@
+ return EXIT_SUCCESS;
+ }
+
+- len = (flags & OPT_s) ? xatoul_range(size, 2, INT_MAX) : 16384;
++ len = (flags & OPT_s) ? xatoul_range(size, 2, INT_MAX) : kernel_ringbuffer_size();
+ buf = xmalloc(len);
+ len = klogctl(3 + (flags & OPT_c), buf, len);
+ if (len < 0)
|
[-]
[+]
|
Added |
busybox-1.12.0-udhcp-services.patch
^
|
@@ -0,0 +1,24 @@
+--- networking/udhcp/options.c.orig 2008-07-06 10:59:58.000000000 +0200
++++ networking/udhcp/options.c 2008-07-06 11:05:29.000000000 +0200
+@@ -43,6 +43,10 @@
+ { OPTION_STRING , 0x42 }, /* tftp */
+ { OPTION_STRING , 0x43 }, /* bootfile */
+ { OPTION_STRING , 0x4D }, /* userclass */
++ { OPTION_IP | OPTION_LIST , 0x45 }, /* DHCP_SMTP_SERVER */
++ { OPTION_IP | OPTION_LIST , 0x46 }, /* DHCP_POP3_SERVER */
++ { OPTION_IP | OPTION_LIST , 0x4a }, /* DHCP_IRC_SERVER */
++ { OPTION_IP | OPTION_LIST , 0x48 }, /* DHCP_WWW_SERVER */
+ #if ENABLE_FEATURE_RFC3397
+ { OPTION_STR1035 | OPTION_LIST , 0x77 }, /* search */
+ #endif
+@@ -92,6 +96,10 @@
+ "tftp" "\0"
+ "bootfile" "\0"
+ "userclass" "\0"
++ "smtpsrv" "\0" /* DHCP_SMTP_SERVER */
++ "pop3srv" "\0" /* DHCP_POP3_SERVER */
++ "ircsrv" "\0" /* DHCP_IRC_SERVER */
++ "wwwsrv" "\0" /* DHCP_WWW_SERVER */
+ #if ENABLE_FEATURE_RFC3397
+ "search" "\0"
+ #endif
|
|
Added |
busybox-1.12.0.tar.bz2
^
|