summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-31prepare upload of 0.9.120.9.11.2Michael 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
2013-08-17Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
2013-08-17Merge branch 'debian/sid' of git://git.debian.org/git/apt/apt into debian/sidChristian PERRIER
2013-08-17French translation update.Christian PERRIER
2013-08-16Add test for bug 507998Christopher Baines
2013-08-16allow Pre-Install-Pkgs hooks to get info over an FD != stdinDavid Kalnischkies
This adds ::InfoFD option alongside the ::Version one to request sending the information to the specified FD, by default it is STDIN as it was the case before. The environment variable APT_HOOK_INFO_FD contains the FD the data is on as a confirmation that the APT version used understood the request. Allowing the hook to choose the FD is needed/helpful e.g. for shellscripts which have a hard time accessing FDs above 9 (as >= 10 are usually used internally by them) Closes: #671728
2013-08-15use malloc instead of new[] in pkgTagFileDavid Kalnischkies
We don't need initialized memory for pkgTagFile, but more to the point we can use realloc this way which hides the bloody details of increasing the size of the buffer used. Git-Dch: Ignore
2013-08-15ensure that pkgTagFile isn't writing past Buffer lengthDavid Kalnischkies
In 91c4cc14d3654636edf997d23852f05ad3de4853 I removed the +256 from the pkgTagFile call parsing Release files as I couldn't find a mentioning of a reason for why and it was marked as XXX which suggested that at least someone else was suspicious. It turns out that it is indeed "documented", it just didn't found it at first but the changelog of apt 0.6.6 (29. Dec 2003) mentions: * Restore the ugly hack I removed from indexRecords::Load which set the pkgTagFile buffer size to (file size)+256. This is concealing a bug, but I can't fix it right now. This should fix the segfaults that folks are seeing with 0.6.[45]. The bug it is "hiding" is that if pkgTagFile works with a file which doesn't end in a double newline it will be adding it without checking if the Buffer is big enough to store them. Its also not a good idea to let the End pointer be past the end of our space, even if we don't access the data. Closes: 719629
2013-08-15set MALLOC_CHECK_ and MALLOC_PERTURB_ for testcasesDavid Kalnischkies
In bugreport deb:719629 Paul Wise mentions both to enable some malloc checks and as more testing can't hurt we enable both for all testcases. Git-Dch: Ignore
2013-08-15rework the parameter creation for the Hashsum testDavid Kalnischkies
Avoids having to different places from which test binaries are called Git-Dch: Ignore
2013-08-15do not call make from libapt/run-tests if its called by makeDavid Kalnischkies
If we are called by make everything is build already and so this is just a noise nop we can just skip. (Noisy as it complains about being unable to communicate with the other makes to coordinate with the jobserver) Git-Dch: Ignore
2013-08-15init the pkgTagFile with the size of the Release fileDavid Kalnischkies
Release files are basically one big Section, so we might safe some Resize circles by starting with the filesize. Git-Dch: Ignore
2013-08-15add PACKAGE_MATCHER_ABI_COMPAT mode for now so that this branch can be ↵Michael Vogt
merged without breaking ABI