aboutsummaryrefslogtreecommitdiff
path: root/dpkg.c
AgeCommit message (Collapse)Author
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