summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.01
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/busybox/busybox-1.01
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/busybox/busybox-1.01')
-rw-r--r--meta/packages/busybox/busybox-1.01/add-getkey-applet.patch157
-rw-r--r--meta/packages/busybox/busybox-1.01/angstrom/defconfig475
-rw-r--r--meta/packages/busybox/busybox-1.01/below.patch49
-rw-r--r--meta/packages/busybox/busybox-1.01/defconfig476
-rw-r--r--meta/packages/busybox/busybox-1.01/dhcp-hostname.patch30
-rw-r--r--meta/packages/busybox/busybox-1.01/dhcpretrytime.patch81
-rw-r--r--meta/packages/busybox/busybox-1.01/familiar/defconfig470
-rw-r--r--meta/packages/busybox/busybox-1.01/fbset.patch24
-rw-r--r--meta/packages/busybox/busybox-1.01/hdparm_M.patch47
-rw-r--r--meta/packages/busybox/busybox-1.01/ifupdown-spurious-environ.patch12
-rw-r--r--meta/packages/busybox/busybox-1.01/iproute-flush-cache.patch23
-rw-r--r--meta/packages/busybox/busybox-1.01/mount-all-type.patch84
-rw-r--r--meta/packages/busybox/busybox-1.01/nylon/defconfig458
-rw-r--r--meta/packages/busybox/busybox-1.01/openmn/defconfig475
-rw-r--r--meta/packages/busybox/busybox-1.01/openzaurus/defconfig475
-rw-r--r--meta/packages/busybox/busybox-1.01/readlink.patch85
-rw-r--r--meta/packages/busybox/busybox-1.01/rmmod.patch44
-rw-r--r--meta/packages/busybox/busybox-1.01/slugos/defconfig444
-rw-r--r--meta/packages/busybox/busybox-1.01/slugos/sysctl.conf32
-rw-r--r--meta/packages/busybox/busybox-1.01/slugos/udhcpscript.patch162
-rw-r--r--meta/packages/busybox/busybox-1.01/sparc/defconfig467
-rw-r--r--meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch11
-rw-r--r--meta/packages/busybox/busybox-1.01/uclibc_posix.patch20
-rw-r--r--meta/packages/busybox/busybox-1.01/udhcppidfile-breakage.patch57
-rw-r--r--meta/packages/busybox/busybox-1.01/udhcppidfile.patch276
-rw-r--r--meta/packages/busybox/busybox-1.01/udhcpscript.patch17
-rw-r--r--meta/packages/busybox/busybox-1.01/wrt54/defconfig476
27 files changed, 5427 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.01/add-getkey-applet.patch b/meta/packages/busybox/busybox-1.01/add-getkey-applet.patch
new file mode 100644
index 0000000000..6ce0df21bd
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/add-getkey-applet.patch
@@ -0,0 +1,157 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- /dev/null
7+++ busybox-1.00/console-tools/getkey.c
8@@ -0,0 +1,94 @@
9+/* vi: set sw=4 ts=4: */
10+/*
11+ * getkey.c - Michael 'Mickey' Lauer
12+ *
13+ * Version 0.1
14+ *
15+ * A simple keygrapper. Displays a configurable message and waits a dedicated number
16+ * of seconds for a keypress. Sets the exit code accordingly (SUCCESS on keypress).
17+ */
18+#include <stdio.h>
19+#include <fcntl.h>
20+#include <memory.h>
21+#include <stdlib.h>
22+#include <unistd.h>
23+#include <sys/types.h>
24+#include <errno.h>
25+#include <sys/ioctl.h>
26+#include <sys/kd.h>
27+#include "busybox.h"
28+
29+extern int getkey_main(int argc, char **argv)
30+{
31+ int status = EXIT_FAILURE;
32+
33+ if ( argc < 2 )
34+ {
35+ bb_show_usage();
36+ }
37+
38+ /*
39+ * If no terminal is attached it is quite useless
40+ * to treat it like one.
41+ */
42+ if( !isatty(STDIN_FILENO) )
43+ {
44+ goto error_hard;
45+ }
46+
47+ //bb_printf( "DEBUG: time = '%s'\n", argv[1] );
48+ //bb_printf( "DEBUG: mesg = '%s'\n", argv[2] );
49+
50+ struct termios orig;
51+ struct termios attr;
52+
53+ if ( tcgetattr(STDIN_FILENO, &orig) == -1 )
54+ {
55+ goto error_hard;
56+ }
57+
58+ attr = orig;
59+ attr.c_cc[VMIN] = 0;
60+ attr.c_cc[VTIME] = 0;
61+ attr.c_iflag |= INLCR;
62+ attr.c_oflag |= OPOST|ONLCR;
63+ attr.c_cflag &= ~PARENB;
64+ attr.c_lflag &= ~(ICANON/*|ECHO*/);
65+ if ( tcsetattr(STDIN_FILENO,TCSANOW,&attr) == -1 )
66+ {
67+ goto error_hard;
68+ }
69+
70+ fd_set rfds;
71+ struct timeval tv;
72+ int retval;
73+
74+ FD_ZERO(&rfds);
75+ FD_SET(0, &rfds);
76+
77+ tv.tv_sec = atoi( argv[1] );
78+ tv.tv_usec = 0;
79+
80+ if ( argc == 3 )
81+ {
82+ bb_printf( argv[2], tv.tv_sec );
83+ bb_printf( "\n" );
84+ fflush(stdout);
85+ }
86+ retval = select(1, &rfds, NULL, NULL, &tv);
87+ if (retval > 0)
88+ {
89+ status = EXIT_SUCCESS;
90+ }
91+
92+ if (tcsetattr(STDIN_FILENO,TCSANOW,&orig) == -1 )
93+ {
94+ goto error_hard;
95+ }
96+
97+ return status;
98+
99+error_hard :
100+ return EXIT_FAILURE;
101+};
102+
103--- busybox-1.00/console-tools/Makefile.in~add-getkey-applet.patch
104+++ busybox-1.00/console-tools/Makefile.in
105@@ -28,6 +28,7 @@
106 CONSOLETOOLS_DIR-$(CONFIG_CLEAR) += clear.o
107 CONSOLETOOLS_DIR-$(CONFIG_DEALLOCVT) += deallocvt.o
108 CONSOLETOOLS_DIR-$(CONFIG_DUMPKMAP) += dumpkmap.o
109+CONSOLETOOLS_DIR-$(CONFIG_GETKEY) += getkey.o
110 CONSOLETOOLS_DIR-$(CONFIG_LOADFONT) += loadfont.o
111 CONSOLETOOLS_DIR-$(CONFIG_LOADKMAP) += loadkmap.o
112 CONSOLETOOLS_DIR-$(CONFIG_OPENVT) += openvt.o
113--- busybox-1.00/console-tools/Config.in~add-getkey-applet.patch
114+++ busybox-1.00/console-tools/Config.in
115@@ -31,6 +31,14 @@
116 This program dumps the kernel's keyboard translation table to
117 stdout, in binary format. You can then use loadkmap to load it.
118
119+config CONFIG_GETKEY
120+ bool "getkey"
121+ default n
122+ help
123+ This program displays a configurable message and waits
124+ a dedicated number of seconds for a keypress. It sets
125+ the exit code accordingly, i.e. SUCCESS if there was a keypress.
126+
127 config CONFIG_LOADFONT
128 bool "loadfont"
129 default n
130--- busybox-1.00/include/applets.h~add-getkey-applet.patch
131+++ busybox-1.00/include/applets.h
132@@ -223,6 +223,9 @@
133 #ifdef CONFIG_FTPPUT
134 APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
135 #endif
136+#ifdef CONFIG_GETKEY
137+ APPLET(getkey, getkey_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
138+#endif
139 #ifdef CONFIG_GETOPT
140 APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
141 #endif
142--- busybox-1.00/include/usage.h~add-getkey-applet.patch
143+++ busybox-1.00/include/usage.h
144@@ -734,6 +734,13 @@
145 "\t-p, --password Password to be used\n" \
146 "\t-P, --port Port number to be used"
147
148+#define getkey_trivial_usage \
149+ "time [message]"
150+#define getkey_full_usage \
151+ "Display a message and wait for a keypress."
152+#define getkey_example_usage \
153+ "$ getkey 5 'Press a key within %d seconds to interrupt autoboot.'"
154+
155 #define getopt_trivial_usage \
156 "[OPTIONS]..."
157 #define getopt_full_usage \
diff --git a/meta/packages/busybox/busybox-1.01/angstrom/defconfig b/meta/packages/busybox/busybox-1.01/angstrom/defconfig
new file mode 100644
index 0000000000..34a5804a4d
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/angstrom/defconfig
@@ -0,0 +1,475 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
10CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12# CONFIG_FEATURE_VERBOSE_USAGE is not set
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15# CONFIG_FEATURE_DEVFS is not set
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18# CONFIG_FEATURE_SUID is not set
19# CONFIG_SELINUX is not set
20
21#
22# Build Options
23#
24# CONFIG_STATIC is not set
25CONFIG_LFS=y
26# USING_CROSS_COMPILER is not set
27EXTRA_CFLAGS_OPTIONS=""
28
29#
30# Installation Options
31#
32# CONFIG_INSTALL_NO_USR is not set
33PREFIX="./_install"
34
35#
36# Archival Utilities
37#
38CONFIG_AR=y
39# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
40CONFIG_BUNZIP2=y
41CONFIG_CPIO=y
42# CONFIG_DPKG is not set
43# CONFIG_DPKG_DEB is not set
44CONFIG_GUNZIP=y
45# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
46CONFIG_GZIP=y
47# CONFIG_RPM2CPIO is not set
48# CONFIG_RPM is not set
49CONFIG_TAR=y
50CONFIG_FEATURE_TAR_CREATE=y
51CONFIG_FEATURE_TAR_BZIP2=y
52CONFIG_FEATURE_TAR_FROM=y
53CONFIG_FEATURE_TAR_GZIP=y
54# CONFIG_FEATURE_TAR_COMPRESS is not set
55CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
56CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
57# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
58# CONFIG_UNCOMPRESS is not set
59# CONFIG_UNZIP is not set
60
61#
62# Common options for cpio and tar
63#
64# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
65
66#
67# Coreutils
68#
69CONFIG_BASENAME=y
70# CONFIG_CAL is not set
71CONFIG_CAT=y
72CONFIG_CHGRP=y
73CONFIG_CHMOD=y
74CONFIG_CHOWN=y
75CONFIG_CHROOT=y
76# CONFIG_CMP is not set
77CONFIG_CP=y
78CONFIG_CUT=y
79CONFIG_DATE=y
80
81#
82# date (forced enabled for use with watch)
83#
84# CONFIG_FEATURE_DATE_ISOFMT is not set
85CONFIG_DD=y
86CONFIG_DF=y
87CONFIG_DIRNAME=y
88# CONFIG_DOS2UNIX is not set
89CONFIG_DU=y
90CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
91CONFIG_ECHO=y
92CONFIG_FEATURE_FANCY_ECHO=y
93CONFIG_ENV=y
94CONFIG_EXPR=y
95CONFIG_FALSE=y
96# CONFIG_FOLD is not set
97CONFIG_HEAD=y
98# CONFIG_FEATURE_FANCY_HEAD is not set
99# CONFIG_HOSTID is not set
100CONFIG_ID=y
101# CONFIG_INSTALL is not set
102# CONFIG_LENGTH is not set
103CONFIG_LN=y
104CONFIG_LOGNAME=y
105CONFIG_LS=y
106CONFIG_FEATURE_LS_FILETYPES=y
107CONFIG_FEATURE_LS_FOLLOWLINKS=y
108# CONFIG_FEATURE_LS_RECURSIVE is not set
109CONFIG_FEATURE_LS_SORTFILES=y
110CONFIG_FEATURE_LS_TIMESTAMPS=y
111CONFIG_FEATURE_LS_USERNAME=y
112CONFIG_FEATURE_LS_COLOR=y
113CONFIG_MD5SUM=y
114CONFIG_MKDIR=y
115CONFIG_MKFIFO=y
116CONFIG_MKNOD=y
117CONFIG_MV=y
118CONFIG_OD=y
119CONFIG_PRINTF=y
120CONFIG_PWD=y
121# CONFIG_REALPATH is not set
122CONFIG_RM=y
123CONFIG_RMDIR=y
124CONFIG_SEQ=y
125# CONFIG_SHA1SUM is not set
126CONFIG_SLEEP=y
127# CONFIG_FEATURE_FANCY_SLEEP is not set
128CONFIG_SORT=y
129CONFIG_STTY=y
130CONFIG_SYNC=y
131CONFIG_TAIL=y
132CONFIG_FEATURE_FANCY_TAIL=y
133CONFIG_TEE=y
134# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
135CONFIG_TEST=y
136
137#
138# test (forced enabled for use with shell)
139#
140# CONFIG_FEATURE_TEST_64 is not set
141CONFIG_TOUCH=y
142CONFIG_TR=y
143CONFIG_TRUE=y
144CONFIG_TTY=y
145CONFIG_UNAME=y
146CONFIG_UNIQ=y
147# CONFIG_USLEEP is not set
148# CONFIG_UUDECODE is not set
149# CONFIG_UUENCODE is not set
150CONFIG_WATCH=y
151CONFIG_WC=y
152CONFIG_WHO=y
153CONFIG_WHOAMI=y
154CONFIG_YES=y
155
156#
157# Common options for cp and mv
158#
159# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
160
161#
162# Common options for ls and more
163#
164CONFIG_FEATURE_AUTOWIDTH=y
165
166#
167# Common options for df, du, ls
168#
169CONFIG_FEATURE_HUMAN_READABLE=y
170
171#
172# Common options for md5sum, sha1sum
173#
174# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
175
176#
177# Console Utilities
178#
179CONFIG_CHVT=y
180CONFIG_CLEAR=y
181CONFIG_DEALLOCVT=y
182# CONFIG_DUMPKMAP is not set
183CONFIG_GETKEY=y
184# CONFIG_LOADFONT is not set
185# CONFIG_LOADKMAP is not set
186CONFIG_OPENVT=y
187CONFIG_RESET=y
188# CONFIG_SETKEYCODES is not set
189
190#
191# Debian Utilities
192#
193CONFIG_MKTEMP=y
194# CONFIG_PIPE_PROGRESS is not set
195CONFIG_READLINK=y
196CONFIG_FEATURE_READLINK_FOLLOW=y
197CONFIG_RUN_PARTS=y
198CONFIG_START_STOP_DAEMON=y
199CONFIG_WHICH=y
200
201#
202# Editors
203#
204CONFIG_AWK=y
205CONFIG_FEATURE_AWK_MATH=y
206# CONFIG_PATCH is not set
207CONFIG_SED=y
208CONFIG_VI=y
209CONFIG_FEATURE_VI_COLON=y
210CONFIG_FEATURE_VI_YANKMARK=y
211CONFIG_FEATURE_VI_SEARCH=y
212CONFIG_FEATURE_VI_USE_SIGNALS=y
213# CONFIG_FEATURE_VI_DOT_CMD is not set
214# CONFIG_FEATURE_VI_READONLY is not set
215# CONFIG_FEATURE_VI_SETOPTS is not set
216# CONFIG_FEATURE_VI_SET is not set
217CONFIG_FEATURE_VI_WIN_RESIZE=y
218CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
219
220#
221# Finding Utilities
222#
223CONFIG_FIND=y
224CONFIG_FEATURE_FIND_MTIME=y
225CONFIG_FEATURE_FIND_PERM=y
226CONFIG_FEATURE_FIND_TYPE=y
227CONFIG_FEATURE_FIND_XDEV=y
228CONFIG_FEATURE_FIND_NEWER=y
229# CONFIG_FEATURE_FIND_INUM is not set
230CONFIG_GREP=y
231CONFIG_FEATURE_GREP_EGREP_ALIAS=y
232CONFIG_FEATURE_GREP_FGREP_ALIAS=y
233CONFIG_FEATURE_GREP_CONTEXT=y
234CONFIG_XARGS=y
235# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
236# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
237# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
238# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
239
240#
241# Init Utilities
242#
243# CONFIG_INIT is not set
244# CONFIG_HALT is not set
245# CONFIG_POWEROFF is not set
246# CONFIG_REBOOT is not set
247# CONFIG_MESG is not set
248
249#
250# Login/Password Management Utilities
251#
252# CONFIG_USE_BB_PWD_GRP is not set
253# CONFIG_ADDGROUP is not set
254# CONFIG_DELGROUP is not set
255# CONFIG_ADDUSER is not set
256# CONFIG_DELUSER is not set
257# CONFIG_GETTY is not set
258CONFIG_FEATURE_U_W_TMP=y
259# CONFIG_LOGIN is not set
260# CONFIG_PASSWD is not set
261# CONFIG_SU is not set
262# CONFIG_SULOGIN is not set
263# CONFIG_VLOCK is not set
264
265#
266# Miscellaneous Utilities
267#
268# CONFIG_ADJTIMEX is not set
269# CONFIG_CROND is not set
270# CONFIG_CRONTAB is not set
271CONFIG_DC=y
272# CONFIG_DEVFSD is not set
273# CONFIG_LAST is not set
274# CONFIG_HDPARM is not set
275# CONFIG_MAKEDEVS is not set
276# CONFIG_MT is not set
277# CONFIG_RX is not set
278CONFIG_STRINGS=y
279# CONFIG_TIME is not set
280# CONFIG_WATCHDOG is not set
281
282#
283# Linux Module Utilities
284#
285CONFIG_INSMOD=y
286CONFIG_FEATURE_2_4_MODULES=y
287CONFIG_FEATURE_2_6_MODULES=y
288# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
289CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS=y
290# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
291CONFIG_FEATURE_INSMOD_LOAD_MAP=y
292CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
293CONFIG_LSMOD=y
294CONFIG_MODPROBE=y
295CONFIG_RMMOD=y
296CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
297
298#
299# Networking Utilities
300#
301CONFIG_FEATURE_IPV6=y
302# CONFIG_ARPING is not set
303# CONFIG_FTPGET is not set
304# CONFIG_FTPPUT is not set
305CONFIG_HOSTNAME=y
306# CONFIG_HTTPD is not set
307CONFIG_IFCONFIG=y
308CONFIG_FEATURE_IFCONFIG_STATUS=y
309# CONFIG_FEATURE_IFCONFIG_SLIP is not set
310# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
311CONFIG_FEATURE_IFCONFIG_HW=y
312# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
313CONFIG_IFUPDOWN=y
314# CONFIG_FEATURE_IFUPDOWN_IP is not set
315CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
316CONFIG_FEATURE_IFUPDOWN_IPV4=y
317CONFIG_FEATURE_IFUPDOWN_IPV6=y
318# CONFIG_FEATURE_IFUPDOWN_IPX is not set
319CONFIG_FEATURE_IFUPDOWN_MAPPING=y
320# CONFIG_INETD is not set
321CONFIG_IP=y
322CONFIG_FEATURE_IP_ADDRESS=y
323CONFIG_FEATURE_IP_LINK=y
324CONFIG_FEATURE_IP_ROUTE=y
325CONFIG_FEATURE_IP_TUNNEL=y
326# CONFIG_IPCALC is not set
327# CONFIG_IPADDR is not set
328# CONFIG_IPLINK is not set
329# CONFIG_IPROUTE is not set
330# CONFIG_IPTUNNEL is not set
331# CONFIG_NAMEIF is not set
332CONFIG_NC=y
333CONFIG_NETSTAT=y
334CONFIG_NSLOOKUP=y
335CONFIG_PING=y
336CONFIG_FEATURE_FANCY_PING=y
337CONFIG_PING6=y
338CONFIG_FEATURE_FANCY_PING6=y
339CONFIG_ROUTE=y
340CONFIG_TELNET=y
341# CONFIG_FEATURE_TELNET_TTYPE is not set
342CONFIG_FEATURE_TELNET_AUTOLOGIN=y
343# CONFIG_TELNETD is not set
344CONFIG_TFTP=y
345CONFIG_FEATURE_TFTP_GET=y
346CONFIG_FEATURE_TFTP_PUT=y
347# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
348# CONFIG_FEATURE_TFTP_DEBUG is not set
349CONFIG_TRACEROUTE=y
350# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
351# CONFIG_VCONFIG is not set
352CONFIG_WGET=y
353CONFIG_FEATURE_WGET_STATUSBAR=y
354CONFIG_FEATURE_WGET_AUTHENTICATION=y
355CONFIG_FEATURE_WGET_IP6_LITERAL=y
356
357#
358# udhcp Server/Client
359#
360# CONFIG_UDHCPD is not set
361CONFIG_UDHCPC=y
362CONFIG_FEATURE_UDHCP_SYSLOG=y
363# CONFIG_FEATURE_UDHCP_DEBUG is not set
364
365#
366# Process Utilities
367#
368CONFIG_FREE=y
369CONFIG_KILL=y
370CONFIG_KILLALL=y
371# CONFIG_PIDOF is not set
372CONFIG_PS=y
373CONFIG_RENICE=y
374CONFIG_TOP=y
375FEATURE_CPU_USAGE_PERCENTAGE=y
376CONFIG_UPTIME=y
377# CONFIG_SYSCTL is not set
378
379#
380# Another Bourne-like Shell
381#
382CONFIG_FEATURE_SH_IS_ASH=y
383# CONFIG_FEATURE_SH_IS_HUSH is not set
384# CONFIG_FEATURE_SH_IS_LASH is not set
385# CONFIG_FEATURE_SH_IS_MSH is not set
386# CONFIG_FEATURE_SH_IS_NONE is not set
387CONFIG_ASH=y
388
389#
390# Ash Shell Options
391#
392CONFIG_ASH_JOB_CONTROL=y
393CONFIG_ASH_ALIAS=y
394CONFIG_ASH_MATH_SUPPORT=y
395# CONFIG_ASH_MATH_SUPPORT_64 is not set
396CONFIG_ASH_GETOPTS=y
397# CONFIG_ASH_CMDCMD is not set
398# CONFIG_ASH_MAIL is not set
399CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
400# CONFIG_ASH_RANDOM_SUPPORT is not set
401# CONFIG_HUSH is not set
402# CONFIG_LASH is not set
403# CONFIG_MSH is not set
404
405#
406# Bourne Shell Options
407#
408CONFIG_FEATURE_SH_EXTRA_QUIET=y
409# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
410CONFIG_FEATURE_COMMAND_EDITING=y
411CONFIG_FEATURE_COMMAND_HISTORY=63
412# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
413CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
414# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
415CONFIG_FEATURE_SH_FANCY_PROMPT=y
416
417#
418# System Logging Utilities
419#
420CONFIG_SYSLOGD=y
421# CONFIG_FEATURE_ROTATE_LOGFILE is not set
422CONFIG_FEATURE_REMOTE_LOG=y
423CONFIG_FEATURE_IPC_SYSLOG=y
424CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
425CONFIG_LOGREAD=y
426# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
427CONFIG_KLOGD=y
428CONFIG_LOGGER=y
429
430#
431# Linux System Utilities
432#
433CONFIG_DMESG=y
434CONFIG_FBSET=y
435CONFIG_FEATURE_FBSET_FANCY=y
436# CONFIG_FEATURE_FBSET_READMODE is not set
437# CONFIG_FDFLUSH is not set
438# CONFIG_FDFORMAT is not set
439CONFIG_FDISK=y
440FDISK_SUPPORT_LARGE_DISKS=y
441CONFIG_FEATURE_FDISK_WRITABLE=y
442# CONFIG_FEATURE_AIX_LABEL is not set
443# CONFIG_FEATURE_SGI_LABEL is not set
444# CONFIG_FEATURE_SUN_LABEL is not set
445# CONFIG_FEATURE_OSF_LABEL is not set
446# CONFIG_FEATURE_FDISK_ADVANCED is not set
447# CONFIG_FREERAMDISK is not set
448# CONFIG_FSCK_MINIX is not set
449# CONFIG_MKFS_MINIX is not set
450# CONFIG_GETOPT is not set
451CONFIG_HEXDUMP=y
452CONFIG_HWCLOCK=y
453CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
454CONFIG_LOSETUP=y
455CONFIG_MKSWAP=y
456CONFIG_MORE=y
457CONFIG_FEATURE_USE_TERMIOS=y
458CONFIG_PIVOT_ROOT=y
459# CONFIG_RDATE is not set
460CONFIG_SWAPONOFF=y
461CONFIG_MOUNT=y
462CONFIG_NFSMOUNT=y
463CONFIG_UMOUNT=y
464CONFIG_FEATURE_MOUNT_FORCE=y
465
466#
467# Common options for mount/umount
468#
469CONFIG_FEATURE_MOUNT_LOOP=y
470# CONFIG_FEATURE_MTAB_SUPPORT is not set
471
472#
473# Debugging Options
474#
475# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/below.patch b/meta/packages/busybox/busybox-1.01/below.patch
new file mode 100644
index 0000000000..ec97b29962
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/below.patch
@@ -0,0 +1,49 @@
1Index: modutils/modprobe.c
2===================================================================
3RCS file: /var/cvs/busybox/modutils/modprobe.c,v
4retrieving revision 1.41
5diff -u -r1.41 modprobe.c
6--- busybox/modutils/modprobe.c 24 Sep 2004 09:18:55 -0000 1.41
7+++ busybox/modutils/modprobe.c 29 Dec 2004 11:56:07 -0000
8@@ -357,6 +357,41 @@
9 }
10 }
11 }
12+ else if ((strncmp (buffer, "below", 5) == 0) && isspace (buffer[5])) {
13+ char *mod, *deps;
14+ if (parse_tag_value (buffer + 6, &mod, &deps)) {
15+ struct dep_t *dt;
16+
17+ for (dt = first; dt; dt = dt->m_next) {
18+ if (strcmp (dt->m_name, mod) == 0)
19+ break;
20+ }
21+ if (dt) {
22+ char *pp;
23+ char *name;
24+
25+ pp = name = deps;
26+
27+ for (;;) {
28+ while (*pp != 0 && !isspace (*pp))
29+ pp++;
30+ if (isspace (*pp))
31+ *(pp++) = 0;
32+
33+ dt->m_depcnt++;
34+ dt->m_deparr = (char **) xrealloc (dt->m_deparr,
35+ sizeof (char *) * dt->m_depcnt);
36+ dt->m_deparr[dt->m_depcnt - 1] = bb_xstrdup (name);
37+
38+ while (isspace (*pp))
39+ pp++;
40+ name = pp;
41+ if (*pp == 0)
42+ break;
43+ }
44+ }
45+ }
46+ }
47 }
48 }
49 close ( fd );
diff --git a/meta/packages/busybox/busybox-1.01/defconfig b/meta/packages/busybox/busybox-1.01/defconfig
new file mode 100644
index 0000000000..8b8212c54a
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/defconfig
@@ -0,0 +1,476 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
10# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12# CONFIG_FEATURE_VERBOSE_USAGE is not set
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15CONFIG_FEATURE_DEVFS=y
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18# CONFIG_FEATURE_SUID is not set
19# CONFIG_SELINUX is not set
20
21#
22# Build Options
23#
24# CONFIG_STATIC is not set
25CONFIG_LFS=y
26# USING_CROSS_COMPILER is not set
27EXTRA_CFLAGS_OPTIONS=""
28
29#
30# Installation Options
31#
32# CONFIG_INSTALL_NO_USR is not set
33PREFIX="./_install"
34
35#
36# Archival Utilities
37#
38CONFIG_AR=y
39# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
40CONFIG_BUNZIP2=y
41CONFIG_CPIO=y
42# CONFIG_DPKG is not set
43# CONFIG_DPKG_DEB is not set
44CONFIG_GUNZIP=y
45# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
46CONFIG_GZIP=y
47# CONFIG_RPM2CPIO is not set
48# CONFIG_RPM is not set
49CONFIG_TAR=y
50CONFIG_FEATURE_TAR_CREATE=y
51CONFIG_FEATURE_TAR_BZIP2=y
52CONFIG_FEATURE_TAR_FROM=y
53CONFIG_FEATURE_TAR_GZIP=y
54# CONFIG_FEATURE_TAR_COMPRESS is not set
55CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
56CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
57# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
58# CONFIG_UNCOMPRESS is not set
59CONFIG_UNZIP=y
60
61#
62# Common options for cpio and tar
63#
64# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
65
66#
67# Coreutils
68#
69CONFIG_BASENAME=y
70# CONFIG_CAL is not set
71CONFIG_CAT=y
72CONFIG_CHGRP=y
73CONFIG_CHMOD=y
74CONFIG_CHOWN=y
75CONFIG_CHROOT=y
76# CONFIG_CMP is not set
77CONFIG_CP=y
78CONFIG_CUT=y
79CONFIG_DATE=y
80
81#
82# date (forced enabled for use with watch)
83#
84# CONFIG_FEATURE_DATE_ISOFMT is not set
85CONFIG_DD=y
86CONFIG_DF=y
87CONFIG_DIRNAME=y
88# CONFIG_DOS2UNIX is not set
89CONFIG_DU=y
90CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
91CONFIG_ECHO=y
92CONFIG_FEATURE_FANCY_ECHO=y
93CONFIG_ENV=y
94CONFIG_EXPR=y
95CONFIG_FALSE=y
96# CONFIG_FOLD is not set
97CONFIG_HEAD=y
98# CONFIG_FEATURE_FANCY_HEAD is not set
99# CONFIG_HOSTID is not set
100CONFIG_ID=y
101# CONFIG_INSTALL is not set
102# CONFIG_LENGTH is not set
103CONFIG_LN=y
104CONFIG_LOGNAME=y
105CONFIG_LS=y
106CONFIG_FEATURE_LS_FILETYPES=y
107CONFIG_FEATURE_LS_FOLLOWLINKS=y
108# CONFIG_FEATURE_LS_RECURSIVE is not set
109CONFIG_FEATURE_LS_SORTFILES=y
110CONFIG_FEATURE_LS_TIMESTAMPS=y
111CONFIG_FEATURE_LS_USERNAME=y
112CONFIG_FEATURE_LS_COLOR=y
113CONFIG_MD5SUM=y
114CONFIG_MKDIR=y
115CONFIG_MKFIFO=y
116CONFIG_MKNOD=y
117CONFIG_MV=y
118CONFIG_OD=y
119CONFIG_PRINTF=y
120CONFIG_PWD=y
121# CONFIG_REALPATH is not set
122CONFIG_RM=y
123CONFIG_RMDIR=y
124CONFIG_SEQ=y
125# CONFIG_SHA1SUM is not set
126CONFIG_SLEEP=y
127# CONFIG_FEATURE_FANCY_SLEEP is not set
128CONFIG_SORT=y
129CONFIG_STTY=y
130CONFIG_SYNC=y
131CONFIG_TAIL=y
132CONFIG_FEATURE_FANCY_TAIL=y
133CONFIG_TEE=y
134# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
135CONFIG_TEST=y
136
137#
138# test (forced enabled for use with shell)
139#
140# CONFIG_FEATURE_TEST_64 is not set
141CONFIG_TOUCH=y
142CONFIG_TR=y
143CONFIG_TRUE=y
144CONFIG_TTY=y
145CONFIG_UNAME=y
146CONFIG_UNIQ=y
147# CONFIG_USLEEP is not set
148# CONFIG_UUDECODE is not set
149# CONFIG_UUENCODE is not set
150CONFIG_WATCH=y
151CONFIG_WC=y
152CONFIG_WHO=y
153CONFIG_WHOAMI=y
154CONFIG_YES=y
155
156#
157# Common options for cp and mv
158#
159# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
160
161#
162# Common options for ls and more
163#
164CONFIG_FEATURE_AUTOWIDTH=y
165
166#
167# Common options for df, du, ls
168#
169CONFIG_FEATURE_HUMAN_READABLE=y
170
171#
172# Common options for md5sum, sha1sum
173#
174# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
175
176#
177# Console Utilities
178#
179CONFIG_CHVT=y
180CONFIG_CLEAR=y
181CONFIG_DEALLOCVT=y
182CONFIG_DUMPKMAP=y
183CONFIG_GETKEY=y
184CONFIG_LOADFONT=y
185CONFIG_LOADKMAP=y
186CONFIG_OPENVT=y
187CONFIG_RESET=y
188# CONFIG_SETKEYCODES is not set
189
190#
191# Debian Utilities
192#
193CONFIG_MKTEMP=y
194# CONFIG_PIPE_PROGRESS is not set
195CONFIG_READLINK=y
196CONFIG_FEATURE_READLINK_FOLLOW=y
197CONFIG_RUN_PARTS=y
198CONFIG_START_STOP_DAEMON=y
199CONFIG_WHICH=y
200
201#
202# Editors
203#
204CONFIG_AWK=y
205CONFIG_FEATURE_AWK_MATH=y
206# CONFIG_PATCH is not set
207CONFIG_SED=y
208CONFIG_VI=y
209CONFIG_FEATURE_VI_COLON=y
210CONFIG_FEATURE_VI_YANKMARK=y
211CONFIG_FEATURE_VI_SEARCH=y
212CONFIG_FEATURE_VI_USE_SIGNALS=y
213# CONFIG_FEATURE_VI_DOT_CMD is not set
214# CONFIG_FEATURE_VI_READONLY is not set
215# CONFIG_FEATURE_VI_SETOPTS is not set
216# CONFIG_FEATURE_VI_SET is not set
217CONFIG_FEATURE_VI_WIN_RESIZE=y
218CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
219
220#
221# Finding Utilities
222#
223CONFIG_FIND=y
224CONFIG_FEATURE_FIND_MTIME=y
225CONFIG_FEATURE_FIND_PERM=y
226CONFIG_FEATURE_FIND_TYPE=y
227CONFIG_FEATURE_FIND_XDEV=y
228CONFIG_FEATURE_FIND_NEWER=y
229# CONFIG_FEATURE_FIND_INUM is not set
230CONFIG_GREP=y
231CONFIG_FEATURE_GREP_EGREP_ALIAS=y
232CONFIG_FEATURE_GREP_FGREP_ALIAS=y
233CONFIG_FEATURE_GREP_CONTEXT=y
234CONFIG_XARGS=y
235# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
236# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
237# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
238# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
239
240#
241# Init Utilities
242#
243# CONFIG_INIT is not set
244# CONFIG_HALT is not set
245# CONFIG_POWEROFF is not set
246# CONFIG_REBOOT is not set
247# CONFIG_MESG is not set
248
249#
250# Login/Password Management Utilities
251#
252# CONFIG_USE_BB_PWD_GRP is not set
253# CONFIG_ADDGROUP is not set
254# CONFIG_DELGROUP is not set
255# CONFIG_ADDUSER is not set
256# CONFIG_DELUSER is not set
257# CONFIG_GETTY is not set
258CONFIG_FEATURE_U_W_TMP=y
259# CONFIG_LOGIN is not set
260# CONFIG_PASSWD is not set
261# CONFIG_SU is not set
262# CONFIG_SULOGIN is not set
263# CONFIG_VLOCK is not set
264
265#
266# Miscellaneous Utilities
267#
268# CONFIG_ADJTIMEX is not set
269# CONFIG_CROND is not set
270# CONFIG_CRONTAB is not set
271CONFIG_DC=y
272# CONFIG_DEVFSD is not set
273# CONFIG_LAST is not set
274# CONFIG_HDPARM is not set
275# CONFIG_MAKEDEVS is not set
276# CONFIG_MT is not set
277# CONFIG_RX is not set
278CONFIG_STRINGS=y
279# CONFIG_TIME is not set
280# CONFIG_WATCHDOG is not set
281
282#
283# Linux Module Utilities
284#
285CONFIG_INSMOD=y
286CONFIG_FEATURE_2_4_MODULES=y
287CONFIG_FEATURE_2_6_MODULES=y
288# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
289CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS=y
290# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
291CONFIG_FEATURE_INSMOD_LOAD_MAP=y
292CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
293CONFIG_LSMOD=y
294CONFIG_MODPROBE=y
295CONFIG_RMMOD=y
296CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
297
298#
299# Networking Utilities
300#
301CONFIG_FEATURE_IPV6=y
302# CONFIG_ARPING is not set
303# CONFIG_FTPGET is not set
304# CONFIG_FTPPUT is not set
305CONFIG_HOSTNAME=y
306# CONFIG_HTTPD is not set
307CONFIG_IFCONFIG=y
308CONFIG_FEATURE_IFCONFIG_STATUS=y
309# CONFIG_FEATURE_IFCONFIG_SLIP is not set
310# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
311CONFIG_FEATURE_IFCONFIG_HW=y
312# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
313CONFIG_IFUPDOWN=y
314# CONFIG_FEATURE_IFUPDOWN_IP is not set
315CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
316CONFIG_FEATURE_IFUPDOWN_IPV4=y
317CONFIG_FEATURE_IFUPDOWN_IPV6=y
318# CONFIG_FEATURE_IFUPDOWN_IPX is not set
319CONFIG_FEATURE_IFUPDOWN_MAPPING=y
320# CONFIG_INETD is not set
321CONFIG_IP=y
322CONFIG_FEATURE_IP_ADDRESS=y
323CONFIG_FEATURE_IP_LINK=y
324CONFIG_FEATURE_IP_ROUTE=y
325CONFIG_FEATURE_IP_TUNNEL=y
326# CONFIG_IPCALC is not set
327# CONFIG_IPADDR is not set
328# CONFIG_IPLINK is not set
329# CONFIG_IPROUTE is not set
330# CONFIG_IPTUNNEL is not set
331# CONFIG_NAMEIF is not set
332CONFIG_NC=y
333CONFIG_NETSTAT=y
334CONFIG_NSLOOKUP=y
335CONFIG_PING=y
336CONFIG_FEATURE_FANCY_PING=y
337CONFIG_PING6=y
338CONFIG_FEATURE_FANCY_PING6=y
339CONFIG_ROUTE=y
340CONFIG_TELNET=y
341# CONFIG_FEATURE_TELNET_TTYPE is not set
342CONFIG_FEATURE_TELNET_AUTOLOGIN=y
343# CONFIG_TELNETD is not set
344CONFIG_TFTP=y
345CONFIG_TRACEROUTE=y
346# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
347# CONFIG_VCONFIG is not set
348CONFIG_WGET=y
349CONFIG_FEATURE_WGET_STATUSBAR=y
350CONFIG_FEATURE_WGET_AUTHENTICATION=y
351CONFIG_FEATURE_WGET_IP6_LITERAL=y
352
353#
354# udhcp Server/Client
355#
356CONFIG_UDHCPD=y
357CONFIG_UDHCPC=y
358CONFIG_FEATURE_UDHCP_SYSLOG=y
359# CONFIG_FEATURE_UDHCP_DEBUG is not set
360
361#
362# Process Utilities
363#
364CONFIG_FREE=y
365CONFIG_KILL=y
366CONFIG_KILLALL=y
367# CONFIG_PIDOF is not set
368CONFIG_PS=y
369CONFIG_RENICE=y
370CONFIG_TOP=y
371FEATURE_CPU_USAGE_PERCENTAGE=y
372CONFIG_UPTIME=y
373# CONFIG_SYSCTL is not set
374
375#
376# Another Bourne-like Shell
377#
378CONFIG_FEATURE_SH_IS_ASH=y
379# CONFIG_FEATURE_SH_IS_HUSH is not set
380# CONFIG_FEATURE_SH_IS_LASH is not set
381# CONFIG_FEATURE_SH_IS_MSH is not set
382# CONFIG_FEATURE_SH_IS_NONE is not set
383CONFIG_ASH=y
384
385#
386# Ash Shell Options
387#
388CONFIG_ASH_JOB_CONTROL=y
389CONFIG_ASH_ALIAS=y
390CONFIG_ASH_MATH_SUPPORT=y
391# CONFIG_ASH_MATH_SUPPORT_64 is not set
392CONFIG_ASH_GETOPTS=y
393# CONFIG_ASH_CMDCMD is not set
394# CONFIG_ASH_MAIL is not set
395CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
396# CONFIG_ASH_RANDOM_SUPPORT is not set
397# CONFIG_HUSH is not set
398# CONFIG_LASH is not set
399# CONFIG_MSH is not set
400
401#
402# Bourne Shell Options
403#
404CONFIG_FEATURE_SH_EXTRA_QUIET=y
405# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
406CONFIG_FEATURE_COMMAND_EDITING=y
407CONFIG_FEATURE_COMMAND_HISTORY=63
408# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
409CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
410# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
411CONFIG_FEATURE_SH_FANCY_PROMPT=y
412
413#
414# System Logging Utilities
415#
416CONFIG_SYSLOGD=y
417# CONFIG_FEATURE_ROTATE_LOGFILE is not set
418CONFIG_FEATURE_REMOTE_LOG=y
419CONFIG_FEATURE_IPC_SYSLOG=y
420CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
421CONFIG_LOGREAD=y
422# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
423CONFIG_KLOGD=y
424CONFIG_LOGGER=y
425
426#
427# Linux System Utilities
428#
429CONFIG_DMESG=y
430CONFIG_FBSET=y
431CONFIG_FEATURE_FBSET_FANCY=y
432# CONFIG_FEATURE_FBSET_READMODE is not set
433# CONFIG_FDFLUSH is not set
434# CONFIG_FDFORMAT is not set
435CONFIG_FDISK=y
436FDISK_SUPPORT_LARGE_DISKS=y
437CONFIG_FEATURE_FDISK_WRITABLE=y
438# CONFIG_FEATURE_AIX_LABEL is not set
439# CONFIG_FEATURE_SGI_LABEL is not set
440# CONFIG_FEATURE_SUN_LABEL is not set
441# CONFIG_FEATURE_OSF_LABEL is not set
442# CONFIG_FEATURE_FDISK_ADVANCED is not set
443# CONFIG_FREERAMDISK is not set
444CONFIG_FSCK_MINIX=y
445CONFIG_MKFS_MINIX=y
446
447#
448# Minix filesystem support
449#
450CONFIG_FEATURE_MINIX2=y
451# CONFIG_GETOPT is not set
452CONFIG_HEXDUMP=y
453CONFIG_HWCLOCK=y
454CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
455CONFIG_LOSETUP=y
456CONFIG_MKSWAP=y
457CONFIG_MORE=y
458CONFIG_FEATURE_USE_TERMIOS=y
459CONFIG_PIVOT_ROOT=y
460# CONFIG_RDATE is not set
461CONFIG_SWAPONOFF=y
462CONFIG_MOUNT=y
463CONFIG_NFSMOUNT=y
464CONFIG_UMOUNT=y
465CONFIG_FEATURE_MOUNT_FORCE=y
466
467#
468# Common options for mount/umount
469#
470CONFIG_FEATURE_MOUNT_LOOP=y
471# CONFIG_FEATURE_MTAB_SUPPORT is not set
472
473#
474# Debugging Options
475#
476# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/dhcp-hostname.patch b/meta/packages/busybox/busybox-1.01/dhcp-hostname.patch
new file mode 100644
index 0000000000..e0adea662e
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/dhcp-hostname.patch
@@ -0,0 +1,30 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- busybox-1.01/networking/udhcp/dhcpc.c~dhcp-hostname
7+++ busybox-1.01/networking/udhcp/dhcpc.c
8@@ -193,6 +193,7 @@
9 int max_fd;
10 int sig;
11 int no_clientid = 0;
12+ char hostbuf[256]; /* SUSv2: hostnames are <= 255 bytes */
13
14 static const struct option arg_options[] = {
15 {"clientid", required_argument, 0, 'c'},
16@@ -211,6 +212,14 @@
17 {0, 0, 0, 0}
18 };
19
20+ if (gethostname (hostbuf, sizeof (hostbuf)) == 0) {
21+ len = strlen (hostbuf);
22+ client_config.hostname = xmalloc (len + 2);
23+ client_config.hostname[OPT_CODE] = DHCP_HOST_NAME;
24+ client_config.hostname[OPT_LEN] = len;
25+ strncpy(client_config.hostname + 2, hostbuf, len);
26+ }
27+
28 /* get options */
29 while (1) {
30 int option_index = 0;
diff --git a/meta/packages/busybox/busybox-1.01/dhcpretrytime.patch b/meta/packages/busybox/busybox-1.01/dhcpretrytime.patch
new file mode 100644
index 0000000000..e41ea9de55
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/dhcpretrytime.patch
@@ -0,0 +1,81 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- busybox-1.01/networking/udhcp/dhcpc.c~dhcpretrytime
7+++ busybox-1.01/networking/udhcp/dhcpc.c
8@@ -48,6 +48,7 @@
9 static unsigned long requested_ip; /* = 0 */
10 static unsigned long server_addr;
11 static unsigned long timeout;
12+static unsigned long retrytime = 60;
13 static int packet_num; /* = 0 */
14 static int fd = -1;
15
16@@ -91,6 +92,7 @@
17 " -r, --request=IP IP address to request (default: none)\n"
18 " -s, --script=file Run file at dhcp events (default:\n"
19 " " DEFAULT_SCRIPT ")\n"
20+" -t, --retrytime time to retry DHCP request (default 60s)\n")
21 " -v, --version Display version\n"
22 );
23 exit(0);
24@@ -208,6 +210,7 @@
25 {"quit", no_argument, 0, 'q'},
26 {"request", required_argument, 0, 'r'},
27 {"script", required_argument, 0, 's'},
28+ {"retrytime", required_argument, 0, 't'},
29 {"version", no_argument, 0, 'v'},
30 {0, 0, 0, 0}
31 };
32@@ -223,7 +226,7 @@
33 /* get options */
34 while (1) {
35 int option_index = 0;
36- c = getopt_long(argc, argv, "c:CfbH:h:i:np:qr:s:v", arg_options, &option_index);
37+ c = getopt_long(argc, argv, "c:fbH:h:i:np:qr:s:t:v", arg_options, &option_index);
38 if (c == -1) break;
39
40 switch (c) {
41@@ -274,6 +277,9 @@
42 case 's':
43 client_config.script = optarg;
44 break;
45+ case 't':
46+ retrytime = atol(optarg);
47+ break;
48 case 'v':
49 printf("udhcpcd, version %s\n\n", VERSION);
50 return 0;
51@@ -353,7 +359,7 @@
52 }
53 /* wait to try again */
54 packet_num = 0;
55- timeout = now + 60;
56+ timeout = now + retrytime;
57 }
58 break;
59 case RENEW_REQUESTED:
60--- busybox-1.01/networking/ifupdown.c~dhcpretrytime
61+++ busybox-1.01/networking/ifupdown.c
62@@ -541,7 +541,7 @@
63 static int dhcp_up(struct interface_defn_t *ifd, execfn *exec)
64 {
65 if (execable("/sbin/udhcpc")) {
66- return( execute("udhcpc -n -p /var/run/udhcpc.%iface%.pid -i "
67+ return( execute("udhcpc -b -p /var/run/udhcpc.%iface%.pid -i "
68 "%iface% [[-H %hostname%]] [[-c %clientid%]]", ifd, exec));
69 } else if (execable("/sbin/pump")) {
70 return( execute("pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]]", ifd, exec));
71@@ -561,8 +561,8 @@
72 /* SIGUSR2 forces udhcpc to release the current lease and go inactive,
73 * and SIGTERM causes udhcpc to exit. Signals are queued and processed
74 * sequentially so we don't need to sleep */
75- result = execute("kill -USR2 `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
76- result += execute("kill -TERM `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
77+ result = execute("kill -USR2 `cat /var/run/udhcpc.%iface%.pid 2>/dev/null` 2>/dev/null", ifd, exec);
78+ result += execute("kill -TERM `cat /var/run/udhcpc.%iface%.pid 2>/dev/null` 2>/dev/null", ifd, exec);
79 } else if (execable("/sbin/pump")) {
80 result = execute("pump -i %iface% -k", ifd, exec);
81 } else if (execable("/sbin/dhclient")) {
diff --git a/meta/packages/busybox/busybox-1.01/familiar/defconfig b/meta/packages/busybox/busybox-1.01/familiar/defconfig
new file mode 100644
index 0000000000..49dd403eb5
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/familiar/defconfig
@@ -0,0 +1,470 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
10CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12# CONFIG_FEATURE_VERBOSE_USAGE is not set
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15CONFIG_FEATURE_DEVFS=y
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18CONFIG_FEATURE_SUID=y
19# CONFIG_FEATURE_SUID_CONFIG is not set
20# CONFIG_SELINUX is not set
21
22#
23# Build Options
24#
25# CONFIG_STATIC is not set
26CONFIG_LFS=y
27# USING_CROSS_COMPILER is not set
28EXTRA_CFLAGS_OPTIONS=""
29
30#
31# Installation Options
32#
33# CONFIG_INSTALL_NO_USR is not set
34PREFIX="./_install"
35
36#
37# Archival Utilities
38#
39CONFIG_AR=y
40# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
41CONFIG_BUNZIP2=y
42CONFIG_CPIO=y
43# CONFIG_DPKG is not set
44# CONFIG_DPKG_DEB is not set
45CONFIG_GUNZIP=y
46# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
47CONFIG_GZIP=y
48# CONFIG_RPM2CPIO is not set
49# CONFIG_RPM is not set
50CONFIG_TAR=y
51CONFIG_FEATURE_TAR_CREATE=y
52CONFIG_FEATURE_TAR_BZIP2=y
53CONFIG_FEATURE_TAR_FROM=y
54CONFIG_FEATURE_TAR_GZIP=y
55# CONFIG_FEATURE_TAR_COMPRESS is not set
56CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
57CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
58# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
59# CONFIG_UNCOMPRESS is not set
60# CONFIG_UNZIP is not set
61
62#
63# Common options for cpio and tar
64#
65# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
66
67#
68# Coreutils
69#
70CONFIG_BASENAME=y
71# CONFIG_CAL is not set
72CONFIG_CAT=y
73CONFIG_CHGRP=y
74CONFIG_CHMOD=y
75CONFIG_CHOWN=y
76CONFIG_CHROOT=y
77# CONFIG_CMP is not set
78CONFIG_CP=y
79CONFIG_CUT=y
80CONFIG_DATE=y
81
82#
83# date (forced enabled for use with watch)
84#
85# CONFIG_FEATURE_DATE_ISOFMT is not set
86CONFIG_DD=y
87CONFIG_DF=y
88CONFIG_DIRNAME=y
89# CONFIG_DOS2UNIX is not set
90CONFIG_DU=y
91CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
92CONFIG_ECHO=y
93CONFIG_FEATURE_FANCY_ECHO=y
94CONFIG_ENV=y
95CONFIG_EXPR=y
96CONFIG_FALSE=y
97# CONFIG_FOLD is not set
98CONFIG_HEAD=y
99# CONFIG_FEATURE_FANCY_HEAD is not set
100# CONFIG_HOSTID is not set
101CONFIG_ID=y
102# CONFIG_INSTALL is not set
103# CONFIG_LENGTH is not set
104CONFIG_LN=y
105CONFIG_LOGNAME=y
106CONFIG_LS=y
107CONFIG_FEATURE_LS_FILETYPES=y
108CONFIG_FEATURE_LS_FOLLOWLINKS=y
109# CONFIG_FEATURE_LS_RECURSIVE is not set
110CONFIG_FEATURE_LS_SORTFILES=y
111CONFIG_FEATURE_LS_TIMESTAMPS=y
112CONFIG_FEATURE_LS_USERNAME=y
113CONFIG_FEATURE_LS_COLOR=y
114CONFIG_MD5SUM=y
115CONFIG_MKDIR=y
116CONFIG_MKFIFO=y
117CONFIG_MKNOD=y
118CONFIG_MV=y
119CONFIG_OD=y
120CONFIG_PRINTF=y
121CONFIG_PWD=y
122# CONFIG_REALPATH is not set
123CONFIG_RM=y
124CONFIG_RMDIR=y
125CONFIG_SEQ=y
126# CONFIG_SHA1SUM is not set
127CONFIG_SLEEP=y
128# CONFIG_FEATURE_FANCY_SLEEP is not set
129CONFIG_SORT=y
130CONFIG_STTY=y
131CONFIG_SYNC=y
132CONFIG_TAIL=y
133CONFIG_FEATURE_FANCY_TAIL=y
134CONFIG_TEE=y
135# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
136CONFIG_TEST=y
137
138#
139# test (forced enabled for use with shell)
140#
141# CONFIG_FEATURE_TEST_64 is not set
142CONFIG_TOUCH=y
143CONFIG_TR=y
144CONFIG_TRUE=y
145CONFIG_TTY=y
146CONFIG_UNAME=y
147CONFIG_UNIQ=y
148# CONFIG_USLEEP is not set
149# CONFIG_UUDECODE is not set
150# CONFIG_UUENCODE is not set
151CONFIG_WATCH=y
152CONFIG_WC=y
153CONFIG_WHO=y
154CONFIG_WHOAMI=y
155CONFIG_YES=y
156
157#
158# Common options for cp and mv
159#
160# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
161
162#
163# Common options for ls and more
164#
165CONFIG_FEATURE_AUTOWIDTH=y
166
167#
168# Common options for df, du, ls
169#
170CONFIG_FEATURE_HUMAN_READABLE=y
171
172#
173# Common options for md5sum, sha1sum
174#
175# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
176
177#
178# Console Utilities
179#
180CONFIG_CHVT=y
181CONFIG_CLEAR=y
182CONFIG_DEALLOCVT=y
183CONFIG_DUMPKMAP=y
184CONFIG_GETKEY=y
185CONFIG_LOADFONT=y
186CONFIG_LOADKMAP=y
187CONFIG_OPENVT=y
188CONFIG_RESET=y
189# CONFIG_SETKEYCODES is not set
190
191#
192# Debian Utilities
193#
194CONFIG_MKTEMP=y
195# CONFIG_PIPE_PROGRESS is not set
196CONFIG_READLINK=y
197CONFIG_FEATURE_READLINK_FOLLOW=y
198CONFIG_RUN_PARTS=y
199CONFIG_START_STOP_DAEMON=y
200CONFIG_WHICH=y
201
202#
203# Editors
204#
205CONFIG_AWK=y
206CONFIG_FEATURE_AWK_MATH=y
207# CONFIG_PATCH is not set
208CONFIG_SED=y
209CONFIG_VI=y
210CONFIG_FEATURE_VI_COLON=y
211CONFIG_FEATURE_VI_YANKMARK=y
212CONFIG_FEATURE_VI_SEARCH=y
213CONFIG_FEATURE_VI_USE_SIGNALS=y
214# CONFIG_FEATURE_VI_DOT_CMD is not set
215# CONFIG_FEATURE_VI_READONLY is not set
216# CONFIG_FEATURE_VI_SETOPTS is not set
217# CONFIG_FEATURE_VI_SET is not set
218CONFIG_FEATURE_VI_WIN_RESIZE=y
219CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
220
221#
222# Finding Utilities
223#
224CONFIG_FIND=y
225CONFIG_FEATURE_FIND_MTIME=y
226CONFIG_FEATURE_FIND_PERM=y
227CONFIG_FEATURE_FIND_TYPE=y
228CONFIG_FEATURE_FIND_XDEV=y
229CONFIG_FEATURE_FIND_NEWER=y
230# CONFIG_FEATURE_FIND_INUM is not set
231CONFIG_GREP=y
232CONFIG_FEATURE_GREP_EGREP_ALIAS=y
233CONFIG_FEATURE_GREP_FGREP_ALIAS=y
234CONFIG_FEATURE_GREP_CONTEXT=y
235CONFIG_XARGS=y
236# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
237# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
238# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
239# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
240
241#
242# Init Utilities
243#
244# CONFIG_INIT is not set
245# CONFIG_HALT is not set
246# CONFIG_POWEROFF is not set
247# CONFIG_REBOOT is not set
248# CONFIG_MESG is not set
249
250#
251# Login/Password Management Utilities
252#
253# CONFIG_USE_BB_PWD_GRP is not set
254# CONFIG_ADDGROUP is not set
255# CONFIG_DELGROUP is not set
256# CONFIG_ADDUSER is not set
257# CONFIG_DELUSER is not set
258# CONFIG_GETTY is not set
259CONFIG_FEATURE_UTMP=y
260# CONFIG_LOGIN is not set
261# CONFIG_PASSWD is not set
262# CONFIG_SU is not set
263# CONFIG_SULOGIN is not set
264# CONFIG_VLOCK is not set
265
266#
267# Miscellaneous Utilities
268#
269# CONFIG_ADJTIMEX is not set
270# CONFIG_CROND is not set
271# CONFIG_CRONTAB is not set
272CONFIG_DC=y
273# CONFIG_DEVFSD is not set
274# CONFIG_LAST is not set
275# CONFIG_HDPARM is not set
276# CONFIG_MAKEDEVS is not set
277# CONFIG_MT is not set
278# CONFIG_RX is not set
279CONFIG_STRINGS=y
280# CONFIG_TIME is not set
281# CONFIG_WATCHDOG is not set
282
283#
284# Linux Module Utilities
285#
286CONFIG_INSMOD=y
287CONFIG_FEATURE_2_4_MODULES=y
288CONFIG_FEATURE_2_6_MODULES=y
289# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
290CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS=y
291# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
292CONFIG_FEATURE_INSMOD_LOAD_MAP=y
293CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
294CONFIG_LSMOD=y
295CONFIG_MODPROBE=y
296CONFIG_RMMOD=y
297CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
298
299#
300# Networking Utilities
301#
302CONFIG_FEATURE_IPV6=y
303# CONFIG_ARPING is not set
304# CONFIG_FTPGET is not set
305# CONFIG_FTPPUT is not set
306CONFIG_HOSTNAME=y
307# CONFIG_HTTPD is not set
308CONFIG_IFCONFIG=y
309CONFIG_FEATURE_IFCONFIG_STATUS=y
310# CONFIG_FEATURE_IFCONFIG_SLIP is not set
311# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
312CONFIG_FEATURE_IFCONFIG_HW=y
313# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
314CONFIG_IFUPDOWN=y
315# CONFIG_FEATURE_IFUPDOWN_IP is not set
316CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
317CONFIG_FEATURE_IFUPDOWN_IPV4=y
318CONFIG_FEATURE_IFUPDOWN_IPV6=y
319# CONFIG_FEATURE_IFUPDOWN_IPX is not set
320CONFIG_FEATURE_IFUPDOWN_MAPPING=y
321# CONFIG_INETD is not set
322CONFIG_IP=y
323CONFIG_FEATURE_IP_ADDRESS=y
324CONFIG_FEATURE_IP_LINK=y
325CONFIG_FEATURE_IP_ROUTE=y
326CONFIG_FEATURE_IP_TUNNEL=y
327# CONFIG_IPCALC is not set
328# CONFIG_IPADDR is not set
329# CONFIG_IPLINK is not set
330# CONFIG_IPROUTE is not set
331# CONFIG_IPTUNNEL is not set
332# CONFIG_NAMEIF is not set
333CONFIG_NC=y
334CONFIG_NETSTAT=y
335CONFIG_NSLOOKUP=y
336CONFIG_PING=y
337CONFIG_FEATURE_FANCY_PING=y
338CONFIG_PING6=y
339CONFIG_FEATURE_FANCY_PING6=y
340CONFIG_ROUTE=y
341CONFIG_TELNET=y
342# CONFIG_FEATURE_TELNET_TTYPE is not set
343CONFIG_FEATURE_TELNET_AUTOLOGIN=y
344# CONFIG_TELNETD is not set
345CONFIG_TFTP=y
346CONFIG_FEATURE_TFTP_GET=y
347CONFIG_FEATURE_TFTP_PUT=y
348# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
349# CONFIG_FEATURE_TFTP_DEBUG is not set
350CONFIG_TRACEROUTE=y
351# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
352# CONFIG_VCONFIG is not set
353CONFIG_WGET=y
354CONFIG_FEATURE_WGET_STATUSBAR=y
355CONFIG_FEATURE_WGET_AUTHENTICATION=y
356CONFIG_FEATURE_WGET_IP6_LITERAL=y
357
358#
359# udhcp Server/Client
360#
361# CONFIG_UDHCPD is not set
362CONFIG_UDHCPC=y
363CONFIG_FEATURE_UDHCP_SYSLOG=y
364# CONFIG_FEATURE_UDHCP_DEBUG is not set
365
366#
367# Process Utilities
368#
369CONFIG_FREE=y
370CONFIG_KILL=y
371CONFIG_KILLALL=y
372# CONFIG_PIDOF is not set
373CONFIG_PS=y
374CONFIG_RENICE=y
375CONFIG_TOP=y
376FEATURE_CPU_USAGE_PERCENTAGE=y
377CONFIG_UPTIME=y
378# CONFIG_SYSCTL is not set
379
380#
381# Another Bourne-like Shell
382#
383CONFIG_FEATURE_SH_IS_ASH=y
384# CONFIG_FEATURE_SH_IS_HUSH is not set
385# CONFIG_FEATURE_SH_IS_LASH is not set
386# CONFIG_FEATURE_SH_IS_MSH is not set
387# CONFIG_FEATURE_SH_IS_NONE is not set
388CONFIG_ASH=y
389
390#
391# Ash Shell Options
392#
393CONFIG_ASH_JOB_CONTROL=y
394CONFIG_ASH_ALIAS=y
395CONFIG_ASH_MATH_SUPPORT=y
396# CONFIG_ASH_MATH_SUPPORT_64 is not set
397CONFIG_ASH_GETOPTS=y
398# CONFIG_ASH_CMDCMD is not set
399# CONFIG_ASH_MAIL is not set
400CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
401# CONFIG_ASH_RANDOM_SUPPORT is not set
402# CONFIG_HUSH is not set
403# CONFIG_LASH is not set
404# CONFIG_MSH is not set
405
406#
407# Bourne Shell Options
408#
409CONFIG_FEATURE_SH_EXTRA_QUIET=y
410# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
411CONFIG_FEATURE_COMMAND_EDITING=y
412CONFIG_FEATURE_COMMAND_HISTORY=63
413# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
414CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
415# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
416CONFIG_FEATURE_SH_FANCY_PROMPT=y
417
418#
419# System Logging Utilities
420#
421CONFIG_SYSLOGD=y
422# CONFIG_FEATURE_ROTATE_LOGFILE is not set
423CONFIG_FEATURE_REMOTE_LOG=y
424CONFIG_FEATURE_IPC_SYSLOG=y
425CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
426CONFIG_LOGREAD=y
427# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
428CONFIG_KLOGD=y
429CONFIG_LOGGER=y
430
431#
432# Linux System Utilities
433#
434CONFIG_DMESG=y
435CONFIG_FBSET=y
436CONFIG_FEATURE_FBSET_FANCY=y
437# CONFIG_FEATURE_FBSET_READMODE is not set
438# CONFIG_FDFLUSH is not set
439# CONFIG_FDFORMAT is not set
440# CONFIG_FDISK is not set
441FDISK_SUPPORT_LARGE_DISKS=y
442# CONFIG_FREERAMDISK is not set
443# CONFIG_FSCK_MINIX is not set
444# CONFIG_MKFS_MINIX is not set
445# CONFIG_GETOPT is not set
446CONFIG_HEXDUMP=y
447CONFIG_HWCLOCK=y
448CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
449CONFIG_LOSETUP=y
450CONFIG_MKSWAP=y
451CONFIG_MORE=y
452CONFIG_FEATURE_USE_TERMIOS=y
453CONFIG_PIVOT_ROOT=y
454# CONFIG_RDATE is not set
455CONFIG_SWAPONOFF=y
456CONFIG_MOUNT=y
457CONFIG_NFSMOUNT=y
458CONFIG_UMOUNT=y
459CONFIG_FEATURE_MOUNT_FORCE=y
460
461#
462# Common options for mount/umount
463#
464CONFIG_FEATURE_MOUNT_LOOP=y
465# CONFIG_FEATURE_MTAB_SUPPORT is not set
466
467#
468# Debugging Options
469#
470# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/fbset.patch b/meta/packages/busybox/busybox-1.01/fbset.patch
new file mode 100644
index 0000000000..d0609ce6f7
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/fbset.patch
@@ -0,0 +1,24 @@
1--- busybox/util-linux/fbset.c~ 2004-07-03 16:24:23.000000000 +0100
2+++ busybox/util-linux/fbset.c 2004-12-30 20:09:26.000000000 +0000
3@@ -337,7 +337,7 @@
4 {
5 struct fb_var_screeninfo var, varset;
6 int fh, i;
7- char *fbdev = DEFAULTFBDEV;
8+ char *fbdev = NULL;
9 char *modefile = DEFAULTFBMODE;
10 char *thisarg, *mode = NULL;
11
12@@ -404,7 +404,12 @@
13 }
14 }
15
16+ if (fbdev == NULL)
17+ fbdev = DEFAULTFBDEV;
18 if ((fh = open(fbdev, O_RDONLY)) < 0)
19+#ifdef CONFIG_FEATURE_DEVFS
20+ if ((fh = open("/dev/fb0", O_RDONLY)) < 0)
21+#endif
22 bb_perror_msg_and_die("fbset(open)");
23 if (ioctl(fh, FBIOGET_VSCREENINFO, &var))
24 bb_perror_msg_and_die("fbset(ioctl)");
diff --git a/meta/packages/busybox/busybox-1.01/hdparm_M.patch b/meta/packages/busybox/busybox-1.01/hdparm_M.patch
new file mode 100644
index 0000000000..170906535e
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/hdparm_M.patch
@@ -0,0 +1,47 @@
1diff -Naur busybox-1.00/miscutils/hdparm.c busybox-1.00-patched/miscutils/hdparm.c
2--- busybox-1.00/miscutils/hdparm.c 2004-07-21 00:53:59.000000000 +0200
3+++ busybox-1.00-patched/miscutils/hdparm.c 2004-10-21 15:17:13.000000000 +0200
4@@ -1254,6 +1254,7 @@
5 static unsigned long set_sleepnow = 0, get_sleepnow = 0;
6 static unsigned long get_powermode = 0;
7 static unsigned long set_apmmode = 0, get_apmmode= 0, apmmode = 0;
8+static unsigned long set_acoustic = 0, get_acoustic = 0, acoustic = 0;
9 #endif
10 #ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY
11 static int get_IDentity = 0;
12@@ -2123,6 +2124,20 @@
13 }
14 bb_ioctl(fd, HDIO_DRIVE_CMD, &args,"HDIO_DRIVE_CMD");
15 }
16+ if (set_acoustic)
17+ {
18+ no_scsi();
19+ acoustic=check_if_min_and_set_val(acoustic,0);
20+ acoustic=check_if_maj_and_set_val(acoustic,254);
21+ if_printf(get_acoustic," setting AAM level to 0x%02lX (%ld)\n", acoustic, acoustic);
22+ bb_ioctl(fd, HDIO_SET_ACOUSTIC, (int*)acoustic,"HDIO_SET_ACOUSTIC");
23+ }
24+ if (get_acoustic)
25+ {
26+ no_scsi();
27+ bb_ioctl(fd, HDIO_GET_ACOUSTIC, (unsigned long*)&parm,"HDIO_GET_ACOUSTIC");
28+ printf(" acoustic = %2ld (128=quiet ... 254=fast)\n", parm);
29+ }
30 if (set_wcache)
31 {
32 #ifdef DO_FLUSHCACHE
33@@ -2831,6 +2846,13 @@
34 p = *argv++, --argc;
35 p=GET_NUMBER(p,&set_readahead,&Xreadahead);
36 break;
37+ case 'M':
38+ get_acoustic = noisy;
39+ noisy = 1;
40+ if (!*p && argc && isalnum(**argv))
41+ p = *argv++, --argc;
42+ p=GET_NUMBER(p,&set_acoustic,&acoustic);
43+ break;
44 case 'B':
45 get_apmmode = noisy;
46 noisy = 1;
47
diff --git a/meta/packages/busybox/busybox-1.01/ifupdown-spurious-environ.patch b/meta/packages/busybox/busybox-1.01/ifupdown-spurious-environ.patch
new file mode 100644
index 0000000000..8753315f2c
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/ifupdown-spurious-environ.patch
@@ -0,0 +1,12 @@
1--- busybox-1.00/networking/ifupdown.c.old 2005-06-11 19:51:59.000000000 +0100
2+++ busybox-1.00/networking/ifupdown.c 2005-06-11 19:52:19.000000000 +0100
3@@ -148,6 +148,9 @@
4 struct mapping_defn_t *mappings;
5 };
6
7+/* XXX */
8+#define environ local_environ
9+
10 static char no_act = 0;
11 static char verbose = 0;
12 static char **environ = NULL;
diff --git a/meta/packages/busybox/busybox-1.01/iproute-flush-cache.patch b/meta/packages/busybox/busybox-1.01/iproute-flush-cache.patch
new file mode 100644
index 0000000000..f8becc3390
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/iproute-flush-cache.patch
@@ -0,0 +1,23 @@
1Index: networking/libiproute/iproute.c
2===================================================================
3RCS file: /var/cvs/busybox/networking/libiproute/iproute.c,v
4retrieving revision 1.14
5diff -u -r1.14 iproute.c
6--- networking/libiproute/iproute.c 11 Aug 2004 08:10:58 -0000 1.14
7+++ networking/libiproute/iproute.c 30 Nov 2004 20:43:44 -0000
8@@ -537,6 +537,15 @@
9 } else if (matches(*argv, "match") == 0) {
10 NEXT_ARG();
11 get_prefix(&filter.mdst, *argv, do_ipv6);
12+ } else if (matches(*argv, "table") == 0) {
13+ NEXT_ARG();
14+ if (matches(*argv, "cache") == 0) {
15+ filter.tb = -1;
16+ } else if (matches(*argv, "main") != 0) {
17+ invarg("invalid \"table\"", *argv);
18+ }
19+ } else if (matches(*argv, "cache") == 0) {
20+ filter.tb = -1;
21 } else {
22 if (matches(*argv, "exact") == 0) {
23 NEXT_ARG();
diff --git a/meta/packages/busybox/busybox-1.01/mount-all-type.patch b/meta/packages/busybox/busybox-1.01/mount-all-type.patch
new file mode 100644
index 0000000000..476094a804
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/mount-all-type.patch
@@ -0,0 +1,84 @@
1--- busybox-1.00/.pc/mount-all-type.patch/util-linux/mount.c 2004-08-02 17:14:02.000000000 -0700
2+++ busybox-1.00/util-linux/mount.c 2005-05-13 00:17:19.054232796 -0700
3@@ -364,6 +364,56 @@
4 exit(EXIT_SUCCESS);
5 }
6
7+/* Does this file system type, from /etc/fstab, match the given
8+ * -t option value?
9+ */
10+static int match_fs(const char *option, const char *type)
11+{
12+ const int len = strlen(type);
13+ const int no = option[0] == 'n' && option[1] == 'o';
14+ const char *optp = option;
15+
16+ if (len > 0) do {
17+ const char *match = strstr(optp, type);
18+
19+ if (match == NULL) {
20+ /* No match, but if the option string starts 'no' no match
21+ * means yes.
22+ */
23+ return no;
24+ }
25+
26+ /* Match, may be partial, check for end-of-type in option string. */
27+ if (match[len] == 0 || match[len] == ',') {
28+ /* Ok, check for type or notype. */
29+ if (match == option) {
30+ /* Exact match at start (can't be 'no') */
31+ return 1;
32+ }
33+ if (match > option+1) {
34+ if (match[-1] == ',') {
35+ /* Exact match in middle, might be 'no' */
36+ return !no;
37+ }
38+ if (match == option+2 && no) {
39+ /* Exact match to 'notype' at start. */
40+ return 0;
41+ }
42+ if (match > option+2 && match[-3] == ',' &&
43+ match[-2] == 'n' && match[-1] == 'o') {
44+ return 0;
45+ }
46+ }
47+ }
48+
49+ /* Look for another match. */
50+ optp = match+1;
51+ } while (1);
52+
53+ /* zero length type in fstab (impossible?), don't match it. */
54+ return 0;
55+}
56+
57 extern int mount_main(int argc, char **argv)
58 {
59 struct stat statbuf;
60@@ -371,6 +421,7 @@
61 char *extra_opts;
62 int flags = 0;
63 char *filesystemType = "auto";
64+ char *filesystemOption = 0;
65 int got_filesystemType = 0;
66 char *device = xmalloc(PATH_MAX);
67 char *directory = xmalloc(PATH_MAX);
68@@ -393,6 +444,7 @@
69 break;
70 case 't':
71 filesystemType = optarg;
72+ filesystemOption = optarg;
73 got_filesystemType = 1;
74 break;
75 case 'w':
76@@ -460,6 +512,8 @@
77
78 strcpy(device, m->mnt_fsname);
79 strcpy(directory, m->mnt_dir);
80+ if (all && filesystemOption != 0 && !match_fs(filesystemOption, m->mnt_type))
81+ continue;
82 filesystemType = bb_xstrdup(m->mnt_type);
83 singlemount:
84 extra_opts = string_flags;
diff --git a/meta/packages/busybox/busybox-1.01/nylon/defconfig b/meta/packages/busybox/busybox-1.01/nylon/defconfig
new file mode 100644
index 0000000000..599051bafb
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/nylon/defconfig
@@ -0,0 +1,458 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
10# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12CONFIG_FEATURE_VERBOSE_USAGE=y
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15CONFIG_FEATURE_DEVFS=y
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18CONFIG_FEATURE_SUID=y
19CONFIG_FEATURE_SUID_CONFIG=y
20CONFIG_FEATURE_SUID_CONFIG_QUIET=y
21# CONFIG_SELINUX is not set
22
23#
24# Build Options
25#
26# CONFIG_STATIC is not set
27# CONFIG_LFS is not set
28# USING_CROSS_COMPILER is not set
29EXTRA_CFLAGS_OPTIONS=""
30
31#
32# Installation Options
33#
34# CONFIG_INSTALL_NO_USR is not set
35PREFIX="./_install"
36
37#
38# Archival Utilities
39#
40CONFIG_AR=y
41CONFIG_FEATURE_AR_LONG_FILENAMES=y
42CONFIG_BUNZIP2=y
43CONFIG_CPIO=y
44CONFIG_DPKG=y
45CONFIG_DPKG_DEB=y
46# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
47CONFIG_GUNZIP=y
48CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y
49CONFIG_GZIP=y
50# CONFIG_RPM2CPIO is not set
51# CONFIG_RPM is not set
52CONFIG_TAR=y
53CONFIG_FEATURE_TAR_CREATE=y
54CONFIG_FEATURE_TAR_BZIP2=y
55CONFIG_FEATURE_TAR_FROM=y
56CONFIG_FEATURE_TAR_GZIP=y
57CONFIG_FEATURE_TAR_COMPRESS=y
58CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
59CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
60CONFIG_FEATURE_TAR_LONG_OPTIONS=y
61CONFIG_UNCOMPRESS=y
62CONFIG_UNZIP=y
63
64#
65# Common options for cpio and tar
66#
67# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
68
69#
70# Common options for dpkg and dpkg_deb
71#
72CONFIG_FEATURE_DEB_TAR_GZ=y
73CONFIG_FEATURE_DEB_TAR_BZ2=y
74
75#
76# Coreutils
77#
78CONFIG_BASENAME=y
79CONFIG_CAL=y
80CONFIG_CAT=y
81CONFIG_CHGRP=y
82CONFIG_CHMOD=y
83CONFIG_CHOWN=y
84CONFIG_CHROOT=y
85CONFIG_CMP=y
86CONFIG_CP=y
87CONFIG_CUT=y
88CONFIG_DATE=y
89
90#
91# date (forced enabled for use with watch)
92#
93CONFIG_FEATURE_DATE_ISOFMT=y
94CONFIG_DD=y
95CONFIG_DF=y
96CONFIG_DIRNAME=y
97CONFIG_DOS2UNIX=y
98CONFIG_UNIX2DOS=y
99CONFIG_DU=y
100CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
101CONFIG_ECHO=y
102CONFIG_FEATURE_FANCY_ECHO=y
103CONFIG_ENV=y
104CONFIG_EXPR=y
105CONFIG_FALSE=y
106CONFIG_FOLD=y
107CONFIG_HEAD=y
108CONFIG_FEATURE_FANCY_HEAD=y
109CONFIG_HOSTID=y
110CONFIG_ID=y
111CONFIG_INSTALL=y
112CONFIG_LENGTH=y
113CONFIG_LN=y
114CONFIG_LOGNAME=y
115CONFIG_LS=y
116CONFIG_FEATURE_LS_FILETYPES=y
117CONFIG_FEATURE_LS_FOLLOWLINKS=y
118CONFIG_FEATURE_LS_RECURSIVE=y
119CONFIG_FEATURE_LS_SORTFILES=y
120CONFIG_FEATURE_LS_TIMESTAMPS=y
121CONFIG_FEATURE_LS_USERNAME=y
122CONFIG_FEATURE_LS_COLOR=y
123CONFIG_MD5SUM=y
124CONFIG_MKDIR=y
125CONFIG_MKFIFO=y
126CONFIG_MKNOD=y
127CONFIG_MV=y
128CONFIG_OD=y
129CONFIG_PRINTF=y
130CONFIG_PWD=y
131CONFIG_REALPATH=y
132CONFIG_RM=y
133CONFIG_RMDIR=y
134CONFIG_SEQ=y
135CONFIG_SHA1SUM=y
136CONFIG_SLEEP=y
137CONFIG_FEATURE_FANCY_SLEEP=y
138CONFIG_SORT=y
139CONFIG_STTY=y
140CONFIG_SYNC=y
141CONFIG_TAIL=y
142CONFIG_FEATURE_FANCY_TAIL=y
143CONFIG_TEE=y
144CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
145# CONFIG_TEST is not set
146CONFIG_TOUCH=y
147CONFIG_TR=y
148CONFIG_TRUE=y
149CONFIG_TTY=y
150CONFIG_UNAME=y
151CONFIG_UNIQ=y
152CONFIG_USLEEP=y
153CONFIG_UUDECODE=y
154CONFIG_UUENCODE=y
155CONFIG_WATCH=y
156CONFIG_WC=y
157CONFIG_WHO=y
158CONFIG_WHOAMI=y
159CONFIG_YES=y
160
161#
162# Common options for cp and mv
163#
164# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
165
166#
167# Common options for ls and more
168#
169CONFIG_FEATURE_AUTOWIDTH=y
170
171#
172# Common options for df, du, ls
173#
174CONFIG_FEATURE_HUMAN_READABLE=y
175
176#
177# Common options for md5sum, sha1sum
178#
179CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
180
181#
182# Console Utilities
183#
184# CONFIG_CHVT is not set
185CONFIG_CLEAR=y
186# CONFIG_DEALLOCVT is not set
187CONFIG_DUMPKMAP=y
188CONFIG_GETKEY=y
189# CONFIG_LOADFONT is not set
190CONFIG_LOADKMAP=y
191# CONFIG_OPENVT is not set
192CONFIG_RESET=y
193CONFIG_SETKEYCODES=y
194
195#
196# Debian Utilities
197#
198CONFIG_MKTEMP=y
199CONFIG_PIPE_PROGRESS=y
200CONFIG_READLINK=y
201CONFIG_FEATURE_READLINK_FOLLOW=y
202CONFIG_RUN_PARTS=y
203CONFIG_START_STOP_DAEMON=y
204CONFIG_WHICH=y
205
206#
207# Editors
208#
209CONFIG_AWK=y
210CONFIG_FEATURE_AWK_MATH=y
211CONFIG_PATCH=y
212CONFIG_SED=y
213CONFIG_VI=y
214CONFIG_FEATURE_VI_COLON=y
215CONFIG_FEATURE_VI_YANKMARK=y
216CONFIG_FEATURE_VI_SEARCH=y
217CONFIG_FEATURE_VI_USE_SIGNALS=y
218CONFIG_FEATURE_VI_DOT_CMD=y
219CONFIG_FEATURE_VI_READONLY=y
220CONFIG_FEATURE_VI_SETOPTS=y
221CONFIG_FEATURE_VI_SET=y
222CONFIG_FEATURE_VI_WIN_RESIZE=y
223CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
224
225#
226# Finding Utilities
227#
228CONFIG_FIND=y
229CONFIG_FEATURE_FIND_MTIME=y
230CONFIG_FEATURE_FIND_PERM=y
231CONFIG_FEATURE_FIND_TYPE=y
232CONFIG_FEATURE_FIND_XDEV=y
233CONFIG_FEATURE_FIND_NEWER=y
234CONFIG_FEATURE_FIND_INUM=y
235CONFIG_GREP=y
236CONFIG_FEATURE_GREP_EGREP_ALIAS=y
237CONFIG_FEATURE_GREP_FGREP_ALIAS=y
238CONFIG_FEATURE_GREP_CONTEXT=y
239CONFIG_XARGS=y
240CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
241CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
242CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
243CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
244
245#
246# Init Utilities
247#
248# CONFIG_INIT is not set
249# CONFIG_HALT is not set
250# CONFIG_POWEROFF is not set
251# CONFIG_REBOOT is not set
252# CONFIG_MESG is not set
253
254#
255# Login/Password Management Utilities
256#
257# CONFIG_USE_BB_PWD_GRP is not set
258# CONFIG_ADDGROUP is not set
259# CONFIG_DELGROUP is not set
260# CONFIG_ADDUSER is not set
261# CONFIG_DELUSER is not set
262# CONFIG_GETTY is not set
263CONFIG_FEATURE_U_W_TMP=y
264# CONFIG_LOGIN is not set
265# CONFIG_PASSWD is not set
266# CONFIG_SU is not set
267# CONFIG_SULOGIN is not set
268# CONFIG_VLOCK is not set
269
270#
271# Miscellaneous Utilities
272#
273# CONFIG_ADJTIMEX is not set
274CONFIG_CROND=y
275# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
276CONFIG_CRONTAB=y
277CONFIG_DC=y
278# CONFIG_DEVFSD is not set
279# CONFIG_LAST is not set
280# CONFIG_HDPARM is not set
281# CONFIG_MAKEDEVS is not set
282# CONFIG_MT is not set
283# CONFIG_RX is not set
284CONFIG_STRINGS=y
285CONFIG_TIME=y
286CONFIG_WATCHDOG=y
287
288#
289# Linux Module Utilities
290#
291# CONFIG_INSMOD is not set
292# CONFIG_LSMOD is not set
293# CONFIG_MODPROBE is not set
294# CONFIG_RMMOD is not set
295
296#
297# Networking Utilities
298#
299CONFIG_FEATURE_IPV6=y
300CONFIG_ARPING=y
301# CONFIG_FTPGET is not set
302# CONFIG_FTPPUT is not set
303CONFIG_HOSTNAME=y
304CONFIG_HTTPD=y
305# CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY is not set
306CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
307CONFIG_FEATURE_HTTPD_AUTH_MD5=y
308CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP=y
309CONFIG_FEATURE_HTTPD_SETUID=y
310CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y
311CONFIG_FEATURE_HTTPD_CGI=y
312CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
313CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
314CONFIG_IFCONFIG=y
315CONFIG_FEATURE_IFCONFIG_STATUS=y
316# CONFIG_FEATURE_IFCONFIG_SLIP is not set
317CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y
318CONFIG_FEATURE_IFCONFIG_HW=y
319CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
320CONFIG_IFUPDOWN=y
321# CONFIG_FEATURE_IFUPDOWN_IP is not set
322CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
323CONFIG_FEATURE_IFUPDOWN_IPV4=y
324CONFIG_FEATURE_IFUPDOWN_IPV6=y
325# CONFIG_FEATURE_IFUPDOWN_IPX is not set
326CONFIG_FEATURE_IFUPDOWN_MAPPING=y
327CONFIG_INETD=y
328CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO=y
329CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD=y
330CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME=y
331CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME=y
332CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN=y
333# CONFIG_IP is not set
334CONFIG_IPCALC=y
335CONFIG_FEATURE_IPCALC_FANCY=y
336# CONFIG_IPADDR is not set
337# CONFIG_IPLINK is not set
338# CONFIG_IPROUTE is not set
339# CONFIG_IPTUNNEL is not set
340CONFIG_NAMEIF=y
341CONFIG_NC=y
342CONFIG_NETSTAT=y
343CONFIG_NSLOOKUP=y
344CONFIG_PING=y
345CONFIG_FEATURE_FANCY_PING=y
346CONFIG_PING6=y
347CONFIG_FEATURE_FANCY_PING6=y
348CONFIG_ROUTE=y
349CONFIG_TELNET=y
350CONFIG_FEATURE_TELNET_TTYPE=y
351CONFIG_FEATURE_TELNET_AUTOLOGIN=y
352# CONFIG_TELNETD is not set
353CONFIG_TFTP=y
354CONFIG_FEATURE_TFTP_GET=y
355CONFIG_FEATURE_TFTP_PUT=y
356CONFIG_FEATURE_TFTP_BLOCKSIZE=y
357# CONFIG_FEATURE_TFTP_DEBUG is not set
358CONFIG_TRACEROUTE=y
359CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
360CONFIG_VCONFIG=y
361CONFIG_WGET=y
362CONFIG_FEATURE_WGET_STATUSBAR=y
363CONFIG_FEATURE_WGET_AUTHENTICATION=y
364CONFIG_FEATURE_WGET_IP6_LITERAL=y
365
366#
367# udhcp Server/Client
368#
369CONFIG_UDHCPD=y
370CONFIG_UDHCPC=y
371CONFIG_DUMPLEASES=y
372CONFIG_FEATURE_UDHCP_SYSLOG=y
373# CONFIG_FEATURE_UDHCP_DEBUG is not set
374
375#
376# Process Utilities
377#
378CONFIG_FREE=y
379CONFIG_KILL=y
380CONFIG_KILLALL=y
381CONFIG_PIDOF=y
382CONFIG_PS=y
383CONFIG_RENICE=y
384CONFIG_TOP=y
385FEATURE_CPU_USAGE_PERCENTAGE=y
386CONFIG_UPTIME=y
387CONFIG_SYSCTL=y
388
389#
390# Another Bourne-like Shell
391#
392# CONFIG_FEATURE_SH_IS_ASH is not set
393# CONFIG_FEATURE_SH_IS_HUSH is not set
394# CONFIG_FEATURE_SH_IS_LASH is not set
395# CONFIG_FEATURE_SH_IS_MSH is not set
396CONFIG_FEATURE_SH_IS_NONE=y
397# CONFIG_ASH is not set
398# CONFIG_HUSH is not set
399# CONFIG_LASH is not set
400# CONFIG_MSH is not set
401
402#
403# System Logging Utilities
404#
405CONFIG_SYSLOGD=y
406CONFIG_FEATURE_ROTATE_LOGFILE=y
407CONFIG_FEATURE_REMOTE_LOG=y
408CONFIG_FEATURE_IPC_SYSLOG=y
409CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
410CONFIG_LOGREAD=y
411# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
412CONFIG_KLOGD=y
413CONFIG_LOGGER=y
414
415#
416# Linux System Utilities
417#
418CONFIG_DMESG=y
419CONFIG_FBSET=y
420CONFIG_FEATURE_FBSET_FANCY=y
421CONFIG_FEATURE_FBSET_READMODE=y
422# CONFIG_FDFLUSH is not set
423# CONFIG_FDFORMAT is not set
424CONFIG_FDISK=y
425FDISK_SUPPORT_LARGE_DISKS=y
426CONFIG_FEATURE_FDISK_WRITABLE=y
427# CONFIG_FEATURE_AIX_LABEL is not set
428# CONFIG_FEATURE_SGI_LABEL is not set
429# CONFIG_FEATURE_SUN_LABEL is not set
430# CONFIG_FEATURE_OSF_LABEL is not set
431# CONFIG_FEATURE_FDISK_ADVANCED is not set
432CONFIG_FREERAMDISK=y
433# CONFIG_FSCK_MINIX is not set
434# CONFIG_MKFS_MINIX is not set
435# CONFIG_GETOPT is not set
436CONFIG_HEXDUMP=y
437# CONFIG_HWCLOCK is not set
438CONFIG_LOSETUP=y
439CONFIG_MKSWAP=y
440# CONFIG_MORE is not set
441CONFIG_PIVOT_ROOT=y
442# CONFIG_RDATE is not set
443CONFIG_SWAPONOFF=y
444CONFIG_MOUNT=y
445CONFIG_NFSMOUNT=y
446CONFIG_UMOUNT=y
447CONFIG_FEATURE_MOUNT_FORCE=y
448
449#
450# Common options for mount/umount
451#
452CONFIG_FEATURE_MOUNT_LOOP=y
453# CONFIG_FEATURE_MTAB_SUPPORT is not set
454
455#
456# Debugging Options
457#
458# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/openmn/defconfig b/meta/packages/busybox/busybox-1.01/openmn/defconfig
new file mode 100644
index 0000000000..f98af91853
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/openmn/defconfig
@@ -0,0 +1,475 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
10# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12# CONFIG_FEATURE_VERBOSE_USAGE is not set
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15CONFIG_FEATURE_DEVFS=y
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18# CONFIG_FEATURE_SUID is not set
19# CONFIG_FEATURE_SUID_CONFIG is not set
20# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
21# CONFIG_SELINUX is not set
22
23#
24# Build Options
25#
26# CONFIG_STATIC is not set
27# CONFIG_LFS is not set
28# USING_CROSS_COMPILER is not set
29EXTRA_CFLAGS_OPTIONS=""
30
31#
32# Installation Options
33#
34# CONFIG_INSTALL_NO_USR is not set
35PREFIX="./_install"
36
37#
38# Archival Utilities
39#
40CONFIG_AR=y
41# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
42CONFIG_BUNZIP2=y
43CONFIG_CPIO=y
44# CONFIG_DPKG is not set
45# CONFIG_DPKG_DEB is not set
46CONFIG_GUNZIP=y
47# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
48CONFIG_GZIP=y
49# CONFIG_RPM2CPIO is not set
50# CONFIG_RPM is not set
51CONFIG_TAR=y
52CONFIG_FEATURE_TAR_CREATE=y
53CONFIG_FEATURE_TAR_BZIP2=y
54CONFIG_FEATURE_TAR_FROM=y
55CONFIG_FEATURE_TAR_GZIP=y
56# CONFIG_FEATURE_TAR_COMPRESS is not set
57CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
58CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
59# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
60# CONFIG_UNCOMPRESS is not set
61CONFIG_UNZIP=y
62
63#
64# Common options for cpio and tar
65#
66# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
67
68#
69# Coreutils
70#
71CONFIG_BASENAME=y
72# CONFIG_CAL is not set
73CONFIG_CAT=y
74CONFIG_CHGRP=y
75CONFIG_CHMOD=y
76CONFIG_CHOWN=y
77CONFIG_CHROOT=y
78CONFIG_CMP=y
79CONFIG_CP=y
80CONFIG_CUT=y
81CONFIG_DATE=y
82
83#
84# date (forced enabled for use with watch)
85#
86CONFIG_FEATURE_DATE_ISOFMT=y
87CONFIG_DD=y
88CONFIG_DF=y
89CONFIG_DIRNAME=y
90# CONFIG_DOS2UNIX is not set
91CONFIG_DU=y
92CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
93CONFIG_ECHO=y
94CONFIG_FEATURE_FANCY_ECHO=y
95CONFIG_ENV=y
96CONFIG_EXPR=y
97CONFIG_FALSE=y
98# CONFIG_FOLD is not set
99CONFIG_HEAD=y
100# CONFIG_FEATURE_FANCY_HEAD is not set
101# CONFIG_HOSTID is not set
102CONFIG_ID=y
103# CONFIG_INSTALL is not set
104# CONFIG_LENGTH is not set
105CONFIG_LN=y
106CONFIG_LOGNAME=y
107CONFIG_LS=y
108CONFIG_FEATURE_LS_FILETYPES=y
109CONFIG_FEATURE_LS_FOLLOWLINKS=y
110CONFIG_FEATURE_LS_RECURSIVE=y
111CONFIG_FEATURE_LS_SORTFILES=y
112CONFIG_FEATURE_LS_TIMESTAMPS=y
113CONFIG_FEATURE_LS_USERNAME=y
114# CONFIG_FEATURE_LS_COLOR is not set
115CONFIG_MD5SUM=y
116CONFIG_MKDIR=y
117CONFIG_MKFIFO=y
118CONFIG_MKNOD=y
119CONFIG_MV=y
120CONFIG_OD=y
121CONFIG_PRINTF=y
122CONFIG_PWD=y
123# CONFIG_REALPATH is not set
124CONFIG_RM=y
125CONFIG_RMDIR=y
126CONFIG_SEQ=y
127# CONFIG_SHA1SUM is not set
128CONFIG_SLEEP=y
129# CONFIG_FEATURE_FANCY_SLEEP is not set
130CONFIG_SORT=y
131CONFIG_STTY=y
132CONFIG_SYNC=y
133CONFIG_TAIL=y
134# CONFIG_FEATURE_FANCY_TAIL is not set
135CONFIG_TEE=y
136# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
137CONFIG_TEST=y
138
139#
140# test (forced enabled for use with shell)
141#
142# CONFIG_FEATURE_TEST_64 is not set
143CONFIG_TOUCH=y
144CONFIG_TR=y
145CONFIG_TRUE=y
146CONFIG_TTY=y
147CONFIG_UNAME=y
148CONFIG_UNIQ=y
149CONFIG_USLEEP=y
150# CONFIG_UUDECODE is not set
151# CONFIG_UUENCODE is not set
152CONFIG_WATCH=y
153CONFIG_WC=y
154CONFIG_WHO=y
155CONFIG_WHOAMI=y
156CONFIG_YES=y
157
158#
159# Common options for cp and mv
160#
161# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
162
163#
164# Common options for ls and more
165#
166CONFIG_FEATURE_AUTOWIDTH=y
167
168#
169# Common options for df, du, ls
170#
171CONFIG_FEATURE_HUMAN_READABLE=y
172
173#
174# Common options for md5sum, sha1sum
175#
176# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
177
178#
179# Console Utilities
180#
181CONFIG_CHVT=y
182CONFIG_CLEAR=y
183CONFIG_DEALLOCVT=y
184CONFIG_DUMPKMAP=y
185CONFIG_GETKEY=y
186CONFIG_LOADFONT=y
187CONFIG_LOADKMAP=y
188CONFIG_OPENVT=y
189CONFIG_RESET=y
190CONFIG_SETKEYCODES=y
191
192#
193# Debian Utilities
194#
195CONFIG_MKTEMP=y
196# CONFIG_PIPE_PROGRESS is not set
197CONFIG_READLINK=y
198CONFIG_FEATURE_READLINK_FOLLOW=y
199CONFIG_RUN_PARTS=y
200CONFIG_START_STOP_DAEMON=y
201CONFIG_WHICH=y
202
203#
204# Editors
205#
206CONFIG_AWK=y
207CONFIG_FEATURE_AWK_MATH=y
208# CONFIG_PATCH is not set
209CONFIG_SED=y
210CONFIG_VI=y
211CONFIG_FEATURE_VI_COLON=y
212CONFIG_FEATURE_VI_YANKMARK=y
213CONFIG_FEATURE_VI_SEARCH=y
214CONFIG_FEATURE_VI_USE_SIGNALS=y
215# CONFIG_FEATURE_VI_DOT_CMD is not set
216# CONFIG_FEATURE_VI_READONLY is not set
217# CONFIG_FEATURE_VI_SETOPTS is not set
218# CONFIG_FEATURE_VI_SET is not set
219CONFIG_FEATURE_VI_WIN_RESIZE=y
220CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
221
222#
223# Finding Utilities
224#
225CONFIG_FIND=y
226CONFIG_FEATURE_FIND_MTIME=y
227CONFIG_FEATURE_FIND_PERM=y
228CONFIG_FEATURE_FIND_TYPE=y
229CONFIG_FEATURE_FIND_XDEV=y
230CONFIG_FEATURE_FIND_NEWER=y
231# CONFIG_FEATURE_FIND_INUM is not set
232CONFIG_GREP=y
233CONFIG_FEATURE_GREP_EGREP_ALIAS=y
234CONFIG_FEATURE_GREP_FGREP_ALIAS=y
235CONFIG_FEATURE_GREP_CONTEXT=y
236CONFIG_XARGS=y
237# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
238# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
239# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
240CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
241
242#
243# Init Utilities
244#
245# CONFIG_INIT is not set
246# CONFIG_HALT is not set
247# CONFIG_POWEROFF is not set
248# CONFIG_REBOOT is not set
249# CONFIG_MESG is not set
250
251#
252# Login/Password Management Utilities
253#
254# CONFIG_USE_BB_PWD_GRP is not set
255CONFIG_ADDGROUP=y
256CONFIG_DELGROUP=y
257CONFIG_ADDUSER=y
258CONFIG_DELUSER=y
259CONFIG_GETTY=y
260CONFIG_FEATURE_U_W_TMP=y
261CONFIG_LOGIN=y
262# CONFIG_FEATURE_SECURETTY is not set
263CONFIG_PASSWD=y
264CONFIG_SU=y
265CONFIG_SULOGIN=y
266CONFIG_VLOCK=y
267
268#
269# Common options for adduser, deluser, login, su
270#
271CONFIG_FEATURE_SHADOWPASSWDS=y
272
273#
274# Miscellaneous Utilities
275#
276# CONFIG_ADJTIMEX is not set
277# CONFIG_CROND is not set
278# CONFIG_CRONTAB is not set
279CONFIG_DC=y
280# CONFIG_DEVFSD is not set
281# CONFIG_LAST is not set
282# CONFIG_HDPARM is not set
283# CONFIG_MAKEDEVS is not set
284# CONFIG_MT is not set
285# CONFIG_RX is not set
286CONFIG_STRINGS=y
287CONFIG_TIME=y
288# CONFIG_WATCHDOG is not set
289
290#
291# Linux Module Utilities
292#
293CONFIG_INSMOD=y
294CONFIG_FEATURE_2_4_MODULES=y
295CONFIG_FEATURE_2_6_MODULES=y
296# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
297CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS=y
298# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
299CONFIG_FEATURE_INSMOD_LOAD_MAP=y
300CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
301CONFIG_LSMOD=y
302CONFIG_MODPROBE=y
303CONFIG_RMMOD=y
304# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set
305
306#
307# Networking Utilities
308#
309# CONFIG_FEATURE_IPV6 is not set
310CONFIG_ARPING=y
311# CONFIG_FTPGET is not set
312CONFIG_FTPPUT=y
313CONFIG_HOSTNAME=y
314# CONFIG_HTTPD is not set
315CONFIG_IFCONFIG=y
316CONFIG_FEATURE_IFCONFIG_STATUS=y
317# CONFIG_FEATURE_IFCONFIG_SLIP is not set
318# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
319CONFIG_FEATURE_IFCONFIG_HW=y
320# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
321CONFIG_IFUPDOWN=y
322# CONFIG_FEATURE_IFUPDOWN_IP is not set
323CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
324CONFIG_FEATURE_IFUPDOWN_IPV4=y
325# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
326# CONFIG_FEATURE_IFUPDOWN_IPX is not set
327# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
328# CONFIG_INETD is not set
329CONFIG_IP=y
330CONFIG_FEATURE_IP_ADDRESS=y
331CONFIG_FEATURE_IP_LINK=y
332CONFIG_FEATURE_IP_ROUTE=y
333# CONFIG_FEATURE_IP_TUNNEL is not set
334# CONFIG_IPCALC is not set
335# CONFIG_IPADDR is not set
336# CONFIG_IPLINK is not set
337# CONFIG_IPROUTE is not set
338# CONFIG_IPTUNNEL is not set
339# CONFIG_NAMEIF is not set
340CONFIG_NC=y
341CONFIG_NETSTAT=y
342CONFIG_NSLOOKUP=y
343CONFIG_PING=y
344CONFIG_FEATURE_FANCY_PING=y
345CONFIG_ROUTE=y
346CONFIG_TELNET=y
347# CONFIG_FEATURE_TELNET_TTYPE is not set
348# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
349# CONFIG_TELNETD is not set
350# CONFIG_TFTP is not set
351CONFIG_TRACEROUTE=y
352# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
353# CONFIG_VCONFIG is not set
354CONFIG_WGET=y
355# CONFIG_FEATURE_WGET_STATUSBAR is not set
356CONFIG_FEATURE_WGET_AUTHENTICATION=y
357# CONFIG_FEATURE_WGET_IP6_LITERAL is not set
358
359#
360# udhcp Server/Client
361#
362# CONFIG_UDHCPD is not set
363CONFIG_UDHCPC=y
364CONFIG_FEATURE_UDHCP_SYSLOG=y
365# CONFIG_FEATURE_UDHCP_DEBUG is not set
366
367#
368# Process Utilities
369#
370CONFIG_FREE=y
371CONFIG_KILL=y
372CONFIG_KILLALL=y
373# CONFIG_PIDOF is not set
374CONFIG_PS=y
375CONFIG_RENICE=y
376CONFIG_TOP=y
377FEATURE_CPU_USAGE_PERCENTAGE=y
378CONFIG_UPTIME=y
379# CONFIG_SYSCTL is not set
380
381#
382# Another Bourne-like Shell
383#
384CONFIG_FEATURE_SH_IS_ASH=y
385# CONFIG_FEATURE_SH_IS_HUSH is not set
386# CONFIG_FEATURE_SH_IS_LASH is not set
387# CONFIG_FEATURE_SH_IS_MSH is not set
388# CONFIG_FEATURE_SH_IS_NONE is not set
389CONFIG_ASH=y
390
391#
392# Ash Shell Options
393#
394CONFIG_ASH_JOB_CONTROL=y
395CONFIG_ASH_ALIAS=y
396CONFIG_ASH_MATH_SUPPORT=y
397# CONFIG_ASH_MATH_SUPPORT_64 is not set
398CONFIG_ASH_GETOPTS=y
399# CONFIG_ASH_CMDCMD is not set
400# CONFIG_ASH_MAIL is not set
401# CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set
402# CONFIG_ASH_RANDOM_SUPPORT is not set
403# CONFIG_HUSH is not set
404# CONFIG_LASH is not set
405# CONFIG_MSH is not set
406
407#
408# Bourne Shell Options
409#
410CONFIG_FEATURE_SH_EXTRA_QUIET=y
411# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
412CONFIG_FEATURE_COMMAND_EDITING=y
413CONFIG_FEATURE_COMMAND_HISTORY=31
414# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
415CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
416# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
417CONFIG_FEATURE_SH_FANCY_PROMPT=y
418
419#
420# System Logging Utilities
421#
422CONFIG_SYSLOGD=y
423# CONFIG_FEATURE_ROTATE_LOGFILE is not set
424# CONFIG_FEATURE_REMOTE_LOG is not set
425CONFIG_FEATURE_IPC_SYSLOG=y
426CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
427CONFIG_LOGREAD=y
428# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
429CONFIG_KLOGD=y
430CONFIG_LOGGER=y
431
432#
433# Linux System Utilities
434#
435CONFIG_DMESG=y
436# CONFIG_FBSET is not set
437# CONFIG_FDFLUSH is not set
438# CONFIG_FDFORMAT is not set
439CONFIG_FDISK=y
440# FDISK_SUPPORT_LARGE_DISKS is not set
441CONFIG_FEATURE_FDISK_WRITABLE=y
442# CONFIG_FEATURE_AIX_LABEL is not set
443# CONFIG_FEATURE_SGI_LABEL is not set
444# CONFIG_FEATURE_SUN_LABEL is not set
445# CONFIG_FEATURE_OSF_LABEL is not set
446# CONFIG_FEATURE_FDISK_ADVANCED is not set
447# CONFIG_FREERAMDISK is not set
448# CONFIG_FSCK_MINIX is not set
449# CONFIG_MKFS_MINIX is not set
450CONFIG_GETOPT=y
451CONFIG_HEXDUMP=y
452CONFIG_HWCLOCK=y
453CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
454CONFIG_LOSETUP=y
455CONFIG_MKSWAP=y
456CONFIG_MORE=y
457CONFIG_FEATURE_USE_TERMIOS=y
458CONFIG_PIVOT_ROOT=y
459# CONFIG_RDATE is not set
460# CONFIG_SWAPONOFF is not set
461CONFIG_MOUNT=y
462CONFIG_NFSMOUNT=y
463CONFIG_UMOUNT=y
464CONFIG_FEATURE_MOUNT_FORCE=y
465
466#
467# Common options for mount/umount
468#
469CONFIG_FEATURE_MOUNT_LOOP=y
470# CONFIG_FEATURE_MTAB_SUPPORT is not set
471
472#
473# Debugging Options
474#
475# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/openzaurus/defconfig b/meta/packages/busybox/busybox-1.01/openzaurus/defconfig
new file mode 100644
index 0000000000..34a5804a4d
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/openzaurus/defconfig
@@ -0,0 +1,475 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
10CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12# CONFIG_FEATURE_VERBOSE_USAGE is not set
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15# CONFIG_FEATURE_DEVFS is not set
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18# CONFIG_FEATURE_SUID is not set
19# CONFIG_SELINUX is not set
20
21#
22# Build Options
23#
24# CONFIG_STATIC is not set
25CONFIG_LFS=y
26# USING_CROSS_COMPILER is not set
27EXTRA_CFLAGS_OPTIONS=""
28
29#
30# Installation Options
31#
32# CONFIG_INSTALL_NO_USR is not set
33PREFIX="./_install"
34
35#
36# Archival Utilities
37#
38CONFIG_AR=y
39# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
40CONFIG_BUNZIP2=y
41CONFIG_CPIO=y
42# CONFIG_DPKG is not set
43# CONFIG_DPKG_DEB is not set
44CONFIG_GUNZIP=y
45# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
46CONFIG_GZIP=y
47# CONFIG_RPM2CPIO is not set
48# CONFIG_RPM is not set
49CONFIG_TAR=y
50CONFIG_FEATURE_TAR_CREATE=y
51CONFIG_FEATURE_TAR_BZIP2=y
52CONFIG_FEATURE_TAR_FROM=y
53CONFIG_FEATURE_TAR_GZIP=y
54# CONFIG_FEATURE_TAR_COMPRESS is not set
55CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
56CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
57# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
58# CONFIG_UNCOMPRESS is not set
59# CONFIG_UNZIP is not set
60
61#
62# Common options for cpio and tar
63#
64# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
65
66#
67# Coreutils
68#
69CONFIG_BASENAME=y
70# CONFIG_CAL is not set
71CONFIG_CAT=y
72CONFIG_CHGRP=y
73CONFIG_CHMOD=y
74CONFIG_CHOWN=y
75CONFIG_CHROOT=y
76# CONFIG_CMP is not set
77CONFIG_CP=y
78CONFIG_CUT=y
79CONFIG_DATE=y
80
81#
82# date (forced enabled for use with watch)
83#
84# CONFIG_FEATURE_DATE_ISOFMT is not set
85CONFIG_DD=y
86CONFIG_DF=y
87CONFIG_DIRNAME=y
88# CONFIG_DOS2UNIX is not set
89CONFIG_DU=y
90CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
91CONFIG_ECHO=y
92CONFIG_FEATURE_FANCY_ECHO=y
93CONFIG_ENV=y
94CONFIG_EXPR=y
95CONFIG_FALSE=y
96# CONFIG_FOLD is not set
97CONFIG_HEAD=y
98# CONFIG_FEATURE_FANCY_HEAD is not set
99# CONFIG_HOSTID is not set
100CONFIG_ID=y
101# CONFIG_INSTALL is not set
102# CONFIG_LENGTH is not set
103CONFIG_LN=y
104CONFIG_LOGNAME=y
105CONFIG_LS=y
106CONFIG_FEATURE_LS_FILETYPES=y
107CONFIG_FEATURE_LS_FOLLOWLINKS=y
108# CONFIG_FEATURE_LS_RECURSIVE is not set
109CONFIG_FEATURE_LS_SORTFILES=y
110CONFIG_FEATURE_LS_TIMESTAMPS=y
111CONFIG_FEATURE_LS_USERNAME=y
112CONFIG_FEATURE_LS_COLOR=y
113CONFIG_MD5SUM=y
114CONFIG_MKDIR=y
115CONFIG_MKFIFO=y
116CONFIG_MKNOD=y
117CONFIG_MV=y
118CONFIG_OD=y
119CONFIG_PRINTF=y
120CONFIG_PWD=y
121# CONFIG_REALPATH is not set
122CONFIG_RM=y
123CONFIG_RMDIR=y
124CONFIG_SEQ=y
125# CONFIG_SHA1SUM is not set
126CONFIG_SLEEP=y
127# CONFIG_FEATURE_FANCY_SLEEP is not set
128CONFIG_SORT=y
129CONFIG_STTY=y
130CONFIG_SYNC=y
131CONFIG_TAIL=y
132CONFIG_FEATURE_FANCY_TAIL=y
133CONFIG_TEE=y
134# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
135CONFIG_TEST=y
136
137#
138# test (forced enabled for use with shell)
139#
140# CONFIG_FEATURE_TEST_64 is not set
141CONFIG_TOUCH=y
142CONFIG_TR=y
143CONFIG_TRUE=y
144CONFIG_TTY=y
145CONFIG_UNAME=y
146CONFIG_UNIQ=y
147# CONFIG_USLEEP is not set
148# CONFIG_UUDECODE is not set
149# CONFIG_UUENCODE is not set
150CONFIG_WATCH=y
151CONFIG_WC=y
152CONFIG_WHO=y
153CONFIG_WHOAMI=y
154CONFIG_YES=y
155
156#
157# Common options for cp and mv
158#
159# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
160
161#
162# Common options for ls and more
163#
164CONFIG_FEATURE_AUTOWIDTH=y
165
166#
167# Common options for df, du, ls
168#
169CONFIG_FEATURE_HUMAN_READABLE=y
170
171#
172# Common options for md5sum, sha1sum
173#
174# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
175
176#
177# Console Utilities
178#
179CONFIG_CHVT=y
180CONFIG_CLEAR=y
181CONFIG_DEALLOCVT=y
182# CONFIG_DUMPKMAP is not set
183CONFIG_GETKEY=y
184# CONFIG_LOADFONT is not set
185# CONFIG_LOADKMAP is not set
186CONFIG_OPENVT=y
187CONFIG_RESET=y
188# CONFIG_SETKEYCODES is not set
189
190#
191# Debian Utilities
192#
193CONFIG_MKTEMP=y
194# CONFIG_PIPE_PROGRESS is not set
195CONFIG_READLINK=y
196CONFIG_FEATURE_READLINK_FOLLOW=y
197CONFIG_RUN_PARTS=y
198CONFIG_START_STOP_DAEMON=y
199CONFIG_WHICH=y
200
201#
202# Editors
203#
204CONFIG_AWK=y
205CONFIG_FEATURE_AWK_MATH=y
206# CONFIG_PATCH is not set
207CONFIG_SED=y
208CONFIG_VI=y
209CONFIG_FEATURE_VI_COLON=y
210CONFIG_FEATURE_VI_YANKMARK=y
211CONFIG_FEATURE_VI_SEARCH=y
212CONFIG_FEATURE_VI_USE_SIGNALS=y
213# CONFIG_FEATURE_VI_DOT_CMD is not set
214# CONFIG_FEATURE_VI_READONLY is not set
215# CONFIG_FEATURE_VI_SETOPTS is not set
216# CONFIG_FEATURE_VI_SET is not set
217CONFIG_FEATURE_VI_WIN_RESIZE=y
218CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
219
220#
221# Finding Utilities
222#
223CONFIG_FIND=y
224CONFIG_FEATURE_FIND_MTIME=y
225CONFIG_FEATURE_FIND_PERM=y
226CONFIG_FEATURE_FIND_TYPE=y
227CONFIG_FEATURE_FIND_XDEV=y
228CONFIG_FEATURE_FIND_NEWER=y
229# CONFIG_FEATURE_FIND_INUM is not set
230CONFIG_GREP=y
231CONFIG_FEATURE_GREP_EGREP_ALIAS=y
232CONFIG_FEATURE_GREP_FGREP_ALIAS=y
233CONFIG_FEATURE_GREP_CONTEXT=y
234CONFIG_XARGS=y
235# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
236# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
237# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
238# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
239
240#
241# Init Utilities
242#
243# CONFIG_INIT is not set
244# CONFIG_HALT is not set
245# CONFIG_POWEROFF is not set
246# CONFIG_REBOOT is not set
247# CONFIG_MESG is not set
248
249#
250# Login/Password Management Utilities
251#
252# CONFIG_USE_BB_PWD_GRP is not set
253# CONFIG_ADDGROUP is not set
254# CONFIG_DELGROUP is not set
255# CONFIG_ADDUSER is not set
256# CONFIG_DELUSER is not set
257# CONFIG_GETTY is not set
258CONFIG_FEATURE_U_W_TMP=y
259# CONFIG_LOGIN is not set
260# CONFIG_PASSWD is not set
261# CONFIG_SU is not set
262# CONFIG_SULOGIN is not set
263# CONFIG_VLOCK is not set
264
265#
266# Miscellaneous Utilities
267#
268# CONFIG_ADJTIMEX is not set
269# CONFIG_CROND is not set
270# CONFIG_CRONTAB is not set
271CONFIG_DC=y
272# CONFIG_DEVFSD is not set
273# CONFIG_LAST is not set
274# CONFIG_HDPARM is not set
275# CONFIG_MAKEDEVS is not set
276# CONFIG_MT is not set
277# CONFIG_RX is not set
278CONFIG_STRINGS=y
279# CONFIG_TIME is not set
280# CONFIG_WATCHDOG is not set
281
282#
283# Linux Module Utilities
284#
285CONFIG_INSMOD=y
286CONFIG_FEATURE_2_4_MODULES=y
287CONFIG_FEATURE_2_6_MODULES=y
288# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
289CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS=y
290# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
291CONFIG_FEATURE_INSMOD_LOAD_MAP=y
292CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
293CONFIG_LSMOD=y
294CONFIG_MODPROBE=y
295CONFIG_RMMOD=y
296CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
297
298#
299# Networking Utilities
300#
301CONFIG_FEATURE_IPV6=y
302# CONFIG_ARPING is not set
303# CONFIG_FTPGET is not set
304# CONFIG_FTPPUT is not set
305CONFIG_HOSTNAME=y
306# CONFIG_HTTPD is not set
307CONFIG_IFCONFIG=y
308CONFIG_FEATURE_IFCONFIG_STATUS=y
309# CONFIG_FEATURE_IFCONFIG_SLIP is not set
310# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
311CONFIG_FEATURE_IFCONFIG_HW=y
312# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
313CONFIG_IFUPDOWN=y
314# CONFIG_FEATURE_IFUPDOWN_IP is not set
315CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
316CONFIG_FEATURE_IFUPDOWN_IPV4=y
317CONFIG_FEATURE_IFUPDOWN_IPV6=y
318# CONFIG_FEATURE_IFUPDOWN_IPX is not set
319CONFIG_FEATURE_IFUPDOWN_MAPPING=y
320# CONFIG_INETD is not set
321CONFIG_IP=y
322CONFIG_FEATURE_IP_ADDRESS=y
323CONFIG_FEATURE_IP_LINK=y
324CONFIG_FEATURE_IP_ROUTE=y
325CONFIG_FEATURE_IP_TUNNEL=y
326# CONFIG_IPCALC is not set
327# CONFIG_IPADDR is not set
328# CONFIG_IPLINK is not set
329# CONFIG_IPROUTE is not set
330# CONFIG_IPTUNNEL is not set
331# CONFIG_NAMEIF is not set
332CONFIG_NC=y
333CONFIG_NETSTAT=y
334CONFIG_NSLOOKUP=y
335CONFIG_PING=y
336CONFIG_FEATURE_FANCY_PING=y
337CONFIG_PING6=y
338CONFIG_FEATURE_FANCY_PING6=y
339CONFIG_ROUTE=y
340CONFIG_TELNET=y
341# CONFIG_FEATURE_TELNET_TTYPE is not set
342CONFIG_FEATURE_TELNET_AUTOLOGIN=y
343# CONFIG_TELNETD is not set
344CONFIG_TFTP=y
345CONFIG_FEATURE_TFTP_GET=y
346CONFIG_FEATURE_TFTP_PUT=y
347# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
348# CONFIG_FEATURE_TFTP_DEBUG is not set
349CONFIG_TRACEROUTE=y
350# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
351# CONFIG_VCONFIG is not set
352CONFIG_WGET=y
353CONFIG_FEATURE_WGET_STATUSBAR=y
354CONFIG_FEATURE_WGET_AUTHENTICATION=y
355CONFIG_FEATURE_WGET_IP6_LITERAL=y
356
357#
358# udhcp Server/Client
359#
360# CONFIG_UDHCPD is not set
361CONFIG_UDHCPC=y
362CONFIG_FEATURE_UDHCP_SYSLOG=y
363# CONFIG_FEATURE_UDHCP_DEBUG is not set
364
365#
366# Process Utilities
367#
368CONFIG_FREE=y
369CONFIG_KILL=y
370CONFIG_KILLALL=y
371# CONFIG_PIDOF is not set
372CONFIG_PS=y
373CONFIG_RENICE=y
374CONFIG_TOP=y
375FEATURE_CPU_USAGE_PERCENTAGE=y
376CONFIG_UPTIME=y
377# CONFIG_SYSCTL is not set
378
379#
380# Another Bourne-like Shell
381#
382CONFIG_FEATURE_SH_IS_ASH=y
383# CONFIG_FEATURE_SH_IS_HUSH is not set
384# CONFIG_FEATURE_SH_IS_LASH is not set
385# CONFIG_FEATURE_SH_IS_MSH is not set
386# CONFIG_FEATURE_SH_IS_NONE is not set
387CONFIG_ASH=y
388
389#
390# Ash Shell Options
391#
392CONFIG_ASH_JOB_CONTROL=y
393CONFIG_ASH_ALIAS=y
394CONFIG_ASH_MATH_SUPPORT=y
395# CONFIG_ASH_MATH_SUPPORT_64 is not set
396CONFIG_ASH_GETOPTS=y
397# CONFIG_ASH_CMDCMD is not set
398# CONFIG_ASH_MAIL is not set
399CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
400# CONFIG_ASH_RANDOM_SUPPORT is not set
401# CONFIG_HUSH is not set
402# CONFIG_LASH is not set
403# CONFIG_MSH is not set
404
405#
406# Bourne Shell Options
407#
408CONFIG_FEATURE_SH_EXTRA_QUIET=y
409# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
410CONFIG_FEATURE_COMMAND_EDITING=y
411CONFIG_FEATURE_COMMAND_HISTORY=63
412# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
413CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
414# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
415CONFIG_FEATURE_SH_FANCY_PROMPT=y
416
417#
418# System Logging Utilities
419#
420CONFIG_SYSLOGD=y
421# CONFIG_FEATURE_ROTATE_LOGFILE is not set
422CONFIG_FEATURE_REMOTE_LOG=y
423CONFIG_FEATURE_IPC_SYSLOG=y
424CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
425CONFIG_LOGREAD=y
426# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
427CONFIG_KLOGD=y
428CONFIG_LOGGER=y
429
430#
431# Linux System Utilities
432#
433CONFIG_DMESG=y
434CONFIG_FBSET=y
435CONFIG_FEATURE_FBSET_FANCY=y
436# CONFIG_FEATURE_FBSET_READMODE is not set
437# CONFIG_FDFLUSH is not set
438# CONFIG_FDFORMAT is not set
439CONFIG_FDISK=y
440FDISK_SUPPORT_LARGE_DISKS=y
441CONFIG_FEATURE_FDISK_WRITABLE=y
442# CONFIG_FEATURE_AIX_LABEL is not set
443# CONFIG_FEATURE_SGI_LABEL is not set
444# CONFIG_FEATURE_SUN_LABEL is not set
445# CONFIG_FEATURE_OSF_LABEL is not set
446# CONFIG_FEATURE_FDISK_ADVANCED is not set
447# CONFIG_FREERAMDISK is not set
448# CONFIG_FSCK_MINIX is not set
449# CONFIG_MKFS_MINIX is not set
450# CONFIG_GETOPT is not set
451CONFIG_HEXDUMP=y
452CONFIG_HWCLOCK=y
453CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
454CONFIG_LOSETUP=y
455CONFIG_MKSWAP=y
456CONFIG_MORE=y
457CONFIG_FEATURE_USE_TERMIOS=y
458CONFIG_PIVOT_ROOT=y
459# CONFIG_RDATE is not set
460CONFIG_SWAPONOFF=y
461CONFIG_MOUNT=y
462CONFIG_NFSMOUNT=y
463CONFIG_UMOUNT=y
464CONFIG_FEATURE_MOUNT_FORCE=y
465
466#
467# Common options for mount/umount
468#
469CONFIG_FEATURE_MOUNT_LOOP=y
470# CONFIG_FEATURE_MTAB_SUPPORT is not set
471
472#
473# Debugging Options
474#
475# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/readlink.patch b/meta/packages/busybox/busybox-1.01/readlink.patch
new file mode 100644
index 0000000000..0c5431085a
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/readlink.patch
@@ -0,0 +1,85 @@
1diff -p -u -r1.7 Config.in
2--- busybox-1.00/debianutils/Config.in 15 Mar 2004 08:28:24 -0000 1.7
3+++ busybox-1.00-patched/debianutils/Config.in 16 Nov 2004 11:46:41 -0000
4@@ -24,6 +24,13 @@ config CONFIG_READLINK
5 This program reads a symbolic link and returns the name
6 of the file it points to
7
8+config CONFIG_FEATURE_READLINK_FOLLOW
9+ bool " Enable canonicalization by following all symlinks (-f)"
10+ default n
11+ depends on CONFIG_READLINK
12+ help
13+ Enable the readlink option (-f).
14+
15 config CONFIG_RUN_PARTS
16 bool "run-parts"
17 default n
18diff -p -u -r1.2 readlink.c
19--- busybox-1.00/debianutils/readlink.c 19 Mar 2003 09:11:41 -0000 1.2
20+++ busybox-1.00-patched/debianutils/readlink.c 16 Nov 2004 11:46:41 -0000
21@@ -23,18 +23,38 @@
22 #include <errno.h>
23 #include <unistd.h>
24 #include <stdlib.h>
25+#include <getopt.h>
26 #include "busybox.h"
27
28+#ifdef CONFIG_FEATURE_READLINK_FOLLOW
29+# define READLINK_FOLLOW "f"
30+# define READLINK_FLAG_f (1 << 0)
31+#else
32+# define READLINK_FOLLOW ""
33+#endif
34+
35+static const char readlink_options[] = READLINK_FOLLOW;
36+
37 int readlink_main(int argc, char **argv)
38 {
39 char *buf = NULL;
40+ unsigned long opt = bb_getopt_ulflags(argc, argv, readlink_options);
41+#ifdef CONFIG_FEATURE_READLINK_FOLLOW
42+ RESERVE_CONFIG_BUFFER(resolved_path, PATH_MAX);
43+#endif
44
45 /* no options, no getopt */
46
47- if (argc != 2)
48+ if (optind + 1 != argc)
49 bb_show_usage();
50
51- buf = xreadlink(argv[1]);
52+#ifdef CONFIG_FEATURE_READLINK_FOLLOW
53+ if (opt & READLINK_FLAG_f) {
54+ buf = realpath(argv[optind], resolved_path);
55+ } else
56+#endif
57+ buf = xreadlink(argv[optind]);
58+
59 if (!buf)
60 return EXIT_FAILURE;
61 puts(buf);
62diff -p -u -r1.222 usage.h
63--- busybox-1.00/include/usage.h 14 Sep 2004 16:23:56 -0000 1.222
64+++ busybox-1.00-patched/include/usage.h 16 Nov 2004 11:46:42 -0000
65@@ -1985,10 +1985,18 @@
66 "\t-s\tSet the system date and time (default).\n" \
67 "\t-p\tPrint the date and time."
68
69+#ifdef CONFIG_FEATURE_READLINK_FOLLOW
70+#define USAGE_READLINK_FOLLOW(a) a
71+#else
72+#define USAGE_READLINK_FOLLOW(a)
73+#endif
74+
75 #define readlink_trivial_usage \
76- ""
77+ USAGE_READLINK_FOLLOW("[-f] ") "FILE"
78 #define readlink_full_usage \
79- "Displays the value of a symbolic link."
80+ "Displays the value of a symbolic link." \
81+ USAGE_READLINK_FOLLOW("\n\nOptions:\n" \
82+ "\t-f\tcanonicalize by following all symlinks")
83
84 #define realpath_trivial_usage \
85 "pathname ..."
diff --git a/meta/packages/busybox/busybox-1.01/rmmod.patch b/meta/packages/busybox/busybox-1.01/rmmod.patch
new file mode 100644
index 0000000000..5a557ef35d
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/rmmod.patch
@@ -0,0 +1,44 @@
1Index: modutils/rmmod.c
2===================================================================
3RCS file: /var/cvs/busybox/modutils/rmmod.c,v
4retrieving revision 1.31
5diff -u -r1.31 rmmod.c
6--- busybox/modutils/rmmod.c 20 Jul 2004 18:36:51 -0000 1.31
7+++ busybox/modutils/rmmod.c 10 Dec 2004 22:56:36 -0000
8@@ -28,6 +28,7 @@
9 #include <fcntl.h>
10 #include <string.h>
11 #include <sys/syscall.h>
12+#include <sys/utsname.h>
13 #include "busybox.h"
14
15 #ifdef CONFIG_FEATURE_2_6_MODULES
16@@ -63,6 +64,16 @@
17 void *buf; /* hold the module names which we ignore but must get */
18 size_t bufsize = 0;
19 #endif
20+#ifdef CONFIG_FEATURE_2_6_MODULES
21+ int k_version = 0;
22+ struct utsname myuname;
23+
24+ if (uname(&myuname) == 0) {
25+ if (myuname.release[0] == '2') {
26+ k_version = myuname.release[2] - '0';
27+ }
28+ }
29+#endif
30
31 /* Parse command line. */
32 while ((n = getopt(argc, argv, "a")) != EOF) {
33@@ -109,7 +120,10 @@
34 for (n = optind; n < argc; n++) {
35 #ifdef CONFIG_FEATURE_2_6_MODULES
36 char module_name[strlen(argv[n]) + 1];
37- filename2modname(module_name, argv[n]);
38+ if (k_version != 4)
39+ filename2modname(module_name, argv[n]);
40+ else
41+ strcpy(module_name, argv[n]);
42 #else
43 #define module_name argv[n]
44 #endif
diff --git a/meta/packages/busybox/busybox-1.01/slugos/defconfig b/meta/packages/busybox/busybox-1.01/slugos/defconfig
new file mode 100644
index 0000000000..55aa5f3b5e
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/slugos/defconfig
@@ -0,0 +1,444 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
10CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12CONFIG_FEATURE_VERBOSE_USAGE=y
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15# CONFIG_FEATURE_DEVFS is not set
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18CONFIG_FEATURE_SUID=y
19# CONFIG_FEATURE_SUID_CONFIG is not set
20# CONFIG_SELINUX is not set
21
22#
23# Build Options
24#
25# CONFIG_STATIC is not set
26CONFIG_LFS=y
27# USING_CROSS_COMPILER is not set
28EXTRA_CFLAGS_OPTIONS=""
29
30#
31# Installation Options
32#
33# CONFIG_INSTALL_NO_USR is not set
34PREFIX="./_install"
35
36#
37# Archival Utilities
38#
39CONFIG_AR=y
40# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
41CONFIG_BUNZIP2=y
42# CONFIG_CPIO is not set
43# CONFIG_DPKG is not set
44# CONFIG_DPKG_DEB is not set
45CONFIG_GUNZIP=y
46# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
47CONFIG_GZIP=y
48# CONFIG_RPM2CPIO is not set
49# CONFIG_RPM is not set
50CONFIG_TAR=y
51CONFIG_FEATURE_TAR_CREATE=y
52CONFIG_FEATURE_TAR_BZIP2=y
53CONFIG_FEATURE_TAR_FROM=y
54CONFIG_FEATURE_TAR_GZIP=y
55# CONFIG_FEATURE_TAR_COMPRESS is not set
56CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
57CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
58# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
59# CONFIG_UNCOMPRESS is not set
60CONFIG_UNZIP=y
61
62#
63# Common options for cpio and tar
64#
65# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
66
67#
68# Coreutils
69#
70CONFIG_BASENAME=y
71# CONFIG_CAL is not set
72CONFIG_CAT=y
73CONFIG_CHGRP=y
74CONFIG_CHMOD=y
75CONFIG_CHOWN=y
76CONFIG_CHROOT=y
77# CONFIG_CMP is not set
78CONFIG_CP=y
79CONFIG_CUT=y
80CONFIG_DATE=y
81
82#
83# date (forced enabled for use with watch)
84#
85# CONFIG_FEATURE_DATE_ISOFMT is not set
86CONFIG_DD=y
87CONFIG_DF=y
88CONFIG_DIRNAME=y
89# CONFIG_DOS2UNIX is not set
90CONFIG_DU=y
91CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
92CONFIG_ECHO=y
93CONFIG_FEATURE_FANCY_ECHO=y
94CONFIG_ENV=y
95CONFIG_EXPR=y
96CONFIG_FALSE=y
97# CONFIG_FOLD is not set
98CONFIG_HEAD=y
99CONFIG_FEATURE_FANCY_HEAD=y
100# CONFIG_HOSTID is not set
101CONFIG_ID=y
102# CONFIG_INSTALL is not set
103# CONFIG_LENGTH is not set
104CONFIG_LN=y
105CONFIG_LOGNAME=y
106CONFIG_LS=y
107CONFIG_FEATURE_LS_FILETYPES=y
108CONFIG_FEATURE_LS_FOLLOWLINKS=y
109CONFIG_FEATURE_LS_RECURSIVE=y
110CONFIG_FEATURE_LS_SORTFILES=y
111CONFIG_FEATURE_LS_TIMESTAMPS=y
112CONFIG_FEATURE_LS_USERNAME=y
113CONFIG_FEATURE_LS_COLOR=y
114CONFIG_MD5SUM=y
115CONFIG_MKDIR=y
116CONFIG_MKFIFO=y
117CONFIG_MKNOD=y
118CONFIG_MV=y
119CONFIG_OD=y
120CONFIG_PRINTF=y
121CONFIG_PWD=y
122# CONFIG_REALPATH is not set
123CONFIG_RM=y
124CONFIG_RMDIR=y
125CONFIG_SEQ=y
126# CONFIG_SHA1SUM is not set
127CONFIG_SLEEP=y
128# CONFIG_FEATURE_FANCY_SLEEP is not set
129CONFIG_SORT=y
130CONFIG_STTY=y
131CONFIG_SYNC=y
132CONFIG_TAIL=y
133CONFIG_FEATURE_FANCY_TAIL=y
134CONFIG_TEE=y
135# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
136CONFIG_TEST=y
137
138#
139# test (forced enabled for use with shell)
140#
141# CONFIG_FEATURE_TEST_64 is not set
142CONFIG_TOUCH=y
143CONFIG_TR=y
144CONFIG_TRUE=y
145CONFIG_TTY=y
146CONFIG_UNAME=y
147CONFIG_UNIQ=y
148# CONFIG_USLEEP is not set
149# CONFIG_UUDECODE is not set
150# CONFIG_UUENCODE is not set
151CONFIG_WATCH=y
152CONFIG_WC=y
153CONFIG_WHO=y
154CONFIG_WHOAMI=y
155CONFIG_YES=y
156
157#
158# Common options for cp and mv
159#
160# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
161
162#
163# Common options for ls and more
164#
165CONFIG_FEATURE_AUTOWIDTH=y
166
167#
168# Common options for df, du, ls
169#
170CONFIG_FEATURE_HUMAN_READABLE=y
171
172#
173# Common options for md5sum, sha1sum
174#
175# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
176
177#
178# Console Utilities
179#
180# CONFIG_CHVT is not set
181CONFIG_CLEAR=y
182# CONFIG_DEALLOCVT is not set
183# CONFIG_DUMPKMAP is not set
184CONFIG_GETKEY=y
185# CONFIG_LOADFONT is not set
186# CONFIG_LOADKMAP is not set
187# CONFIG_OPENVT is not set
188CONFIG_RESET=y
189# CONFIG_SETKEYCODES is not set
190
191#
192# Debian Utilities
193#
194CONFIG_MKTEMP=y
195# CONFIG_PIPE_PROGRESS is not set
196CONFIG_READLINK=y
197CONFIG_FEATURE_READLINK_FOLLOW=y
198CONFIG_RUN_PARTS=y
199CONFIG_START_STOP_DAEMON=y
200CONFIG_WHICH=y
201
202#
203# Editors
204#
205CONFIG_AWK=y
206CONFIG_FEATURE_AWK_MATH=y
207# CONFIG_PATCH is not set
208CONFIG_SED=y
209CONFIG_VI=y
210CONFIG_FEATURE_VI_COLON=y
211CONFIG_FEATURE_VI_YANKMARK=y
212CONFIG_FEATURE_VI_SEARCH=y
213CONFIG_FEATURE_VI_USE_SIGNALS=y
214CONFIG_FEATURE_VI_DOT_CMD=y
215CONFIG_FEATURE_VI_READONLY=y
216CONFIG_FEATURE_VI_SETOPTS=y
217CONFIG_FEATURE_VI_SET=y
218CONFIG_FEATURE_VI_WIN_RESIZE=y
219CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
220
221#
222# Finding Utilities
223#
224# CONFIG_FIND is not set
225CONFIG_GREP=y
226CONFIG_FEATURE_GREP_EGREP_ALIAS=y
227CONFIG_FEATURE_GREP_FGREP_ALIAS=y
228CONFIG_FEATURE_GREP_CONTEXT=y
229# CONFIG_XARGS is not set
230
231#
232# Init Utilities
233#
234# CONFIG_INIT is not set
235# CONFIG_HALT is not set
236# CONFIG_POWEROFF is not set
237# CONFIG_REBOOT is not set
238# CONFIG_MESG is not set
239
240#
241# Login/Password Management Utilities
242#
243# CONFIG_USE_BB_PWD_GRP is not set
244# CONFIG_ADDGROUP is not set
245# CONFIG_DELGROUP is not set
246# CONFIG_ADDUSER is not set
247# CONFIG_DELUSER is not set
248# CONFIG_GETTY is not set
249CONFIG_FEATURE_UTMP=y
250# CONFIG_LOGIN is not set
251# CONFIG_PASSWD is not set
252# CONFIG_SU is not set
253# CONFIG_SULOGIN is not set
254# CONFIG_VLOCK is not set
255
256#
257# Miscellaneous Utilities
258#
259# CONFIG_ADJTIMEX is not set
260# CONFIG_CROND is not set
261# CONFIG_CRONTAB is not set
262# CONFIG_DC is not set
263# CONFIG_DEVFSD is not set
264# CONFIG_LAST is not set
265# CONFIG_HDPARM is not set
266# CONFIG_MAKEDEVS is not set
267# CONFIG_MT is not set
268# CONFIG_RX is not set
269CONFIG_STRINGS=y
270CONFIG_TIME=y
271# CONFIG_WATCHDOG is not set
272
273#
274# Linux Module Utilities
275#
276# CONFIG_INSMOD is not set
277# CONFIG_LSMOD is not set
278# CONFIG_MODPROBE is not set
279# CONFIG_RMMOD is not set
280
281#
282# Networking Utilities
283#
284CONFIG_FEATURE_IPV6=y
285# CONFIG_ARPING is not set
286# CONFIG_FTPGET is not set
287# CONFIG_FTPPUT is not set
288CONFIG_HOSTNAME=y
289# CONFIG_HTTPD is not set
290CONFIG_IFCONFIG=y
291CONFIG_FEATURE_IFCONFIG_STATUS=y
292# CONFIG_FEATURE_IFCONFIG_SLIP is not set
293# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
294CONFIG_FEATURE_IFCONFIG_HW=y
295# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
296CONFIG_IFUPDOWN=y
297# CONFIG_FEATURE_IFUPDOWN_IP is not set
298CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
299CONFIG_FEATURE_IFUPDOWN_IPV4=y
300CONFIG_FEATURE_IFUPDOWN_IPV6=y
301# CONFIG_FEATURE_IFUPDOWN_IPX is not set
302# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
303# CONFIG_INETD is not set
304# CONFIG_IP is not set
305# CONFIG_IPCALC is not set
306# CONFIG_IPADDR is not set
307# CONFIG_IPLINK is not set
308# CONFIG_IPROUTE is not set
309# CONFIG_IPTUNNEL is not set
310# CONFIG_NAMEIF is not set
311CONFIG_NC=y
312CONFIG_NETSTAT=y
313CONFIG_NSLOOKUP=y
314CONFIG_PING=y
315CONFIG_FEATURE_FANCY_PING=y
316CONFIG_PING6=y
317CONFIG_FEATURE_FANCY_PING6=y
318CONFIG_ROUTE=y
319CONFIG_TELNET=y
320CONFIG_FEATURE_TELNET_TTYPE=y
321CONFIG_FEATURE_TELNET_AUTOLOGIN=y
322# CONFIG_TELNETD is not set
323CONFIG_TFTP=y
324CONFIG_FEATURE_TFTP_GET=y
325CONFIG_FEATURE_TFTP_PUT=y
326# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
327# CONFIG_FEATURE_TFTP_DEBUG is not set
328CONFIG_TRACEROUTE=y
329# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
330# CONFIG_VCONFIG is not set
331CONFIG_WGET=y
332CONFIG_FEATURE_WGET_STATUSBAR=y
333CONFIG_FEATURE_WGET_AUTHENTICATION=y
334CONFIG_FEATURE_WGET_IP6_LITERAL=y
335
336#
337# udhcp Server/Client
338#
339# CONFIG_UDHCPD is not set
340CONFIG_UDHCPC=y
341CONFIG_FEATURE_UDHCP_SYSLOG=y
342# CONFIG_FEATURE_UDHCP_DEBUG is not set
343
344#
345# Process Utilities
346#
347CONFIG_FREE=y
348CONFIG_KILL=y
349CONFIG_KILLALL=y
350CONFIG_PIDOF=y
351CONFIG_PS=y
352CONFIG_RENICE=y
353CONFIG_TOP=y
354FEATURE_CPU_USAGE_PERCENTAGE=y
355CONFIG_UPTIME=y
356CONFIG_SYSCTL=y
357
358#
359# Another Bourne-like Shell
360#
361CONFIG_FEATURE_SH_IS_ASH=y
362# CONFIG_FEATURE_SH_IS_HUSH is not set
363# CONFIG_FEATURE_SH_IS_LASH is not set
364# CONFIG_FEATURE_SH_IS_MSH is not set
365# CONFIG_FEATURE_SH_IS_NONE is not set
366CONFIG_ASH=y
367
368#
369# Ash Shell Options
370#
371CONFIG_ASH_JOB_CONTROL=y
372CONFIG_ASH_ALIAS=y
373CONFIG_ASH_MATH_SUPPORT=y
374# CONFIG_ASH_MATH_SUPPORT_64 is not set
375CONFIG_ASH_GETOPTS=y
376# CONFIG_ASH_CMDCMD is not set
377# CONFIG_ASH_MAIL is not set
378CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
379# CONFIG_ASH_RANDOM_SUPPORT is not set
380# CONFIG_HUSH is not set
381# CONFIG_LASH is not set
382# CONFIG_MSH is not set
383
384#
385# Bourne Shell Options
386#
387CONFIG_FEATURE_SH_EXTRA_QUIET=y
388# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
389CONFIG_FEATURE_COMMAND_EDITING=y
390CONFIG_FEATURE_COMMAND_HISTORY=63
391# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
392CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
393# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
394CONFIG_FEATURE_SH_FANCY_PROMPT=y
395
396#
397# System Logging Utilities
398#
399CONFIG_SYSLOGD=y
400# CONFIG_FEATURE_ROTATE_LOGFILE is not set
401CONFIG_FEATURE_REMOTE_LOG=y
402CONFIG_FEATURE_IPC_SYSLOG=y
403CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
404CONFIG_LOGREAD=y
405# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
406CONFIG_KLOGD=y
407CONFIG_LOGGER=y
408
409#
410# Linux System Utilities
411#
412CONFIG_DMESG=y
413# CONFIG_FBSET is not set
414# CONFIG_FDFLUSH is not set
415# CONFIG_FDFORMAT is not set
416CONFIG_FDISK=y
417FDISK_SUPPORT_LARGE_DISKS=y
418CONFIG_FEATURE_FDISK_WRITABLE=y
419# CONFIG_FEATURE_AIX_LABEL is not set
420# CONFIG_FEATURE_SGI_LABEL is not set
421# CONFIG_FEATURE_SUN_LABEL is not set
422CONFIG_FEATURE_OSF_LABEL=y
423# CONFIG_FEATURE_FDISK_ADVANCED is not set
424# CONFIG_FREERAMDISK is not set
425# CONFIG_FSCK_MINIX is not set
426# CONFIG_MKFS_MINIX is not set
427# CONFIG_GETOPT is not set
428CONFIG_HEXDUMP=y
429CONFIG_HWCLOCK=y
430CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
431# CONFIG_LOSETUP is not set
432CONFIG_MKSWAP=y
433CONFIG_MORE=y
434CONFIG_FEATURE_USE_TERMIOS=y
435CONFIG_PIVOT_ROOT=y
436# CONFIG_RDATE is not set
437# CONFIG_SWAPONOFF is not set
438# CONFIG_MOUNT is not set
439# CONFIG_UMOUNT is not set
440
441#
442# Debugging Options
443#
444# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/slugos/sysctl.conf b/meta/packages/busybox/busybox-1.01/slugos/sysctl.conf
new file mode 100644
index 0000000000..cfaa3c7f92
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/slugos/sysctl.conf
@@ -0,0 +1,32 @@
1#
2# /etc/sysctl.conf - Configuration file for setting system variables
3# See sysctl.conf (5) for information.
4#
5
6#kernel.domainname = example.com
7
8# This flag allows the machine to respond to broadcast pings.
9# Very useful on embedded machines
10net/ipv4/icmp_echo_ignore_broadcasts=0
11
12# Uncomment the following to stop low-level messages on console
13#kernel/printk = 4 4 1 7
14
15##############################################################3
16# Functions previously found in netbase
17#
18
19# Uncomment the next line to enable Spoof protection (reverse-path filter)
20#net/ipv4/conf/all/rp_filter=1
21
22# Uncomment the next line to enable TCP/IP SYN cookies
23#net/ipv4/tcp_syncookies=1
24
25# Uncomment the next line to enable packet forwarding for IPv4
26#net/ipv4/ip_forward=1
27
28# Uncomment the next line to enable packet forwarding for IPv6
29#net/ipv6/ip_forward=1
30
31# This sets the app to run on a hotplug event
32kernel/hotplug=/sbin/udevsend
diff --git a/meta/packages/busybox/busybox-1.01/slugos/udhcpscript.patch b/meta/packages/busybox/busybox-1.01/slugos/udhcpscript.patch
new file mode 100644
index 0000000000..277a22cddb
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/slugos/udhcpscript.patch
@@ -0,0 +1,162 @@
1diff -rup busybox-1.01/.pc/udhcpscript.patch/examples/udhcp/simple.script busybox-1.01/examples/udhcp/simple.script
2--- busybox-1.01/examples/udhcp/simple.script 1970-01-01 00:00:00.000000000 +0000
3+++ busybox-1.01/examples/udhcp/simple.script 1970-01-01 00:00:00.000000000 +0000
4@@ -1,40 +1,129 @@
5 #!/bin/sh
6+# slugos UDHCP client script
7+#
8+. /etc/default/functions
9+
10+echodns(){
11+ local dns
12+ if test $# -gt 0
13+ then
14+ for dns in "$@"
15+ do
16+ echo "nameserver $dns #dhcp:$interface"
17+ done
18+ fi
19+}
20
21-# udhcpc script edited by Tim Riker <Tim@Rikers.org>
22+# Output the correct contents for resolv.conf based on
23+# the current one and any new information
24+mkresolv() {
25+ local rmdomain
26+ rmdomain=
27+ # last search takes precedence, so a user
28+ # specified search in resolv.conf is retained
29+ test -n "$domain" && {
30+ echo "search $domain #dhcp"
31+ rmdomain='|search [^ ]* #dhcp'
32+ }
33+ # first nameserver takes precedence, use a user
34+ # specified nameserver in preference then the
35+ # new ones
36+ egrep -v '^(nameserver [^ ]* #dhcp:.*'"$rmdomain"')$' "$1"
37+ echodns $dns
38+ egrep '^nameserver [^ ]* #dhcp:.*$' "$1" | egrep -v :"$interface"'$'
39+}
40+
41+# checksum of a file (or stdin if -)
42+md5strm() {
43+ md5sum $1 2>/dev/null | sed -n 's/^\([0-9A-Za-z]*\).*$/\1/p'
44+}
45+
46+# update resolv.conf for $interface using $domain and $dns
47+updresolv() {
48+ local md5old md5new resolv
49+ md5old="$(md5strm /etc/resolv.conf)"
50+ resolv="$(mkresolv /etc/resolv.conf)"
51+ md5new="$(echo "$resolv" | md5strm -)"
52+ test "$md5old" != "$md5new" && echo "$resolv" >/etc/resolv.conf
53+}
54+
55+unroute() {
56+ # called to deconfig the interface
57+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null
58+ do
59+ :
60+ done
61+}
62+
63+bind() {
64+ local B N metric i olddomain resolv
65+ B=
66+ test -n "$broadcast" && B="broadcast $broadcast"
67+ N=
68+ test -n "$subnet" && N="netmask $subnet"
69+ ifconfig "$interface" "$ip" $B $N up
70+
71+ # If given router information delete the old information and
72+ # enter new stuff, routers get metrics incremented by 1
73+ # between each (this is somewhat arbitrary)
74+ if test -n "$router"
75+ then
76+ unroute
77+ metric=0
78+ for i in $router
79+ do
80+ route add default gw "$i" dev "$interface" metric $((metric++))
81+ done
82+ fi
83
84-[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
85+ olddomain=
86+ test -r /etc/defaultdomain && olddomain="$(cat /etc/defaultdomain)"
87+ if test -n "$domain" -a "$domain" != "$olddomain"
88+ then
89+ echo "$domain" >/etc/defaultdomain
90+ # and update the kernel view too
91+ echo "$domain" >/proc/sys/kernel/domainname
92+ fi
93
94-RESOLV_CONF="/etc/resolv.conf"
95-[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
96-[ -n "$subnet" ] && NETMASK="netmask $subnet"
97+ updresolv
98+}
99
100 case "$1" in
101- deconfig)
102- /sbin/ifconfig $interface 0.0.0.0
103- ;;
104-
105- renew|bound)
106- /sbin/ifconfig $interface $ip $BROADCAST $NETMASK
107-
108- if [ -n "$router" ] ; then
109- echo "deleting routers"
110- while route del default gw 0.0.0.0 dev $interface ; do
111- :
112- done
113-
114- metric=0
115- for i in $router ; do
116- route add default gw $i dev $interface metric $((metric++))
117- done
118+deconfig)
119+ # Bring the interface up (without inet at this point)
120+ # Remove the resolver information because deconfig is called
121+ # on leasefail and we need to remove this interface at that
122+ # point to ensure the machine remains visible on another
123+ # interface!
124+ domain=
125+ dns=
126+ unroute
127+ updresolv
128+ ifconfig "$interface" up;;
129+
130+renew|bound)
131+ bind;;
132+
133+leasefail)
134+ # Pull the values from the config data if (only only if) this
135+ # is the config interface
136+ if test "$interface" = "$(config iface)"
137+ then
138+ ip="$(config ip)"
139+ if test -n "$ip"
140+ then
141+ router="$(config gateway)"
142+ subnet="$(config netmask)"
143+ broadcast="$(config broadcast)"
144+ domain="$(config domain)"
145+ dns="$(config dns)"
146+
147+ bind
148 fi
149+ fi;;
150
151- echo -n > $RESOLV_CONF
152- [ -n "$domain" ] && echo search $domain >> $RESOLV_CONF
153- for i in $dns ; do
154- echo adding dns $i
155- echo nameserver $i >> $RESOLV_CONF
156- done
157- ;;
158+*) echo "udhcpc: $*: unknown command" >&2
159+ exit 1;;
160 esac
161
162 exit 0
diff --git a/meta/packages/busybox/busybox-1.01/sparc/defconfig b/meta/packages/busybox/busybox-1.01/sparc/defconfig
new file mode 100644
index 0000000000..8b8cbfc839
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/sparc/defconfig
@@ -0,0 +1,467 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
10# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12# CONFIG_FEATURE_VERBOSE_USAGE is not set
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15CONFIG_FEATURE_DEVFS=y
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18# CONFIG_FEATURE_SUID is not set
19# CONFIG_SELINUX is not set
20
21#
22# Build Options
23#
24# CONFIG_STATIC is not set
25# CONFIG_LFS is not set
26# USING_CROSS_COMPILER is not set
27EXTRA_CFLAGS_OPTIONS=""
28
29#
30# Installation Options
31#
32# CONFIG_INSTALL_NO_USR is not set
33PREFIX="./_install"
34
35#
36# Archival Utilities
37#
38CONFIG_AR=y
39# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
40CONFIG_BUNZIP2=y
41CONFIG_CPIO=y
42# CONFIG_DPKG is not set
43# CONFIG_DPKG_DEB is not set
44CONFIG_GUNZIP=y
45# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
46CONFIG_GZIP=y
47# CONFIG_RPM2CPIO is not set
48# CONFIG_RPM is not set
49CONFIG_TAR=y
50CONFIG_FEATURE_TAR_CREATE=y
51CONFIG_FEATURE_TAR_BZIP2=y
52CONFIG_FEATURE_TAR_FROM=y
53CONFIG_FEATURE_TAR_GZIP=y
54# CONFIG_FEATURE_TAR_COMPRESS is not set
55CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
56CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
57# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
58# CONFIG_UNCOMPRESS is not set
59CONFIG_UNZIP=y
60
61#
62# Common options for cpio and tar
63#
64# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
65
66#
67# Coreutils
68#
69CONFIG_BASENAME=y
70# CONFIG_CAL is not set
71CONFIG_CAT=y
72CONFIG_CHGRP=y
73CONFIG_CHMOD=y
74CONFIG_CHOWN=y
75CONFIG_CHROOT=y
76# CONFIG_CMP is not set
77CONFIG_CP=y
78CONFIG_CUT=y
79CONFIG_DATE=y
80
81#
82# date (forced enabled for use with watch)
83#
84# CONFIG_FEATURE_DATE_ISOFMT is not set
85CONFIG_DD=y
86CONFIG_DF=y
87CONFIG_DIRNAME=y
88# CONFIG_DOS2UNIX is not set
89CONFIG_DU=y
90CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
91CONFIG_ECHO=y
92CONFIG_FEATURE_FANCY_ECHO=y
93CONFIG_ENV=y
94CONFIG_EXPR=y
95CONFIG_FALSE=y
96# CONFIG_FOLD is not set
97CONFIG_HEAD=y
98# CONFIG_FEATURE_FANCY_HEAD is not set
99# CONFIG_HOSTID is not set
100CONFIG_ID=y
101# CONFIG_INSTALL is not set
102# CONFIG_LENGTH is not set
103CONFIG_LN=y
104CONFIG_LOGNAME=y
105CONFIG_LS=y
106CONFIG_FEATURE_LS_FILETYPES=y
107CONFIG_FEATURE_LS_FOLLOWLINKS=y
108# CONFIG_FEATURE_LS_RECURSIVE is not set
109CONFIG_FEATURE_LS_SORTFILES=y
110CONFIG_FEATURE_LS_TIMESTAMPS=y
111CONFIG_FEATURE_LS_USERNAME=y
112CONFIG_FEATURE_LS_COLOR=y
113CONFIG_MD5SUM=y
114CONFIG_MKDIR=y
115CONFIG_MKFIFO=y
116CONFIG_MKNOD=y
117CONFIG_MV=y
118CONFIG_OD=y
119CONFIG_PRINTF=y
120CONFIG_PWD=y
121# CONFIG_REALPATH is not set
122CONFIG_RM=y
123CONFIG_RMDIR=y
124CONFIG_SEQ=y
125# CONFIG_SHA1SUM is not set
126CONFIG_SLEEP=y
127# CONFIG_FEATURE_FANCY_SLEEP is not set
128CONFIG_SORT=y
129CONFIG_STTY=y
130CONFIG_SYNC=y
131CONFIG_TAIL=y
132CONFIG_FEATURE_FANCY_TAIL=y
133CONFIG_TEE=y
134# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
135CONFIG_TEST=y
136
137#
138# test (forced enabled for use with shell)
139#
140# CONFIG_FEATURE_TEST_64 is not set
141CONFIG_TOUCH=y
142CONFIG_TR=y
143CONFIG_TRUE=y
144CONFIG_TTY=y
145CONFIG_UNAME=y
146CONFIG_UNIQ=y
147# CONFIG_USLEEP is not set
148# CONFIG_UUDECODE is not set
149# CONFIG_UUENCODE is not set
150CONFIG_WATCH=y
151CONFIG_WC=y
152CONFIG_WHO=y
153CONFIG_WHOAMI=y
154CONFIG_YES=y
155
156#
157# Common options for cp and mv
158#
159# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
160
161#
162# Common options for ls and more
163#
164CONFIG_FEATURE_AUTOWIDTH=y
165
166#
167# Common options for df, du, ls
168#
169CONFIG_FEATURE_HUMAN_READABLE=y
170
171#
172# Common options for md5sum, sha1sum
173#
174# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
175
176#
177# Console Utilities
178#
179CONFIG_CHVT=y
180CONFIG_CLEAR=y
181CONFIG_DEALLOCVT=y
182CONFIG_DUMPKMAP=y
183CONFIG_GETKEY=y
184CONFIG_LOADFONT=y
185CONFIG_LOADKMAP=y
186CONFIG_OPENVT=y
187CONFIG_RESET=y
188# CONFIG_SETKEYCODES is not set
189
190#
191# Debian Utilities
192#
193CONFIG_MKTEMP=y
194# CONFIG_PIPE_PROGRESS is not set
195CONFIG_READLINK=y
196CONFIG_RUN_PARTS=y
197CONFIG_START_STOP_DAEMON=y
198CONFIG_WHICH=y
199
200#
201# Editors
202#
203CONFIG_AWK=y
204CONFIG_FEATURE_AWK_MATH=y
205# CONFIG_PATCH is not set
206CONFIG_SED=y
207CONFIG_VI=y
208CONFIG_FEATURE_VI_COLON=y
209CONFIG_FEATURE_VI_YANKMARK=y
210CONFIG_FEATURE_VI_SEARCH=y
211CONFIG_FEATURE_VI_USE_SIGNALS=y
212# CONFIG_FEATURE_VI_DOT_CMD is not set
213# CONFIG_FEATURE_VI_READONLY is not set
214# CONFIG_FEATURE_VI_SETOPTS is not set
215# CONFIG_FEATURE_VI_SET is not set
216CONFIG_FEATURE_VI_WIN_RESIZE=y
217CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
218
219#
220# Finding Utilities
221#
222CONFIG_FIND=y
223CONFIG_FEATURE_FIND_MTIME=y
224CONFIG_FEATURE_FIND_PERM=y
225CONFIG_FEATURE_FIND_TYPE=y
226CONFIG_FEATURE_FIND_XDEV=y
227CONFIG_FEATURE_FIND_NEWER=y
228# CONFIG_FEATURE_FIND_INUM is not set
229CONFIG_GREP=y
230CONFIG_FEATURE_GREP_EGREP_ALIAS=y
231CONFIG_FEATURE_GREP_FGREP_ALIAS=y
232CONFIG_FEATURE_GREP_CONTEXT=y
233CONFIG_XARGS=y
234# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
235# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
236# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
237# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
238
239#
240# Init Utilities
241#
242# CONFIG_INIT is not set
243# CONFIG_HALT is not set
244# CONFIG_POWEROFF is not set
245# CONFIG_REBOOT is not set
246# CONFIG_MESG is not set
247
248#
249# Login/Password Management Utilities
250#
251# CONFIG_USE_BB_PWD_GRP is not set
252# CONFIG_ADDGROUP is not set
253# CONFIG_DELGROUP is not set
254# CONFIG_ADDUSER is not set
255# CONFIG_DELUSER is not set
256# CONFIG_GETTY is not set
257CONFIG_FEATURE_U_W_TMP=y
258# CONFIG_LOGIN is not set
259# CONFIG_PASSWD is not set
260# CONFIG_SU is not set
261# CONFIG_SULOGIN is not set
262# CONFIG_VLOCK is not set
263
264#
265# Miscellaneous Utilities
266#
267# CONFIG_ADJTIMEX is not set
268# CONFIG_CROND is not set
269# CONFIG_CRONTAB is not set
270CONFIG_DC=y
271# CONFIG_DEVFSD is not set
272# CONFIG_LAST is not set
273# CONFIG_HDPARM is not set
274CONFIG_MAKEDEVS=y
275# CONFIG_MT is not set
276# CONFIG_RX is not set
277CONFIG_STRINGS=y
278# CONFIG_TIME is not set
279# CONFIG_WATCHDOG is not set
280
281#
282# Linux Module Utilities
283#
284# CONFIG_INSMOD is not set
285# CONFIG_LSMOD is not set
286# CONFIG_MODPROBE is not set
287# CONFIG_RMMOD is not set
288
289#
290# Networking Utilities
291#
292CONFIG_FEATURE_IPV6=y
293# CONFIG_ARPING is not set
294# CONFIG_FTPGET is not set
295# CONFIG_FTPPUT is not set
296CONFIG_HOSTNAME=y
297# CONFIG_HTTPD is not set
298CONFIG_IFCONFIG=y
299CONFIG_FEATURE_IFCONFIG_STATUS=y
300# CONFIG_FEATURE_IFCONFIG_SLIP is not set
301# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
302CONFIG_FEATURE_IFCONFIG_HW=y
303# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
304CONFIG_IFUPDOWN=y
305# CONFIG_FEATURE_IFUPDOWN_IP is not set
306CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
307CONFIG_FEATURE_IFUPDOWN_IPV4=y
308CONFIG_FEATURE_IFUPDOWN_IPV6=y
309# CONFIG_FEATURE_IFUPDOWN_IPX is not set
310# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
311# CONFIG_INETD is not set
312CONFIG_IP=y
313CONFIG_FEATURE_IP_ADDRESS=y
314CONFIG_FEATURE_IP_LINK=y
315CONFIG_FEATURE_IP_ROUTE=y
316CONFIG_FEATURE_IP_TUNNEL=y
317# CONFIG_IPCALC is not set
318# CONFIG_IPADDR is not set
319# CONFIG_IPLINK is not set
320# CONFIG_IPROUTE is not set
321# CONFIG_IPTUNNEL is not set
322# CONFIG_NAMEIF is not set
323CONFIG_NC=y
324CONFIG_NETSTAT=y
325CONFIG_NSLOOKUP=y
326CONFIG_PING=y
327CONFIG_FEATURE_FANCY_PING=y
328CONFIG_PING6=y
329CONFIG_FEATURE_FANCY_PING6=y
330CONFIG_ROUTE=y
331CONFIG_TELNET=y
332# CONFIG_FEATURE_TELNET_TTYPE is not set
333CONFIG_FEATURE_TELNET_AUTOLOGIN=y
334# CONFIG_TELNETD is not set
335# CONFIG_TFTP is not set
336CONFIG_TRACEROUTE=y
337# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
338# CONFIG_VCONFIG is not set
339CONFIG_WGET=y
340CONFIG_FEATURE_WGET_STATUSBAR=y
341CONFIG_FEATURE_WGET_AUTHENTICATION=y
342CONFIG_FEATURE_WGET_IP6_LITERAL=y
343
344#
345# udhcp Server/Client
346#
347# CONFIG_UDHCPD is not set
348CONFIG_UDHCPC=y
349CONFIG_FEATURE_UDHCP_SYSLOG=y
350# CONFIG_FEATURE_UDHCP_DEBUG is not set
351
352#
353# Process Utilities
354#
355CONFIG_FREE=y
356CONFIG_KILL=y
357CONFIG_KILLALL=y
358CONFIG_PIDOF=y
359CONFIG_PS=y
360CONFIG_RENICE=y
361CONFIG_TOP=y
362FEATURE_CPU_USAGE_PERCENTAGE=y
363CONFIG_UPTIME=y
364# CONFIG_SYSCTL is not set
365
366#
367# Another Bourne-like Shell
368#
369CONFIG_FEATURE_SH_IS_ASH=y
370# CONFIG_FEATURE_SH_IS_HUSH is not set
371# CONFIG_FEATURE_SH_IS_LASH is not set
372# CONFIG_FEATURE_SH_IS_MSH is not set
373# CONFIG_FEATURE_SH_IS_NONE is not set
374CONFIG_ASH=y
375
376#
377# Ash Shell Options
378#
379CONFIG_ASH_JOB_CONTROL=y
380CONFIG_ASH_ALIAS=y
381CONFIG_ASH_MATH_SUPPORT=y
382# CONFIG_ASH_MATH_SUPPORT_64 is not set
383CONFIG_ASH_GETOPTS=y
384# CONFIG_ASH_CMDCMD is not set
385# CONFIG_ASH_MAIL is not set
386CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
387# CONFIG_ASH_RANDOM_SUPPORT is not set
388# CONFIG_HUSH is not set
389# CONFIG_LASH is not set
390# CONFIG_MSH is not set
391
392#
393# Bourne Shell Options
394#
395CONFIG_FEATURE_SH_EXTRA_QUIET=y
396# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
397CONFIG_FEATURE_COMMAND_EDITING=y
398CONFIG_FEATURE_COMMAND_HISTORY=63
399# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
400CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
401# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
402CONFIG_FEATURE_SH_FANCY_PROMPT=y
403
404#
405# System Logging Utilities
406#
407CONFIG_SYSLOGD=y
408# CONFIG_FEATURE_ROTATE_LOGFILE is not set
409CONFIG_FEATURE_REMOTE_LOG=y
410CONFIG_FEATURE_IPC_SYSLOG=y
411CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
412CONFIG_LOGREAD=y
413# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
414CONFIG_KLOGD=y
415CONFIG_LOGGER=y
416
417#
418# Linux System Utilities
419#
420CONFIG_DMESG=y
421CONFIG_FBSET=y
422CONFIG_FEATURE_FBSET_FANCY=y
423# CONFIG_FEATURE_FBSET_READMODE is not set
424# CONFIG_FDFLUSH is not set
425# CONFIG_FDFORMAT is not set
426CONFIG_FDISK=y
427FDISK_SUPPORT_LARGE_DISKS=y
428CONFIG_FEATURE_FDISK_WRITABLE=y
429# CONFIG_FEATURE_AIX_LABEL is not set
430# CONFIG_FEATURE_SGI_LABEL is not set
431# CONFIG_FEATURE_SUN_LABEL is not set
432# CONFIG_FEATURE_OSF_LABEL is not set
433# CONFIG_FEATURE_FDISK_ADVANCED is not set
434# CONFIG_FREERAMDISK is not set
435CONFIG_FSCK_MINIX=y
436CONFIG_MKFS_MINIX=y
437
438#
439# Minix filesystem support
440#
441CONFIG_FEATURE_MINIX2=y
442# CONFIG_GETOPT is not set
443CONFIG_HEXDUMP=y
444CONFIG_HWCLOCK=y
445CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
446# CONFIG_LOSETUP is not set
447CONFIG_MKSWAP=y
448CONFIG_MORE=y
449CONFIG_FEATURE_USE_TERMIOS=y
450CONFIG_PIVOT_ROOT=y
451# CONFIG_RDATE is not set
452CONFIG_SWAPONOFF=y
453CONFIG_MOUNT=y
454CONFIG_NFSMOUNT=y
455CONFIG_UMOUNT=y
456CONFIG_FEATURE_MOUNT_FORCE=y
457
458#
459# Common options for mount/umount
460#
461# CONFIG_FEATURE_MOUNT_LOOP is not set
462# CONFIG_FEATURE_MTAB_SUPPORT is not set
463
464#
465# Debugging Options
466#
467# CONFIG_DEBUG is not set
diff --git a/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch b/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
new file mode 100644
index 0000000000..dc3eb7c552
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
@@ -0,0 +1,11 @@
1--- busybox-1.01/util-linux/fdisk.c 1970-01-01 00:00:00.000000000 +0000
2+++ busybox-1.01/util-linux/fdisk.c 1970-01-01 00:00:00.000000000 +0000
3@@ -507,7 +507,7 @@ check_aix_label( void )
4
5 #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
6
7-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
8+#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__thumb__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
9 #define BSD_LABELSECTOR 1
10 #define BSD_LABELOFFSET 0
11 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
diff --git a/meta/packages/busybox/busybox-1.01/uclibc_posix.patch b/meta/packages/busybox/busybox-1.01/uclibc_posix.patch
new file mode 100644
index 0000000000..aefb994068
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/uclibc_posix.patch
@@ -0,0 +1,20 @@
1see http://www.busybox.net/lists/busybox/2004-December/013276.html
2
3--- busybox-old/libbb/loop.c 2004-08-16 04:36:28.000000000 -0400
4+++ busybox/libbb/loop.c 2004-12-04 23:45:58.000000000 -0500
5@@ -19,6 +19,7 @@
6 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
7 */
8
9+#include <asm/posix_types.h>
10 #include <stdio.h>
11 #include <errno.h>
12 #include <fcntl.h>
13@@ -30,7 +31,6 @@
14 /* Grumble... The 2.6.x kernel breaks asm/posix_types.h
15 * so we get to try and cope as best we can... */
16 #include <linux/version.h>
17-#include <asm/posix_types.h>
18
19 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
20 #define __bb_kernel_dev_t __kernel_old_dev_t
diff --git a/meta/packages/busybox/busybox-1.01/udhcppidfile-breakage.patch b/meta/packages/busybox/busybox-1.01/udhcppidfile-breakage.patch
new file mode 100644
index 0000000000..031274908b
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/udhcppidfile-breakage.patch
@@ -0,0 +1,57 @@
1--- busybox-1.00/networking/udhcp/common.c~udhcppidfile2
2+++ busybox-1.00/networking/udhcp/common.c
3@@ -74,7 +74,7 @@
4
5 if (pid > 0) {
6 /* parent */
7- if (pidfile_reassign(pidfile, pid) < 0) {
8+ if (pidfile != NULL && pidfile_reassign(pidfile, pid) < 0) {
9 (void)kill(pid, SIGKILL);
10 exit(1);
11 } else
12@@ -119,7 +119,7 @@
13 sanitize_fds();
14
15 /* do some other misc startup stuff while we are here to save bytes */
16- if (pidfile_acquire(pidfile) < 0)
17+ if (pidfile != NULL && pidfile_acquire(pidfile) < 0)
18 exit(1);
19
20 /* equivelent of doing a fflush after every \n */
21@@ -166,7 +166,7 @@
22 sanitize_fds();
23
24 /* do some other misc startup stuff while we are here to save bytes */
25- if (pidfile_acquire(pidfile) < 0)
26+ if (pidfile != NULL && pidfile_acquire(pidfile) < 0)
27 exit(1);
28
29 /* equivelent of doing a fflush after every \n */
30--- busybox-1.00/networking/udhcp/pidfile.c~udhcppidfile2
31+++ busybox-1.00/networking/udhcp/pidfile.c
32@@ -141,7 +141,11 @@
33 int pidfile_acquire(const char *pidfile)
34 {
35 int fd, result;
36- if (!pidfile) return (-1);
37+
38+ if (pidfile == NULL) {
39+ LOG(LOG_ERR, "pidfile_acquire: filename is NULL\n");
40+ return (-1);
41+ }
42
43 if ((fd = pidfile_open(pidfile)) < 0)
44 return (-1);
45@@ -170,7 +174,11 @@
46 int pidfile_reassign(const char *pidfile, int pid)
47 {
48 int fd, result;
49- if (!pidfile) return (-1);
50+
51+ if (pidfile == NULL) {
52+ LOG(LOG_ERR, "pidfile_reassign: filename is NULL\n");
53+ return (-1);
54+ }
55
56 if ((fd = pidfile_open(pidfile)) < 0)
57 return (-1);
diff --git a/meta/packages/busybox/busybox-1.01/udhcppidfile.patch b/meta/packages/busybox/busybox-1.01/udhcppidfile.patch
new file mode 100644
index 0000000000..fb2b2ec19a
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/udhcppidfile.patch
@@ -0,0 +1,276 @@
1--- busybox-1.00/networking/udhcp/pidfile.h-dist 2004-04-15 03:51:26.000000000 +1000
2+++ busybox-1.00/networking/udhcp/pidfile.h 2004-10-27 15:46:38.000000000 +1000
3@@ -21,5 +21,5 @@
4
5
6 int pidfile_acquire(const char *pidfile);
7-void pidfile_write_release(int pid_fd);
8+int pidfile_reassign(const char *pidfile, int newpid);
9
10--- busybox-1.00/networking/udhcp/pidfile.c-dist 2004-04-15 03:51:25.000000000 +1000
11+++ busybox-1.00/networking/udhcp/pidfile.c 2004-10-27 19:43:40.000000000 +1000
12@@ -25,6 +25,7 @@
13 #include <unistd.h>
14 #include <stdio.h>
15 #include <stdlib.h>
16+#include <errno.h>
17
18 #include "pidfile.h"
19 #include "common.h"
20@@ -37,39 +38,146 @@
21 }
22
23
24-int pidfile_acquire(const char *pidfile)
25+static int pidfile_open(const char *pidfile)
26 {
27- int pid_fd;
28- if (!pidfile) return -1;
29+ int fd;
30
31- pid_fd = open(pidfile, O_CREAT | O_WRONLY, 0644);
32- if (pid_fd < 0) {
33- LOG(LOG_ERR, "Unable to open pidfile %s: %m\n", pidfile);
34- } else {
35- lockf(pid_fd, F_LOCK, 0);
36- if (!saved_pidfile)
37- atexit(pidfile_delete);
38- saved_pidfile = (char *) pidfile;
39+ if ((fd = open(pidfile, O_CREAT | O_RDWR, 0644)) < 0) {
40+ LOG(LOG_ERR, "pidfile_open: open %s failed: %m\n", pidfile);
41+ return (-1);
42+ }
43+
44+ /* NOTE: lockf is not inherited by child after fork */
45+ if (lockf(fd, F_LOCK, 0) < 0) {
46+ LOG(LOG_ERR, "pidfile_open: lock %s failed: %m\n", pidfile);
47+ close(fd);
48+ return (-1);
49+ }
50+
51+ return (fd);
52+}
53+
54+
55+static int pidfile_check(int fd, const char *pidfile)
56+{
57+ int len, pid;
58+ char buf[20];
59+
60+ if (lseek(fd, 0L, SEEK_SET) < 0) {
61+ LOG(LOG_ERR, "pidfile_check: lseek %s failed: %m\n", pidfile);
62+ return (-1);
63+ }
64+
65+ if ((len = read(fd, buf, sizeof buf - 1)) < 0) {
66+ LOG(LOG_ERR, "pidfile_check: read %s failed: %m\n", pidfile);
67+ return (-1);
68+ }
69+
70+ if (len == 0)
71+ return (0);
72+
73+ buf[len] = '\0';
74+
75+ if ((pid = atoi(buf)) <= 1) {
76+ LOG(LOG_WARNING,
77+ "pidfile_check: ignoring bogus pid (%s) in %s\n",
78+ buf, pidfile);
79+ return (0);
80+ }
81+
82+ if (kill((pid_t)pid, 0) == 0) {
83+ LOG(LOG_ERR, "pidfile_check: process %d exists (%s)\n",
84+ pid, pidfile);
85+ return (-1);
86+ }
87+
88+ if (errno != ESRCH) {
89+ LOG(LOG_ERR, "pidfile_check: kill %d failed (%s): %m\n",
90+ pid, pidfile);
91+ return (-1);
92+ }
93+
94+ return (0);
95+}
96+
97+
98+static int pidfile_store(int fd, const char *pidfile, int pid)
99+{
100+ int len;
101+ char buf[20];
102+
103+ if (lseek(fd, 0L, SEEK_SET) < 0) {
104+ LOG(LOG_ERR, "pidfile_store: lseek %s failed: %m\n", pidfile);
105+ return (-1);
106+ }
107+
108+ len = snprintf(buf, sizeof buf - 1, "%d\n", pid);
109+ buf[len] = '\0';
110+
111+ if (write(fd, buf, len) < 0) {
112+ LOG(LOG_ERR, "pidfile_store: write %s failed: %m\n",
113+ pidfile);
114+ return (-1);
115+ }
116+
117+ if (ftruncate(fd, len) < 0) {
118+ LOG(LOG_ERR, "pidfile_store: ftruncate %d failed (%s): %m\n",
119+ len, pidfile);
120+ return (-1);
121 }
122
123- return pid_fd;
124+ return (0);
125 }
126
127
128-void pidfile_write_release(int pid_fd)
129+static void pidfile_close(int fd)
130 {
131- FILE *out;
132+ (void)lseek(fd, 0L, SEEK_SET);
133+ (void)lockf(fd, F_ULOCK, 0);
134+ (void)close(fd);
135+}
136
137- if (pid_fd < 0) return;
138
139- if ((out = fdopen(pid_fd, "w")) != NULL) {
140- fprintf(out, "%d\n", getpid());
141- fclose(out);
142+int pidfile_acquire(const char *pidfile)
143+{
144+ int fd, result;
145+ if (!pidfile) return (-1);
146+
147+ if ((fd = pidfile_open(pidfile)) < 0)
148+ return (-1);
149+
150+ if ((result = pidfile_check(fd, pidfile)) == 0)
151+ result = pidfile_store(fd, pidfile, getpid());
152+
153+ pidfile_close(fd);
154+
155+ if (result == 0) {
156+ saved_pidfile = (char *) pidfile;
157+ atexit(pidfile_delete);
158 }
159- lockf(pid_fd, F_UNLCK, 0);
160- close(pid_fd);
161+
162+ return (result);
163 }
164
165
166+/*
167+ * reassign the pid in a pidfile - used just after a fork so a parent
168+ * can store the pid of its child into the file without any window
169+ * where the pid in the file is a dead process (which might let another
170+ * instance of the program start). Note the parent must use _exit() to
171+ * avoid triggering the unlink scheduled above in pidfile_acquire()
172+ */
173+int pidfile_reassign(const char *pidfile, int pid)
174+{
175+ int fd, result;
176+ if (!pidfile) return (-1);
177+
178+ if ((fd = pidfile_open(pidfile)) < 0)
179+ return (-1);
180
181+ result = pidfile_store(fd, pidfile, pid);
182
183+ pidfile_close(fd);
184+
185+ return (result);
186+}
187--- busybox-1.00/networking/udhcp/common.c-dist 2004-05-19 19:18:04.000000000 +1000
188+++ busybox-1.00/networking/udhcp/common.c 2004-10-27 19:58:10.000000000 +1000
189@@ -64,16 +64,34 @@
190 #ifdef __uClinux__
191 LOG(LOG_ERR, "Cannot background in uclinux (yet)");
192 #else /* __uClinux__ */
193- int pid_fd;
194+ int pid, fd;
195
196- /* hold lock during fork. */
197- pid_fd = pidfile_acquire(pidfile);
198- if (daemon(0, 0) == -1) {
199+ /* NOTE: lockf is not inherited by the child after fork */
200+ if ((pid = fork()) < 0) {
201 perror("fork");
202 exit(1);
203 }
204+
205+ if (pid > 0) {
206+ /* parent */
207+ if (pidfile_reassign(pidfile, pid) < 0) {
208+ (void)kill(pid, SIGKILL);
209+ exit(1);
210+ } else
211+ _exit(0);
212+ }
213+
214+ /* child */
215+ (void)chdir("/");
216+ if ((fd = open("/dev/null", O_RDWR)) >= 0) {
217+ (void)dup2(fd, 0);
218+ (void)dup2(fd, 1);
219+ (void)dup2(fd, 2);
220+ (void)close(fd);
221+ }
222+ (void)setsid();
223+
224 daemonized++;
225- pidfile_write_release(pid_fd);
226 #endif /* __uClinux__ */
227 }
228
229@@ -97,14 +115,12 @@
230
231 void start_log_and_pid(const char *client_server, const char *pidfile)
232 {
233- int pid_fd;
234-
235 /* Make sure our syslog fd isn't overwritten */
236 sanitize_fds();
237
238 /* do some other misc startup stuff while we are here to save bytes */
239- pid_fd = pidfile_acquire(pidfile);
240- pidfile_write_release(pid_fd);
241+ if (pidfile_acquire(pidfile) < 0)
242+ exit(1);
243
244 /* equivelent of doing a fflush after every \n */
245 setlinebuf(stdout);
246@@ -150,8 +166,8 @@
247 sanitize_fds();
248
249 /* do some other misc startup stuff while we are here to save bytes */
250- pid_fd = pidfile_acquire(pidfile);
251- pidfile_write_release(pid_fd);
252+ if (pidfile_acquire(pidfile) < 0)
253+ exit(1);
254
255 /* equivelent of doing a fflush after every \n */
256 setlinebuf(stdout);
257--- busybox-1.00/networking/udhcp/common.h-dist 2004-05-19 18:29:05.000000000 +1000
258+++ busybox-1.00/networking/udhcp/common.h 2004-10-27 15:10:16.000000000 +1000
259@@ -42,7 +42,6 @@
260 long uptime(void);
261 void background(const char *pidfile);
262 void start_log_and_pid(const char *client_server, const char *pidfile);
263-void background(const char *pidfile);
264 void udhcp_logging(int level, const char *fmt, ...);
265
266 #define LOG(level, str, args...) udhcp_logging(level, str, ## args)
267--- busybox-1.00/networking/udhcp/script.c-dist 2004-05-19 17:45:47.000000000 +1000
268+++ busybox-1.00/networking/udhcp/script.c 2004-10-27 15:54:04.000000000 +1000
269@@ -228,6 +228,6 @@
270 execle(client_config.script, client_config.script,
271 name, NULL, envp);
272 LOG(LOG_ERR, "script %s failed: %m", client_config.script);
273- exit(1);
274+ _exit(1);
275 }
276 }
diff --git a/meta/packages/busybox/busybox-1.01/udhcpscript.patch b/meta/packages/busybox/busybox-1.01/udhcpscript.patch
new file mode 100644
index 0000000000..fc21d440cd
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/udhcpscript.patch
@@ -0,0 +1,17 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- busybox-1.00-rc3/examples/udhcp/simple.script~udhcpscript
7+++ busybox-1.00-rc3/examples/udhcp/simple.script
8@@ -17,8 +17,7 @@
9 /sbin/ifconfig $interface $ip $BROADCAST $NETMASK
10
11 if [ -n "$router" ] ; then
12- echo "deleting routers"
13- while route del default gw 0.0.0.0 dev $interface ; do
14+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
15 :
16 done
17
diff --git a/meta/packages/busybox/busybox-1.01/wrt54/defconfig b/meta/packages/busybox/busybox-1.01/wrt54/defconfig
new file mode 100644
index 0000000000..7f1aef4ef9
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/wrt54/defconfig
@@ -0,0 +1,476 @@
1#
2# Automatically generated make config: don't edit
3#
4HAVE_DOT_CONFIG=y
5
6#
7# General Configuration
8#
9# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
10CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
11# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
12CONFIG_FEATURE_VERBOSE_USAGE=y
13# CONFIG_FEATURE_INSTALLER is not set
14# CONFIG_LOCALE_SUPPORT is not set
15CONFIG_FEATURE_DEVFS=y
16CONFIG_FEATURE_DEVPTS=y
17# CONFIG_FEATURE_CLEAN_UP is not set
18CONFIG_FEATURE_SUID=y
19# CONFIG_FEATURE_SUID_CONFIG is not set
20# CONFIG_SELINUX is not set
21
22#
23# Build Options
24#
25# CONFIG_STATIC is not set
26CONFIG_LFS=y
27USING_CROSS_COMPILER=y
28CROSS_COMPILER_PREFIX="mipsel-uclibc-"
29EXTRA_CFLAGS_OPTIONS="-Os "
30
31#
32# Installation Options
33#
34# CONFIG_INSTALL_NO_USR is not set
35PREFIX="./_install"
36
37#
38# Archival Utilities
39#
40# CONFIG_AR is not set
41CONFIG_BUNZIP2=y
42# CONFIG_CPIO is not set
43# CONFIG_DPKG is not set
44# CONFIG_DPKG_DEB is not set
45CONFIG_GUNZIP=y
46CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y
47CONFIG_GZIP=y
48# CONFIG_RPM2CPIO is not set
49# CONFIG_RPM is not set
50CONFIG_TAR=y
51CONFIG_FEATURE_TAR_CREATE=y
52CONFIG_FEATURE_TAR_BZIP2=y
53CONFIG_FEATURE_TAR_FROM=y
54CONFIG_FEATURE_TAR_GZIP=y
55# CONFIG_FEATURE_TAR_COMPRESS is not set
56# CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY is not set
57CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
58# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
59# CONFIG_UNCOMPRESS is not set
60# CONFIG_UNZIP is not set
61
62#
63# Common options for cpio and tar
64#
65# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
66
67#
68# Coreutils
69#
70CONFIG_BASENAME=y
71# CONFIG_CAL is not set
72CONFIG_CAT=y
73CONFIG_CHGRP=y
74CONFIG_CHMOD=y
75CONFIG_CHOWN=y
76CONFIG_CHROOT=y
77# CONFIG_CMP is not set
78CONFIG_CP=y
79CONFIG_CUT=y
80CONFIG_DATE=y
81CONFIG_FEATURE_DATE_ISOFMT=y
82CONFIG_DD=y
83CONFIG_DF=y
84CONFIG_DIRNAME=y
85# CONFIG_DOS2UNIX is not set
86CONFIG_DU=y
87CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
88CONFIG_ECHO=y
89CONFIG_FEATURE_FANCY_ECHO=y
90CONFIG_ENV=y
91CONFIG_EXPR=y
92CONFIG_FALSE=y
93# CONFIG_FOLD is not set
94CONFIG_HEAD=y
95CONFIG_FEATURE_FANCY_HEAD=y
96CONFIG_HOSTID=y
97CONFIG_ID=y
98# CONFIG_INSTALL is not set
99CONFIG_LENGTH=y
100CONFIG_LN=y
101# CONFIG_LOGNAME is not set
102CONFIG_LS=y
103CONFIG_FEATURE_LS_FILETYPES=y
104CONFIG_FEATURE_LS_FOLLOWLINKS=y
105CONFIG_FEATURE_LS_RECURSIVE=y
106CONFIG_FEATURE_LS_SORTFILES=y
107CONFIG_FEATURE_LS_TIMESTAMPS=y
108CONFIG_FEATURE_LS_USERNAME=y
109CONFIG_FEATURE_LS_COLOR=y
110CONFIG_MD5SUM=y
111CONFIG_MKDIR=y
112CONFIG_MKFIFO=y
113# CONFIG_MKNOD is not set
114CONFIG_MV=y
115# CONFIG_OD is not set
116# CONFIG_PRINTF is not set
117CONFIG_PWD=y
118# CONFIG_REALPATH is not set
119CONFIG_RM=y
120CONFIG_RMDIR=y
121# CONFIG_SEQ is not set
122# CONFIG_SHA1SUM is not set
123CONFIG_SLEEP=y
124CONFIG_FEATURE_FANCY_SLEEP=y
125CONFIG_SORT=y
126# CONFIG_STTY is not set
127CONFIG_SYNC=y
128CONFIG_TAIL=y
129CONFIG_FEATURE_FANCY_TAIL=y
130CONFIG_TEE=y
131CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
132CONFIG_TEST=y
133
134#
135# test (forced enabled for use with shell)
136#
137# CONFIG_FEATURE_TEST_64 is not set
138CONFIG_TOUCH=y
139CONFIG_TR=y
140CONFIG_TRUE=y
141# CONFIG_TTY is not set
142CONFIG_UNAME=y
143CONFIG_UNIQ=y
144# CONFIG_USLEEP is not set
145# CONFIG_UUDECODE is not set
146# CONFIG_UUENCODE is not set
147# CONFIG_WATCH is not set
148CONFIG_WC=y
149# CONFIG_WHO is not set
150# CONFIG_WHOAMI is not set
151CONFIG_YES=y
152
153#
154# Common options for cp and mv
155#
156CONFIG_FEATURE_PRESERVE_HARDLINKS=y
157
158#
159# Common options for ls and more
160#
161CONFIG_FEATURE_AUTOWIDTH=y
162
163#
164# Common options for df, du, ls
165#
166CONFIG_FEATURE_HUMAN_READABLE=y
167
168#
169# Common options for md5sum, sha1sum
170#
171CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
172
173#
174# Console Utilities
175#
176# CONFIG_CHVT is not set
177CONFIG_CLEAR=y
178# CONFIG_DEALLOCVT is not set
179# CONFIG_DUMPKMAP is not set
180# CONFIG_GETKEY is not set
181# CONFIG_LOADFONT is not set
182# CONFIG_LOADKMAP is not set
183# CONFIG_OPENVT is not set
184CONFIG_RESET=y
185# CONFIG_SETKEYCODES is not set
186
187#
188# Debian Utilities
189#
190CONFIG_MKTEMP=y
191# CONFIG_PIPE_PROGRESS is not set
192# CONFIG_READLINK is not set
193CONFIG_RUN_PARTS=y
194CONFIG_START_STOP_DAEMON=y
195CONFIG_WHICH=y
196
197#
198# Editors
199#
200CONFIG_AWK=y
201CONFIG_FEATURE_AWK_MATH=y
202# CONFIG_PATCH is not set
203CONFIG_SED=y
204CONFIG_VI=y
205CONFIG_FEATURE_VI_COLON=y
206CONFIG_FEATURE_VI_YANKMARK=y
207CONFIG_FEATURE_VI_SEARCH=y
208CONFIG_FEATURE_VI_USE_SIGNALS=y
209CONFIG_FEATURE_VI_DOT_CMD=y
210CONFIG_FEATURE_VI_READONLY=y
211CONFIG_FEATURE_VI_SETOPTS=y
212CONFIG_FEATURE_VI_SET=y
213CONFIG_FEATURE_VI_WIN_RESIZE=y
214CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
215
216#
217# Finding Utilities
218#
219CONFIG_FIND=y
220# CONFIG_FEATURE_FIND_MTIME is not set
221CONFIG_FEATURE_FIND_PERM=y
222CONFIG_FEATURE_FIND_TYPE=y
223CONFIG_FEATURE_FIND_XDEV=y
224# CONFIG_FEATURE_FIND_NEWER is not set
225# CONFIG_FEATURE_FIND_INUM is not set
226CONFIG_GREP=y
227CONFIG_FEATURE_GREP_EGREP_ALIAS=y
228CONFIG_FEATURE_GREP_FGREP_ALIAS=y
229CONFIG_FEATURE_GREP_CONTEXT=y
230CONFIG_XARGS=y
231CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
232CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
233CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
234CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
235
236#
237# Init Utilities
238#
239CONFIG_INIT=y
240CONFIG_FEATURE_USE_INITTAB=y
241# CONFIG_FEATURE_INITRD is not set
242# CONFIG_FEATURE_INIT_COREDUMPS is not set
243# CONFIG_FEATURE_EXTRA_QUIET is not set
244# CONFIG_HALT is not set
245# CONFIG_POWEROFF is not set
246CONFIG_REBOOT=y
247CONFIG_MESG=y
248
249#
250# Login/Password Management Utilities
251#
252# CONFIG_USE_BB_PWD_GRP is not set
253# CONFIG_ADDGROUP is not set
254# CONFIG_DELGROUP is not set
255# CONFIG_ADDUSER is not set
256# CONFIG_DELUSER is not set
257# CONFIG_GETTY is not set
258# CONFIG_FEATURE_U_W_TMP is not set
259CONFIG_LOGIN=y
260CONFIG_FEATURE_SECURETTY=y
261CONFIG_PASSWD=y
262# CONFIG_SU is not set
263# CONFIG_SULOGIN is not set
264# CONFIG_VLOCK is not set
265
266#
267# Common options for adduser, deluser, login, su
268#
269# CONFIG_FEATURE_SHADOWPASSWDS is not set
270
271#
272# Miscellaneous Utilities
273#
274# CONFIG_ADJTIMEX is not set
275CONFIG_CROND=y
276# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
277CONFIG_CRONTAB=y
278# CONFIG_DC is not set
279# CONFIG_DEVFSD is not set
280# CONFIG_LAST is not set
281# CONFIG_HDPARM is not set
282# CONFIG_MAKEDEVS is not set
283# CONFIG_MT is not set
284# CONFIG_RX is not set
285CONFIG_STRINGS=y
286CONFIG_TIME=y
287# CONFIG_WATCHDOG is not set
288
289#
290# Linux Module Utilities
291#
292CONFIG_INSMOD=y
293CONFIG_FEATURE_2_4_MODULES=y
294# CONFIG_FEATURE_2_6_MODULES is not set
295# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
296# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
297# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
298# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
299CONFIG_LSMOD=y
300CONFIG_FEATURE_QUERY_MODULE_INTERFACE=y
301# CONFIG_MODPROBE is not set
302CONFIG_RMMOD=y
303CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
304
305#
306# Networking Utilities
307#
308CONFIG_FEATURE_IPV6=y
309CONFIG_ARPING=y
310# CONFIG_FTPGET is not set
311# CONFIG_FTPPUT is not set
312# CONFIG_HOSTNAME is not set
313CONFIG_HTTPD=y
314# CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY is not set
315CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
316CONFIG_FEATURE_HTTPD_AUTH_MD5=y
317CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP=y
318# CONFIG_FEATURE_HTTPD_SETUID is not set
319CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y
320CONFIG_FEATURE_HTTPD_CGI=y
321CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
322CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
323CONFIG_IFCONFIG=y
324CONFIG_FEATURE_IFCONFIG_STATUS=y
325# CONFIG_FEATURE_IFCONFIG_SLIP is not set
326# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
327CONFIG_FEATURE_IFCONFIG_HW=y
328CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
329CONFIG_IFUPDOWN=y
330# CONFIG_FEATURE_IFUPDOWN_IP is not set
331CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
332CONFIG_FEATURE_IFUPDOWN_IPV4=y
333# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
334# CONFIG_FEATURE_IFUPDOWN_IPX is not set
335# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
336# CONFIG_INETD is not set
337# CONFIG_IP is not set
338CONFIG_IPCALC=y
339CONFIG_FEATURE_IPCALC_FANCY=y
340# CONFIG_IPADDR is not set
341# CONFIG_IPLINK is not set
342# CONFIG_IPROUTE is not set
343# CONFIG_IPTUNNEL is not set
344# CONFIG_NAMEIF is not set
345CONFIG_NC=y
346CONFIG_NETSTAT=y
347CONFIG_NSLOOKUP=y
348CONFIG_PING=y
349CONFIG_FEATURE_FANCY_PING=y
350CONFIG_PING6=y
351CONFIG_FEATURE_FANCY_PING6=y
352CONFIG_ROUTE=y
353# CONFIG_TELNET is not set
354# CONFIG_TELNETD is not set
355# CONFIG_TFTP is not set
356CONFIG_TRACEROUTE=y
357CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
358CONFIG_VCONFIG=y
359CONFIG_WGET=y
360CONFIG_FEATURE_WGET_STATUSBAR=y
361CONFIG_FEATURE_WGET_AUTHENTICATION=y
362CONFIG_FEATURE_WGET_IP6_LITERAL=y
363
364#
365# udhcp Server/Client
366#
367# CONFIG_UDHCPD is not set
368CONFIG_UDHCPC=y
369# CONFIG_FEATURE_UDHCP_SYSLOG is not set
370# CONFIG_FEATURE_UDHCP_DEBUG is not set
371
372#
373# Process Utilities
374#
375CONFIG_FREE=y
376CONFIG_KILL=y
377CONFIG_KILLALL=y
378CONFIG_PIDOF=y
379CONFIG_PS=y
380# CONFIG_RENICE is not set
381CONFIG_TOP=y
382FEATURE_CPU_USAGE_PERCENTAGE=y
383CONFIG_UPTIME=y
384CONFIG_SYSCTL=y
385
386#
387# Another Bourne-like Shell
388#
389CONFIG_FEATURE_SH_IS_ASH=y
390# CONFIG_FEATURE_SH_IS_HUSH is not set
391# CONFIG_FEATURE_SH_IS_LASH is not set
392# CONFIG_FEATURE_SH_IS_MSH is not set
393# CONFIG_FEATURE_SH_IS_NONE is not set
394CONFIG_ASH=y
395
396#
397# Ash Shell Options
398#
399CONFIG_ASH_PIPE_OPTIMIZATION=y
400CONFIG_FEATURE_BUILTIN_TEST=y
401CONFIG_FEATURE_BUILTIN_ECHO=y
402CONFIG_FEATURE_BUILTIN_PIDOF=y
403CONFIG_ASH_ALIAS=y
404CONFIG_ASH_MATH_SUPPORT=y
405# CONFIG_ASH_MATH_SUPPORT_64 is not set
406CONFIG_ASH_GETOPTS=y
407# CONFIG_ASH_CMDCMD is not set
408# CONFIG_ASH_MAIL is not set
409CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
410# CONFIG_ASH_RANDOM_SUPPORT is not set
411# CONFIG_HUSH is not set
412# CONFIG_LASH is not set
413# CONFIG_MSH is not set
414
415#
416# Bourne Shell Options
417#
418# CONFIG_FEATURE_SH_EXTRA_QUIET is not set
419# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
420CONFIG_FEATURE_COMMAND_EDITING=y
421CONFIG_FEATURE_COMMAND_HISTORY=15
422# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
423CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
424# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
425CONFIG_FEATURE_SH_FANCY_PROMPT=y
426
427#
428# System Logging Utilities
429#
430CONFIG_SYSLOGD=y
431CONFIG_FEATURE_ROTATE_LOGFILE=y
432CONFIG_FEATURE_REMOTE_LOG=y
433CONFIG_FEATURE_IPC_SYSLOG=y
434CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
435CONFIG_LOGREAD=y
436# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
437CONFIG_KLOGD=y
438CONFIG_LOGGER=y
439
440#
441# Linux System Utilities
442#
443CONFIG_DMESG=y
444# CONFIG_FBSET is not set
445# CONFIG_FDFLUSH is not set
446# CONFIG_FDFORMAT is not set
447# CONFIG_FDISK is not set
448FDISK_SUPPORT_LARGE_DISKS=y
449# CONFIG_FREERAMDISK is not set
450# CONFIG_FSCK_MINIX is not set
451# CONFIG_MKFS_MINIX is not set
452# CONFIG_GETOPT is not set
453CONFIG_HEXDUMP=y
454# CONFIG_HWCLOCK is not set
455# CONFIG_LOSETUP is not set
456# CONFIG_MKSWAP is not set
457CONFIG_MORE=y
458CONFIG_FEATURE_USE_TERMIOS=y
459CONFIG_PIVOT_ROOT=y
460CONFIG_RDATE=y
461# CONFIG_SWAPONOFF is not set
462CONFIG_MOUNT=y
463CONFIG_NFSMOUNT=y
464CONFIG_UMOUNT=y
465CONFIG_FEATURE_MOUNT_FORCE=y
466
467#
468# Common options for mount/umount
469#
470CONFIG_FEATURE_MOUNT_LOOP=y
471# CONFIG_FEATURE_MTAB_SUPPORT is not set
472
473#
474# Debugging Options
475#
476# CONFIG_DEBUG is not set