summaryrefslogtreecommitdiff
path: root/apt-inst
Commit message (Collapse)AuthorAgeFilesLines
* fix libapt-inst for >2G debs (closes: #725483)Michael Vogt2013-10-071-3/+3
|
* compression-neutral message for missing data.tar memberDavid Kalnischkies2013-09-261-2/+1
| | | | | | | It even reuses the message used for the other check-for members, so one less message to translate (good, as not that many people will ever see it). Closes: 722710
* don't truncate 100 char long paths in tar extractionOskari Saarenmaa2013-09-121-13/+11
| | | | | | | | | | | | When a data.tar.{gz,xz} contains a path name that is exactly 100 characters long, it will get truncated to 99 chars upon extraction in ExtractTar::Go(). Using all of the 100 available characters for the filename seems to be new behaviour in gnu tar. Closes: #689582 Thanks: Mika Eloranta for the testcase!
* delete Memb on read-error in arfileNiels Thykier2013-06-241-0/+3
| | | | Git-Dch: Ignore
* depend on libapt-pkg in the libapt-inst build processDavid Kalnischkies2013-06-091-0/+1
| | | | | | | fixing parallel build in the handcrafted buildsystem is a pain, so its not enabled by default, but its works for me – sometimes Git-Dch: Ignore
* don't explicitly init ExtractTar InFd with invalid fdDavid Kalnischkies2013-06-091-1/+0
| | | | | | | The default constructor of the FileFd will kick in anyway, which will know that the Fd is invalid while with this explicit call it must be assumed that the fd is in fact valid, which might generate errors in the future
* various simple changes to fix cppcheck warningsDavid Kalnischkies2013-03-101-2/+1
|
* * apt-inst/deb/debfile.h:David Kalnischkies2012-05-101-0/+4
| | | | - readd 'md5.h' to the uncleaned header includes to make qapt build against us again unchanged to unblock transition (Closes: #669163)
* merge from the lp:~mvo/apt/mvo branchMichael Vogt2012-04-201-1/+1
|\
| * * apt-inst/contrib/extracttar.cc:Michael Vogt2012-04-191-1/+1
| | | | | | | | | | - ensure that in StartGzip the InFd is set to "AutoClose" to ensure that the pipe is closed when InFd is closed. This fixes a Fd leak (LP: #985452)
* | prepare new experimtnal uploadMichael Vogt2012-04-111-1/+1
| |
* | * apt-inst/database.{cc,h}, apt-inst/deb/dpkgdb.{cc,h}:David Kalnischkies2012-03-227-719/+4
| | | | | | | | | | | | | | - drop instead of fix as it is only needed if you want to reimplement dpkg and comes straight from the beginning of last decade (Closes: #663372) * apt-inst/deb/debfile.cc: - {Extract,Merge}Control() is another instance of "lets reimplement dpkg" so shot of this code before someone ends up using this…
* | * methods/rred.cc:David Kalnischkies2012-03-202-3/+2
|/ | | | | | | | | | | - check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends
* fix "(style) Statements following return, break, continue, goto or throwDavid Kalnischkies2012-03-041-4/+2
| | | | | will never be executed." from cppcheck. The fd was closed only after a return, so invert the order of lines and be happy
* revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies2011-12-134-0/+13
| | | | | The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
* revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies2011-12-131-0/+4
| | | | | The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
* use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-1912-7/+35
|
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-1910-21/+19
|
* * [abi-break] Support large files in the complete toolset. Indexes of thisMichael Vogt2011-09-141-1/+1
| | | * bump ABI version
* Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-1/+1
| | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-138-2/+19
|
* merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-291-1/+1
|
* remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)David Kalnischkies2011-05-171-1/+1
|
* fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-161-4/+10
| | | Niels Thykier, thanks! (Closes: #622805)
* * apt-inst/deb/debfile.cc:David Kalnischkies2011-02-281-16/+26
| | | - support data.tar's compressed with any configured compressor
* * ftparchive/contents.cc:David Kalnischkies2011-02-241-1/+1
| | | - remove ExtractArchive codecopy from apt-inst/deb/debfile.cc
* * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-221-1/+7
|\ | | | | | | | | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file
| * * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-221-1/+7
| | | | | | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
* | * apt-inst/contrib/extracttar.cc:David Kalnischkies2011-01-131-4/+8
|\ \ | | | | | | | | | - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162)
| * | Permit base256 encoded value in the numeric field of tar header.Nobuhiro Hayashi2010-12-031-4/+8
| |/
* / FristOwner is never used in the blamed history and gcc-4.6 complains nowDavid Kalnischkies2011-01-121-3/+1
|/
* Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies2010-06-041-1/+1
|
* apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the ↵Julian Andres Klode2010-03-121-0/+1
| | | | list of members.
* we break the ABI, so let use increase the ABI number :)David Kalnischkies2010-02-181-1/+1
| | | | (This is the revert of the glibc-abi-compatibility-hack)
* * apt-pkg/contrib/macros.h:David Kalnischkies2010-01-301-1/+1
| | | | | - move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)
* apt-inst/makefile: include libversion.makMichael Vogt2009-12-141-0/+3
|
* decrease the libapt-inst major version again to 1.1 as the increaseDavid Kalnischkies2009-12-121-1/+1
| | | | was a backport error and is not needed (and destroys our non-abi-break hack)
* Bumped libapt version and excluded eglibc from SONAME. (Closes: #448249)David Kalnischkies2009-10-241-2/+1
| | | | | Backported from lp:~mvo/apt/debian-experimental Based on patch by Eugene V. Lyubimkin
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-09-241-1/+1
|\ | | | | | | | | | | - when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866) * apt-inst/contrib/arfile.cc: - show propper error message for Invalid archive members
| * * apt-inst/contrib/arfile.cc:Michael Vogt2009-09-241-1/+1
| | | | | | - show propper error message for Invalid archive members
* | [apt-inst/contrib/arfile.cc] use sizeof instead strlenDavid Kalnischkies2009-08-091-1/+1
|/ | | | Patch from Marius Vollmer, thanks! (Closes: #504325)
* * apt-inst/contrib/arfile.cc:Michael Vogt2008-12-171-1/+1
| | | | - support members ending with '/' as well (thanks to Michal Cihr, closes: #500988)
* fix various -Wall warningsMichael Vogt2008-10-281-2/+2
|
* * make apt build with g++ 4.3Michael Vogt2007-09-101-1/+1
|
* * apt-inst/contrib/extracttar.cc:Michael Vogt2007-08-021-1/+1
| | | - fix fd leak for zero size files
* * Applied patch from Guillem Jover <guillem.jover@nokia.com> to addOtavio Salvador2007-07-281-2/+8
| | | support to add lzma support (closes: #408201)
* * remove all the remaining #pragma implementationMichael Vogt2007-06-088-29/+0
|
* * removed the remaining #ifdef __GNUG__ that are no longer requiredMichael Vogt2006-10-021-3/+0
|
* * remove the remaining #ifdef __GNUG__ bitsMichael Vogt2006-10-022-4/+1
|
* * removed the pragma messMichael Vogt2006-10-028-19/+1
|