sed: fix handling of s/// which has empty matches

sed: slightly better fix for prev commit's problem

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

Published in bug fixes patches:
http://busybox.net/downloads/fixes-1.20.0/
Update ext volume ID to support ext4 for blkid

    volume_id/ext: detect ext4 too

    function                                             old     new   delta
    volume_id_probe_ext                                  108     132     +24

    Signed-off-by: Dees Troy<dees_troy@teamw.in>
    Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

    Patchset 2: use upstream commit

Change-Id: Idc50310af917f4b9cbbe51060850badc57945998
Apply post-1.20.0 patches, bump version to 1.20.1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
update prebuilt android config files for 1.20.1

Change-Id: If4be8aecb5ee02a184c1177dd108c68d5b2e13fc
awk: fix the evaluate bug related to warning fix

Change-Id: I0682468b95fb870d519ac975c94dc5a8f70bdec0
modinfo: match more standard module fields and fix version field

Previously, -F version could match the srcversion= string.

This give now the same output as debian modinfo(8)

before :
  ~ # modinfo -F version tiwlan_drv
  version:        6.1.2012.05.29
  version:        533BB7E5866E52F63B9ACCB
  version:        0x%x, oui=0x%x, 0x%x, 0x%x
  version:        0x%x

  ~ # modinfo tiwlan_drv
  filename:       tiwlan_drv.ko
  author:         Texas Instruments Inc
  license:        GPL
  vermagic:       2.6.32.9 preempt mod_unload ARMv7
  parm:           g_sdio_debug_level:debug level
  depends:

now :
  ~ # modinfo -F version tiwlan_drv
  version:        6.1.2012.05.29

  ~ # modinfo tiwlan_drv
  filename:       tiwlan_drv.ko
  license:        GPL
  author:         Texas Instruments Inc
  version:        6.1.2012.05.29
  srcversion:     533BB7E5866E52F63B9ACCB
  depends:
  uts_release:    2.6.32.9-g306944c
  vermagic:       2.6.32.9 preempt mod_unload ARMv7
  parm:           g_sdio_debug_level:debug level

This patch also add support for the old "-n" and some other helpers

Change-Id: Icb4e9ca513cbce46b075a6f038799a7a19fb7e22
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
umount: instead of non-standard -D, use -d with opposite meaning

This has been in upstream busybox for quite sometime, 2008-02-14 12:00:21 (GMT)
And has no negative effects on android devices.
Please see original commit:
http://git.busybox.net/busybox/commit/util-linux/umount.c?id=b2e578a1f2c3cf317b391a7d2c059d6a5f5368b8&ss=1

Change-Id: I7f8b9a6a88571b8190ffeaec75973f4ddf4f849e
get_linux_version_code: don't fail on Linux version strints like "3.0-foo"

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
unzip: ignore chmod errors

This makes unzip to FAT filesystems not exit with error.
This is similar to how the "normal" unzip works.

Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
busybox: tweak help text and copyright year

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
inetd: fix build failure in Android

Signed-off-by: Tias Guns <tias@ulyssis.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
inetd: fix warnings

Change-Id: Ia4801d6a9314423074de1ddf4526800f55282cca
update build date and usage after recent changes

Change-Id: Ia88a500235b20ad4908e5af88d85f588441efac7
tar: fix 256-bit encoded number decoding

Signed-off-by: Etienne Le Sueur <elesueur@vmware.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ps: use separate get_uptime() and make it work on non-linux too

Create get_uptime() function in procps/ps.c, and use it rather than
relying on linux-specific sysinfo() inline.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
mount: fix the wrongly stored fs creation time

This bug made our ext2 images non-mountable by ext4 driver.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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>