summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* unset LANGUAGE for showing [Y/n] answer hintsDavid Kalnischkies2013-08-0147-12521/+13387
| | | | | | | | | | | | | | | | | | | | | nl_langinfo is used to acquire the YESEXPR of the language used, but it will return the one from LC_MESSAGES, which might be different from the language chosen for display of the question (based on LANGUAGE) so this commit removes the [Y/n] help text from the questions itself and moves it to the prompt creation in which the usage of LC_MESSAGES is forced for it, so that the helptext shown actually represents the characters accepted as input for the question. There is still room for problems of course starting with an untranslated "[Y/n]" but a translated YESEXPR or the problem that the question is asked in a completely different language which might have a conflicting definition of [Y/n] input or the user simple ignores the helptext and assumes that an answer matching the question language is accepted, but the mayority of users will never have this problem to begin with, so we should be fine (or at least a bit finer than before). Closes nothing really, but should at least help a bit with bugs like deb:194614, deb:471102, lp:1205578, and countless others.
* Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sidMichael Vogt2013-07-2817-26/+41
|\
| * fix another missing va_end()Michael Vogt2013-07-261-3/+3
| |
| * fix missing va_end()Michael Vogt2013-07-262-0/+3
| |
| * fix some coverity chroot() releated warningsMichael Vogt2013-07-263-4/+5
| |
| * add missing test makeMichael Vogt2013-07-261-0/+3
| |
| * add missing "make test" for travisMichael Vogt2013-07-261-1/+1
| |
| * build tree firstMichael Vogt2013-07-261-1/+1
| |
| * make setup in travis.yml a bit more verboseMichael Vogt2013-07-262-5/+2
| |
| * fix travis.ymlMichael Vogt2013-07-251-1/+1
| |
| * add missing "free(buffer) for allocated bufferMichael Vogt2013-07-252-1/+1
| |
| * fix potential GetLock() fd leakMichael Vogt2013-07-251-4/+6
| |
| * delete targets dataMichael Vogt2013-07-251-0/+1
| |
| * fix resource leak when verification failsMichael Vogt2013-07-251-0/+1
| |
| * apt-pkg/indexcopy.cc: check for pending errors before calling fdopen()Michael Vogt2013-07-251-1/+1
| |
| * call fdopen() after FileFd was checkedMichael Vogt2013-07-251-1/+1
| |
| * add .travis.ymlMichael Vogt2013-07-251-0/+5
| |
| * fix resource leak (thanks coverity)Michael Vogt2013-07-251-4/+8
| |
| * rework the code in cdromutl.cc to make coverity (more) happyMichael Vogt2013-07-251-1/+2
| |
| * fix off-by-one error in HttpMethod::​AutoDetectProxy()Michael Vogt2013-07-251-1/+1
| |
| * fix off-by-one error and do not use magic constant of 100 when checking ↵Michael Vogt2013-07-251-1/+1
| | | | | | | | StackPost
| * always "delete d" in FileFd::~FileFd to coverity happyMichael Vogt2013-07-251-4/+2
| |
| * Merge remote-tracking branch 'upstream/debian/sid'Michael Vogt2013-07-24128-8780/+11416
| |\
| * | remove double list includeMichael Vogt2013-07-231-1/+0
| | |
* | | run "doxygen -u" to update doxygen configDavid Kalnischkies2013-07-271-146/+522
| | | | | | | | | | | | Git-Dch: Ignore
* | | update the symbol files to reflect current stateDavid Kalnischkies2013-07-272-74/+53
| | |
* | | exclude config.{sub,guess} from source packageDavid Kalnischkies2013-07-261-1/+6
| | | | | | | | | | | | | | | | | | | | | Lintian complains about these links in the source package as they leave the source directory and as they are autogenerated there isn't that much sense in shipping them, we can just recreate them before calling configure.
* | | reenable automatic parallel build of APTDavid Kalnischkies2013-07-261-9/+8
| | | | | | | | | | | | | | | It works for a while now in manual tests, now lets see how it will perform if enabled for all by default automatically.
* | | implement debian/rules build-{arch,indep} as required by policy 3.9.4David Kalnischkies2013-07-262-16/+16
| | |
* | | correct management-typo in description found by lintianDavid Kalnischkies2013-07-261-3/+3
| | |
* | | add missing Turkish (tr) to po/LINGUASDavid Kalnischkies2013-07-262-6/+22
| | | | | | | | | | | | | | | | | | And while at it ensure that this can't happen again by letting the build fail in case a po file is available but the language isn't mentioned in the LINGUAS file (not even as a disabled language).
* | | remove ALL_LINGUAS as it is overruled by po/LINGUASDavid Kalnischkies2013-07-261-4/+0
| | | | | | | | | | | | | | | | | | | | | The list shows that it is ignored as some translations which are shipped are not included here, so remove this source of possible confusion. Git-Dch: Ignore
* | | make autoconf happy by "mv configure.{in,ac}"David Kalnischkies2013-07-264-6/+6
| | | | | | | | | | | | Git-Dch: Ignore
* | | ensure that FileFd::Size returns 0 in error casesDavid Kalnischkies2013-07-261-5/+18
| | |
* | | proper cleanup varargs in _error (uncovered by Coverity)David Kalnischkies2013-07-261-4/+6
| | | | | | | | | | | | Git-Dch: Ignore
* | | use FileFd::Write instead of fwrite for errorsDavid Kalnischkies2013-07-261-3/+4
| | | | | | | | | | | | | | | | | | | | | Using the static FileFd::Write method gives us error messages for free so we use it here to avoid failing silently (with a fail silent error). Git-Dch: Ignore
* | | update changelog for uploadMichael Vogt2013-07-261-0/+15
| | |
* | | request absolute URIs from proxies again (0.9.9.3 regession)David Kalnischkies2013-07-263-12/+72
| | | | | | | | | | | | | | | | | | | | | | | | Commit 2b9c9b7f28b18f6ae3e422020e8934872b06c9f3 not only removes keep-alive, but also changes the request URI send to proxies which are required to be absolute URIs rather than the usual absolute paths. Closes: 717891
* | | pick up Translation-* even if only compressed availableDavid Kalnischkies2013-07-252-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On CD-ROMs Translation-* files are only in compressed form included in the Release file. This used to work while we had no record of Translation-* files in the Release file at all as APT would have just guessed the (compressed) filename and accepted it (unchecked), but now that it checks for the presents of entries and if it finds records it expects the uncompressed to be verifiable. This commit relaxes this requirement again to fix the regression. We are still secure "enough" as we can validate the compressed file we have downloaded, so we don't loose anything by not requiring a hashsum for the uncompressed files to double-check them. Closes: 717665
* | | skip all Description fields in apt-cache, not just first (Closes: 717254)Michael Vogt2013-07-251-2/+6
| | | | | | | | | | | | | | | * skip all Description fields in apt-cache, not just first (Closes: 717254) * fix 'apt-cache search' crash with missing description (Closes: 647590)
* | | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2013-07-252-26/+131
|\ \ \
| * | | fix 'apt-cache search' crash with missing descriptionDavid Kalnischkies2013-07-182-11/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beside the earlier fixed 'apt-cache show', 'showpkg' and 'search' deal with descriptions. 'showpkg' was fixed by fixing the cache generation for 'show', but 'search' still segfaulted. On the upside, it doesn't segfault any longer, on the downside, if a package has no description at all (aka: not in the Packages file and not in a Translation-* file) the package can't be found with 'search', even if we search only by name. That is a shortcoming in the code, but fixing it means rewriting it completely for dubious gain at best. So this commit just skips packages without a description and is done. Closes: 647590
| * | | skip all Description fields in apt-cache, not just firstDavid Kalnischkies2013-07-182-18/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given a Packages file like: […] Description: foo bar baz moo moo moo Multi-Arch: foreign Description-md5: 97e204a9f4ad8c681dbd54ec7c505251 […] We have to display the Multi-Arch flag field as well as the fields after the Description-md5, but not this field itself, as we already have one printed alongside the Description we display. Closes: 717254
* | | | debian/apt.postinst:Michael Vogt2013-07-232-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * debian/apt.postinst: - run /etc/kernel/postinst.d/apt-auto-removal once on upgrade to ensure that the correct auto-removal list is generated (closes: #717615)
* | | | debian/apt.auto-removal.sh:Michael Vogt2013-07-232-1/+10
|/ / / | | | | | | | | | | | | | | | * debian/apt.auto-removal.sh: - do not include debug symbol packages for the kernel in the blacklist (closes: #717616)
* | | Merge remote-tracking branch 'geissert/proxy-keep-alive' into debian/sidMichael Vogt2013-07-171-21/+8
|\ \ \
| * | | Do not send a connection: keep-alive, at allRaphael Geissert2013-07-141-21/+8
| | |/ | |/|
* | | fix if-clause to generate hook-info for 'rc' packages (Closes: 717006)Michael Vogt2013-07-171-2/+5
| | |
* | | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2013-07-172-1/+26
|\ \ \
| * | | fix if-clause to generate hook-info for 'rc' packagesDavid Kalnischkies2013-07-162-1/+26
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The code incorrectly skips printing of current version information, if the package has no current version (for APT, but for dpkg as it is the case for packages which are removed but not purged) by using an unintended "else if" rather than an "if". Closes: 717006