aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
AgeCommit message (Collapse)Author
2007-03-19Kim B. Heino writes:Bernhard Reutner-Fischer
When installing a new package with dpkg dependencies are checked correctly. But when I try to update an existing package, the dependencies are checked against the old package, not against new package. Thus the new package can break dependencies.
2007-03-11kill superfluous returns at the end of void functionsDenis Vlasenko
2007-02-15dpkg: fix segfault on "dpkg -i"Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2006-12-22remove useless casts (type*) xzalloc(...)Denis Vlasenko
2006-12-22dpkg: getopt32-ification etc, -100 bytesDenis Vlasenko
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-11-05rename: compare_string_array -> index_in_str_arrayDenis Vlasenko
introduce index_in_substr_array and use it in iproute2
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-12small style fixesDenis Vlasenko
2006-09-30dpkg: fix use-after-free (bug 939)Denis Vlasenko
2006-09-28dpkg: style fixes; short -> int (generated code is smaller)Denis Vlasenko
2006-09-28dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!)Denis Vlasenko
at the cost of ~100 bytes of text. Improves friendliness to nommu systems. (Dunno whether nommu people ever use dpkg, though...)
2006-09-27silly switch style fixDenis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-09-05The bb_ prefixes were removed from xasprintf() and xopen() a month ago (inRob Landley
svn 15767).
2006-09-03dpkg: fix buffer overflow (bug 983)Denis Vlasenko
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-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-05-29- ls: remove unused variableBernhard Reutner-Fischer
- dpkg.c, diff: use xstat text data bss dec hex filename 848823 9100 645216 1503139 16efa3 busybox_old 848679 9100 645216 1502995 16ef13 busybox_unstripped bloatcheck is completely useless as it sees -79 for this, which is bogus.
2006-05-29More size shrinkage.Rob Landley
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-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-03-01Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley
from before "if(x) free(x)".
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-01-25just whitespaceTim Riker
2005-08-16Bernhard Fischer says: use xmalloc() instead of malloc()Mike Frysinger
2005-07-22applying fix for:Paul Fox
0000093: Patch for dpkg - can't handle scripts Attached patch is needed to fix dpkg's support for preinst, postinst etc script files.
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 208, bernhardf writes:Mike Frysinger
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-11-28Patch from Ian Campbell, fix or'ed dependencies and handle virtualGlenn L McGrath
dependencies.
2003-11-26Important bugfixes from Ian Campbell.Glenn L McGrath
init_archive_deb_data() We want to filter for data.tar.* in the AR file not the TAR file, else we get nothing. all_control_list() Make the 'extensions' array of control file names a global so it can be used in unpack_package as well. Name the global all_control_files. Don't hard code the length of all_control_files but instead used sizeof. unpack_package() Only unpack the control files we are interested in (from all_control_files). Extract the data.tar.gz into / rather than the current directory. dpkg_main() Configure packages in a second pass so all the packages being installed are unpacked before configuring. Some purely cosmetic changes: header update list of differences since two of them are no longer true. The .control file is no longer stored as a result of this patch -- it was redundant since the info is in status. New packages appear to be added to the end of the status file now rather than the start. remove_package() Make message printing optional, so we can avoid a redundant message when replacing/upgrading a package. When we do print stuff then include the version number. purge_package() Print "Purging xxx (yyy) ..." message like the other actions. configure_package() Add "..." to "Setting up" message to be consistent with other actions.
2003-09-15Do not shadow the global name 'accept'Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-11Use libbb/get_line_from_file instead of getlineGlenn L McGrath
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-12-02Move compare_string_array to libbbGlenn L McGrath
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-11-06Use a switch instead of successive if (strcmp()) statments.Glenn L McGrath
2002-11-06Split deb_extract() into more generic functionsGlenn L McGrath
2002-11-05Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internallyGlenn L McGrath
2002-11-03Move data_extract_all_prefix to dpkg, its only used there.Glenn L McGrath
2002-10-19Update dpkg to use new unarchive codeGlenn L McGrath