aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Glenn McGrath (bug1) isaway from my email till the 17th, but caught me on IRC.andersen2003-07-051-1/+1
| | | | | | | | He took a look into the recent reports of tar problems, and found an obvious typo in last_patch91 from vodz which converted tar to use bb_getopt_ulflags. git-svn-id: svn://busybox.net/trunk/busybox@7036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir N. Oleynik (vodz):andersen2003-07-031-35/+14
| | | | | | | | Last patch have changed for "ipcalc" applet with usage new get_ulflags() function. git-svn-id: svn://busybox.net/trunk/busybox@7034 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman:andersen2003-07-031-18/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Erik, et al. The attached patch makes the following changes to networking/ifupdown.c: (1) It swaps all calls to 'ip link set' and 'ip addr set'. This solves two problems: (a) Calling 'ip link set <dev> up' before assigning an address generates an error message, and (b) Under User Mode Linux, running in with ethernet interfaces in daemon mode, the MAC address for an interface is selected based on the IP address assigned to that interface. If the interface is brought up before being assigned an IP address, it gets a null MAC. (2) It further cleans up run_mapping(). This patch is against ifupdown.c revision 1.25. -- Lars git-svn-id: svn://busybox.net/trunk/busybox@7033 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix stupid unterminated parenthesisandersen2003-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7032 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Russell Coker:andersen2003-07-0313-30/+263
| | | | | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox. git-svn-id: svn://busybox.net/trunk/busybox@7031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti updating fdisk to version v2.11zandersen2003-07-031-38/+48
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of menuconfig helpandersen2003-07-035-118/+172
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Using safe_read seems, well, safer...andersen2003-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As implemented, sha1sum would sometimes give the wrong answer.andersen2003-07-031-109/+298
| | | | | | | | This fixes it and uses faster sha1 code from Dr. Gladman. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Pavel Roskin to fixup toplevel help textandersen2003-06-301-3/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7014 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch93 from vodz:andersen2003-06-277-73/+61
| | | | | | | | | | | | | | | | andersen@busybox.net wrote: >Message: 4 >Modified Files: > init.c >Log Message: >Remove code for unsupported kernel versions Hmm. Current init.c have check >= 2.2.0 kernel one time too. Ok. Last patch removed this point and move common init code to new file for /init dir git-svn-id: svn://busybox.net/trunk/busybox@7008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bdflush garbage, which is only relevant to unsupportedandersen2003-06-271-11/+0
| | | | | | | kernel versions git-svn-id: svn://busybox.net/trunk/busybox@6988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* oops. make this actually work as intended....andersen2003-06-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6985 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make sure we end up with a unix2dos link to busyboxandersen2003-06-261-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops.andersen2003-06-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6983 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch91 from vodz to convert tar to use bb_getopt_ulflagsandersen2003-06-261-60/+56
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6982 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Geir Thomassen wrote, regarding networking/httpd.c line 1358andersen2003-06-264-76/+73
| | | | | | | | | | | | | | | | | Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-) git-svn-id: svn://busybox.net/trunk/busybox@6981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per patch from Nick Fedchik, use SHADOW_FILE, not "/etc/shadow".andersen2003-06-261-2/+1
| | | | | | | Change fopen to bb_xfopen git-svn-id: svn://busybox.net/trunk/busybox@6980 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops. As Andrew Dennison just noticed, I left a strayandersen2003-06-251-1/+1
| | | | | | | space in the Makefile, thereby totally breaking it. git-svn-id: svn://busybox.net/trunk/busybox@6977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Regenerate the busybox.links file when the .config changesandersen2003-06-251-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6976 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet: patch, applies a unified diffbug12003-06-225-0/+307
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6964 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save a few bytes by using bb_getopt_ulflags and a few other minorbug12003-06-221-49/+31
| | | | | | | improvments git-svn-id: svn://busybox.net/trunk/busybox@6963 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Based on a tinylogin patch from Philip Blundell, add severalandersen2003-06-212-33/+81
| | | | | | | | additional options to adduser. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6962 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a silly bug I introduced yesterdayandersen2003-06-211-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup whitespace handing, fixing some annoying behavior andandersen2003-06-201-10/+21
| | | | | | | a couple of segfaults git-svn-id: svn://busybox.net/trunk/busybox@6949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fall back to looking in /lib/modules/modules.dep ifandersen2003-06-201-2/+7
| | | | | | | /lib/modules/<kernel version>/modules.dep is missing git-svn-id: svn://busybox.net/trunk/busybox@6948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Andrew Dennison:andersen2003-06-201-13/+25
| | | | | | | | | | | | | | | | | | | | | I've had some issues with modprobe which I reported a few months ago. This is still an issue so I decided to sort it out. The attached diff includes the changes against the unstable cvs tree that work for me. Changes are: mod_process() will report success if the module at the head of the list loads successfully. It will also report success if any module unloads successfully. The net result being that modprobe will succeed in the cases outlined below. I've also added error reporting to modprobe -r. Previously it would silently fail (but report success) if the module could not be unloaded. Andrew git-svn-id: svn://busybox.net/trunk/busybox@6947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display aandersen2003-06-203-3/+9
| | | | | | | | | | | "rootfs" entry as well as the traditional "/dev/root" entry. This caused applets such as mount and df to display two root filesystem entries.... This teaches the relevant utilities to ignore the "rootfs" entry. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't shadow a paramaterandersen2003-06-201-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a couple vars that could be used uninitializedandersen2003-06-201-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6944 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use an explicit cast on some types that change size whenandersen2003-06-201-2/+2
| | | | | | | large file support is enabled. git-svn-id: svn://busybox.net/trunk/busybox@6943 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make gcc not whine about "deprecated use of label at end of compound statement"andersen2003-06-201-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6942 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add prototype update missing from last_patch89. Fix screwyandersen2003-06-202-4/+5
| | | | | | | formatting in cut. git-svn-id: svn://busybox.net/trunk/busybox@6941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman:andersen2003-06-204-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm building BusyBox using a development kit for MontaVista Hardhat Linux (PPC) -- which, at least in this instance, is based around kernel 2.2.14. I've had to massage a few files in networking/libiproute/ to make it compile. Specifically: (1) Added a #include <sys/uio.h> for the iovec structure in libnetlink.c, (2) Put ifdefs in ll_types.c and ll_proto.c around various constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined, (3) Make do_changename() in iplink.c require a kernel >= 2.4.0 -- the ifr structure in my environment doesn't have the ifr_name attribute. I've assumed this is a kernel dependency -- let me know if I ought to be checking something else. In the absence of the correct kernel, do_changename() always returns 0. Attached is a patch against the current CVS that will make these changes. -- Lars git-svn-id: svn://busybox.net/trunk/busybox@6940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-2019-522/+581
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix rpm usage msgandersen2003-06-151-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6928 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add missing pieces from vodz' last_patch88andersen2003-06-143-0/+203
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6922 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the location for the default config so 'make defconfig'andersen2003-06-121-1/+1
| | | | | | | actually works git-svn-id: svn://busybox.net/trunk/busybox@6913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Handle hard links by converting them to symlinksbug12003-06-121-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6910 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_88bug12003-06-1022-365/+211
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sha1sum option to compare checksumsbug12003-06-082-46/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6901 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better error handlingbug12003-06-071-9/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6900 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor correctionbug12003-06-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6899 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug (wrong value computed) when reading file from stdin, implementbug12003-06-071-39/+41
| | | | | | | -s option git-svn-id: svn://busybox.net/trunk/busybox@6898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indentbug12003-06-071-780/+808
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman, lars at larsshack.org, toandersen2003-06-051-6/+12
| | | | | | | make ifupdown's mapping function work as documented. git-svn-id: svn://busybox.net/trunk/busybox@6894 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put this back the way it was. I misunderstood what vodz was doing.andersen2003-05-271-23/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make all syscall declarations use the syscall() functionandersen2003-05-263-63/+77
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This was doing some silly stuff that is not necessary when usingandersen2003-05-261-17/+23
| | | | | | | vfork(), so I have simplified it. git-svn-id: svn://busybox.net/trunk/busybox@6858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup a bit to remove needless verify() functionandersen2003-05-261-39/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6857 69ca8d6d-28ef-0310-b511-8ec308f3f277