summaryrefslogtreecommitdiff
path: root/archival/dpkg_deb.c
AgeCommit message (Collapse)Author
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-13s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-06-10- use bb_xchdir instead of ignoring eventual errors of chdirBernhard Reutner-Fischer
Thanks to Erik Hovland
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-04-12- patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
2005-10-11- use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"
- more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
2005-10-07- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵Bernhard Reutner-Fischer
ifconfig.c - gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path closes bug #221 (partially; The rest will follow later).
2005-09-11Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley
getopt.h, whitespace changes, typos, etc.
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-05-11change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger
(BB_GETOPT_ERROR)
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-07Use bb_getopt_ulflags, save 100 bytes and strict argument checking.Glenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-11-13Minor cleanupsGlenn L McGrath
2002-11-05enable .tar.bz2 for dpkg-debGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2001-10-25Recovering from my previous commitGlenn 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-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
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-13dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath
2001-04-12New dpkg-deb function -t, stands for --fsys-tarfileGlenn L McGrath
2001-04-12dpkg-deb -c works nowGlenn L McGrath
2001-04-12Fix dpkg-deb, enum's are coolGlenn L McGrath
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-11Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath
2001-04-07Ignore SIGTERM prior to gz_close()Glenn L McGrath
2001-04-05dpkg_deb had not been updated for the new gunzip interface. Fix it.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-12New option 'list' produces output that can be used for the packages .list file.Glenn L McGrath
Will be used be bb dpkg
2001-02-11New function, deb-extract to be used by dpkg, code cleanups. saves some bytesGlenn L McGrath
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-20Close files before exitGlenn L McGrath
2001-01-03Fix warning for unused variableGlenn L McGrath
2001-01-02really add dpkg-deb.c this timeGlenn L McGrath