Commit Graph

140 Commits

Author SHA1 Message Date
Daniel Fandrich
0a428607a0 add defconfig files for Android, Cygwin and FreeBSD
Also added an example script to show how to compile BusyBox against
Android's bionic.

Signed-off-by: Daniel Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-07-19 08:10:05 +02:00
Denys Vlasenko
14b162f9ab tweak examples/udhcp/udhcpd.conf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-05-04 21:17:23 +02:00
Nigel Hathaway
fb6b173ff7 udhcp: add FEATURE_UDHCP_8021Q option
function                                             old     new   delta
dhcp_option_strings                                  217     237     +20
dhcp_optflags                                         64      68      +4

Signed-off-by: Nigel Hathaway <Nigel.Hathaway@ubiquisys.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-04-26 02:50:00 +02:00
Denys Vlasenko
1f3709ec74 fix typo in README
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-08 06:08:47 +01:00
Denys Vlasenko
309974412a typo fix
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-06 15:44:13 +01:00
Denys Vlasenko
bc3cdf8ed1 update examples/var_service/README
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-06 15:42:44 +01:00
Denys Vlasenko
75bb332dbd add examples/var_service/README
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-06 15:13:58 +01:00
Mike Frysinger
8ce1ad3097 depmod.pl: add recursive sanity check
If modules contain circular dependencies, the depmod script will follow
the circle forever.  So add a simple sanity check to abort rather than
chew up the CPU.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-11-16 07:15:00 -05:00
Denys Vlasenko
0ef64bdb40 *: make GNU licensing statement forms more regular
This change retains "or later" state! No licensing _changes_ here,
only form is adjusted (article, space between "GPL" and "v2" and so on).

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-08-16 20:14:46 +02:00
Denys Vlasenko
f0b82142b2 *: fix unterminated last lines. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-07-26 12:26:04 +02:00
Denys Vlasenko
ba2dcccd79 *: trailing empty lines removed
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-07-26 01:49:12 +02:00
Denys Vlasenko
290346948d update examples/udhcp/udhcpd.conf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04 15:38:22 +02:00
Denys Vlasenko
2e7aa92836 udhcp: tweak udhcpd.conf example and comments. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-21 02:22:07 +01:00
Denys Vlasenko
e5ce91b41b udhcp: code shrink; disable time and log server options
function                                             old     new   delta
add_server_options                                     -     100    +100
udhcp_add_simple_option                               92      90      -2
nobody_responds_to_arp                                88      85      -3
dhcp_options                                          66      62      -4
udhcp_add_option_string                              104      94     -10
udhcp_run_script                                     665     654     -11
dhcp_option_strings                                  203     188     -15
static.blank_chaddr                                   16       -     -16
send_ACK                                             211     180     -31
add_bootp_options                                     61       -     -61
udhcpd_main                                         1925    1846     -79
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 0/8 up/down: 100/-232)         Total: -132 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-21 00:43:11 +01:00
Denys Vlasenko
87fa216e1e udhcpc: make it possible to disable vendor id; improve help text
function                                             old     new   delta
init_packet                                          135     139      +4
packed_usage                                       26789   26786      -3
alloc_dhcp_option                                     67      63      -4
udhcpc_main                                         2467    2447     -20
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 4/-27)             Total: -23 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-20 18:06:23 +01:00
Denys Vlasenko
0f62c4d065 udhcpd: remove five more options which do not make sense or not supported
requestip, vendorclass, clientid are client-side variables,
          they do not make sense as udhcpd opts
dhcptype  is the packet type (not interesting, it's always 5)
userclass needs parser support in order to work

function                                             old     new   delta
dhcp_options                                          68      66      -2
read_opt                                             865     859      -6
dhcp_option_strings                                  253     203     -50
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-58)             Total: -58 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-20 07:12:21 +01:00
Denys Vlasenko
777706cb23 udhcp: remove support for some really old and odd options
function                                             old     new   delta
dhcp_options                                          72      68      -4
dhcp_option_strings                                  271     253     -18

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-19 23:42:23 +01:00
Denys Vlasenko
1aaf1cb096 whitespace fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-26 08:04:18 +01:00
Denys Vlasenko
24928ffd8d ntpd: explain why scripts can be run in quick succession
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-25 19:30:16 +01:00
Denys Vlasenko
3581c62515 whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-25 13:39:24 +01:00
Denys Vlasenko
573ba4e92e fix examples which used non-standard cut -b0-NNN
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-18 12:25:09 +01:00
Denys Vlasenko
4fc82e0067 examples: add example ntpd service
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-13 22:07:34 +01:00
Denys Vlasenko
fae9f499b2 ntpd: make it work w/o -g too :(
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-01 02:32:01 +01:00
Denys Vlasenko
c096a6c208 mdev_fat.conf: add a rule to run nameif
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-11 06:32:43 +01:00
Denys Vlasenko
b6d221ac9c fix 'not not' in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-09 11:12:45 +01:00
Denys Vlasenko
002bdc3e2a tweak service examples a bit (less verbose comment in dhcp_if)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-09 11:04:54 +01:00
Denys Vlasenko
391dd92ce2 tweak dhcp service example - add ntp configuration
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-09 09:39:50 +01:00
Denys Vlasenko
c3896850f7 add and example of tftpd service
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-08 18:41:26 +01:00
Denys Vlasenko
f5c2f72917 add more service examples
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-08 00:55:39 +01:00
Denys Vlasenko
44f8d01399 tweak mdev_fat.conf example
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-07 18:21:03 +01:00
Denys Vlasenko
bf40f564ae tweak examples
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-07 17:54:44 +01:00
Denys Vlasenko
6e8e666bd9 adding examples/mdev_fat.conf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-07 04:00:03 +01:00
Denys Vlasenko
27094cac7f add examples/mdev.conf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-07 03:28:48 +01:00
Denys Vlasenko
8fdf066323 whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-06 04:10:43 +01:00
Denys Vlasenko
6cf7f01256 adding example runit-style service directory
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-06 04:04:19 +01:00
Denys Vlasenko
26ff18b424 Fixes to usage text; updated busybox.spec
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-02 11:37:17 +02:00
Denys Vlasenko
7cc5a50465 chmod 755 some files in examples/*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-23 21:30:30 +02:00
Mike Frysinger
4c8a721b45 depmod.pl: recurse through module dependencies
The previous fix up loaded dependencies two deep, but really that was an
incomplete fix as we need to load dependencies all the way down.  So change
the code to run recursively through all dependencies.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-09 00:28:48 -04:00
Denys Vlasenko
b22bbfffec fix dependencies of FEATURE_GETOPT_LONG
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-04 16:50:43 +02:00
Denys Vlasenko
cf4e503875 Added kernel patch for /proc/self/exe to examples
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-02 12:04:50 +02:00
Denys Vlasenko
2b0e957808 examples/udhcp/udhcpd.conf: update
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-17 13:22:26 +02:00
Denys Vlasenko
c8ab67cad8 tftp: do not risk invoking Sorcerer's Apprentice syndrome
examples/udhcp/simple.script: fix incorrect test for $1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-10 23:27:43 +02:00
Mike Frysinger
2b6497ba84 depmod.pl: updates and fixes galore
The helper script needs updating to match latest busybox modprobe behavior
in that all dependencies need to be listed, not just the immediate ones.
Along the way, fix symbol prefixed ports, optimize the output, and add
some more depmod compatible options.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-05 20:14:12 -04:00
Denis Vlasenko
1b47bbdfa4 tweak example udhcp script 2009-04-21 00:17:00 +00:00
Denis Vlasenko
ea4f0847c3 update example udhcpc script 2009-04-16 20:04:09 +00:00
Denis Vlasenko
160e6fa53a fix example of vcsa creation 2008-07-26 14:02:24 +00:00
Bernhard Reutner-Fischer
10be1a787f - move depmod shell script to examples/ 2008-05-28 11:21:20 +00:00
Denis Vlasenko
1d61416b5a sync examples to what actual actual code expects 2007-12-25 15:32:56 +00:00
Denis Vlasenko
f7be20e70c nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)
*: whitespace fixes

function                                             old     new   delta
prepend_new_eth_table                                  -     304    +304
nameif_main                                          620     684     +64
cc_macaddr                                            51       -     -51
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51)           Total: 317 bytes
2007-12-24 14:09:19 +00:00
Mike Frysinger
dbd18f639c exported symbols may be weak, so allow symbols marked as W 2007-11-18 06:13:58 +00:00