summaryrefslogtreecommitdiff
path: root/archival/dpkg.c
AgeCommit message (Collapse)Author
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-05-24Fix up some signed char vs int issues that show up on powerpc.Eric Andersen
2001-05-17Remove unused function. If necessary, we can use remove_file instead.Matt Kraai
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
2001-04-16Write full status fileGlenn L McGrath
2001-04-16dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath
rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
2001-04-11copy_file_chunk uses streams now.Glenn L McGrath
2001-04-11Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-08Reorganise status field to use 3 chars instead of one bit shifted long int.Glenn L McGrath
Generates status file properly now, not compatable with full dpkg yet.
2001-04-08Use create_path instead of mkdirGlenn L McGrath
2001-04-08It now correctly backs up the (still corrupt) status fileGlenn L McGrath
2001-04-08Some fixes, but still broken... (cont)Glenn L McGrath
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
2001-04-05It seems all the stdout munging was useless anyways, sinceEric Andersen
deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-15If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say:Mark Whitley
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.
2001-03-14Fix from Manuel for a silly thinko on my part.Eric Andersen
2001-03-14dpkg used tfind, which doesn't work with libc5. Print a friendy errorEric Andersen
should someone try to use it... -Erik
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-02-15fix a few mallocs to be xmallocs.Eric Andersen
-Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-12Closer integration with dpkg-deb and other busybox functions.Glenn L McGrath
Hopefully simplified some code (works for me).
2001-02-11More style changesGlenn L McGrath
2001-02-11Style changes; use get_line_from_file from utilitiesGlenn L McGrath
2001-02-10Use copy_file from utilty.c, remove some char definesGlenn L McGrath
2001-02-10Bug fix, rename status file, cleanupsGlenn L McGrath
2001-02-10Replace status defines with const int to conform to sytle guide, adds 32 bytesGlenn L McGrath
2001-02-10Initial importGlenn L McGrath