summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2019-11-27German dselect translation updateSven Joachim1-0/+3
Update to 274t.
2019-11-26Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formatsGuillem Jover1-0/+1
2019-11-26Dpkg::Changelog: Clarify inheritance and implementation referencesGuillem Jover1-0/+3
Make it clear that these classes inherit from some other base class, which will contain the missing documentation. Prompted-by: intrigeri <intrigeri@debian.org>
2019-11-26Dpkg: Say class instead of object when appropriateGuillem Jover1-0/+1
These were referring to the type and not the instance, which makes using the incorrect nomenclature confusing.
2019-11-26Dpkg::Exit: Register exit handlers also for __DIE__Guillem Jover1-0/+1
This makes sure we execute the handlers on normal errors, and can thus remove the traps from several functions to run the handlers and to then rethrow the exception.
2019-11-26Dpkg::Exit: Unregister all signal handlers once we have executed themGuillem Jover1-0/+2
We should cleanup the handlers to the previous state otherwise we end up changing the behavior globally, when this should be a local cleanup behavior. Closes: #932841
2019-11-26dpkg-source: Remove backwards compatibility code for legacy build-profilesGuillem Jover1-0/+1
2019-11-26Dpkg::Vendor: Remove obsolete 'keyrings' hookGuillem Jover1-0/+1
This hook has been obsoleted for a while and been emitting deprecation warnings, so it's safe to remove now.
2019-11-26Dpkg::Conf: Remove obsolete methods and obsolete croak for method optionGuillem Jover1-0/+1
We do not bump the module version to 2.00, as these functions and option have croak'ed almost since their introduction.
2019-11-26Dpkg::Checksums: Remove obsolete 'program' property warningGuillem Jover1-0/+1
2019-11-26Dpkg::Version: Remove deprecation warning from semantic change in bool overloadGuillem Jover1-0/+2
2019-11-26Dpkg::Index: Change default value for unique_tuple_key to 1Guillem Jover1-0/+1
Bump module version to 2.00.
2019-11-26Dpkg::Substvars: Remove obsolete no_warn() methodGuillem Jover1-0/+1
Bump module version to 2.00.
2019-11-26Dpkg::Source::Package: Remove and hide internal lowercase variablesGuillem Jover1-0/+3
Bump module version to 2.00.
2019-11-26Dpkg::Gettext: Remove obsolete _g() functionGuillem Jover1-0/+1
Bump module version to 2.00.
2019-11-26Dpkg::Exit: Hide internal lowercase @handlers variableGuillem Jover1-0/+1
Bump module version to 2.00.
2019-11-26Dpkg::Deps::KnownFacts: Remove obsolete check_package() methodGuillem Jover1-0/+1
Bump module version to 2.00.
2019-11-26Dpkg::Compression: Hide internal lowercase variablesGuillem Jover1-0/+3
Bump module version to 2.00.
2019-11-26Dpkg::Changelog::Parse: Remove warnings for obsolete options and functionsGuillem Jover1-0/+3
Remove warnings for obsolete options forceplugin and libdir. Remove obsolete functions changelog_parse_debian() and changelog_parse_plugin(). Bump module version to 2.00.
2019-11-26Dpkg::Changelog::Parse: Remove $ sigil from option names in PODGuillem Jover1-0/+1
These are not actual variables, but option passed in a hash, so using the $ sigil here is very confusing.
2019-11-26Dpkg::Changelog::Entry::Debian: Remove obsolete methods and hide variablesGuillem Jover1-0/+2
Remove obsolete methods check_header() and check_trailer(). Hide internal lowercase variables $regex_header and $regex_trailer. Bump module version to 2.00.
2019-11-26Dpkg::Changelog: Remove obsolete methods dpkg() and rfc822()Guillem Jover1-0/+1
Bump module version to 2.00.
2019-11-26Dpkg: Remove internal lowercase variablesGuillem Jover1-0/+2
Bump module version to 2.00.
2019-11-26Dpkg::Deps: Check for valid virtual package version relationsGuillem Jover1-0/+2
Do not allow non-equal version relations in virtual provides. Closes: #930317
2019-11-26Dpkg::Vendor::Debian: Do not set -Werror=implicit-function-declaration for C++Guillem Jover1-0/+2
Closes: #939969
2019-11-26Dpkg::Vendor::Debian: Only scan /usr/local/ directories that existGuillem Jover1-0/+2
Closes: #932967
2019-11-26man: Move template symbol documentation into new deb-src-symbols(5)Guillem Jover1-0/+1
Having the template symbols file format described in the dpkg-gensymbols has been a continuous source of confusion for users, and makes discovering it more difficult. Move it to its own man page, and link to it from the various relevant man pages.
2019-11-26man: Describe the SONAME formats supported in deb-shlibsGuillem Jover1-0/+1
2019-11-26dselect: Remove methods state files on purgeGuillem Jover2-0/+36
Ref: #930788 Spotted-by: Sven Joachim <svenjoac@gmx.de>
2019-11-26dpkg: Use DPKG_ADMINDIR to set the admindirGuillem Jover1-0/+1
This was done in the name of security, but it does not make much sense as root should make sure to be running in a clean environment. This is problematic as it makes the interface hard to understand, and produces unexpected behavior as dpkg can be called from within itself, or as a wrapper for dpkg-query, which will then not inherit the admindir value. Closes: #900071
2019-11-26dpkg: Fix and clarify behavior for packages marked to be on “hold”Guillem Jover1-0/+2
A package marked to be on hold, denotes that the package should be kept in its current version and should not be automatically installed, upgraded or removed. The same applies to frontends. This behavior does not apply when the user explicitly requested one of these actions, or the --force-hold option is used. It should never prevent dpkg from processing these for configuration (if they were already in unpacked state) or from trigger processing, otherwise we might get into trigger loops. Some of the code was already doing this, but this was not consistently done. We update also the help output and documentation to clarify the fixed behavior. Closes: #926472
2019-11-26dpkg-gencontrol: Take hardlinks into account when computing Installed-SizeSven Joachim1-0/+3
We should not add up the size of each hardlink into the final sum, otherwise we will get a size in excess. Closes: #923475 Co-Authored-by: Guillem Jover <guillem@debian.org> Signed-off-by: Guillem Jover <guillem@debian.org>
2019-11-26dpkg-query: Try to use the description from the available file if not installedGuillem Jover1-0/+2
When we have been requested to load the available file, and that contains a description for a package that is not installed, we should use that instead of printing the confusing string stating that the description is not available. Closes: #43573
2019-11-26libdpkg: Add missing symbols to the version mapGuillem Jover1-0/+1
Several of these are used by the test suite.
2019-11-26debian: Replace custom rule for 'configure' with call to dh_autoreconfDan Streetman2-7/+5
Having this custom rule to create the «configure» file means that it might end up not being rebuilt if the timestamps of some other files are off compared to the debian/changelog date. Using dh_autoreconf guarantees that even if these timestamps got updated incorrectly, the file will always be rebuilt as expected. The historic rationale for not doing this before, even though this has been considered a best packaging practice, was that because dpkg needs explicit support for new architectures, which is the main reason to get autotools updated to pull in new config.* files, we would get reports so that we could add such support and release a new upstream version. But this has never happened, and it's causing other problems. Closes: #939516 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-11-26po: Fix typo in Simplified Chinese programs translationMo Zhou1-0/+1
Closes: #942195 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-11-26po: Update Portuguese programs translationMiguel Figueiredo1-0/+1
Closes: #935695 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-11-05German dpkg translation updateSven Joachim1-0/+3
Update to 1135t.
2019-11-01Update German scripts translationHelge Kreutzmann1-0/+3
Update to 608t.
2019-10-30dpkg, u-a: Make variables staticGuillem Jover1-0/+1
Warned-by: sparse
2019-10-30test: Suppress new bogus cppcheck 1.89 false positivesGuillem Jover1-0/+1
Warned-by: cppcheck
2019-10-30dpkg: Remove redudant condition for sourcefile in updateavailable()Guillem Jover1-0/+1
The preceding “if” already checks exclusively whether this variable is NULL, so in this branch it will always be non-NULL. Warned-by: cppcheck Fixes: knownConditionTrueFalse
2019-10-30libdpkg: Use p instead of name in dpkg_arch_name_is_illegal()Guillem Jover1-0/+1
We assign name to p, which we operate on everywhere in this function except for the first check which we still perform on name. This confuses at least cppcheck, and it's in any case inconsistent. Warned-by: cppcheck Fixes: nullPointerRedundantCheck
2019-10-30dselect: Make baselist::draw_column_*() col arguments constGuillem Jover1-0/+1
Warned-by: cppcheck Fixes: constParameter
2019-10-30man: Split dselect(1) --color from --colour option itemsGuillem Jover1-0/+1
These become too long to fit in a 80-char terminal for many translations, so let's split them, as we do anyway for the preferred formatting to avoid the mandb warning.
2019-10-30man: Globally adjust left and disable hyphenationGuillem Jover1-0/+1
These were being applied in the SEE ALSO section, but not consistently. The output is more clear this way.
2019-10-30build: Bump minimal gettext version to 0.19.8Guillem Jover1-0/+2
The GNU gettext macros used to check for symbols that were only provided by the GNU gettext implementation, but not by other implementations such as the one in musl. Starting with GNU gettext 0.19.8 these internal symbols are not required anymore.
2019-10-30test: Update stopwords for codespell 1.16.0Guillem Jover1-0/+1
2019-10-30test: Skip build directories from codespellGuillem Jover1-0/+1
These contain files that are not currently skept, and might contain spelling errors from external sources. Warned-by: codespell
2019-10-30test: Fix typosGuillem Jover1-1/+1
Warned-by: codespell