oweals/busybox.git
19 years agouse updated bb_getopt_ulflags() for ps applet
"Vladimir N. Oleynik" [Tue, 4 Oct 2005 16:48:26 +0000 (16:48 -0000)]
use updated bb_getopt_ulflags() for ps applet

19 years ago- add option 'w' to ps (wide output, optional feature defaults to off).
Bernhard Reutner-Fischer [Tue, 4 Oct 2005 14:31:18 +0000 (14:31 -0000)]
- add option 'w' to ps (wide output, optional feature defaults to off).
- move to ENABLE_ and use shorter boilerplate.

sizes without selinux-support:
   text    data     bss     dec     hex filename
    356       0       0     356     164 procps/ps.o.with-w
    300       0       0     300     12c procps/ps.o.no-w
    302       0       0     302     12e procps/ps.o.oorig

19 years ago- add prototype for llist_add_to_end to libbb.h
Bernhard Reutner-Fischer [Tue, 4 Oct 2005 13:39:06 +0000 (13:39 -0000)]
- add prototype for llist_add_to_end to libbb.h

19 years agoAdd find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_
Rob Landley [Tue, 4 Oct 2005 03:34:39 +0000 (03:34 -0000)]
Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_
while we're in the area.

19 years agospeed up * 2
"Vladimir N. Oleynik" [Mon, 3 Oct 2005 10:08:46 +0000 (10:08 -0000)]
speed up * 2

19 years agosync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455
"Vladimir N. Oleynik" [Mon, 3 Oct 2005 08:08:58 +0000 (08:08 -0000)]
sync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455

19 years agoexcellent shrinkage patch by Tito
Mike Frysinger [Sun, 2 Oct 2005 08:10:31 +0000 (08:10 -0000)]
excellent shrinkage patch by Tito

19 years agoclean out unneeded E2FSCK variables
Mike Frysinger [Sun, 2 Oct 2005 08:09:50 +0000 (08:09 -0000)]
clean out unneeded E2FSCK variables

19 years agoremove debug warning
Mike Frysinger [Sun, 2 Oct 2005 07:54:07 +0000 (07:54 -0000)]
remove debug warning

19 years agoreorder arches into alphabetical order
Mike Frysinger [Sun, 2 Oct 2005 07:50:49 +0000 (07:50 -0000)]
reorder arches into alphabetical order

19 years agofixup whitespace
Mike Frysinger [Sun, 2 Oct 2005 07:14:06 +0000 (07:14 -0000)]
fixup whitespace

19 years agoremove all Elf32 hardcodes to make sure the elf handling is 64bit clean
Mike Frysinger [Sun, 2 Oct 2005 07:02:16 +0000 (07:02 -0000)]
remove all Elf32 hardcodes to make sure the elf handling is 64bit clean

19 years agosvdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2...
Mike Frysinger [Sun, 2 Oct 2005 06:44:39 +0000 (06:44 -0000)]
svdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2.4.27

19 years agotypo
Bernhard Reutner-Fischer [Fri, 30 Sep 2005 09:46:27 +0000 (09:46 -0000)]
typo

19 years ago- remove duplicate entry of resolve.c in BLKID_SRC
Bernhard Reutner-Fischer [Fri, 30 Sep 2005 08:25:50 +0000 (08:25 -0000)]
- remove duplicate entry of resolve.c in BLKID_SRC
- use the sourcedir to look for includes rather than the builddir

19 years agochange interface to bb_xasprintf() - more perfect for me.
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 16:18:57 +0000 (16:18 -0000)]
change interface to bb_xasprintf() - more perfect for me.
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers
reduce 100 bytes don't care in sum

19 years agoforgotten putenv
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 15:53:34 +0000 (15:53 -0000)]
forgotten putenv

19 years agodon't out \r to syslog
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 12:55:21 +0000 (12:55 -0000)]
don't out \r to syslog

19 years ago- rename llist_add_to.c to llist.c
Bernhard Reutner-Fischer [Thu, 29 Sep 2005 12:55:10 +0000 (12:55 -0000)]
- rename llist_add_to.c to llist.c
- move llist_add_to_end() from ifupdown.c to libbb/llist.c

19 years agogetty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 11:31:26 +0000 (11:31 -0000)]
getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect

19 years agomore busybox's style for fsck.c, size reduce
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 09:45:22 +0000 (09:45 -0000)]
more busybox's style for fsck.c, size reduce

19 years agobusybox.c: ENABLE_LOCALE logic correct.
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 08:19:04 +0000 (08:19 -0000)]
busybox.c: ENABLE_LOCALE logic correct.

19 years agoreorder include <sys/types.h> and <sys/types.h>.
"Vladimir N. Oleynik" [Thu, 29 Sep 2005 07:55:51 +0000 (07:55 -0000)]
reorder include <sys/types.h> and <sys/types.h>.

19 years agomore const, inline, forward declaration usage, strip 20k source size ;-)
"Vladimir N. Oleynik" [Wed, 28 Sep 2005 15:16:22 +0000 (15:16 -0000)]
more const, inline, forward declaration usage, strip 20k source size ;-)

19 years agoallow people to adjtime location
Mike Frysinger [Wed, 28 Sep 2005 03:21:21 +0000 (03:21 -0000)]
allow people to adjtime location

19 years agomove e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size...
"Vladimir N. Oleynik" [Tue, 27 Sep 2005 11:43:29 +0000 (11:43 -0000)]
move e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size reduction

19 years agofix building w/out et headers and w/out debug
Mike Frysinger [Tue, 27 Sep 2005 04:21:48 +0000 (04:21 -0000)]
fix building w/out et headers and w/out debug

19 years agoas pointed out in Bug 17, use uint32_t instead of unsigned long since the code expect...
Mike Frysinger [Tue, 27 Sep 2005 04:16:22 +0000 (04:16 -0000)]
as pointed out in Bug 17, use uint32_t instead of unsigned long since the code expects the size of the info variables to be 32bits and sizeof(long) on 64bit hosts is not 32bits

19 years agopass EXTRA_CFLAGS to final link since it may contain things that affect linking ...
Mike Frysinger [Tue, 27 Sep 2005 04:06:39 +0000 (04:06 -0000)]
pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32)

19 years agoeat misappropriated whitespace
Mike Frysinger [Tue, 27 Sep 2005 03:18:00 +0000 (03:18 -0000)]
eat misappropriated whitespace

19 years agouncuddle function scope brackets
Mike Frysinger [Tue, 27 Sep 2005 02:23:02 +0000 (02:23 -0000)]
uncuddle function scope brackets

19 years ago- remove unused variable TOPDIR
Bernhard Reutner-Fischer [Mon, 26 Sep 2005 16:01:43 +0000 (16:01 -0000)]
- remove unused variable TOPDIR

19 years agoadd "make help"
Rob Landley [Mon, 26 Sep 2005 15:49:41 +0000 (15:49 -0000)]
add "make help"

19 years agorevert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do...
"Vladimir N. Oleynik" [Mon, 26 Sep 2005 13:55:43 +0000 (13:55 -0000)]
revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do not confuse me\!

19 years agocorrect set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic space->tabs...
"Vladimir N. Oleynik" [Mon, 26 Sep 2005 13:24:45 +0000 (13:24 -0000)]
correct set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic space->tabs convert by my personal editor

19 years agospwd bulid now, (typo)
"Vladimir N. Oleynik" [Mon, 26 Sep 2005 12:58:24 +0000 (12:58 -0000)]
spwd bulid now, (typo)

19 years agoPatch from Amir Shalem to make busybox compile on a uClibc that has no shadow
Rob Landley [Sun, 25 Sep 2005 23:36:12 +0000 (23:36 -0000)]
Patch from Amir Shalem to make busybox compile on a uClibc that has no shadow
password support.

19 years agowhitespace sucks
Mike Frysinger [Sun, 25 Sep 2005 05:23:58 +0000 (05:23 -0000)]
whitespace sucks

19 years agofix building with debugging enabled #413
Mike Frysinger [Sun, 25 Sep 2005 05:18:04 +0000 (05:18 -0000)]
fix building with debugging enabled #413

19 years agothis should fix parallel building with .depend/bb_config.h
Mike Frysinger [Sun, 25 Sep 2005 04:53:35 +0000 (04:53 -0000)]
this should fix parallel building with .depend/bb_config.h

19 years agoStop gcc4 from nit-picking about signedness of char *.
Rob Landley [Sun, 25 Sep 2005 03:12:26 +0000 (03:12 -0000)]
Stop gcc4 from nit-picking about signedness of char *.

19 years agoCristian Ionescu-Idbohrn writes to fix a warning: networking/ifconfig.c uses an uchar...
Mike Frysinger [Sat, 24 Sep 2005 23:52:09 +0000 (23:52 -0000)]
Cristian Ionescu-Idbohrn writes to fix a warning: networking/ifconfig.c uses an uchar ptr to work with a char ptr so change the uchar to char

19 years agoCristian Ionescu-Idbohrn says: touchup whitespace/display
Mike Frysinger [Sat, 24 Sep 2005 23:50:14 +0000 (23:50 -0000)]
Cristian Ionescu-Idbohrn says: touchup whitespace/display

19 years agotouchup argc/argv handling to shrink a bit and fix a segfault when given wrong number...
Mike Frysinger [Sat, 24 Sep 2005 23:48:18 +0000 (23:48 -0000)]
touchup argc/argv handling to shrink a bit and fix a segfault when given wrong number of parameters as noted and fixed by Cristian Ionescu-Idbohrn

19 years agore-order a little for alphabetical
Mike Frysinger [Sat, 24 Sep 2005 23:15:53 +0000 (23:15 -0000)]
re-order a little for alphabetical

19 years agore-order a little for alphabetical
Mike Frysinger [Sat, 24 Sep 2005 23:15:28 +0000 (23:15 -0000)]
re-order a little for alphabetical

19 years agore-order a little for alphabetical
Mike Frysinger [Sat, 24 Sep 2005 23:14:11 +0000 (23:14 -0000)]
re-order a little for alphabetical

19 years agore-order a little for alphabetical
Mike Frysinger [Sat, 24 Sep 2005 23:13:22 +0000 (23:13 -0000)]
re-order a little for alphabetical

19 years agore-order a little for alphabetical
Mike Frysinger [Sat, 24 Sep 2005 23:12:38 +0000 (23:12 -0000)]
re-order a little for alphabetical

19 years agoTito switched option parsing over to switch umount over to bb_getopt_ulflags().
Rob Landley [Sat, 24 Sep 2005 22:41:08 +0000 (22:41 -0000)]
Tito switched option parsing over to switch umount over to bb_getopt_ulflags().

19 years agoforce nodebug by default
Mike Frysinger [Sat, 24 Sep 2005 07:20:59 +0000 (07:20 -0000)]
force nodebug by default

19 years agouse the shorter license header
Mike Frysinger [Sat, 24 Sep 2005 07:16:29 +0000 (07:16 -0000)]
use the shorter license header

19 years agoimport the very fat e2fsck/fsck applets
Mike Frysinger [Sat, 24 Sep 2005 07:11:16 +0000 (07:11 -0000)]
import the very fat e2fsck/fsck applets

19 years agomake sure we include local header files
Mike Frysinger [Sat, 24 Sep 2005 07:10:37 +0000 (07:10 -0000)]
make sure we include local header files

19 years agofix parallel building again
Mike Frysinger [Sat, 24 Sep 2005 06:15:23 +0000 (06:15 -0000)]
fix parallel building again

19 years agoerr, fix stupid mistake in previous do_findfs() change
Mike Frysinger [Sat, 24 Sep 2005 06:07:34 +0000 (06:07 -0000)]
err, fix stupid mistake in previous do_findfs() change

19 years agoadd a attribute_noreturn macro
Mike Frysinger [Sat, 24 Sep 2005 06:07:15 +0000 (06:07 -0000)]
add a attribute_noreturn macro

19 years agouse brief license line
Mike Frysinger [Sat, 24 Sep 2005 06:01:57 +0000 (06:01 -0000)]
use brief license line

19 years agofix broken whitespace and remove pointless mkdir
Mike Frysinger [Sat, 24 Sep 2005 05:58:39 +0000 (05:58 -0000)]
fix broken whitespace and remove pointless mkdir

19 years agomake e2label and findfs optional
Mike Frysinger [Sat, 24 Sep 2005 05:55:03 +0000 (05:55 -0000)]
make e2label and findfs optional

19 years agorename menu and touchup whitespace
Mike Frysinger [Sat, 24 Sep 2005 05:49:36 +0000 (05:49 -0000)]
rename menu and touchup whitespace

19 years agomake test an alias for check
Mike Frysinger [Sat, 24 Sep 2005 05:47:52 +0000 (05:47 -0000)]
make test an alias for check

19 years agocleanup option parsing
Mike Frysinger [Sat, 24 Sep 2005 00:52:58 +0000 (00:52 -0000)]
cleanup option parsing

19 years ago- ifupdown needs run-parts. Thanks Derosnec for pointing this out.
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 19:37:13 +0000 (19:37 -0000)]
- ifupdown needs run-parts. Thanks Derosnec for pointing this out.

19 years ago- remove dangling symlinks after the runs
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 17:42:33 +0000 (17:42 -0000)]
- remove dangling symlinks after the runs
- check if the temporary directory containing the links exists rather
  than unconditionally creating it for every single applet.

19 years agoWe've gotten enough questions that are related to building systems rather
Rob Landley [Fri, 23 Sep 2005 16:52:09 +0000 (16:52 -0000)]
We've gotten enough questions that are related to building systems rather
than anything about busybox that I'm deeming it a FAQ, and answering it.

I gave a quick swipe to a couple of other slightly stale questions along
the way.  The busybox 1.01 README has much more detailed versions of these
answers, that should probably be propogated to the 1.1 line and perhaps bits
of it transplanted to the FAQ?  (Or just have the README visible on the
web page someplace?)

19 years ago- set executable bit
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:56:39 +0000 (15:56 -0000)]
- set executable bit

19 years ago- introduce variable _BB_CONFIG_DEP to the new test harness.
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:44:46 +0000 (15:44 -0000)]
- introduce variable _BB_CONFIG_DEP to the new test harness.
  This is used to see if given tests should be run (are available) or not.
  Print "UNTESTED: descr" if the applet or feature is not available.
- add _BB_CONFIG_DEP to existing new.tests
- move old grep test to new test infrastructure and add a few more test for
  grep.

19 years ago- add missing descriptions of supported arguments
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:40:15 +0000 (15:40 -0000)]
- add missing descriptions of supported arguments

19 years ago- replace variables by defines to save space
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:38:49 +0000 (15:38 -0000)]
- replace variables by defines to save space
- rename string denoting stdin from "-" to "(standard input)" to match
  GNU grep.

19 years agoSUSv3 -q compatibily exit status correction for grep again
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 13:50:24 +0000 (13:50 -0000)]
SUSv3 -q compatibily exit status correction for grep again

19 years agoSUSv3 -q compatibily exit status correction for grep
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 13:44:03 +0000 (13:44 -0000)]
SUSv3 -q compatibily exit status correction for grep

19 years agogrep must have exit code >1 if input file not found. Small indent correcion also.
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 13:23:15 +0000 (13:23 -0000)]
grep must have exit code >1 if input file not found. Small indent correcion also.

19 years agomore make safe the exported namespace for udhcp. Move to bb-specific file for reduce...
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 11:25:29 +0000 (11:25 -0000)]
more make safe the exported namespace for udhcp. Move to bb-specific file for reduce change into udhcp-CVS

19 years agoremove 1 exported
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 10:44:02 +0000 (10:44 -0000)]
remove 1 exported

19 years agomove a couple of functions from common code (options.c) to udhcpd private
Paul Fox [Thu, 22 Sep 2005 19:03:24 +0000 (19:03 -0000)]
move a couple of functions from common code (options.c) to udhcpd private
code (files.c) to make udhcpc a little smaller.

19 years agoadd support for setting the dhcp vendor class option (option 60).
Paul Fox [Thu, 22 Sep 2005 18:59:13 +0000 (18:59 -0000)]
add support for setting the dhcp vendor class option (option 60).
udhcpc now has a -V (--vendorclass), which will replace the default
"udhcpRELEASE" string in this option.

19 years agosafe exported namespace for udhcp. Not full, bore :-(
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 15:07:33 +0000 (15:07 -0000)]
safe exported namespace for udhcp. Not full, bore :-(

19 years agoReduce exported from msh applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:38:17 +0000 (14:38 -0000)]
Reduce exported from msh applet

19 years agoReduce exported from lash applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:35:29 +0000 (14:35 -0000)]
Reduce exported from lash applet

19 years agoReduce exported from hush applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:33:15 +0000 (14:33 -0000)]
Reduce exported from hush applet

19 years agoquick patch - have removed stranges for me
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:19:34 +0000 (14:19 -0000)]
quick patch - have removed stranges for me

19 years agovery small size reduce for nohup applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 13:26:23 +0000 (13:26 -0000)]
very small size reduce for nohup applet

19 years agoReduce exported from ipcs applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 13:13:23 +0000 (13:13 -0000)]
Reduce exported from ipcs applet

19 years agomore remove lost exported
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 12:59:26 +0000 (12:59 -0000)]
more remove lost exported

19 years agonetwork "default" --> bb_INET_default. Reduce 2 exported from find applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 11:11:11 +0000 (11:11 -0000)]
network "default" --> bb_INET_default. Reduce 2 exported from find applet

19 years ago- add applet nohup(1)
Bernhard Reutner-Fischer [Wed, 21 Sep 2005 18:25:05 +0000 (18:25 -0000)]
- add applet nohup(1)

19 years ago- make sure to include dmalloc.h at the very end of busybox.h or libbb.h.
Bernhard Reutner-Fischer [Wed, 21 Sep 2005 17:38:30 +0000 (17:38 -0000)]
- make sure to include dmalloc.h at the very end of busybox.h or libbb.h.

19 years agomoved include/bbconfigopts.h from miscutils to to top Makefile before generate .depen...
"Vladimir N. Oleynik" [Wed, 21 Sep 2005 07:49:34 +0000 (07:49 -0000)]
moved include/bbconfigopts.h from miscutils to to top Makefile before generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer

19 years ago- consolidated password helpers
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 21:09:31 +0000 (21:09 -0000)]
- consolidated password helpers

19 years ago- consolidated password helpers into bb_pwd.c
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 21:08:10 +0000 (21:08 -0000)]
- consolidated password helpers into bb_pwd.c

19 years ago- rename libbb's password helpers as suggested in libbb.h
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 21:06:17 +0000 (21:06 -0000)]
- rename libbb's password helpers as suggested in libbb.h
  my_getpwnam -> bb_xgetpwnam  /* dies on error */
  my_getgrnam -> bb_xgetgrnam  /* dies on error */
  my_getgrgid -> bb_getgrgid
  my_getpwuid -> bb_getpwuid
  my_getug    -> bb_getug

19 years ago- Remove unnecessary warning from libbb and move bb_wfopen_input near bb_wfopen
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 20:58:11 +0000 (20:58 -0000)]
- Remove unnecessary warning from libbb and move bb_wfopen_input near bb_wfopen

19 years ago- typo in documentation
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 20:32:02 +0000 (20:32 -0000)]
- typo in documentation

19 years agoGet "make check" ($srcdir) to work with the new testsuite.
Rob Landley [Tue, 20 Sep 2005 18:19:34 +0000 (18:19 -0000)]
Get "make check" ($srcdir) to work with the new testsuite.

19 years agoThe testsuite/links directory wasn't being created.
Rob Landley [Tue, 20 Sep 2005 14:09:57 +0000 (14:09 -0000)]
The testsuite/links directory wasn't being created.

19 years agoThis is strange typically modern mistake. Learn please: stat(2) used sys/types.h...
"Vladimir N. Oleynik" [Tue, 20 Sep 2005 10:02:36 +0000 (10:02 -0000)]
This is strange typically modern mistake. Learn please: stat(2) used sys/types.h and not reverse

19 years agoBernhard Fischer writes:
Mike Frysinger [Tue, 20 Sep 2005 03:01:29 +0000 (03:01 -0000)]
Bernhard Fischer writes:
Attachet patchlet updates the screenshot of busybox perusing the stable branch.

19 years agoremove duplicate depend, its work for bb_mkdepend
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 16:31:25 +0000 (16:31 -0000)]
remove duplicate depend, its work for bb_mkdepend

19 years agocorrect build bbconfig applet, correct previous change
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 16:25:19 +0000 (16:25 -0000)]
correct build bbconfig applet, correct previous change