aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ubiupdatevol: new appletReuben Dowle2011-04-261-4/+65
| | | | | | | | | | | | | ubi_tools_main 658 1046 +388 packed_usage 28274 28304 +30 applet_names 2396 2409 +13 applet_main 1396 1400 +4 applet_nameofs 698 700 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 437/0) Total: 437 bytes Signed-off-by: Reuben Dowle <Reuben.Dowle@navico.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix ubirsvol usage informationReuben Dowle2011-04-261-2/+2
| | | | | | | The usage information for the ubirsvol applet is incorrect. This fixes the mistake. Signed-off-by: Reuben Dowle <Reuben.Dowle@navico.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: fix ESC key lostPascal Bellard2011-04-111-2/+3
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move remaining help text from include/usage.src.hPere Orga2011-04-1138-0/+498
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: Add support for 24 and 32 bit color depthNuno Lucas2011-03-281-44/+73
| | | | | | | | | | | | | | function old new delta fb_drawprogressbar 372 447 +75 fb_pixel_value - 50 +50 fb_write_pixel - 47 +47 fbsplash_main 889 920 +31 fb_drawfullrectangle 101 131 +30 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/0 up/down: 233/0) Total: 233 bytes Signed-off-by: Nuno Lucas <ntlucas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use user's shell instead of hardwired "/bin/sh" (android needs this)Denys Vlasenko2011-03-082-6/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"Denys Vlasenko2011-02-264-21/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* runlevel/wall: depend on utmp featureMike Frysinger2011-02-061-0/+2
| | | | | | | | These utils use funcs from utmp.h (like setutent), but utmp.h is only included when FEATURE_UTMP is enabled. Otherwise we get build failures due to missing defines/prototypes. So depend on this option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Let fbsplash display images even when a second buffer is activeDan Fandrich2011-02-051-1/+4
| | | | | | | | | If a previous application uses double buffering and makes the second buffer visible, fbsplash's images (written to the first buffer) otherwise won't be visible. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubimkvol,ubirmvol,ubirsvol: new appletsReuben Dowle2011-02-051-18/+136
| | | | | | | | | | | | | | | | | function old new delta ubi_tools_main - 658 +658 packed_usage 28269 28376 +107 bbconfig_config_bz2 4968 5007 +39 applet_names 2407 2434 +27 applet_main 1396 1408 +12 applet_nameofs 698 704 +6 applet_install_loc 175 176 +1 ubi_attach_detach_main 175 - -175 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 6/0 up/down: 850/-175) Total: 675 bytes Signed-off-by: Reuben Dowle <reuben.dowle at navico.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: implement -o statDenys Vlasenko2011-02-021-1/+1
| | | | | | | | function old new delta func_stat - 24 +24 out_spec 300 320 +20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move utmp.h include to libbb.hDenys Vlasenko2011-01-254-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-183-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable automatic selection of FEATURE_SUID; improve its help textDenys Vlasenko2011-01-181-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chrt: -m can be used without any arguments. Closes bug 2989Denys Vlasenko2010-12-191-8/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chrt: correct opt_complementary. Closes bug 2977Denys Vlasenko2010-12-181-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chat: fix build breakage (variable declared in for())Denys Vlasenko2010-12-181-8/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupDenys Vlasenko2010-10-292-6/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* decompress_bunzip2: handle concatenated .bz2 filesDenys Vlasenko2010-10-281-1/+1
| | | | | | | | | | function old new delta unpack_bz2_stream 207 307 +100 start_bunzip 199 209 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use _exit() in sighandlers; showkey: do not use exit-thru-sighandlerMarek Polacek2010-10-283-12/+17
| | | | | | | | | | | | While at it, make ESC sequences more readable; and removed check for isatty(stdin) in reset. Code shrink: text data bss dec hex filename 884771 936 17216 902923 dc70b busybox_old 884723 936 17216 902875 dc6db busybox_unstripped Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: whitespace fixesDenys Vlasenko2010-10-2813-34/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: introduce and use common crc32 routineDenys Vlasenko2010-10-271-11/+3
| | | | | | | | | | | | | | | | | | function old new delta crc32_block_endian1 - 37 +37 crc32_block_endian0 - 34 +34 global_crc32_table - 8 +8 file_read 82 87 +5 gzip_main 211 214 +3 xz_crc32 40 35 -5 crc32_table 8 - -8 calculate_gunzip_crc 54 34 -20 lzo_crc32 54 25 -29 cksum_main 298 211 -87 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/4 up/down: 87/-149) Total: -62 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: s/open3_or_warn/open_or_warn/ where makes senseDenys Vlasenko2010-10-201-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* nanddump: make oobbuf allocation dynamicBaruch Siach2010-10-181-6/+6
| | | | | | | | In accordance with upstream mtd-utils commit 96a5eeaf (mtd-utils: nanddump: Dynamic buffer, increase pagesize/oobsize). Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* nanddump: new appletBaruch Siach2010-10-181-28/+127
| | | | | | | | | | | | | | | | | function old new delta nandwrite_main 418 936 +518 dump_bad - 119 +119 packed_usage 27752 27810 +58 next_good_eraseblock 84 106 +22 applet_names 2366 2375 +9 applet_main 1380 1384 +4 applet_nameofs 690 692 +2 bbconfig_config_bz2 4932 4922 -10 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 6/1 up/down: 732/-10) Total: 722 bytes Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweaks to build system, mainly making menuconfig text and order clearerDenys Vlasenko2010-10-121-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* man: add compatibility with man-dbDenys Vlasenko2010-10-041-2/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb: add xfstat functionDenys Vlasenko2010-08-311-2/+2
| | | | | | | | | | | | | | | | function old new delta xfstat - 25 +25 mkfs_ext2_main 2421 2423 +2 mkfs_reiser_main 1197 1194 -3 next 312 307 -5 ar_main 533 522 -11 mkfs_minix_main 2938 2924 -14 mkfs_vfat_main 1511 1495 -16 writeTarFile 272 255 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/6 up/down: 27/-66) Total: -39 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* bbconfig: add COMPRESS_BBCONFIG optionDenys Vlasenko2010-08-292-0/+36
| | | | | | | | | | | function old new delta bbconfig_config_bz2 - 4905 +4905 bbconfig_main 13 70 +57 bbconfig_config 21811 - -21811 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 4962/-21811) Total: -16849 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nandwrite: always check the first erase blockBaruch Siach2010-08-291-2/+14
| | | | | | | | Current code does not check the first erase block when mtdoffset is not erase block aligned. Fix this. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nandwrite: complain on malformed -s NUMDenys Vlasenko2010-08-291-0/+2
| | | | | | Elsewhere: use common error message. -30 bytes net size change Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nandwrite: allow hex values in the -s parameterBaruch Siach2010-08-291-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nandwrite: new appletBaruch Siach2010-08-251-0/+128
| | | | | | | | | | | | | | function old new delta nandwrite_main - 382 +382 packed_usage 27119 27135 +16 applet_names 2275 2285 +10 applet_main 1340 1344 +4 applet_nameofs 670 672 +2 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/0 up/down: 414/0) Total: 414 bytes Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-1639-39/+39
| | | | | | | 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>
* *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-163-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-126-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: remove misguided dependency on PLATFORM_LINUXJeremie Koenig2010-07-301-1/+0
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: tweak help textDenys Vlasenko2010-07-291-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: make it use long longs for integer opsDenys Vlasenko2010-07-291-14/+51
| | | | | | | | | | | | | | function old new delta print_base 176 238 +62 or 91 103 +12 eor 91 103 +12 and 91 103 +12 not 60 64 +4 mod 103 105 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/0 up/down: 104/0) Total: 104 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: fix duplicate "depends on PLATFORM_LINUX". no code changesDenys Vlasenko2010-07-291-8/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass cosmetic removal of extra empty lines. no code changesDenys Vlasenko2010-07-262-3/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mark Linux-specific configuration optionsJeremie Koenig2010-07-193-1/+21
| | | | | | | | PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: disable some applets by defaultDenys Vlasenko2010-07-141-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: mention other cronds' behavior in comment. no code changesDenys Vlasenko2010-07-111-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: code shrinkDenys Vlasenko2010-07-081-36/+31
| | | | | | | | function old new delta crond_main 1431 1472 +41 fork_job 457 389 -68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: rename HumpBack names. Note two TODOs/FIXMEsDenys Vlasenko2010-07-081-311/+322
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: check mtime on crontab dir every minute, and reread if changedDenys Vlasenko2010-07-081-39/+36
| | | | | | | function old new delta crond_main 1417 1460 +43 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: reorder functions to follow usual order: "main last"Denys Vlasenko2010-07-081-231/+221
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: code shrinkDenys Vlasenko2010-07-061-62/+65
| | | | | | | function old new delta ForkJob 513 457 -56 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>