summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-26po: Update Portuguese programs translationMiguel Figueiredo2-145/+141
Closes: #935695 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-11-05German dpkg translation updateSven Joachim2-150/+141
Update to 1135t.
2019-11-01Fix a typoHelge Kreutzmann2-3/+3
2019-11-01Update German translation of manual pagesHelge Kreutzmann1-69/+95
Update to 3000t.
2019-11-01Update German scripts translationHelge Kreutzmann2-16/+43
Update to 608t.
2019-10-30dpkg, u-a: Make variables staticGuillem Jover3-4/+14
Warned-by: sparse
2019-10-30test: Suppress new bogus cppcheck 1.89 false positivesGuillem Jover2-0/+14
Warned-by: cppcheck
2019-10-30dpkg: Remove redudant condition for sourcefile in updateavailable()Guillem Jover2-1/+2
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 Jover2-1/+2
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 Jover3-6/+7
Warned-by: cppcheck Fixes: constParameter
2019-10-30man: Split dselect(1) --color from --colour option itemsGuillem Jover5-10/+31
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 Jover56-13/+57
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 Jover2-1/+3
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 Jover2-0/+2
2019-10-30test: Skip build directories from codespellGuillem Jover2-0/+3
These contain files that are not currently skept, and might contain spelling errors from external sources. Warned-by: codespell
2019-10-30test: Fix typosGuillem Jover2-2/+2
Warned-by: codespell
2019-10-30libdpkg, dpkg: Use new versiondescribe_c() for non-localizable call sitesGuillem Jover5-8/+11
The output on log files must not be localized. Reported-by: Julien Cristau <jcristau@debian.org>
2019-10-30libdpkg: Add new versiondescribe_c() to force a C localeGuillem Jover4-0/+18
In some contexts we need output in the C locale, such as log files. We add a new versiondescribe_c() that wraps the locale-dependant versiondescribe() function and switches to the C locale and back to the previous one before returning.
2019-10-30libdpkg: Add new C locale switch over supportGuillem Jover13-0/+61
This will make it possible to select either the current locale or a specified one, currently only C is selectable. We use this because the uselocale(3) POSIX API is recent, and the system might not have it available, so we might need to fallback to use setlocale(3) instead, which even though is not thread-safe, it's better than nothing.
2019-10-30debian: Remove obsolete Breaks satisfied since oldstableGuillem Jover2-17/+2
2019-10-30scripts: Match ~deb also as a backport marker in versionsGuillem Jover3-4/+6
Closes: #934980
2019-10-30scripts: Remove support for ~vola versioningGuillem Jover3-6/+8
This was part of the volatile.debian.org archive, which was decommissioned some time ago. Ref: https://lists.debian.org/debian-volatile-announce/2012/msg00000.html
2019-10-30dpkg: Initialize flagdeppossi in check_conflict()Guillem Jover2-1/+2
We only use this variable as a sentinel pointer so that we can make sure the pdep pointer is not NULL in subsequent checks. But cppcheck gets confused, so let's initialize it to make the code more future-proof. Warned-by: cppcheck
2019-10-30dpkg-deb: Fold two adjacent if conditionals into a single oneGuillem Jover2-1/+3
Warned-by: cppcheck
2019-10-30dselect: Reduce scope of variableGuillem Jover2-2/+4
The variable was being assigned in one side of an if branch, but the result never used. Let's reduce the scope to the if branch that actually assigns and uses it. Warned-by: cppcheck
2019-10-30libdpkg: Use the totalwritten variable for a consistency checkGuillem Jover2-0/+3
The variable was written to but never used. Warned-by: cppcheck
2019-10-30libdpkg: Use the variable instead of a type as sizeof() argumentGuillem Jover2-2/+3
This is more future proof, and in this particular case it was tripping over cppcheck and emitting a false positive for constArgument. Warned-by: cppcheck
2019-10-30test: Clarify cppcheck va_list_usedBeforeStarted suppressionGuillem Jover2-1/+2
This is actually due to our local va_copy() compatibility code, which cppcheck does not understand. Using the same code w/o the local macro does not emit the false positive.
2019-10-30test: Remove perlcritic Documentation::RequirePodLinksIncludeText suppressionGuillem Jover2-3/+2
This bogus test has been removed from upstream perlcritic, and now the code complains about an uninstalled check. Warned-by: perlcritic
2019-10-30Dpkg::Changelog: Document methods provided by subclassesGuillem Jover2-0/+18
Reported-by: Felix Lechner <felix.lechner@lease-up.com>
2019-10-30Dpkg::Source::Package::V2: Emit a special patch header on single-debian-patchGuillem Jover2-0/+14
The previous default patch header does not make sense for a conglomerate patch. Instead provide a more suitable default, that can always be overridden with either the local-patch-header or patch-header files. Closes: #933152
2019-10-30Dpkg::BuildFlags: Add new unset() methodGuillem Jover2-1/+21
This makes it possible to unset variables, so that they do not get output by the various tools. Requested-by: Daniel Schepler <dschepler@gmail.com>
2019-10-30Dpkg::BuildFlags: Remove unused hash keysGuillem Jover2-2/+1
2019-10-30dpkg-shlibdeps: Document split_soname() functionGuillem Jover2-0/+6
Explain what each different pattern means, and what it maps to. Prompted-by: Christopher Crim <christopher.crim@quoininc.com>
2019-10-30man: Clarify that the pager is called via «$SHELL -c»Guillem Jover2-2/+4
2019-10-30man: Use a minus sign for a literal stringGuillem Jover2-1/+2
2019-10-30libdpkg: Clarify lock contender error messageGuillem Jover2-3/+19
Print the PID of the lock contender, switch the tense to past as the lock might not be locked anymore by the time we finish, and add a warning explaining that removing the lock file is never the correct solution.
2019-10-30build: Install m4 files into system aclocal directoryGuillem Jover2-0/+15
This makes it possible to publish these files so that other dpkg-related projects can use them, instead of either embedding copies, or duplicating the macros.
2019-10-30build: Add a serial versioning to the m4 filesGuillem Jover11-0/+11
aclocal uses this to determine whether it needs to update m4 files in local trees.
2019-10-30Dpkg::Source::Package: Verify original tarball signatures at build timeGuillem Jover4-2/+42
When we are building the source package, while detecting whether there is any original upstream tarball signature to be included in the .dsc, it's the best time to verify them, so that when the .dsc gets eventually signed there's a certification path for the maintainer that they are including what they expected to be there.
2019-10-30Dpkg::OpenPGP: Add support for importing an OpenPGP key into a keyringGuillem Jover2-0/+37
This is needed, for example, to verify original tarball signatures.
2019-10-30Dpkg::OpenPGP: Make it possible to verify detached signaturesGuillem Jover2-0/+2
This is required to be able to verify original upstream tarball signatures, as they are expected to be ASCII armored detached signatures for the upstream tarballs.
2019-10-12Dpkg::OpenPGP: Refactor signature verification into a new functionGuillem Jover3-38/+50
2019-10-12perl: Use File::Copy instead of spawning mv/cp commandsGuillem Jover3-4/+6
We use cp() in Dpkg::Source::Package to preserve the file attributes, but just move() in dpkg-buildpackage where it does not matter.
2019-10-12Dpkg::Source::Package: Refactor original tarball handlingGuillem Jover3-21/+21
2019-10-12scripts: Remove support for versioned GnuPG 2 program and packagesGuillem Jover5-17/+11
The current default in Debian and anywhere else is to use unversioned GnuPG 2.x binaries, so there's no need anymore to try these first or at all.
2019-10-12dpkg-shlibdeps: Add support for new Build-Depends-PackagesGuillem Jover3-2/+13
This makes it possible to specify more than one package, which might be needed during transition periods for example. Closes: #926669 Based-on-patch-by: Frank Schaefer <kelledin@gmail.com>
2019-10-12dpkg: Do not clear selections for unknown packagesGuillem Jover2-1/+2
We should not clear the selections for packages that are not already installed in the system, as they will end up disappearing on the next operation anyway. Closes: #927752
2019-10-12dpkg-genbuildinfo: Do not include irrelevant packages in the Binary fieldGuillem Jover3-2/+14
This change is the companion to the one in dpkg-genchanges that lists only relevant packages, instead of all the ones listed in debian/control, but for the .buildinfo file instead of the .changes file.
2019-10-12scripts/mk: Add support for nostrip DEB_BUILD_OPTIONS when setting STRIPGuillem Jover3-2/+15