aboutsummaryrefslogtreecommitdiff
path: root/dpkg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Another nice cleanup from Larry. This adds a new last_char_is() function andandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2450 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Write full status filebug12001-04-161-19/+76
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵bug12001-04-161-196/+175
| | | | | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible git-svn-id: svn://busybox.net/trunk/busybox@2350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* copy_file_chunk uses streams now.bug12001-04-111-17/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2315 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move deb_extract() to libbb, dpkg now independent of dpkg-debbug12001-04-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply Vladimir's latest cleanup patch.andersen2001-04-091-10/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2288 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise status field to use 3 chars instead of one bit shifted long int.bug12001-04-081-131/+98
| | | | | | | Generates status file properly now, not compatable with full dpkg yet. git-svn-id: svn://busybox.net/trunk/busybox@2281 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use create_path instead of mkdirbug12001-04-081-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2280 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It now correctly backs up the (still corrupt) status filebug12001-04-081-10/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2279 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some fixes, but still broken... (cont)bug12001-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 git-svn-id: svn://busybox.net/trunk/busybox@2278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It seems all the stdout munging was useless anyways, sinceandersen2001-04-051-3/+0
| | | | | | | | | deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say:markw2001-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. git-svn-id: svn://busybox.net/trunk/busybox@2085 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from Manuel for a silly thinko on my part.andersen2001-03-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2073 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg used tfind, which doesn't work with libc5. Print a friendy errorandersen2001-03-141-0/+9
| | | | | | | | should someone try to use it... -Erik git-svn-id: svn://busybox.net/trunk/busybox@2067 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch from Jeff Garzik to static-ify a number ofandersen2001-03-091-3/+3
| | | | | | | namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix a few mallocs to be xmallocs.andersen2001-02-151-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1826 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Closer integration with dpkg-deb and other busybox functions.bug12001-02-121-129/+140
| | | | | | | Hopefully simplified some code (works for me). git-svn-id: svn://busybox.net/trunk/busybox@1796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More style changesbug12001-02-111-150/+175
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1790 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Style changes; use get_line_from_file from utilitiesbug12001-02-111-173/+132
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use copy_file from utilty.c, remove some char definesbug12001-02-101-41/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix, rename status file, cleanupsbug12001-02-101-71/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Replace status defines with const int to conform to sytle guide, adds 32 bytesbug12001-02-101-61/+58
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial importbug12001-02-101-0/+905
git-svn-id: svn://busybox.net/trunk/busybox@1784 69ca8d6d-28ef-0310-b511-8ec308f3f277