aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes with help from Stefan, Typo in prerm script, and when reinstall a ↵bug12001-10-041-4/+8
| | | | | | package the old packages status was getting overwritten. git-svn-id: svn://busybox.net/trunk/busybox@3483 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract control.tar.gz and data.tar.gz unconditionally, another one picked ↵bug12001-10-031-2/+3
| | | | | | up by Stefan git-svn-id: svn://busybox.net/trunk/busybox@3471 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix return status, picked up by Stefanbug12001-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The <package>.list file was prepending "./" to the files, fixed that.bug12001-09-221-5/+6
| | | | | | | Also fixed a very silly error by me when running postinst (remember to use the variable BEFORE its freed) git-svn-id: svn://busybox.net/trunk/busybox@3431 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont free everytime getline() is used, fix from Stefan Soucekbug12001-09-221-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix to make preinst run when required, from Stefan Soucekbug12001-09-211-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement dpkg -l option, from Stefan Soucek (slightly modified)bug12001-09-211-4/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Standard typing (u_int16_t instead of u16, u_int32_t insteadandersen2001-08-291-13/+9
| | | | | | | of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com> git-svn-id: svn://busybox.net/trunk/busybox@3378 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Canonicalize dirname(3) behavior.kraai2001-08-241-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rodney Brown <RDBrown@mira.net>, shrinking 1.5kandersen2001-08-221-27/+45
| | | | | | | | from gzip by careful optimization. Appears to work just fine (I've tested the changes on x86, ARM, and powerpc). git-svn-id: svn://busybox.net/trunk/busybox@3325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix version comparision bugbug12001-08-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If filename is a '-' then read from stdin to stdoutbug12001-07-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup (most) memory leaksbug12001-07-191-32/+57
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change read_package_field interface, and rewrite using low level functionsbug12001-07-182-77/+63
| | | | | | | Fixes for a few bugs that have crept into dpkg in the last few days git-svn-id: svn://busybox.net/trunk/busybox@3122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵bug12001-07-181-2/+2
| | | | | | with another dpkg command git-svn-id: svn://busybox.net/trunk/busybox@3120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More feedback to userbug12001-07-181-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be more verbose when configureing package, minor changesbug12001-07-181-9/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xfopen to abort on error to prevent segfaulting later.bug12001-07-181-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-172-20/+12
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow the unarchive() extract_list variable to be NULL, meaning extract allbug12001-07-142-11/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tolerate fields with no data, e.g. "Depends: "bug12001-07-141-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3096 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Total rewrite, uses hash tables for speed and low memory use.bug12001-07-131-679/+1248
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3094 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont setvbuff in here, must be called just after stream is initialised, ↵bug12001-07-132-6/+0
| | | | | | glibc tolerates using it later, uclibc doesnt git-svn-id: svn://busybox.net/trunk/busybox@3091 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Call setvbuf from here isntead of gz_open for compatability with uclibcbug12001-07-131-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3089 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵bug12001-07-132-0/+7
| | | | | | supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt. git-svn-id: svn://busybox.net/trunk/busybox@3087 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow unarchive to redirect stdout (tobe used by dpkg applet)bug12001-07-112-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3070 69ca8d6d-28ef-0310-b511-8ec308f3f277
* free coniditionally, just to make it play nice with dmalloc which is ↵bug12001-07-112-4/+12
| | | | | | incompatable with standard free() git-svn-id: svn://busybox.net/trunk/busybox@3063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unpack the filename not the package namebug12001-07-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Read 20 512-byte blocks at a time (like GNU tar).kraai2001-07-101-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor update to include file orderingandersen2001-07-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3033 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove a redundant call to mkdir.kraai2001-07-031-9/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton ofandersen2001-07-021-1129/+193
| | | | | | | portability junk from gzip.c, making it a zillion times more readable. git-svn-id: svn://busybox.net/trunk/busybox@2970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some missing includes to kill warnings when building with the defaultmjn32001-06-292-0/+2
| | | | | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c. git-svn-id: svn://busybox.net/trunk/busybox@2950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a type promotion bug discivered and analyzed by Alan Modraandersen2001-06-272-2/+2
| | | | | | | <amodra@bigpond.net.au>, which caused false checksum errors git-svn-id: svn://busybox.net/trunk/busybox@2917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rpm2cpio applet by Laurence Andersonbug12001-06-261-0/+92
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2902 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some warnings that show up on ppcandersen2001-06-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nore unarchive (and doc) fixes from Laurence Andersonbug12001-06-242-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2894 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cpio applet, and changes to associated codebug12001-06-223-2/+96
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* comment cleanuptimr2001-06-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote mkdir (and touched lots of things in the process).kraai2001-06-212-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support tar -C, per bug #1176andersen2001-06-211-2/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in (and ignore) tar -p, since we preserver permissions automatically.andersen2001-06-211-3/+5
| | | | | | | | closes bug #1185 -Erik git-svn-id: svn://busybox.net/trunk/busybox@2870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* it turs out, there was a nasty tar bug where bb tar would create leading dirsandersen2001-06-201-8/+0
| | | | | | | | | | with mode 0777 in all cases due to usask issues. Thanks to Matt Kraai for noticing and spotting the culprit. This makes bb tar behave just like GNU tar once again. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2866 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initialise in_file to stdin, so it wont crash if no source specifiedbug12001-06-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2865 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed gz_open to ruturn a streambug12001-06-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵bug12001-06-202-22/+22
| | | | | | | | | more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only git-svn-id: svn://busybox.net/trunk/busybox@2862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise archive extraction codebug12001-06-133-120/+98
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2823 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverandersen2001-06-041-7/+2
| | | | | | | | | | change permissions on existing directories. This behavior is contrary to SUSv2 and contrary to GNU tar. Thanks to Matt Kraai for pointing this out. I should have been much more careful about accepting such a patch. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some signed char vs int issues that show up on powerpc.andersen2001-05-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-231-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277