aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* udhcpc: make -O <numeric_opt> work. Closes 5402Denys Vlasenko2012-07-273-13/+21
| | | | | | | | | | | | | function old new delta udhcpc_main 2642 2685 +43 udhcp_recv_raw_packet 414 415 +1 d6_recv_raw_packet 248 249 +1 udhcpc6_main 2430 2413 -17 add_client_options 239 213 -26 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 45/-43) Total: 2 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Simplify copyright/license notice that appears in the binary.Bradley M. Kuhn2012-07-261-3/+3
| | | | | | | | | | | Existing copyright notice for binary would need to be longer to achieve optimal accuracy. This compromise punts to the source for full notices, but does note the years of the copyrights and that there are many authors, all licensing under GPLv2. Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org> Signed-off-by: Tony Sebro <tony@sfconservancy.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add yet another missing ALIGN2 on a global declaration.Denys Vlasenko2012-07-261-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcpd: write lease file on exitDenys Vlasenko2012-07-241-4/+4
| | | | | | | function old new delta udhcpd_main 1431 1403 -28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: declare strings with ALIGN1, as appropriateAurelien Jarno2012-07-241-18/+18
| | | | | Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: declare strings with ALIGN1, as appropriateMichael Tokarev2012-07-243-5/+5
| | | | | Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: make mkfs.minix test not fail spuriously on big endianYao Zhao2012-07-241-1/+9
| | | | | Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: allow 'w' cmd to use two address formMimi Li2012-07-241-5/+11
| | | | | | | | function old new delta add_cmd 1101 1094 -7 Signed-off-by: Mimi Li <felloak@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftpd: fix -u USER to work with chroot. Closes 5348Denys Vlasenko2012-07-181-32/+32
| | | | | | | | function old new delta tftpd_main 546 568 +22 tftp_protocol 1844 1839 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix FS assignment behavior. Closes 5108Denys Vlasenko2012-07-112-0/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: free allocated string on error pathDenys Vlasenko2012-07-111-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: fix MDTM's month value. Closes 5336Denys Vlasenko2012-07-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add a comment about VEXPORTDenys Vlasenko2012-07-071-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbset: respect rgba configuration lines in fb.modesLinus Walleij2012-07-071-1/+25
| | | | | | | | | | | | | | | | | | | | 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>
* acpid: add missing lid switch definitionEric Martin2012-07-071-0/+1
| | | | | | | | This patch adds a missing LID0 switch definition. Without it, closing the notebook lid is not detected by acpid. Signed-off-by: Eric Martin <eric.martin@gmx.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include sys/resource.h where neededMike Frysinger2012-07-057-0/+7
| | | | | | | | We use functions from sys/resource.h in misc applets, but don't include the header. This breaks building with newer glibc versions, so add the include where needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* mount: support strictatime option. Closes 5240Denys Vlasenko2012-06-261-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: make -F STR interpret escape sequences. Closes 5126Denys Vlasenko2012-06-222-7/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324Denys Vlasenko2012-06-223-6/+14
| | | | | | | | | | | | | While at it, fix filename order and free the list of names. function old new delta llist_rev - 21 +21 get_header_tar 1733 1741 +8 unpack_package 587 585 -2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 29/-2) Total: 27 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trivial small speed optimizationDenys Vlasenko2012-06-221-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240Denys Vlasenko2012-06-221-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: undo recent breakage when mount flags were made unsignedDenys Vlasenko2012-06-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix the wrongly stored fs creation timeDenys Vlasenko2012-06-213-14/+54
| | | | | | This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: set up RO loop device if mount -o ro. Closes 4784Denys Vlasenko2012-06-211-14/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak help textsDenys Vlasenko2012-06-212-9/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adduser: install to /usr, not /, like all other similar toolsDenys Vlasenko2012-06-201-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move several applets to different install dir:Denys Vlasenko2012-06-203-23/+23
| | | | | | | | | | | | Moved to [/usr]/sbin: addgroup, adduser, delgroup, deluser, arping, chat, ether-wake, fdformat, ifplugd, ip, ipaddr, iplink, iproute, iprule, iptunnel, killall5, readahead, rtcwake, tftpd, add-shell, remove-shell, powertop. Moved to /bin for /usr/bin: kbd_mode. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak help textDenys Vlasenko2012-06-192-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix build of kconfig on DarwinBernhard Walle2012-06-181-0/+2
| | | | | | | | | Of course busybox cannot be used on Darwin (Mac OS X), but it can be cross-compiled for Linux there. Cross-compilation still requires kconfig to be built as native host tool. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix wget-supports--P testsuite failure. Closes 4940Denys Vlasenko2012-06-171-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* config: do not refer to HTTPS for wgetPierre Carrier2012-06-171-2/+2
| | | | | Signed-off-by: Pierre Carrier <pierre@spotify.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: make -c _not_ truncate the fileDenys Vlasenko2012-06-171-2/+14
| | | | | | | | function old new delta retrieve_file_data 396 436 +40 reset_beg_range_to_zero 52 45 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: make options parsing more robust on getopt w/o gnu extensionsDenys Vlasenko2012-06-151-67/+70
| | | | | | | | | | | | | Also, code shrank: function old new delta static.extn 15 10 -5 packed_usage 29231 29217 -14 unzip_main 2388 2291 -97 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-116) Total: -116 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://busybox.net/var/lib/git/busyboxDenys Vlasenko2012-06-142-12/+30
|\
| * ps: use separate get_uptime() and make it work on non-linux tooMichael Tokarev2012-06-131-11/+29
| | | | | | | | | | | | | | | | 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>
| * nanddump: make dumping read-only partitions workMatt Reimer2012-06-131-1/+1
| | | | | | | | | | | | | | | | Make dumping read-only partitions work by opening the device O_RDONLY; otherwise the open() will fail with -EPERM. Signed-off-by: Matt Reimer <mreimer@sdgsystems.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | wget: correctly handle failure to -c (continue)Denys Vlasenko2012-06-131-0/+16
| | | | | | | | | | | | | | | | 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>
* | wget: add dummy --no-cacheVladimir Dronnikov2012-06-131-10/+16
|/ | | | | | | | | function old new delta static.wget_longopts 155 166 +11 packed_usage 29259 29231 -28 Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modinfo: match more standard module fields and fix version fieldTanguy Pruvot2012-06-121-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, -F version could match the srcversion= string. 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 - Retouched by CyanogenDefy 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 - Retouched by CyanogenDefy 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>
* volume_id/ext: use common bb_e2fs_defs.h for ext2/3/4 constants and structsDenys Vlasenko2012-06-122-72/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* su: do not change to home dir unless -lPascal Bellard2012-06-125-7/+11
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove FEATURE_VI_OPTIMIZE_CURSOR from example configDenys Vlasenko2012-06-128-8/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add comments in keyboard escape sequences tableDenys Vlasenko2012-06-111-5/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: save/restore screen upon invocationDenys Vlasenko2012-06-111-0/+4
| | | | | | | function old new delta vi_main 253 273 +20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: nuke FEATURE_VI_OPTIMIZE_CURSORDenys Vlasenko2012-06-111-124/+58
| | | | | | | | | | | | | | | | | | 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>
* ntpd: on time step, kill all outstanding replies from other peersDenys Vlasenko2012-06-111-20/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: some more awk tests related to conditionsTanguy Pruvot2012-06-111-0/+7
| | | | | Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-11/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: do not set autoindent by defaultDenys Vlasenko2012-06-111-7/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>