Bernhard Reutner-Fischer
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.
2005-10-09 19:12:34 +00:00
Rob Landley
d27d3be6cd
The readme in 1.0 is more up to date than the 1.1 version...
2005-10-09 18:20:54 +00:00
Paul Fox
61e45dbb2f
catch and report errors from file_write()
2005-10-09 14:43:22 +00:00
Paul Fox
90372ed51a
make Hit_Return() available when CONFIG_FEATURE_VI_COLON is off. it's
...
needed elsewhere as well now.
2005-10-09 14:26:26 +00:00
Rob Landley
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.
2005-10-09 11:16:01 +00:00
Rob Landley
f1048143ee
Rob Sullivan added character and equivalence classes to tr. I changed some
...
comments.
2005-10-08 21:21:08 +00:00
Bernhard Reutner-Fischer
1d62d3b7b9
- make libiproute compile..
2005-10-08 20:47:15 +00:00
Rob Landley
4a7252babd
Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig can
...
find it (and tweak defconfig to catch up).
2005-10-08 18:49:45 +00:00
Rob Landley
45ad0e87d6
Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.
2005-10-08 17:48:25 +00:00
Rob Landley
1ba19d6bf7
Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.
2005-10-08 17:42:35 +00:00
Bernhard Reutner-Fischer
be5c10314d
- rename bareconfig to allbareconfig and emit "is not set" strings needed for
...
oldconfig.
2005-10-08 11:08:28 +00:00
Rob Landley
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.
2005-10-08 02:23:22 +00:00
Bernhard Reutner-Fischer
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 :)
2005-10-07 18:45:03 +00:00
Bernhard Reutner-Fischer
b8faa7ea60
- Note that directories for make have to be given as absolute paths.
2005-10-07 17:44:14 +00:00
"Vladimir N. Oleynik"
dfd1eb0387
trim dep lines
2005-10-07 15:53:21 +00:00
Bernhard Reutner-Fischer
ab52db8d5e
- size reduction of pidof
...
- fix typo in reverse_pidlist
2005-10-07 15:44:37 +00:00
"Vladimir N. Oleynik"
6c0642d772
fast replace if src outside
2005-10-07 15:36:26 +00:00
Bernhard Reutner-Fischer
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).
2005-10-07 11:34:50 +00:00
Bernhard Reutner-Fischer
4d63525f76
- fix bug #94 : 'make install' does not respect PREFIX nor CROSS when using O=
...
- other minor cosmetic tweaks while at it
2005-10-07 10:53:15 +00:00
Rob Landley
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.
2005-10-06 16:39:17 +00:00
Bernhard Reutner-Fischer
81c3a518d3
- pidof(8): make -s optional and optional -o; closes #168
...
first cut.
2005-10-06 15:37:02 +00:00
"Vladimir N. Oleynik"
b31cb87fdc
to bb_getopt_ulflags()
2005-10-06 15:30:17 +00:00
"Vladimir N. Oleynik"
ba248206fe
change strange depend to libbb.h, but require busybox.h
2005-10-06 15:18:09 +00:00
"Vladimir N. Oleynik"
664c6e7ea0
update documentation
2005-10-06 14:53:43 +00:00
"Vladimir N. Oleynik"
d5f2a18e19
bb_mkdep can use src outside now
2005-10-06 14:47:16 +00:00
Bernhard Reutner-Fischer
82338d8460
- add a few basic tests for pidof(8)
2005-10-06 12:50:11 +00:00
Bernhard Reutner-Fischer
e34e8782a9
- support make check V=1 to run the checks in verbose mode
...
- pass verbose from runtest to testing.sh
2005-10-06 12:48:03 +00:00
Bernhard Reutner-Fischer
cf95e0b2d5
- add llist_free_one() and llist_free() to libbb
2005-10-06 12:12:51 +00:00
Bernhard Reutner-Fischer
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.
2005-10-06 12:10:48 +00:00
Bernhard Reutner-Fischer
14b1c1da9a
- remove explicit dependency of busybox.o and applets.o and usage.h from the
...
Makefile. Instead fix the invocation of bb_mkdep.
2005-10-05 14:52:21 +00:00
"Vladimir N. Oleynik"
c06e80e1e7
more lost changes BSD signals -> SysV signals. Noticed by Bernhard
2005-10-05 14:14:55 +00:00
"Vladimir N. Oleynik"
f382c0236e
BSD signals -> SysV signals, int->socklet_t. Noticed by Bernhard
2005-10-05 14:01:13 +00:00
"Vladimir N. Oleynik"
4a5ce08688
another more correction for getopt_ulflags() documentation (examples)
2005-10-05 13:58:40 +00:00
Bernhard Reutner-Fischer
b48bfe795e
- fix generation of .depend when building out of tree.
...
point bb_mkdep to the source directory and not the build-directory.
2005-10-05 13:55:45 +00:00
Bernhard Reutner-Fischer
83e1884d0c
- busybox.o and applets.o depend on usage.h
2005-10-05 13:53:46 +00:00
"Vladimir N. Oleynik"
d1b6078e5d
more correction for getopt_ulflags() documentation by author of this fuck logic
2005-10-05 12:44:52 +00:00
Bernhard Reutner-Fischer
120513c29f
- add proper separators. sorry for the noise..
2005-10-05 12:28:55 +00:00
Bernhard Reutner-Fischer
43fb3fcb2f
- add a bit more documentation to vodz' recent additions.
2005-10-05 12:23:13 +00:00
"Vladimir N. Oleynik"
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)
2005-10-05 10:52:47 +00:00
Bernhard Reutner-Fischer
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).
2005-10-05 10:06:11 +00:00
Bernhard Reutner-Fischer
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.
2005-10-05 07:40:46 +00:00
Mike Frysinger
dc2510327b
as Tito points out, e2fsck and fsck need more dependencies
2005-10-05 00:52:37 +00:00
Mike Frysinger
23fedb3ad4
dont typecast lvalue since gcc hates that
2005-10-05 00:50:03 +00:00
"Vladimir N. Oleynik"
9c44dce304
ps selinux logic correction, but do not tested too
2005-10-04 17:09:50 +00:00
"Vladimir N. Oleynik"
be0ed3d0b9
use updated bb_getopt_ulflags() for ps applet
2005-10-04 16:48:26 +00:00
Bernhard Reutner-Fischer
6d6a40cc4b
- 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
2005-10-04 14:31:18 +00:00
Bernhard Reutner-Fischer
5209e18ba7
- add prototype for llist_add_to_end to libbb.h
2005-10-04 13:39:06 +00:00
Rob Landley
5d3a0e8ed3
Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_
...
while we're in the area.
2005-10-04 03:34:39 +00:00
"Vladimir N. Oleynik"
d128b71820
speed up * 2
2005-10-03 10:08:46 +00:00
"Vladimir N. Oleynik"
1a2f4d9af7
sync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455
2005-10-03 08:08:58 +00:00