summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-20releasing package apt version 0.9.11.40.9.11.4Michael Vogt
2013-09-20do not trust FileFd::Eof() in pkgTagFile::Fill()David Kalnischkies
The Eof check was added (by me of course) in 0aae6d14390193e25ab6d0fd49295bd7b131954f as part of a fix up ~a month ago (at DebConf). The idea was not that bad, but doesn't make that much sense either as this bit is set by the FileFd based on Actual as well, so this is basically doing the same check again – with the difference that the HitEof bit can still linger from a previous Read we did at the end of the file, but have seek'd away from it now. Combined with the length of entries, entry order and other not that easily controllable conditions you can be 'lucky' enough to hit this problem in a way which even visible (truncating of other fields might not be visible easily, like 'Tags' and others). Closes: 723705 Thanks: Cyril Brulebois
2013-09-12add a testcase for 100 char long path truncate bug #689582David Kalnischkies
Git-Dch: Ignore
2013-09-12don't truncate 100 char long paths in tar extractionOskari Saarenmaa
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!
2013-09-10Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler (closes: ↵0.9.11.3Michael Vogt
#722324)
2013-09-10prepare uploadMichael Vogt
2013-09-03use FileFd in HashSum test to unbreak non-linux portsDavid Kalnischkies
The testcode happily mixes FILE* operations and direct access to fds which is even a bit suprising that it works on linux and worked so long for non-linux ports, so we switch to usage of FileFd instead which provides us with simple fd-only operations. Its overkill for this test as its a bare file and we ask for the descriptor all the time, but it shouldn't hurt to implicitly test it a bit this way. Closes: 721723 Thanks: Aaron M. Ucko
2013-09-03fix vim-style foldmarkerDavid Kalnischkies
Git-Dch: Ignore
2013-09-01Remove invalid "-f" option for apt-get checkMichael Vogt
Thanks to Philipp Weis (closes: #721477)
2013-09-01Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt
2013-08-31fix typo (mkostemp->mkstemp)Michael Vogt
2013-08-31prepare upload of 0.9.120.9.11.2Michael Vogt
2013-08-28Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sidMichael Vogt
2013-08-28Merge remote-tracking branch 'mvo/feature/upgrade-with-cmdline' into debian/sidMichael Vogt
2013-08-28Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
2013-08-28Complete Italian translationChristian PERRIER
2013-08-28configurable compression for testcasesDavid Kalnischkies
Compressing files in 4 different styles eats test-time for no practical gain if we don't test them explicitly, so default to just building 'gz' compressed files as it is the simplest compression algorithm supported Git-Dch: Ignore
2013-08-27old-style dpkg foreign architecture adding for testsDavid Kalnischkies
Looks like the travis service runs on Ubuntu in a version which has dpkg with an earlier interface implementation, so lets try if we can't make the framework work with this dpkg version as well. Git-Dch: Ignore
2013-08-27use mkstemp instead of mkostemp in FileFd::Open()David Kalnischkies
FileFd currently supports no fileflags which would make sense to provide via mkostemp, so we can just use mkstemp here which is a standard function compared to glib extension mkostemp. O_CREAT (Create) and O_TRUNC (Empty) are implied by O_EXCL, which is the mode mkstemp uses by default. The file description is opened ReadWrite, but that used to be the default for FileFd in the old times and not a problem as the difference is needed by FileFd to decide in which way the compressor pipeline needs to be created (if any). Git-Dch: Ignore
2013-08-27replace usage of potential dangerous mktemp with mkstempAngel Guzman Maeso
Avoid the warning "the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'". It is not strictly necessary to change the usage from a security point of view here, but mktemp is also removed from the standard since POSIX.1-2008. The mkostemp call returns a file descriptor the logic for TemporaryFileName has been changed accordingly to get the same results. The file permissions are corrected by using fchmod() as the default for FileFd is 666 while mkstemp creates files with 600 by default.
2013-08-27Update Italian translation. Closes: #721030Christian PERRIER
2013-08-27allow pkg manipulation in the upgrade/dist-upgrade commandline, e.g. apt-get ↵Michael Vogt
dist-upgrade 2vcard- 4g8+
2013-08-27use SPtr<pkgProblemResolver> to simply codeMichael Vogt
2013-08-26update changelogMichael Vogt
2013-08-26apt-private/private-cmndline.cc: fix typo: s/deselect-upgrade/dselect-upgrade/Michael Vogt
2013-08-26dselect/install: add new DSELECT_UPGRADE_OPTS="-f"Michael Vogt
2013-08-26dselect/install:Michael Vogt
* dselect/install: - remove "-f" option for apt-get dselect-upgrade (closes: #720532)
2013-08-26Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt
Conflicts: debian/changelog
2013-08-25Changelog entry for Vietnamese translationChristian PERRIER
2013-08-25Update Vietnamese translation to 0.9.11Tran Ngoc Quan
Signed-off-by: Tran Ngoc Quan <vnwildman@gmail.com>
2013-08-24update changelog for update0.9.11.1Michael Vogt
2013-08-24Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt
2013-08-23dselect/update: remove "-f" option as its not being used in the context of ↵Michael Vogt
apt-get update
2013-08-23ftparchive/override.cc: fix "skip empty lines" code, the pointer needs to ↵Michael Vogt
get de-referenced first
2013-08-22Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt
2013-08-22do chdir("/") after chroot()Michael Vogt
2013-08-22Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
2013-08-22apt-pkg:contrib Avoid compiler warning about sign-compareÁngel Guzmán Maeso
The fix avoid the warning "comparison between signed and unsigned integer expressions [-Wsign-compare]"· The index for the loop needs to be unsigned for compare with globbuf.gl_pathc structure member
2013-08-22Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sidMichael Vogt
Conflicts: apt-pkg/tagfile.h
2013-08-22Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt
2013-08-22fix compiler warning about sign-compareAngel Guzman Maeso
This fix avoids the warning "comparison between signed and unsigned integer expressions [-Wsign-compare]". The index for the loop needs to be unsigned for compare with globbuf.gl_pathc structure member.
2013-08-22add versions to manpages-it Replaces+BreaksDavid Kalnischkies
In the meantime the package was updated to remove the old APT manpages from this package, so we can now add a Breaks and version it, too. The intial Replaces was added in: b57220d815aedbc023847d0885e08c6ed50e629a
2013-08-22add a breaks libapt-inst for FileFd changes in 0.9.9David Kalnischkies
Partial upgrades… The fix for 704608 assumes that bf35c19b817cc1474b3deabce0b0953c248bad42 was applied to libapt-inst which isn't the case for partial upgrades of course, so break it to ensure that it is the case. Closes: 720449
2013-08-21prepare unstable upload0.9.11Michael Vogt
2013-08-19fix incorrect bugnumber for the Pre-Install-Pkgs hook (Closes: #671726)Michael Vogt
2013-08-19add lintian override for no-shlibs-control-file and only install ↵Michael Vogt
libapt-private.so.* instead libapt-private.so
2013-08-19Merge pull request #3 from cbaines/debian/sidMichael Vogt
Add test for bug 507998
2013-08-19prepare for releaseMichael Vogt
2013-08-17update changelogMichael Vogt
2013-08-17Merge remote-tracking branch 'mvo/feature/apt-binary2' into debian/sidMichael Vogt
Conflicts: cmdline/apt-get.cc