aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* tar: store negative mtime as 0; pack very large files using base-256 encodingDenys Vlasenko2011-05-042-5/+33
| | | | | | | function old new delta writeTarHeader 841 979 +138 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: for NFS use tcp per default rather than udpBernhard Reutner-Fischer2011-05-041-1/+1
| | | | | | | | nfs-utils's mount.nfs uses TCP per default unless explicitly asked for otherwise. This is also the expected behaviour for NFSv4, so ok there, too. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* udhcp: fix some default values from "" to NULLDenys Vlasenko2011-05-031-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: support \r in s commandDenys Vlasenko2011-05-032-1/+5
| | | | | | | function old new delta copy_parsing_escapes 65 91 +26 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: code shrinkDenys Vlasenko2011-05-031-54/+92
| | | | | | | | text data bss dec hex filename 876354 493 7584 884431 d7ecf busybox_old 876323 493 7584 884400 d7eb0 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Compile options: default to -O2 when -Os is not availableWolfgang Denk2011-05-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | Recent versions of GCC for PowerPC systems suffer from some compiler bugs which prevent the use of "--enable-target-optspace" in their configuration, which makes the compiler option "-Os" unavailable; for reference see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48278 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053 In the result, BusyBox will be compiled without any optimization options, which causes a huge binary (1.8 MiB for default configuration on PPC, built with gcc 54.51 from the Yocto / Poky / OpenEmbedded tool chains). This commit changes behaviour so "-O2" gets used as fallback when "-Os" is not available. This reduces the image size in above test to 1.3 MiB. This is still 10...15% more then what we get with "-Os", but much better than using no optimization at all. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setserial: small fixDenys Vlasenko2011-05-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* get rid of several "variable 'x' set but not used" warningsCristian Ionescu-Idbohrn2011-05-013-14/+6
| | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setserial: new appletMarek Bečka2011-05-011-0/+763
| | | | | | | | | text data bss dec hex filename 873605 493 7584 881682 d7412 busybox_old 876354 493 7584 884431 d7ecf busybox_unstripped Signed-off-by: Marek Bečka <yuen@klacno.sk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat.c: remove unused lineMarek Polacek2011-04-301-2/+1
| | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: backport disk check from util-linuxLauri Kasanen2011-04-301-7/+28
| | | | | | | | | | | | | With the digit check devices like mmcblk0 were skipped, but now with 0 allowed we're seeing a ton of loop devices listed (loop0, loop10, loop20...) as well as ramzswap0, all which should not be shown in fdisk -l. function old new delta list_devs_in_proc_partititons 157 238 +81 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename miscutils/ubi_attach_detach.c -> miscutils/ubi_tools.cDenys Vlasenko2011-04-261-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add help textDenys Vlasenko2011-04-261-2/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* udhcp: add FEATURE_UDHCP_8021Q optionNigel Hathaway2011-04-264-0/+27
| | | | | | | | | 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>
* dhcpc: export unrecognized options in "optNN=XXXXXXXXX" formNigel Hathaway2011-04-261-10/+47
| | | | | | | | function old new delta udhcp_run_script 609 818 +209 Signed-off-by: Nigel Hathaway <Nigel.Hathaway@ubiquisys.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build fixes for scripts/kconfigDenys Vlasenko2011-04-182-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add include <sys/socket.h>Denys Vlasenko2011-04-171-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* straighten out dprintf/fdprintf mess; remove old "define lchown chown"Denys Vlasenko2011-04-172-16/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* small fixes atop syslog config patchDenys Vlasenko2011-04-164-9/+39
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: clear sa_flags alwaysIan Wienand2011-04-161-2/+7
| | | | | Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix another nonportable grep usage in scriptsDenys Vlasenko2011-04-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* syslogd: small fix to config patchSergey Naumov2011-04-161-3/+9
| | | | | Signed-off-by: Sergey Naumov <sknaumov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: add a note about bug 3625Denys Vlasenko2011-04-161-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* md5/sha1sum: better fix for small resource leakDenys Vlasenko2011-04-161-14/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* md5/sha1sum: fix small resource leakAlexey Fomenko2011-04-161-0/+3
| | | | | Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619Denys Vlasenko2011-04-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make FDISK_SUPPORT_LARGE_DISKS redundant when LFS=yDenys Vlasenko2011-04-162-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: do not use "sed --" for nowDenys Vlasenko2011-04-161-4/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix double words in comments. No code changesMarek Polacek2011-04-168-9/+9
| | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add forgotten #includeDenys Vlasenko2011-04-111-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftpd: add -l "log to syslog" option. Needed for inetd modeDenys Vlasenko2011-04-111-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: fix progress bar for large (>32M) files. Closes 3499Denys Vlasenko2011-04-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argumentDenys Vlasenko2011-04-112-0/+7
| | | | 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-11142-2312/+2369
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* syslogd: optional support for /etc/syslog.confSergey Naumov2011-04-102-65/+275
| | | | | | | | | | | | | | | function old new delta syslogd_main 1241 1870 +629 timestamp_and_log 301 540 +239 find_by_name - 37 +37 find_by_val - 22 +22 init_data 64 68 +4 log_locally 603 413 -190 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/1 up/down: 931/-190) Total: 741 bytes Signed-off-by: Sergey Naumov <sknaumov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* http: document index.cgi usage. no code changesDenys Vlasenko2011-04-101-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr.Denys Vlasenko2011-04-0710-24/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: decrease ntpd -q "no response" timeout to 10 secDenys Vlasenko2011-04-071-3/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* applets/install.sh: afer quoting of variablesDenys Vlasenko2011-04-051-35/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* passwd,chpasswd: reset password in /etc/passwd to "x" if /etc/shadow was updatedTito Ragusa2011-04-052-4/+10
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix install.shDenys Vlasenko2011-04-041-6/+10
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: add ulimit -e -r (RLIMIT_NICE, RLIMIT_RTPRIO)Denys Vlasenko2011-04-041-0/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* start-stop-daemon: fix "-K --test --pidfile PIDFILE" exitcodeDenys Vlasenko2011-04-041-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c ↵Pere Orga2011-04-0326-400/+418
| | | | | | | editors/*.c loginutils/*.c mailutils/*.c Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: better help text for -a and -ADenys Vlasenko2011-04-031-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to coreutils/*.cPere Orga2011-03-3167-1055/+1070
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* small fix for HISTFILESIZEDenys Vlasenko2011-03-311-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>