003-defaults.patch 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. diff -Nur busybox-1.19.4.orig/Config.in busybox-1.19.4/Config.in
  2. --- busybox-1.19.4.orig/Config.in 2012-02-04 20:34:24.000000000 +0100
  3. +++ busybox-1.19.4/Config.in 2012-03-20 16:07:34.206229130 +0100
  4. @@ -15,7 +15,7 @@
  5. config DESKTOP
  6. bool "Enable options for full-blown desktop systems"
  7. - default y
  8. + default n
  9. help
  10. Enable options and features which are not essential.
  11. Select this only if you plan to use busybox on full-blown
  12. @@ -32,7 +32,7 @@
  13. config INCLUDE_SUSv2
  14. bool "Enable obsolete features removed before SUSv3"
  15. - default y
  16. + default n
  17. help
  18. This option will enable backwards compatibility with SuSv2,
  19. specifically, old-style numeric options ('command -1 <file>')
  20. diff -Nur busybox-1.19.4.orig/archival/Config.src busybox-1.19.4/archival/Config.src
  21. --- busybox-1.19.4.orig/archival/Config.src 2012-02-04 20:34:24.000000000 +0100
  22. +++ busybox-1.19.4/archival/Config.src 2012-03-20 16:07:34.206229130 +0100
  23. @@ -79,7 +79,7 @@
  24. config BUNZIP2
  25. bool "bunzip2"
  26. - default y
  27. + default n
  28. help
  29. bunzip2 is a compression utility using the Burrows-Wheeler block
  30. sorting text compression algorithm, and Huffman coding. Compression
  31. @@ -92,7 +92,7 @@
  32. config BZIP2
  33. bool "bzip2"
  34. - default y
  35. + default n
  36. help
  37. bzip2 is a compression utility using the Burrows-Wheeler block
  38. sorting text compression algorithm, and Huffman coding. Compression
  39. @@ -105,7 +105,7 @@
  40. config CPIO
  41. bool "cpio"
  42. - default y
  43. + default n
  44. help
  45. cpio is an archival utility program used to create, modify, and
  46. extract contents from archives.
  47. @@ -204,19 +204,19 @@
  48. config RPM2CPIO
  49. bool "rpm2cpio"
  50. - default y
  51. + default n
  52. help
  53. Converts a RPM file into a CPIO archive.
  54. config RPM
  55. bool "rpm"
  56. - default y
  57. + default n
  58. help
  59. Mini RPM applet - queries and extracts RPM packages.
  60. config TAR
  61. bool "tar"
  62. - default y
  63. + default n
  64. help
  65. tar is an archiving program. It's commonly used with gzip to
  66. create compressed archives. It's probably the most widely used
  67. @@ -323,7 +323,7 @@
  68. config UNLZMA
  69. bool "unlzma"
  70. - default y
  71. + default n
  72. help
  73. unlzma is a compression utility using the Lempel-Ziv-Markov chain
  74. compression algorithm, and range coding. Compression
  75. @@ -354,7 +354,7 @@
  76. config UNXZ
  77. bool "unxz"
  78. - default y
  79. + default n
  80. help
  81. unxz is a unlzma successor.
  82. diff -Nur busybox-1.19.4.orig/editors/Config.src busybox-1.19.4/editors/Config.src
  83. --- busybox-1.19.4.orig/editors/Config.src 2012-02-04 20:24:55.000000000 +0100
  84. +++ busybox-1.19.4/editors/Config.src 2012-03-20 16:07:34.206229130 +0100
  85. @@ -31,7 +31,7 @@
  86. config DIFF
  87. bool "diff"
  88. - default y
  89. + default n
  90. help
  91. diff compares two files or directories and outputs the
  92. differences between them in a form that can be given to
  93. @@ -62,7 +62,7 @@
  94. config SED
  95. bool "sed"
  96. - default y
  97. + default n
  98. help
  99. sed is used to perform text transformations on a file
  100. or input from a pipeline.
  101. diff -Nur busybox-1.19.4.orig/editors/patch.c busybox-1.19.4/editors/patch.c
  102. --- busybox-1.19.4.orig/editors/patch.c 2012-02-04 20:34:24.000000000 +0100
  103. +++ busybox-1.19.4/editors/patch.c 2012-03-20 16:07:34.206229130 +0100
  104. @@ -24,7 +24,7 @@
  105. //config:config PATCH
  106. //config: bool "patch"
  107. -//config: default y
  108. +//config: default n
  109. //config: help
  110. //config: Apply a unified diff formatted patch.
  111. diff -Nur busybox-1.19.4.orig/findutils/find.c busybox-1.19.4/findutils/find.c
  112. --- busybox-1.19.4.orig/findutils/find.c 2012-02-04 20:24:55.000000000 +0100
  113. +++ busybox-1.19.4/findutils/find.c 2012-03-20 16:07:34.206229130 +0100
  114. @@ -55,7 +55,7 @@
  115. //config:config FIND
  116. //config: bool "find"
  117. -//config: default y
  118. +//config: default n
  119. //config: help
  120. //config: find is used to search your system to find specified files.
  121. //config:
  122. diff -Nur busybox-1.19.4.orig/findutils/grep.c busybox-1.19.4/findutils/grep.c
  123. --- busybox-1.19.4.orig/findutils/grep.c 2012-02-04 20:24:55.000000000 +0100
  124. +++ busybox-1.19.4/findutils/grep.c 2012-03-20 16:07:34.206229130 +0100
  125. @@ -26,7 +26,7 @@
  126. //config:config GREP
  127. //config: bool "grep"
  128. -//config: default y
  129. +//config: default n
  130. //config: help
  131. //config: grep is used to search files for a specified pattern.
  132. //config:
  133. diff -Nur busybox-1.19.4.orig/include/applets.src.h busybox-1.19.4/include/applets.src.h
  134. --- busybox-1.19.4.orig/include/applets.src.h 2012-02-04 20:34:24.000000000 +0100
  135. +++ busybox-1.19.4/include/applets.src.h 2012-03-20 16:12:28.806228451 +0100
  136. @@ -244,9 +244,9 @@
  137. IF_MICROCOM(APPLET(microcom, BB_DIR_USR_BIN, BB_SUID_DROP))
  138. IF_MKDIR(APPLET_NOFORK(mkdir, mkdir, BB_DIR_BIN, BB_SUID_DROP, mkdir))
  139. IF_MKFS_VFAT(APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
  140. -IF_MKFS_EXT2(APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
  141. +//IF_MKFS_EXT2(APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
  142. IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo))
  143. -IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
  144. +//IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
  145. //IF_MKE2FS(APPLET_ODDNAME(mkfs.ext3, mke2fs, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext3))
  146. IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix))
  147. IF_MKFS_REISER(APPLET_ODDNAME(mkfs.reiser, mkfs_reiser, BB_DIR_SBIN, BB_SUID_DROP, mkfs_reiser))
  148. diff -Nur busybox-1.19.4.orig/miscutils/Config.src busybox-1.19.4/miscutils/Config.src
  149. --- busybox-1.19.4.orig/miscutils/Config.src 2012-02-04 20:24:55.000000000 +0100
  150. +++ busybox-1.19.4/miscutils/Config.src 2012-03-20 16:07:34.206229130 +0100
  151. @@ -362,7 +362,7 @@
  152. config HDPARM
  153. bool "hdparm"
  154. - default y
  155. + default n
  156. select PLATFORM_LINUX
  157. help
  158. Get/Set hard drive parameters. Primarily intended for ATA
  159. @@ -600,7 +600,7 @@
  160. config WATCHDOG
  161. bool "watchdog"
  162. - default y
  163. + default n
  164. select PLATFORM_LINUX
  165. help
  166. The watchdog utility is used with hardware or software watchdog
  167. diff -Nur busybox-1.19.4.orig/networking/Config.src busybox-1.19.4/networking/Config.src
  168. --- busybox-1.19.4.orig/networking/Config.src 2012-02-04 20:34:24.000000000 +0100
  169. +++ busybox-1.19.4/networking/Config.src 2012-03-20 16:07:34.206229130 +0100
  170. @@ -64,7 +64,7 @@
  171. config BRCTL
  172. bool "brctl"
  173. - default y
  174. + default n
  175. select PLATFORM_LINUX
  176. help
  177. Manage ethernet bridges.
  178. @@ -97,7 +97,7 @@
  179. config ETHER_WAKE
  180. bool "ether-wake"
  181. - default y
  182. + default n
  183. select PLATFORM_LINUX
  184. help
  185. Send a magic packet to wake up sleeping machines.
  186. @@ -498,7 +498,7 @@
  187. config IP
  188. bool "ip"
  189. - default y
  190. + default n
  191. select PLATFORM_LINUX
  192. help
  193. The "ip" applet is a TCP/IP interface configuration and routing
  194. @@ -935,7 +935,7 @@
  195. config WGET
  196. bool "wget"
  197. - default y
  198. + default n
  199. help
  200. wget is a utility for non-interactive download of files from HTTP,
  201. HTTPS, and FTP servers.
  202. diff -Nur busybox-1.19.4.orig/util-linux/Config.src busybox-1.19.4/util-linux/Config.src
  203. --- busybox-1.19.4.orig/util-linux/Config.src 2012-02-04 20:34:24.000000000 +0100
  204. +++ busybox-1.19.4/util-linux/Config.src 2012-03-20 16:09:26.662228452 +0100
  205. @@ -246,13 +246,6 @@
  206. check for and attempt to repair any corruption that occurs to a minix
  207. filesystem.
  208. -config MKFS_EXT2
  209. - bool "mkfs_ext2"
  210. - default y
  211. - select PLATFORM_LINUX
  212. - help
  213. - Utility to create EXT2 filesystems.
  214. -
  215. config MKFS_MINIX
  216. bool "mkfs_minix"
  217. default y
  218. @@ -386,7 +379,7 @@
  219. config LSPCI
  220. bool "lspci"
  221. - default y
  222. + default n
  223. #select PLATFORM_LINUX
  224. help
  225. lspci is a utility for displaying information about PCI buses in the
  226. @@ -396,7 +389,7 @@
  227. config LSUSB
  228. bool "lsusb"
  229. - default y
  230. + default n
  231. #select PLATFORM_LINUX
  232. help
  233. lsusb is a utility for displaying information about USB buses in the
  234. diff -Nur busybox-1.19.4.orig/util-linux/Kbuild.src busybox-1.19.4/util-linux/Kbuild.src
  235. --- busybox-1.19.4.orig/util-linux/Kbuild.src 2012-02-04 20:34:24.000000000 +0100
  236. +++ busybox-1.19.4/util-linux/Kbuild.src 2012-03-20 16:10:21.682228369 +0100
  237. @@ -27,7 +27,6 @@
  238. lib-$(CONFIG_LSPCI) += lspci.o
  239. lib-$(CONFIG_LSUSB) += lsusb.o
  240. lib-$(CONFIG_MDEV) += mdev.o
  241. -lib-$(CONFIG_MKFS_EXT2) += mkfs_ext2.o
  242. lib-$(CONFIG_MKFS_MINIX) += mkfs_minix.o
  243. lib-$(CONFIG_MKFS_REISER) += mkfs_reiser.o
  244. lib-$(CONFIG_MKFS_VFAT) += mkfs_vfat.o