aboutsummaryrefslogtreecommitdiff
path: root/applets (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - remove warning about "'static' is not at beginning of declaration".aldot2005-10-281-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* show_usage should use bb_default_error_retval.landley2005-10-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove explicit dependency of busybox.o and applets.o and usage.h from thealdot2005-10-051-1/+1
| | | | | | | Makefile. Instead fix the invocation of bb_mkdep. git-svn-id: svn://busybox.net/trunk/busybox@11774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - busybox.o and applets.o depend on usage.haldot2005-10-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* busybox.c: ENABLE_LOCALE logic correct.vodz2005-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove infinity loop ./busybox --help busyboxvodz2005-09-051-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11330 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixes so "make allnoconfig" works again.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. git-svn-id: svn://busybox.net/trunk/busybox@11324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* General cleanup of command line parsing to allow "busybox" to work as a prefix.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... git-svn-id: svn://busybox.net/trunk/busybox@11322 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Busybox should only multiplex based on argv[1] when it's called as "busybox".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. git-svn-id: svn://busybox.net/trunk/busybox@11301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* output busybox help to stdout, not stderrvapier2005-04-221-12/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes: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 git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes: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 git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix it so usage is _always_ in sync with applets.c. Previously,andersen2004-04-063-11/+12
| | | | | | | broken depends allowed these to get out of sync. git-svn-id: svn://busybox.net/trunk/busybox@8702 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-154-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz. last_patch_128bug12004-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) git-svn-id: svn://busybox.net/trunk/busybox@8544 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,mjn32004-02-171-1/+3
| | | | | | | | I overlooked the case of someone wanting to use a valid but empty suid config file. git-svn-id: svn://busybox.net/trunk/busybox@8494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite parse_config_file(). Among the old version's problems:mjn32004-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. :-( git-svn-id: svn://busybox.net/trunk/busybox@8390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* wrap bb help output if CONFIG_FEATURE_AUTOWIDTHtimr2003-11-071-1/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Woops, the previous patch reversal wasnt complete, breaking everything.bug12003-10-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reverse my previous changes and make a note about why its dont this waybug12003-10-031-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7598 69ca8d6d-28ef-0310-b511-8ec308f3f277
* argc has already been decrementedbug12003-10-031-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7594 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rob Landley, Simplify organisation of arguments.bug12003-10-031-13/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7593 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-142-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_path_87, formatiing changesbug12003-05-261-275/+306
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-192-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I miscalculated on this one, change it backbug12002-11-281-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save a few bytes in show_usagebug12002-11-281-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dependancy so we rebuild busybox.o, usage.o and busybox.oandersen2002-09-301-0/+4
| | | | | | | | whenever the config changes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz' last_patch52andersen2002-09-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, use /* */ style comments instead of //bug12002-08-221-65/+65
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5331 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a compile time option to suppress the "Using fallback.." messagesandman2002-07-181-0/+2
| | | | | | | if no busybox.conf file is existant. git-svn-id: svn://busybox.net/trunk/busybox@5065 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't treat a non-existant/-readable config file as an empty config, butsandman2002-07-161-1/+2
| | | | | | | use the compiled in _BB_SUID_* flags (same as for parse errors) git-svn-id: svn://busybox.net/trunk/busybox@5062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub pwd.h and grp.h handling so we don't have to play anyandersen2002-07-031-2/+2
| | | | | | | | silly games. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If config file can not be parsed, use compiled in BB_SUID_... values as asandman2002-06-061-55/+71
| | | | | | | fallback method git-svn-id: svn://busybox.net/trunk/busybox@4873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement two types of suid/sgid support for BusyBox:sandman2002-06-041-0/+287
| | | | | | | | | 1) tinylogin like with compile time selection and a chown root.root 2) Runtime configurable via /etc/busybox.conf (docu is in the works) [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-13/+41
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply lash_patch35 from vodz, which brings several nice size_optimizations.andersen2002-04-061-7/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz' last_patch31andersen2001-12-181-1/+1
| | | | | | | | | | | | | | | | Very minimal last corrections: 1) busybox.c: fix warining 2) docs/: add applets for list from pwd_grp 3) usage.h: add -n option for route 4) run_parts.c: many todo fix for busybox style 5) addgroup.c: add #ifdef CONFIG_FEATURE_SHADOWPASSWDS, reduce one perror_msg 6) adduser.c: fix bug "variable i not initialize" and add #ifdef CONFIG_FEATURE_SHADOWPASSWDS git-svn-id: svn://busybox.net/trunk/busybox@3900 69ca8d6d-28ef-0310-b511-8ec308f3f277
* *** empty log message ***andersen2001-10-311-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3620 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move usage.h to include/usage.handersen2001-10-311-1904/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>andersen2001-10-311-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup the new buildsystem a bit.andersen2001-10-242-18/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3568 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops. Forgot these....andersen2001-10-241-0/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3562 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-243-36/+36
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit the start-stop-daemon applet. This was contributed by Davidandersen2001-10-181-0/+14
| | | | | | | | | Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from Lineo. So it seems I totally forgot about this patch until now. Sorry about that David! git-svn-id: svn://busybox.net/trunk/busybox@3546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove duplicate tftp -l option helpbug12001-10-051-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply Magnus Damm's patch, adds tftp blocksize support, and some cleanups.bug12001-10-051-2/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3492 69ca8d6d-28ef-0310-b511-8ec308f3f277