aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg_deb.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hvda2007-05-261-1/+1
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+1
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #2vda2007-01-291-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-271-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-031-3/+3
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-031-8/+3
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use bb_xchdir instead of ignoring eventual errors of chdiraldot2006-06-101-2/+2
| | | | | | | Thanks to Erik Hovland git-svn-id: svn://busybox.net/trunk/busybox@15350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change llist_add_* to take the address of the list rather than returning the newlandley2006-05-261-5/+5
| | | | | | | head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xchdir()aldot2006-04-121-14/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14837 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-1/+1
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-141-1/+1
| | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use complementally '!' to '?' - 'ask' is best 'free' char for this.vodz2005-10-111-1/+1
| | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@11828 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵aldot2005-10-071-1/+1
| | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@11797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup patch by Bernhard Fischer, removing unnecessary includes oflandley2005-09-111-1/+0
| | | | | | | getopt.h, whitespace changes, typos, etc. git-svn-id: svn://busybox.net/trunk/busybox@11422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-2/+2
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵vapier2005-05-111-1/+1
| | | | | | (BB_GETOPT_ERROR) git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_getopt_ulflags, save 100 bytes and strict argument checking.bug12004-01-071-44/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵bug12002-12-081-6/+6
| | | | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free). git-svn-id: svn://busybox.net/trunk/busybox@6132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanupsbug12002-11-131-17/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* enable .tar.bz2 for dpkg-debbug12002-11-051-16/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New common unarchive code.bug12002-09-251-79/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Recovering from my previous commitbug12001-10-251-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3583 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change read_package_field interface, and rewrite using low level functionsbug12001-07-181-4/+9
| | | | | | | Fixes for a few bugs that have crept into dpkg in the last few days git-svn-id: svn://busybox.net/trunk/busybox@3122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nore unarchive (and doc) fixes from Laurence Andersonbug12001-06-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2894 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cpio applet, and changes to associated codebug12001-06-221-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵bug12001-06-201-1/+1
| | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@2862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise archive extraction codebug12001-06-131-45/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2823 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.ckraai2001-05-161-1/+1
| | | | | | | by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵bug12001-04-161-1/+18
| | | | | | | | | 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
* dpkg-deb -f and partial -I commands, adds 600 bytesbug12001-04-131-21/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New dpkg-deb function -t, stands for --fsys-tarfilebug12001-04-121-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg-deb -c works nowbug12001-04-121-6/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2331 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dpkg-deb, enum's are coolbug12001-04-121-18/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2330 69ca8d6d-28ef-0310-b511-8ec308f3f277
* copy_file_chunk uses streams now.bug12001-04-111-1/+1
| | | | 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-102/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cbug12001-04-111-12/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ignore SIGTERM prior to gz_close()bug12001-04-071-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg_deb had not been updated for the new gunzip interface. Fix it.andersen2001-04-051-2/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-4/+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
* New option 'list' produces output that can be used for the packages .list file.bug12001-02-121-5/+13
| | | | | | | Will be used be bb dpkg git-svn-id: svn://busybox.net/trunk/busybox@1794 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New function, deb-extract to be used by dpkg, code cleanups. saves some bytesbug12001-02-111-85/+86
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-0/+3
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Close files before exitbug12001-01-201-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1623 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warning for unused variablebug12001-01-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1526 69ca8d6d-28ef-0310-b511-8ec308f3f277
* really add dpkg-deb.c this timebug12001-01-021-0/+159
git-svn-id: svn://busybox.net/trunk/busybox@1519 69ca8d6d-28ef-0310-b511-8ec308f3f277