083d3f49c2
bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3. e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep.
"Vladimir N. Oleynik"
2005-10-10 11:35:17 +00:00
ff9f2f6fba
Fluff out INSTALL a bit.
Rob Landley
2005-10-09 20:18:32 +00:00
332fc1006c
- remove passing PREFIX and CROSS to make which was added for bug #94. My recent Makefile touch-up assures that make O=/tmp/o PREFIX=/tmp/i install works as expected without this ugly workaround.
Bernhard Reutner-Fischer
2005-10-09 19:12:34 +00:00
d27d3be6cd
The readme in 1.0 is more up to date than the 1.1 version...
Rob Landley
2005-10-09 18:20:54 +00:00
2f49047deb
Jan-Simon Moller adapted SVN 10238 (the selinux update) to the 1.0 line.
Rob Landley
2005-10-09 17:03:26 +00:00
61e45dbb2f
catch and report errors from file_write()
Paul Fox
2005-10-09 14:43:22 +00:00
90372ed51a
make Hit_Return() available when CONFIG_FEATURE_VI_COLON is off. it's needed elsewhere as well now.
Paul Fox
2005-10-09 14:26:26 +00:00
ae907f38f0
When lstat returns an error (such as file not found), the value of st_mode is random garbage (under uClibc), leading to random triggering of the S_ISDIR() case when the destination will be a normal file which doesn't exist yet. I.E. checking the return value of lstat is not optional.
Rob Landley
2005-10-09 11:16:01 +00:00
f1048143ee
Rob Sullivan added character and equivalence classes to tr. I changed some comments.
Rob Landley
2005-10-08 21:21:08 +00:00
1d62d3b7b9
- make libiproute compile..
Bernhard Reutner-Fischer
2005-10-08 20:47:15 +00:00
4a7252babd
Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig can find it (and tweak defconfig to catch up).
Rob Landley
2005-10-08 18:49:45 +00:00
45ad0e87d6
Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.
Rob Landley
2005-10-08 17:48:25 +00:00
1ba19d6bf7
Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.
Rob Landley
2005-10-08 17:42:35 +00:00
be5c10314d
- rename bareconfig to allbareconfig and emit "is not set" strings needed for oldconfig.
Bernhard Reutner-Fischer
2005-10-08 11:08:28 +00:00
25413bfe00
Shaun Jackman pointed out that fgets_unlocked() and friends are gnu extensions not in newlib, and also that all the _unlocked variants are kind of pointless in this context.
Rob Landley
2005-10-08 02:23:22 +00:00
a9d8913bc7
- add config target bareconfig. Enables all applets but without any features. Rob wanted to have regression tests if a bug crops up. Here you are wrt find :)
Bernhard Reutner-Fischer
2005-10-07 18:45:03 +00:00
b8faa7ea60
- Note that directories for make have to be given as absolute paths.
Bernhard Reutner-Fischer
2005-10-07 17:44:14 +00:00
dfd1eb0387
trim dep lines
"Vladimir N. Oleynik"
2005-10-07 15:53:21 +00:00
ab52db8d5e
- size reduction of pidof - fix typo in reverse_pidlist
Bernhard Reutner-Fischer
2005-10-07 15:44:37 +00:00
6c0642d772
fast replace if src outside
"Vladimir N. Oleynik"
2005-10-07 15:36:26 +00:00
0b42a6a8cf
- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ifconfig.c - gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path closes bug #221 (partially; The rest will follow later).
Bernhard Reutner-Fischer
2005-10-07 11:34:50 +00:00
4d63525f76
- fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O= - other minor cosmetic tweaks while at it
Bernhard Reutner-Fischer
2005-10-07 10:53:15 +00:00
cee605c525
The supposedly trivial CONFIG->ENABLE conversion wasn't so trivial. The -exec feature shouldn't be tangled up with this, so revert everything but the new exec feature for the moment.
Rob Landley
2005-10-06 16:39:17 +00:00
81c3a518d3
- pidof(8): make -s optional and optional -o; closes#168 first cut.
Bernhard Reutner-Fischer
2005-10-06 15:37:02 +00:00
b31cb87fdc
to bb_getopt_ulflags()
"Vladimir N. Oleynik"
2005-10-06 15:30:17 +00:00
ba248206fe
change strange depend to libbb.h, but require busybox.h
"Vladimir N. Oleynik"
2005-10-06 15:18:09 +00:00
664c6e7ea0
update documentation
"Vladimir N. Oleynik"
2005-10-06 14:53:43 +00:00
d5f2a18e19
bb_mkdep can use src outside now
"Vladimir N. Oleynik"
2005-10-06 14:47:16 +00:00
82338d8460
- add a few basic tests for pidof(8)
Bernhard Reutner-Fischer
2005-10-06 12:50:11 +00:00
e34e8782a9
- support make check V=1 to run the checks in verbose mode - pass verbose from runtest to testing.sh
Bernhard Reutner-Fischer
2005-10-06 12:48:03 +00:00
cf95e0b2d5
- add llist_free_one() and llist_free() to libbb
Bernhard Reutner-Fischer
2005-10-06 12:12:51 +00:00
56b217117a
- add llist_free_one() and llist_free() to libbb; Add a bit of documentation. - change llist_add_to_end as proposed by vodz in http://busybox.net/lists/busybox/2005-September/016411.html - remove unneeded includes, add short boilerplate and copyright to llist.c - move COMM_LEN from find_pid_by_name to libbb.h and use it in procps_status_t - add reverse_pidlist() to find_pid_by_name. Will be needed for pidof.
Bernhard Reutner-Fischer
2005-10-06 12:10:48 +00:00
14b1c1da9a
- remove explicit dependency of busybox.o and applets.o and usage.h from the Makefile. Instead fix the invocation of bb_mkdep.
Bernhard Reutner-Fischer
2005-10-05 14:52:21 +00:00
c06e80e1e7
more lost changes BSD signals -> SysV signals. Noticed by Bernhard
"Vladimir N. Oleynik"
2005-10-05 14:14:55 +00:00
f382c0236e
BSD signals -> SysV signals, int->socklet_t. Noticed by Bernhard
"Vladimir N. Oleynik"
2005-10-05 14:01:13 +00:00
4a5ce08688
another more correction for getopt_ulflags() documentation (examples)
"Vladimir N. Oleynik"
2005-10-05 13:58:40 +00:00
b48bfe795e
- fix generation of .depend when building out of tree. point bb_mkdep to the source directory and not the build-directory.
Bernhard Reutner-Fischer
2005-10-05 13:55:45 +00:00
83e1884d0c
- busybox.o and applets.o depend on usage.h
Bernhard Reutner-Fischer
2005-10-05 13:53:46 +00:00
d1b6078e5d
more correction for getopt_ulflags() documentation by author of this fuck logic
"Vladimir N. Oleynik"
2005-10-05 12:44:52 +00:00
120513c29f
- add proper separators. sorry for the noise..
Bernhard Reutner-Fischer
2005-10-05 12:28:55 +00:00
43fb3fcb2f
- add a bit more documentation to vodz' recent additions.
Bernhard Reutner-Fischer
2005-10-05 12:23:13 +00:00
35939d9378
update bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group char from bb_opt_complementally is new feature: set argv is options; use new bb_getopt_ulflags for ps # define terminal_width 80->79 for unwide use stdout file descriptor for get_terminal_width_height. (its must)
"Vladimir N. Oleynik"
2005-10-05 10:52:47 +00:00
7abe709867
- Fix spurious rebuilds for (parallel) out-of-tree builds. Make sure that the directories are order-only prerequisites. Otherwise we may have object files created after the timestamp of the directory was updated which would lead to spurious rebuilds (as some of the dentries may be older than the dir itself).
Bernhard Reutner-Fischer
2005-10-05 10:06:11 +00:00
5c071bcf2f
- fix building out-of-tree; to test, checkout the source (let's assume /scratch/src/busybox), then mkdir /tmp/bb ; cd /tmp/bb make top_srcdir=/scratch/src/busybox O="$(pwd)" -f /scratch/src/busybox/Makefile allyesconfig check - default to O=$(pwd) if no O was specified. Now you can just specify the top_srcdir (without O=/somewhere) to create the obj-tree in pwd. - make "make configtarget buildtarget" work. Previously this didn't work due to how HAVE_DOT_CONFIG was evaluated. Two separate steps were needed before, e.g. make config ; make busybox. - remove some unneeded variables from Rules.mak (BB_SRC_DIR from Mr. ldoolitt@recycle.lbl) which suggest that the stuff fixed above didn't work before. - move selinux libraries to where they belong (from Makefile to Rules.mak) - update the docs to mention svn instead of cvs and provide an example for building out-of-tree in INSTALL.
Bernhard Reutner-Fischer
2005-10-05 07:40:46 +00:00
dc2510327b
as Tito points out, e2fsck and fsck need more dependencies
Mike Frysinger
2005-10-05 00:52:37 +00:00
23fedb3ad4
dont typecast lvalue since gcc hates that
Mike Frysinger
2005-10-05 00:50:03 +00:00
9c44dce304
ps selinux logic correction, but do not tested too
"Vladimir N. Oleynik"
2005-10-04 17:09:50 +00:00
be0ed3d0b9
use updated bb_getopt_ulflags() for ps applet
"Vladimir N. Oleynik"
2005-10-04 16:48:26 +00:00
6d6a40cc4b
- add option 'w' to ps (wide output, optional feature defaults to off). - move to ENABLE_ and use shorter boilerplate.
Bernhard Reutner-Fischer
2005-10-04 14:31:18 +00:00
5209e18ba7
- add prototype for llist_add_to_end to libbb.h
Bernhard Reutner-Fischer
2005-10-04 13:39:06 +00:00
5d3a0e8ed3
Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_ while we're in the area.
Rob Landley
2005-10-04 03:34:39 +00:00
d128b71820
speed up * 2
"Vladimir N. Oleynik"
2005-10-03 10:08:46 +00:00
1a2f4d9af7
sync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455
"Vladimir N. Oleynik"
2005-10-03 08:08:58 +00:00
7f782da048
excellent shrinkage patch by Tito
Mike Frysinger
2005-10-02 08:10:31 +00:00
9134dff078
clean out unneeded E2FSCK variables
Mike Frysinger
2005-10-02 08:09:50 +00:00
c31fcbbaf3
remove debug warning
Mike Frysinger
2005-10-02 07:54:07 +00:00
cb1ce7b974
reorder arches into alphabetical order
Mike Frysinger
2005-10-02 07:50:49 +00:00
fa17c4b949
fixup whitespace
Mike Frysinger
2005-10-02 07:14:06 +00:00
86a4bfb30a
remove all Elf32 hardcodes to make sure the elf handling is 64bit clean
Mike Frysinger
2005-10-02 07:02:16 +00:00
91fbdac6ab
svdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2.4.27
Mike Frysinger
2005-10-02 06:44:39 +00:00
e6d5539ebb
typo
Bernhard Reutner-Fischer
2005-09-30 09:46:27 +00:00
f24e0f5e6f
- remove duplicate entry of resolve.c in BLKID_SRC - use the sourcedir to look for includes rather than the builddir
Bernhard Reutner-Fischer
2005-09-30 08:25:50 +00:00
39a841cecf
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
"Vladimir N. Oleynik"
2005-09-29 16:18:57 +00:00
6a60c821a8
forgotten putenv
"Vladimir N. Oleynik"
2005-09-29 15:53:34 +00:00
8e1bd4a05b
don't out \r to syslog
"Vladimir N. Oleynik"
2005-09-29 12:55:21 +00:00
bee9eb1a9d
- rename llist_add_to.c to llist.c - move llist_add_to_end() from ifupdown.c to libbb/llist.c
Bernhard Reutner-Fischer
2005-09-29 12:55:10 +00:00
3e245c9e21
getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect
"Vladimir N. Oleynik"
2005-09-29 11:31:26 +00:00
6160d45e05
more busybox's style for fsck.c, size reduce
"Vladimir N. Oleynik"
2005-09-29 09:45:22 +00:00
843c5ef0f9
reorder include <sys/types.h> and <sys/types.h>.
"Vladimir N. Oleynik"
2005-09-29 07:55:51 +00:00
69d728be18
more const, inline, forward declaration usage, strip 20k source size ;-)
"Vladimir N. Oleynik"
2005-09-28 15:16:22 +00:00
747fc5d5fd
allow people to adjtime location
Mike Frysinger
2005-09-28 03:21:21 +00:00
3978e5576e
move e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size reduction
"Vladimir N. Oleynik"
2005-09-27 11:43:29 +00:00
16ce8aa412
fix building w/out et headers and w/out debug
Mike Frysinger
2005-09-27 04:21:48 +00:00
f87b3e30a7
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
Mike Frysinger
2005-09-27 04:16:22 +00:00
67451849de
pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32)
Mike Frysinger
2005-09-27 04:06:39 +00:00
de2b93859c
eat misappropriated whitespace
Mike Frysinger
2005-09-27 03:18:00 +00:00
10a11e23ba
uncuddle function scope brackets
Mike Frysinger
2005-09-27 02:23:02 +00:00
d24eaac9e6
add "make help"
Rob Landley
2005-09-26 15:49:41 +00:00
7090800870
revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do not confuse me\!
"Vladimir N. Oleynik"
2005-09-26 13:55:43 +00:00
11d7c52912
correct set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic space->tabs convert by my personal editor
"Vladimir N. Oleynik"
2005-09-26 13:24:45 +00:00
5246063a7b
Patch from Amir Shalem to make busybox compile on a uClibc that has no shadow password support.
Rob Landley
2005-09-25 23:36:12 +00:00
95544f78cb
whitespace sucks
Mike Frysinger
2005-09-25 05:23:58 +00:00
7ad978045d
fix building with debugging enabled #413
Mike Frysinger
2005-09-25 05:18:04 +00:00
de242f6d5f
this should fix parallel building with .depend/bb_config.h
Mike Frysinger
2005-09-25 04:53:35 +00:00
1ff789c567
Stop gcc4 from nit-picking about signedness of char *.
Rob Landley
2005-09-25 03:12:26 +00:00
3978abd05b
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
Mike Frysinger
2005-09-24 23:52:09 +00:00
b7f88e01a4
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
Mike Frysinger
2005-09-24 23:48:18 +00:00
a630cb15b1
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:15:53 +00:00
7f8797c8ee
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:15:28 +00:00
f51d2069ff
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:14:11 +00:00
d1c8ae5dc9
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:13:22 +00:00
75aa1928ac
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:12:38 +00:00
16722554bf
Tito switched option parsing over to switch umount over to bb_getopt_ulflags().
Rob Landley
2005-09-24 22:41:08 +00:00
5423df9ebc
force nodebug by default
Mike Frysinger
2005-09-24 07:20:59 +00:00
62f18e1f20
use the shorter license header
Mike Frysinger
2005-09-24 07:16:29 +00:00
51a43b47fe
import the very fat e2fsck/fsck applets
Mike Frysinger
2005-09-24 07:11:16 +00:00