summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)Author
2005-09-24use brief license lineMike Frysinger
2005-09-05remove infinity loop ./busybox --help busybox"Vladimir N. Oleynik"
2005-09-05Fixes so "make allnoconfig" works again.Rob Landley
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.
2005-09-04General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley
(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...
2005-09-01Busybox should only multiplex based on argv[1] when it's called as "busybox".Rob Landley
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.
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-04-22output busybox help to stdout, not stderrMike Frysinger
2004-10-08egor duda writes:Eric Andersen
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
2004-04-14Larry Doolittle writes:Eric Andersen
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
2004-04-06Fix it so usage is _always_ in sync with applets.c. Previously,Eric Andersen
broken depends allowed these to get out of sync.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-22Vodz. last_patch_128Glenn L McGrath
- 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)
2004-02-17Patch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,Manuel Novoa III
I overlooked the case of someone wanting to use a valid but empty suid config file.
2004-02-01Rewrite parse_config_file(). Among the old version's problems:Manuel Novoa III
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. :-(
2003-11-07wrap bb help output if CONFIG_FEATURE_AUTOWIDTHTim Riker
2003-10-04Woops, the previous patch reversal wasnt complete, breaking everything.Glenn L McGrath
2003-10-03Reverse my previous changes and make a note about why its dont this wayGlenn L McGrath
2003-10-03argc has already been decrementedGlenn L McGrath
2003-10-03Patch from Rob Landley, Simplify organisation of arguments.Glenn L McGrath
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-05-26Vodz, last_path_87, formatiing changesGlenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-28I miscalculated on this one, change it backGlenn L McGrath
2002-11-28Save a few bytes in show_usageGlenn L McGrath
2002-09-30Fix dependancy so we rebuild busybox.o, usage.o and busybox.oEric Andersen
whenever the config changes. -Erik
2002-09-16Apply vodz' last_patch52Eric Andersen
2002-08-22Run through indent, use /* */ style comments instead of //Glenn L McGrath
2002-07-18Added a compile time option to suppress the "Using fallback.." messageRobert Griebl
if no busybox.conf file is existant.
2002-07-16Don't treat a non-existant/-readable config file as an empty config, butRobert Griebl
use the compiled in _BB_SUID_* flags (same as for parse errors)
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-06-06If config file can not be parsed, use compiled in BB_SUID_... values as aRobert Griebl
fallback method
2002-06-04Implement two types of suid/sgid support for BusyBox:Robert Griebl
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]
2002-04-12Completely rework the config system so that it no longer annoys me to work onEric Andersen
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
2002-04-06Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen
2001-12-18Vodz' last_patch31Eric Andersen
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
2001-10-31*** empty log message ***Eric Andersen
2001-10-31Move usage.h to include/usage.hEric Andersen
2001-10-31Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>Eric Andersen
2001-10-24Fixup the new buildsystem a bit.Eric Andersen
2001-10-24Oops. Forgot these....Eric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Commit the start-stop-daemon applet. This was contributed by DavidEric Andersen
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!
2001-10-05Remove duplicate tftp -l option helpGlenn L McGrath
2001-10-05Apply Magnus Damm's patch, adds tftp blocksize support, and some cleanups.Glenn L McGrath
2001-10-05Initial support for for bunzip2....Glenn L McGrath
This code could be improvemed by 1) supporting more options, 2) Creating a shared crc table with gunzip, or perhaps generated on the fly. 3) Removing any remaining unneccessary code (e.g. if (noisy))
2001-09-26use the pedantically correct compiler for preprocessingEric Andersen
2001-09-21Fix tftp usage information (closes: #1216).Matt Kraai
2001-08-27Remove traces of rpmunpack (patch by Laurence Anderson).Matt Kraai
2001-08-27Add support for `busybox --help APPLET' by Vladimir Oleynik.Matt Kraai
2001-08-27Fix ash exec (noted by Arne Bernin).Matt Kraai