summaryrefslogtreecommitdiff
path: root/dpkg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-1509/+0
| | | | -Erik
* Abort if scripts return value != 0Glenn L McGrath2001-10-231-10/+3
|
* Process extra empty lines correctly.Matt Kraai2001-10-181-1/+5
|
* Remove xmalloc calls.Matt Kraai2001-10-181-30/+29
|
* Another part of Stafan's latest patch, when replacing a pre-existing package ↵Glenn L McGrath2001-10-061-0/+2
| | | | set its status correctly.
* status_package_num should refer to package not status.Glenn L McGrath2001-10-061-2/+3
| | | | Only initialise a new entry in the status hashtable if it really is a new entry.
* Fixes with help from Stefan, Typo in prerm script, and when reinstall a ↵Glenn L McGrath2001-10-041-4/+8
| | | | package the old packages status was getting overwritten.
* Extract control.tar.gz and data.tar.gz unconditionally, another one picked ↵Glenn L McGrath2001-10-031-2/+3
| | | | up by Stefan
* Fix return status, picked up by StefanGlenn L McGrath2001-09-291-1/+1
|
* The <package>.list file was prepending "./" to the files, fixed that.Glenn L McGrath2001-09-221-5/+6
| | | | Also fixed a very silly error by me when running postinst (remember to use the variable BEFORE its freed)
* Dont free everytime getline() is used, fix from Stefan SoucekGlenn L McGrath2001-09-221-2/+1
|
* Fix to make preinst run when required, from Stefan SoucekGlenn L McGrath2001-09-211-1/+12
|
* Implement dpkg -l option, from Stefan Soucek (slightly modified)Glenn L McGrath2001-09-211-4/+53
|
* Fix version comparision bugGlenn L McGrath2001-08-151-1/+1
|
* Cleanup (most) memory leaksGlenn L McGrath2001-07-191-32/+57
|
* Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath2001-07-181-73/+54
| | | | Fixes for a few bugs that have crept into dpkg in the last few days
* Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵Glenn L McGrath2001-07-181-2/+2
| | | | with another dpkg command
* More feedback to userGlenn L McGrath2001-07-181-1/+3
|
* Be more verbose when configureing package, minor changesGlenn L McGrath2001-07-181-9/+13
|
* Use xfopen to abort on error to prevent segfaulting later.Glenn L McGrath2001-07-181-3/+3
|
* Tolerate fields with no data, e.g. "Depends: "Glenn L McGrath2001-07-141-0/+10
|
* Total rewrite, uses hash tables for speed and low memory use.Glenn L McGrath2001-07-131-679/+1248
|
* Unpack the filename not the package nameGlenn L McGrath2001-07-111-2/+2
|
* Minor update to include file orderingEric Andersen2001-07-071-1/+1
|
* Fix up some warnings that show up on ppcEric Andersen2001-06-251-1/+1
|
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-211-1/+1
|
* Reorganise archive extraction codeGlenn L McGrath2001-06-131-12/+13
|
* Fix up some signed char vs int issues that show up on powerpc.Eric Andersen2001-05-241-1/+1
|
* Remove unused function. If necessary, we can use remove_file instead.Matt Kraai2001-05-171-31/+0
|
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-261-1/+1
| | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
* Write full status fileGlenn L McGrath2001-04-161-19/+76
|
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath2001-04-161-196/+175
| | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
* copy_file_chunk uses streams now.Glenn L McGrath2001-04-111-17/+17
|
* Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath2001-04-111-1/+1
|
* Apply Vladimir's latest cleanup patch.Eric Andersen2001-04-091-10/+10
| | | | -Erik
* Reorganise status field to use 3 chars instead of one bit shifted long int.Glenn L McGrath2001-04-081-131/+98
| | | | Generates status file properly now, not compatable with full dpkg yet.
* Use create_path instead of mkdirGlenn L McGrath2001-04-081-4/+3
|
* It now correctly backs up the (still corrupt) status fileGlenn L McGrath2001-04-081-10/+21
|
* Some fixes, but still broken... (cont)Glenn L McGrath2001-04-081-136/+162
| | | | | | | | | Make better use of some libbb functions New remove dir code to avoid depending on the rm applet dont use copy_file() it doesnt fail elegantly Use getopt. Generate correct /var/lib/dpkg/info/ files Status file is broken, working on it now
* It seems all the stdout munging was useless anyways, sinceEric Andersen2001-04-051-3/+0
| | | | | | deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-04-051-10/+3
| | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
* If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say:Mark Whitley2001-03-151-1/+1
| | | | | | | | | dpkg.c:18: #error It looks like you are using libc5, which does not support dpkg.c:19: #error tfind(). tfind() is used by busybox dpkg. dpkg.c:20: #error Please disable BB_DPKG. Sorry. This was fixed by changing the || to an && in the preprocessor. (We've changed the logic in there too many times.) Found using multibuild.pl.
* Fix from Manuel for a silly thinko on my part.Eric Andersen2001-03-141-2/+2
|
* dpkg used tfind, which doesn't work with libc5. Print a friendy errorEric Andersen2001-03-141-0/+9
| | | | | should someone try to use it... -Erik
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-3/+3
| | | | namespace polluting things that really should be static.
* fix a few mallocs to be xmallocs.Eric Andersen2001-02-151-2/+2
| | | | -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Closer integration with dpkg-deb and other busybox functions.Glenn L McGrath2001-02-121-129/+140
| | | | Hopefully simplified some code (works for me).
* More style changesGlenn L McGrath2001-02-111-150/+175
|
* Style changes; use get_line_from_file from utilitiesGlenn L McGrath2001-02-111-173/+132
|