summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2019-10-12man: Fix uncommon wording constructsGuillem Jover3-7/+9
Warned-by: codespell
2019-10-12dpkg-buildpackage: Remove transient backwards R³ compat codeGuillem Jover2-4/+1
This code got deprecated before the spec had been finalized, but left in just to make sure no remaining implementations were still using it.
2019-10-12scripts: Switch Getopt::Long from bundling to bundling_valuesGuillem Jover5-4/+8
This got introduced after a request so that we could switch our tools to a safe subset of the bundling logic, so let's enable it now that it is available in the minimum supported perl version. Bundling is in general unsafe, and not future-proof, as new options might gain arguments which would then get misinterpreted, we should not really be using it. But bundling the value into the option is a common pattern and should be allowed.
2019-10-12build: Bump minimal Perl version to 5.24.1Guillem Jover4-4/+6
The Perl version in Debian stretch is 5.24.1, which is the release that will be oldstable once 1.20.x gets uploaded to Debian unstable.
2019-10-12libdpkg: Do not generate a backup file for the available databaseGuillem Jover2-1/+9
This file contains information only valid as long as the downloaded sources are also available. So it is closer to a cache than a database, and as such, there is no need for an uncompressed backup, which can take quite some space. Closes: #343578
2019-09-15debian: Fold man page translation fix into translation sectionGuillem Jover1-3/+1
2019-09-01Further fix as discussed in #931135Helge Kreutzmann1-3/+3
And in follow up on debian-l10n-german
2019-08-03Update German translation of manual pagesHelge Kreutzmann2-21/+24
Update to 2998t. Improvements from debian-l10n-german
2019-07-31Fix German man page translation. Closes: #931135Helge Kreutzmann2-3/+3
2019-06-08Bump version to 1.20.0Guillem Jover3-2/+8
2019-06-03Release 1.19.7Guillem Jover1-2/+2
2019-06-03po: Regenerate .pot files and merge .po files with themGuillem Jover82-93/+93
2019-06-03po: Update Dutch man page translationsFrans Spiesschaert2-27/+10
Closes: #926665 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-06-03po: Update French man page translationsJean-Pierre Giraud2-312/+195
Closes: #929664 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-06-03po: Unfuzzy translations due to typo fixesGuillem Jover19-84/+84
2019-06-03doc: Fix typosGuillem Jover10-10/+24
Warned-by: codespell
2019-06-03doc: Clarify when autopoint is neededGuillem Jover2-1/+3
The README was not very clear on the listed software being source projects. So instead of making the description more complex, just list autopoint as an unconditional dependency, and list gettext as only necessary with --enable-nls. Closes: #929601
2019-06-03doc: Clarify R³ specificationGuillem Jover2-9/+15
Expand what the builder means. Mention the dpkg-deb option to use to set the owner and group to root. And reword the prototyping section to be less confusing with what is currently implemented. Closes: #929019
2019-06-03dpkg-deb: Honor --nocheck when building packages with newlines in filenamesGuillem Jover2-1/+3
Fixes: commit 438db7a31e074691e70e8ace7fff91631030624b Closes: #929727 Stable-Candidate: 1.18.x
2019-06-03dpkg-deb: Validate ar member magic before normalizing any of its fieldsGuillem Jover2-2/+4
If the header is not valid, we should not try to normalize or even consider it is in any sane state.
2019-06-03dpkg: Introduce a new dependency try level for trigger cycle checksGuillem Jover3-7/+17
This new dependtry level will also check trigger cycles on trigger process deferral due to unsatisfiable dependencies. Closes: #928429
2019-05-10po: Update Catalan translationsGuillem Jover2-35/+44
2019-05-09po: Update Catalan translationsGuillem Jover4-674/+323
2019-05-09dpkg: Set the force defaults before loading the config fileGuillem Jover2-1/+4
Otherwise we incorrectly override them. Fixes: commit 52427d9075b4b062fa0db16a70d2c2bda6407857 Closes: #928671
2019-04-08dpkg: Fix off-by-one bug in --abort-after checkTom Goulet2-2/+4
The code checking whether the amount of errors had been reached, was incrementing the counter after the check, which meant it was allowing one more error than expected. [guillem@debian.org: Move return to the next line. ] Closes: #924886 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-03-25Bump version to 1.19.7Guillem Jover1-0/+6
2019-03-25Release 1.19.6Guillem Jover1-2/+2
2019-03-25po: Regenerate .pot files and merge .po files with themGuillem Jover93-213/+321
2019-03-25debian, man: Fix typosGuillem Jover5-5/+5
Warned-by: lintian
2019-03-25po: Update Dutch translationsFrans Spiesschaert3-283/+317
Closes: #924776, #924777 Signed-off-by: Guillem Jover <guillem@debian.org>
2019-03-24Update German translation of manual pagesHelge Kreutzmann1-46/+62
Update to 2997t1f.
2019-03-24dpkg-gencontrol: Check presence of package build dir before traversing itGuillem Jover2-1/+2
The find() function does not cope well with trying to traverse an unexistent directory and generates various alarming warnings.
2019-03-24Dpkg::Source::Package: Handle Format field being undefinedGuillem Jover2-1/+6
On source format 1.0, the default is for the debian/source/format file not being present, which means we'll start with an empty Format field name. Fixes: commit d1d35a56e401181b6d15baf474a7db21d3372a65
2019-03-24Dpkg::Source::Package::V1: Change default build option style to -saGuillem Jover3-2/+7
Using -sA by default means the user might lose data on overwrite if there is already a directory with the same name laying around. Closes: #910737
2019-03-24libdpkg: Use ERANGE instead of EINVAL for tar_atol8() out-of-range errorGuillem Jover3-5/+6
We should use the correct errno value, otherwise the error string makes little sense, and ends up being very confusing.
2019-03-24libdpkg: Handle non end-of-tape errors from tar_header_decode()Guillem Jover2-0/+3
We need to assign a status value in the non end-of-tape branch, otherwise we are using an uninitialized value, which might be anything, and could end up making the code proceed even if the archive is damaged/broken, etc.
2019-03-24libdpkg: Set tar_entry to zero on tar_entry_destroy()Guillem Jover2-0/+4
When we are destroying a tar_entry we need to zero the struct, otherwise we will end up freeing already freed memory and crashing.