summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * xargs: fix compilation breakageDenys Vlasenko2014-02-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: fix -w match if first match isn't a word, but second is. Closes 4520Denys Vlasenko2014-02-272-14/+21
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * xargs: add support for -I and -i. Closes 493Denys Vlasenko2014-02-274-56/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta process_stdin_with_replace - 195 +195 xmalloc_substitute_string - 145 +145 xargs_main 808 884 +76 count_strstr - 45 +45 packed_usage 29580 29571 -9 parse_params 1445 1416 -29 func_exec 285 138 -147 ------------------------------------------------------------------------------ (add/remove: 4/0 grow/shrink: 1/3 up/down: 461/-185) Total: 276 bytes text data bss dec hex filename 922156 932 17692 940780 e5aec busybox_old 922440 932 17692 941064 e5c08 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: code shrinkDenys Vlasenko2014-02-261-5/+3
| | | | | | | | | | | | | | function old new delta func_exec 306 285 -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nc: fix option bit positions. Closes 6926Denys Vlasenko2014-02-261-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hwclock: fix setting of tz_minuteswest. Closes 5414Denys Vlasenko2014-02-251-2/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: remove a dead link from Config help textDenys Vlasenko2014-02-251-4/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * du, copy_file: fix file matching on cramfs. Closes 5456Denys Vlasenko2014-02-251-4/+15
| | | | | | | | | | | | | | | | | | | | | | function old new delta is_in_ino_dev_hashtable 88 108 +20 add_to_ino_dev_hashtable 150 142 -8 reset_ino_dev_hashtable 84 75 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 20/-17) Total: 3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: trivial code shrinkDenys Vlasenko2014-02-251-6/+11
| | | | | | | | | | | | | | function old new delta reset_ino_dev_hashtable 84 74 -10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sysctl: do not error out showing write-only data. Closes 6386Denys Vlasenko2014-02-241-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: fix commentDenys Vlasenko2014-02-241-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: add commented-out code to use ssl_helper instead of opensslDenys Vlasenko2014-02-231-2/+47
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * networking/ssl_helper: experimental matrixssl-based ssl helperDenys Vlasenko2014-02-233-0/+433
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: add support for https using "openssl s_client" as a helperDenys Vlasenko2014-02-221-26/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | www.kernel.org started redirecting http:// to https:// making https support mandatory for any auto build scripts. function old new delta wget_main 2631 2971 +340 parse_url 409 471 +62 .rodata 115607 115626 +19 P_HTTPS - 6 +6 P_HTTP - 5 +5 P_FTP - 4 +4 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 3/0 up/down: 436/0) Total: 436 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Improve examples/var_service READMEsDenys Vlasenko2014-02-2113-2/+71
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Kbuild: move CONFIG_PAM to general configurationBartosz Golaszewski2014-02-192-7/+7
| | | | | | | | | | | | | | | | | | | | Currently CONFIG_PAM depends on CONFIG_LOGIN, but is used by the httpd applet too. This patch moves said option to general configuration, thus allowing to compile httpd with PAM support independently from login. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: fix BPF filter. Hopefully fixes the root cause of 4598 and 6746Denys Vlasenko2014-02-192-4/+5
| | | | | | | | | | | | Use a *signed* large positive value in BPF filter to indicate success. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ifplugd: code shrinkDenys Vlasenko2014-02-101-10/+12
| | | | | | | | | | | | | | function old new delta ifplugd_main 1161 1144 -17 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * htpd: trivial simplification in random interval selectionDenys Vlasenko2014-02-091-2/+3
| | | | | | | | | | | | | | function old new delta poll_interval 57 52 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: don't die if crypt() returns NULLDenys Vlasenko2014-02-091-1/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sendmail: use FQDN in default envelope senderKaarle Ritvanen2014-02-091-2/+4
| | | | | | | | | | | | | | | | RFC 5321 requires the return path to be supplied with a proper domain name. Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: in comments, explain the kind of raw socket we createDenys Vlasenko2014-02-071-2/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: properly handle grep -w "^str" in !EXTRA_COMPAT case tooBartosz Golaszewski2014-02-072-2/+12
| | | | | | | | | | | | | | | | function old new delta grep_file 1267 1288 +21 Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sendmail: make -f optional, document its default valueDenys Vlasenko2014-02-051-11/+56
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: don't use BPF filter, users report problems (bugs 4598, 6746)Denys Vlasenko2014-02-031-47/+46
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ifupdown: support 'link' address familyKaarle Ritvanen2014-02-031-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Does not configure anything. L2 configuration hook scripts should do their job on receiving ADDRFAM=link. Configuration will be done only once, irrespective of L3 protocols used. Using the 'link' family in the interfaces file conforms to the Debian implementation: http://sources.debian.net/src/ifupdown/0.7.47.1/link.defn function old new delta link_methods - 12 +12 addr_link - 12 +12 link_up_down - 6 +6 static.addr_fams 12 16 +4 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 1/0 up/down: 34/0) Total: 34 bytes Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: fix use-after-free of ->user. Closes 6836Denys Vlasenko2014-02-031-7/+9
| | | | | | | | | | | | | | | | function old new delta wget_main 2207 2223 +16 parse_url 339 353 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * catv: suppress compiler warningDenys Vlasenko2014-02-031-7/+9
| | | | | | | | | | | | | | The warning was: warning: typedef 'BUG_const_mismatch' locally defined but not used [-Wunused-local-typedefs] Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * zcat: complain if input is not compressedDenys Vlasenko2014-02-029-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 178 191 +13 varvalue 735 743 +8 bbunpack 747 755 +8 open_zipped 85 89 +4 xmalloc_open_zipped_read_close 61 63 +2 get_addr_1 240 242 +2 fbsplash_main 1228 1230 +2 pstree_main 322 321 -1 builtin_type 121 119 -2 do_load 954 926 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/3 up/down: 39/-31) Total: 8 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * appletlib: fix set-but-unused warningMike Frysinger2014-01-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | When you build with FEATURE_INSTALLER disabled, you get a build warning like so: libbb/appletlib.c: In function 'busybox_main': libbb/appletlib.c:691:7: warning: variable 'use_symbolic_links' set but not used [-Wunused-but-set-variable] int use_symbolic_links; ^ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * uname: fix up usage documentationMike Frysinger2014-01-311-4/+6
| | | | | | | | | | | | | | The -i/-o options were missing, and the -r/-s/-v options were incorrectly labeled as "OS" instead of "kernel". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * init: do not fail build if SIGPWR is not definedMichael Tokarev2014-01-301-0/+2
| | | | | | | | | | | | | | | | | | Apparently, some *BSD variants (and maybe some other OSes) does not define SIGPWR signal. So since commit 760fc6debcba8c, busybox fails to build on such platforms. Fix this. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: open_zipped() should not fail on non-compressed filesDenys Vlasenko2014-01-271-1/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: fix last "which" changeMichael Tokarev2014-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In commit afa63b2dcdc9b9 I replaced `type -p' with `command -pv'. But actually it is wrong, the right substitution is `command -v'. We need to find our busybox which is in the first directory in $PATH, so `command -p' should not be used because it uses default PATH, not current value of PATH where our busybox binary resides. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * less: accept and ignore -sDenys Vlasenko2014-01-221-6/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * man: parse "DEFINE pager" in configJohn Spencer2014-01-221-7/+15
| | | | | | | | | | | | | | | | function old new delta man_main 789 844 +55 Signed-off-by: John Spencer <maillist-busybox@barfooze.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * iplink: fix build with kernel versions prior to 2.6.23Eugene Rudoy2014-01-221-0/+10
| | | | | | | | | | Signed-off-by: Eugene Rudoy <gene.devel@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: if opening /dev/loopN returns ENXIO, don't try N++.Denys Vlasenko2014-01-211-6/+12
| | | | | | | | | | | | | | function old new delta set_loop 639 635 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | mingw: dummy implementation of times/sysconfRon Yorston2014-01-303-9/+36
| |
* | win32: use emulated localtime_r in strptimeRon Yorston2014-01-211-3/+1
| |
* | date: improve emulation of %e formatRon Yorston2014-01-211-15/+20
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-01-2113-57/+87
|\|
| * libbb: fix parsing of "10101010" date/time formDenys Vlasenko2014-01-211-4/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * top.c: fix compilation warningsBartosz Golaszewski2014-01-201-5/+0
| | | | | | | | | | | | | | pfd[1] is unused Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: remove now unnecessary check for IP_PKTINFO definitionDenys Vlasenko2014-01-202-6/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: fix compilation warningsBartosz Golaszewski2014-01-201-0/+4
| | | | | | | | | | | | | | GCC complained about since_last_update being set but not used. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sort: check global flags on fallback sortBartosz Golaszewski2014-01-192-5/+6
| | | | | | | | | | | | | | | | | | | | | | Sort now performs global reverse on fallback sort if -r is set. Before only key local flags were checked. function old new delta compare_keys 712 738 +26 Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sort.c: remove a magic number from compare_keys()Bartosz Golaszewski2014-01-191-1/+1
| | | | | | | | | | | | | | Use bitwise OR of proper flags instead. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * gitignore: ignore files generated by 'make test'Bartosz Golaszewski2014-01-191-0/+6
| | | | | | | | | | Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * adduser,addgroup: introduce and use CONFIG_LAST_IDTito Ragusa2014-01-173-21/+27
| | | | | | | | | | | | | | | | | | | | | | Changes adduser.c, addgroup.c and Config.src to set and use CONFIG_LAST_ID. function old new delta adduser_main 841 865 +24 addgroup_main 407 425 +18 Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>