path: root/applets
Commit message (Collapse)AuthorAgeFilesLines
* - remove emacs layout block as suggested by Robert P.J. DayGravatar Bernhard Reutner-Fischer2006-05-191-8/+3
| | | | - use shorter boilerplate while at it
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Gravatar Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already.Gravatar Rob Landley2006-05-071-1/+1
* Rich Felker writes:Gravatar Rob Landley2006-05-031-1/+1
| | | | mistake in a macro caused statement before declaration.
* Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from theGravatar Rob Landley2006-05-011-24/+3
| | | | compressed usage messages patch).
* Patch from Dennis Vlasenko to add the option to compress help text.Gravatar Rob Landley2006-04-271-23/+61
* - add option to suppress the terse usage messages. Saves 6.8k for defconfig:Gravatar Bernhard Reutner-Fischer2006-03-311-0/+4
| | | | | | | text data bss dec hex filename 861791 11264 1039140 1912195 1d2d83 busybox.have-terse-usage 854799 11264 1039140 1905203 1d1233 busybox.no-terse
* When cross-compiling, the install directory for shared libraries has to comeGravatar Rob Landley2006-03-241-5/+6
| | | | from gcc (target machine), not uname (host machine).
* - correct typoGravatar Bernhard Reutner-Fischer2006-03-231-3/+3
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-9/+15
* - backout using features which are not available with the previous stableGravatar Bernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Gravatar Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-012-16/+7
| | | | - use less resources for the buildsystem itself
* add s390x to the listGravatar Mike Frysinger2006-02-201-1/+1
* forgoten new file for 14080 revisonGravatar "Vladimir N. Oleynik"2006-02-161-0/+10
* moved BB_BANNER to applets/version.c file: make kernel like version, Gravatar "Vladimir N. Oleynik"2006-02-161-1/+1
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* make the build system puuuuuuuuuuurtyGravatar Mike Frysinger2006-02-021-3/+2
* just whitespaceGravatar Tim Riker2006-01-251-2/+2
* - add platform.h.Gravatar Bernhard Reutner-Fischer2006-01-221-1/+1
| | | | - use shorter boilerplate while at it.
* Update readme and install.sh usage message.Gravatar Rob Landley2006-01-191-1/+1
* - shared libbusybox.Gravatar Bernhard Reutner-Fischer2006-01-154-6/+24
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* - use HOSTCC instead of a hardcoded ccGravatar Bernhard Reutner-Fischer2005-12-291-1/+1
* Stephane Billiart said:Gravatar Rob Landley2005-12-161-1/+1
| | | | | | | the attached patch makes applet list in busybox.links correctly include tr and watchdog. Currently, they don't appear because they are prefixed with ENABLE_ in include/applets.h
* The rest of Yann E. Morin's install revamp.Gravatar Rob Landley2005-12-151-5/+6
* Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares aboutGravatar Rob Landley2005-12-071-1/+1
| | | | matching up macro arguments even when the macro substitutes to nothing...
* - remove warning about "'static' is not at beginning of declaration".Gravatar Bernhard Reutner-Fischer2005-10-281-2/+2
* show_usage should use bb_default_error_retval.Gravatar Rob Landley2005-10-121-1/+1
* - remove explicit dependency of busybox.o and applets.o and usage.h from theGravatar Bernhard Reutner-Fischer2005-10-051-1/+1
| | | | Makefile. Instead fix the invocation of bb_mkdep.
* - busybox.o and applets.o depend on usage.hGravatar Bernhard Reutner-Fischer2005-10-051-1/+1
* busybox.c: ENABLE_LOCALE logic correct.Gravatar "Vladimir N. Oleynik"2005-09-291-1/+1
* use the shorter license headerGravatar Mike Frysinger2005-09-241-15/+2
* use brief license lineGravatar Mike Frysinger2005-09-241-15/+2
* remove infinity loop ./busybox --help busyboxGravatar "Vladimir N. Oleynik"2005-09-051-2/+3
* Fixes so "make allnoconfig" works again.Gravatar Rob Landley2005-09-052-145/+133
| | | | | | | | | | | | | | | | | | | | | | The configure system's save function edited out sub-menus that wouldn't be displayed in the current configuration, meaning config.h wouldn't have #udef entries for those symbols, meaning bb_config.h would have the relevant ENABLE_ missing instead of defined to 0. This broke the build. So I fixed it, and then reorganized the applets.c and busybox.c to take away the warnings this revealed (code that would be optimized out was making calls to functions that hadn't been prototyped. So I added an #else case to those #ifdefs to #define the relevant functions to empty macros to placate the warnings. I also reorganized the applets.c code to make adding such an #else case less of a pain (and make the need for prototyping go away by moving the functions up before they were used, and generally wind up with fewer #ifdefs in the code by putting all the logic in one place). This resulted in a huge seeming patch, when most if it just moves code from one place to another without touching it... Upside: make allyesconfig and make allnoconfig should both work now.
* General cleanup of command line parsing to allow "busybox" to work as a prefix.Gravatar Rob Landley2005-09-042-123/+58
| | | | | | | | | | | | | | | | | | | | | | | | | (I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to...
* Busybox should only multiplex based on argv[1] when it's called as "busybox".Gravatar Rob Landley2005-09-011-4/+0
| | | | | | | | | | | | Otherwise if you build busybox without a given applet you get the wrong error message when you call it via a symlink to that applet. (You also get the wrong behavior; it tries to use argv[1] as the command name just like busybox does for _any_ unknown, and although I doubt "echo rm -rf *" is common usage there's no upside and enough downside to make me nervous.) This fixes it.
* use toplevel ARFLAGS and update default ARFLAGS to be quietGravatar Mike Frysinger2005-07-271-1/+1
* output busybox help to stdout, not stderrGravatar Mike Frysinger2005-04-221-12/+12
* egor duda writes:Gravatar Eric Andersen2004-10-082-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
* Larry Doolittle writes:Gravatar Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Fix it so usage is _always_ in sync with applets.c. Previously,Gravatar Eric Andersen2004-04-063-11/+12
| | | | broken depends allowed these to get out of sync.
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-154-13/+13
* Vodz. last_patch_128Gravatar Glenn L McGrath2004-02-221-1/+1
| | | | | | | - declare applet_using as static from applets.c - small correction to cmdedit, previous version cleared history after Ctrl-C - small spelling correction (by Friedrich Lobenstock)
* Patch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,Gravatar Manuel Novoa III2004-02-171-1/+3
| | | | | I overlooked the case of someone wanting to use a valid but empty suid config file.
* Rewrite parse_config_file(). Among the old version's problems:Gravatar Manuel Novoa III2004-02-011-175/+220
| | | | | | | | | | | No checking for lines that were too long. No checking that fgets returning NULL was actually due to EOF. Various whitespace handling inconsistencies. Bloat (switches and multiple identical function calls). Failure to check for trailing characters in some cases. Dynamicly allocated memory was not free()d on error. Given that this controls suid/sgid behavior, the sloppy coding was really inexcusable. :-(
* wrap bb help output if CONFIG_FEATURE_AUTOWIDTHGravatar Tim Riker2003-11-071-1/+9
* Woops, the previous patch reversal wasnt complete, breaking everything.Gravatar Glenn L McGrath2003-10-041-1/+1
* Reverse my previous changes and make a note about why its dont this wayGravatar Glenn L McGrath2003-10-031-1/+12
* argc has already been decrementedGravatar Glenn L McGrath2003-10-031-2/+3