man: fix handling of gzipped manpages

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ifupdown: improve compatibility with Debian

Set environment variable 'PHASE'.
Treat post-up and pre-down as aliases for up and down.
Uses the same logic as ifupdown.nw from ifupdown-0.6.16.
Makes it possible to execute Debian's ifupdown script for
wpa-supplicant.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ash: fix a bug in > handling. Closes 5282
fbset: respect rgba configuration lines in fb.modes

The fbset utility would not respect "rgba" config entries in
the fb.modes file such as this (for the ARM Integrator/CP):

mode "640x480-60-clcd"
    # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz
    geometry 640 480 640 480 16
    timings 39722 48 16 33 10 96 2
    rgba 5/10,5/5,5/0,1/15
endmode

This is important especially for this ARGB5551 device which
is hopeless to configure otherwise. I noticed this lacking
feature after the TI "fbtest" program managed to set up the
the colormode correctly.

Signed-off-by: Linus Walleij <triad@df.lth.se>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
vi: do not set autoindent by default

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
vi: nuke FEATURE_VI_OPTIMIZE_CURSOR

It is not Unicode safe, it is not saving much of I/O, and it's large:

function                                             old     new   delta
vi_main                                              255     253      -2
go_bottom_and_clear_to_eol                            28      26      -2
do_cmd                                              4194    4182     -12
show_status_line                                     388     374     -14
strncat                                               39       -     -39
__GI_strncat                                          39       -     -39
refresh                                              774     724     -50
place_cursor                                         276      83    -193
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 0/6 up/down: 0/-351)           Total: -351 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ionice: fix missing syscall and add the applet

with the help of Tias Guns <tias@ulyssis.org>

PS: not symlinked, we have /system/bin/ionice in android toolbox
    its included as an alternative

Change-Id: Ib01023fb083a5b55467f52cd303eeaa8a9405a1d
fix stime syscall for aosp jb define

Change-Id: I7bcceee10aa3c267e7b1647c99ba83f1f16a89a1
platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH

Signed-off-by: Tias Guns <tias@ulyssis.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
su: do not change to home dir unless -l

Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
volume_id/ext: use common bb_e2fs_defs.h for ext2/3/4 constants and structs

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
wget: correctly handle failure to -c (continue)

function                                             old     new   delta
reset_beg_range_to_zero                                -      52     +52
wget_main                                           2168    2189     +21

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
bump version to 1.20.2

Apply patches from http://busybox.net/downloads/fixes-1.20.1/
+ some others fixes from master branch related to android

Add also the inetd applet (basic, without librpc support)
only include sample features set in examples/inetd.conf

Change-Id: I60c978eef4556a5baec8d5240df7738dcfe268aa
testsuite: some more awk tests related to conditions

Change-Id: I6dea42f5cf50d6c1c070467be0c9e9a532d2a641
update version suffix for jellybean

Change-Id: Ia43c4b37df60252ed71093d52ba92a475157e479
dd: support skip and seek values greater than 2G on android

it could be useful to keep a bs=1 to get exact positions.
bionic fail to use the CONFIG_LFS flag to support large offsets,
this workaround fix the function on /dev/mem or /dev/kmem inputs

Change-Id: I7fc951b001f065e02254037da2a1e61520e20282
Enable shell and expr 64bit math support

This is required to handle correctly values like $((0xc0035ef0))
without this flag, the 32bit value returned is negative

Change-Id: I3d207514febddd1b47a3e4fe6de1101fe1fbd6b5