aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2001-10-13Superficial changes to make the exclude/include code easier to understandGlenn L McGrath
2001-10-12Fix tar segfault when include list is empty and exclude list is not.Matt Kraai
2001-10-06Another part of Stafan's latest patch, when replacing a pre-existing package ↵Glenn L McGrath
set its status correctly.
2001-10-06status_package_num should refer to package not status.Glenn L McGrath
Only initialise a new entry in the status hashtable if it really is a new entry.
2001-10-05Initial support for for bunzip2....Glenn L McGrath
This code could be improvemed by 1) supporting more options, 2) Creating a shared crc table with gunzip, or perhaps generated on the fly. 3) Removing any remaining unneccessary code (e.g. if (noisy))
2001-10-05Change extraction/list code to use common unarchive code.Glenn L McGrath
2001-10-04Fixes with help from Stefan, Typo in prerm script, and when reinstall a ↵Glenn L McGrath
package the old packages status was getting overwritten.
2001-10-03Extract control.tar.gz and data.tar.gz unconditionally, another one picked ↵Glenn L McGrath
up by Stefan
2001-09-29Fix return status, picked up by StefanGlenn L McGrath
2001-09-22The <package>.list file was prepending "./" to the files, fixed that.Glenn L McGrath
Also fixed a very silly error by me when running postinst (remember to use the variable BEFORE its freed)
2001-09-22Dont free everytime getline() is used, fix from Stefan SoucekGlenn L McGrath
2001-09-21Fix to make preinst run when required, from Stefan SoucekGlenn L McGrath
2001-09-21Implement dpkg -l option, from Stefan Soucek (slightly modified)Glenn L McGrath
2001-08-29Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen
of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
2001-08-24Canonicalize dirname(3) behavior.Matt Kraai
2001-08-22Patch from Rodney Brown <RDBrown@mira.net>, shrinking 1.5kEric Andersen
from gzip by careful optimization. Appears to work just fine (I've tested the changes on x86, ARM, and powerpc).
2001-08-15Fix version comparision bugGlenn L McGrath
2001-07-30If filename is a '-' then read from stdin to stdoutGlenn L McGrath
2001-07-19Cleanup (most) memory leaksGlenn L McGrath
2001-07-18Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-18Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵Glenn L McGrath
with another dpkg command
2001-07-18More feedback to userGlenn L McGrath
2001-07-18Be more verbose when configureing package, minor changesGlenn L McGrath
2001-07-18Use xfopen to abort on error to prevent segfaulting later.Glenn L McGrath
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
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)
2001-07-14Allow the unarchive() extract_list variable to be NULL, meaning extract allGlenn L McGrath
2001-07-14Tolerate fields with no data, e.g. "Depends: "Glenn L McGrath
2001-07-13Total rewrite, uses hash tables for speed and low memory use.Glenn L McGrath
2001-07-13Dont setvbuff in here, must be called just after stream is initialised, ↵Glenn L McGrath
glibc tolerates using it later, uclibc doesnt
2001-07-13Call setvbuf from here isntead of gz_open for compatability with uclibcGlenn L McGrath
2001-07-13Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath
supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-07-11Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath
2001-07-11free coniditionally, just to make it play nice with dmalloc which is ↵Glenn L McGrath
incompatable with standard free()
2001-07-11Unpack the filename not the package nameGlenn L McGrath
2001-07-10Read 20 512-byte blocks at a time (like GNU tar).Matt Kraai
2001-07-07Minor update to include file orderingEric Andersen
2001-07-03Remove a redundant call to mkdir.Matt Kraai
2001-07-02Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton ofEric Andersen
portability junk from gzip.c, making it a zillion times more readable.
2001-06-29Add some missing includes to kill warnings when building with the defaultManuel Novoa III
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.
2001-06-27Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen
<amodra@bigpond.net.au>, which caused false checksum errors
2001-06-26rpm2cpio applet by Laurence AndersonGlenn L McGrath
2001-06-25Fix up some warnings that show up on ppcEric Andersen
2001-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-22comment cleanupTim Riker
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-21Support tar -C, per bug #1176Eric Andersen
-Erik
2001-06-21Add in (and ignore) tar -p, since we preserver permissions automatically.Eric Andersen
closes bug #1185 -Erik
2001-06-20it turs out, there was a nasty tar bug where bb tar would create leading dirsEric Andersen
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
2001-06-20Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath