aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* restore shadow.h independenceMike Frysinger2009-07-092-5/+18
| | | | | | | | | | | Commit ee5dce336597 made busybox require shadow.h from the toolchain even if the config opted for the internal busybox implementation. This makes building with toolchains that lack shadow support impossible. Since the merge only saved us from duplicating a simple structure (whose ABI isn't going to ever change), restore the logic for complete busybox shadow independence by reverting that previous commit slightly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* depmod.pl: recurse through module dependenciesMike Frysinger2009-07-091-10/+21
| | | | | | | | The previous fix up loaded dependencies two deep, but really that was an incomplete fix as we need to load dependencies all the way down. So change the code to run recursively through all dependencies. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tar: handle 256-base encoding in mtimeDenys Vlasenko2009-07-081-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move libc related stuff out of platform.hDenys Vlasenko2009-07-0812-67/+84
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpd: fix a bug in add_lease where it was reading at [-1]Denys Vlasenko2009-07-074-21/+35
| | | | | | It is not correct when we read lease file! Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reformime: small code and style fixes. no material changes in behavior.Denys Vlasenko2009-07-071-7/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak MD5 config textDenys Vlasenko2009-07-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pgrep/pkill: support -s and -P optionsDenys Vlasenko2009-07-062-58/+72
| | | | | | | | | | | | function old new delta pgrep_main 510 580 +70 packed_usage 26575 26616 +41 act 234 236 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 113/0) Total: 113 bytes Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak sendmail and makemime help textsDenys Vlasenko2009-07-052-14/+79
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/sha: #undef macro names before #defining them.Denys Vlasenko2009-07-051-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: make "non-POSIX" cp a bit more consistentDenys Vlasenko2009-07-051-34/+28
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: by popular demand, make it POSIX compliant (but less safe)Denys Vlasenko2009-07-052-9/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: fix "df /"Denys Vlasenko2009-07-058-54/+47
| | | | | | | | | | | | | | | | | | | also, clean up mount checks in mkfs/fsck. function old new delta find_mount_point 243 261 +18 sha1_process_block64 497 510 +13 find_main 436 444 +8 display_speed 85 90 +5 df_main 795 793 -2 parse_command 1463 1460 -3 static.ignored_mounts 8 - -8 mkfs_minix_main 2962 2937 -25 fsck_minix_main 3065 2970 -95 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/4 up/down: 44/-133) Total: -89 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Patches to enable FreeBSD buildDenys Vlasenko2009-07-0510-53/+72
| | | | | | | | | platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix dependencies of FEATURE_GETOPT_LONGDenys Vlasenko2009-07-046-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: conditionally support additional -o FIELDsDenys Vlasenko2009-07-035-18/+92
| | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1409 1642 +233 out_spec 220 300 +80 func_ruser - 36 +36 func_rgroup - 36 +36 func_group 13 49 +36 func_nice - 29 +29 buffer_fill_and_print 179 196 +17 send_tree 355 360 +5 mkfs_vfat_main 1604 1609 +5 display_speed 85 90 +5 scriptreplay_main 194 197 +3 find_out_spec 55 58 +3 changepath 192 195 +3 sha1_process_block64 497 484 -13 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 10/1 up/down: 491/-13) Total: 478 bytes Signed-off-by: David Krakov <krakov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* svlogd: do not overrun read buffer (fixes bug 439)Denys Vlasenko2009-07-031-9/+6
| | | | | | | | | function old new delta rotate 513 534 +21 logdirs_reopen 1291 1296 +5 processorstart 409 385 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: support option 0x79 (static routes) (part of bug 341)Denys Vlasenko2009-07-033-1/+52
| | | | | | | | | | | | | | function old new delta xmalloc_optname_optval - 583 +583 dhcp_option_strings 258 266 +8 dhcp_options 70 72 +2 len_of_option_as_string 11 12 +1 dhcp_option_lengths 11 12 +1 udhcp_run_script 1187 669 -518 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/1 up/down: 595/-518) Total: 77 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: dname_dec may return NULL, account for that caseDenys Vlasenko2009-07-035-58/+66
| | | | | | Other random cleanips included... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2009-07-031-1/+1
|\
| * test commitBernhard Reutner-Fischer2009-07-031-1/+0
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test commitBernhard Reutner-Fischer2009-07-031-0/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test commitBernhard Reutner-Fischer2009-07-031-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | ls: make --color more compatible with coreutilsDenys Vlasenko2009-07-031-20/+34
|/ | | | | | | | | | | | | | | function old new delta static.color_str - 34 +34 static.ls_longopts - 9 +9 ls_color_opt 9 - -9 ls_main 865 843 -22 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/1 up/down: 43/-31) Total: 12 bytes text data bss dec hex filename 820145 450 7692 828287 ca37f busybox_old 820144 450 7692 828286 ca37e busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix --color handling. Closes bug 435.Denys Vlasenko2009-07-025-13/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: be more permissive on errors (dont die): mdev -s users want thatDenys Vlasenko2009-07-021-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: set $MDEV correctly for renamed nodesDenys Vlasenko2009-07-022-39/+41
| | | | | | | | function old new delta make_device 1467 1502 +35 build_alias 78 - -78 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Added kernel patch for /proc/self/exe to examplesDenys Vlasenko2009-07-021-0/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: remove IPv6 scope id in Host: field (apache compat)Denys Vlasenko2009-06-301-3/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix handling of 1d;1,3p and 1d;1,REGEXpDenys Vlasenko2009-06-302-229/+260
| | | | | | | function old new delta process_files 2084 2173 +89 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix redirection from HTTP to FTP serverDenys Vlasenko2009-06-281-137/+140
| | | | | | | | | | | | | | | | while at it, sanitize redirection in general; add printout of every redirection hop; make sure we won't print any non-ASCII garbage from remote server in error meesages. function old new delta sanitize_string - 14 +14 parse_url 294 301 +7 gethdr 190 197 +7 wget_main 2326 2331 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 33/0) Total: 33 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: remove strange *&var construct.Denys Vlasenko2009-06-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: code shrink by splitting main() into easier-to-optimize functionsDenys Vlasenko2009-06-281-161/+174
| | | | | | | | | | function old new delta retrieve_file_data - 356 +356 wget_main 2793 2326 -467 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 356/-467) Total: -111 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update a comment, no code changesDenys Vlasenko2009-06-271-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* device matching against UUIDs: do not try floppiesDenys Vlasenko2009-06-271-0/+7
| | | | | | | function old new delta uuidcache_check_device 255 292 +37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trylink: don't use ld --gc-sections if ld doesn't support itDenys Vlasenko2009-06-271-0/+5
| | | | | Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: (allegedly) fix testsuite failureDenys Vlasenko2009-06-271-0/+2
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: fix a read error loop (e.g.: device is down) blocking TERMDenys Vlasenko2009-06-261-148/+151
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* updates for supporting Linux kernel build and initrd utilitiesDenys Vlasenko2009-06-265-35/+115
| | | | | | | | | cpio: --verbose, --quiet, --to-stdout test: make 64-bit math enable-able for hush too dnsdomainname: alias to hostname -d hostname: support --fqdn, --domain, --file Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix the case when move rule deletes node with name == device_nameDenys Vlasenko2009-06-222-19/+43
| | | | | Signed-off-by: Jean Wolter <jw5@os.inf.tu-dresden.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim/regularize usage texts. -92 bytesDenys Vlasenko2009-06-201-199/+199
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: fix trivial compile errorDenys Vlasenko2009-06-192-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: remove configuration for v0 supportDenys Vlasenko2009-06-193-12/+0
| | | | | | | | | mkswap hasn't had v0 support since commit d893b120bae5a9bdef4cfda2df5e62867d6b1cd0; it doesn't seem to make sense to offer it for configuration. Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: separate UUID featureDenys Vlasenko2009-06-192-1/+8
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-1926-74/+82
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: support -i; pass through -f and -n to helpers as necessaryDenys Vlasenko2009-06-192-27/+49
| | | | | | | | | function old new delta mount_it_now 298 345 +47 singlemount 776 772 -4 Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: accidentally committed wrong patch. fix it upDenys Vlasenko2009-06-191-12/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: improve randomness of UUID generation set version/variant bitsDenys Vlasenko2009-06-191-4/+55
| | | | | | | function old new delta mkswap_main 317 410 +93 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: fix exit code on conversion errorDenys Vlasenko2009-06-182-15/+12
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: generate UUID if CONFIG_DESKTOP=y. +110 bytesDenys Vlasenko2009-06-181-3/+28
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>