summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2019-11-30Add missed import of Dpkg::IPC::spawnIgor Pashev1-0/+1
2019-11-29Add scripts/Dpkg/Vendor/Dyson.pmIgor Pashev2-0/+31
2019-11-29Fix missing $dirIgor Pashev2-2/+2
2019-11-29Merge https://salsa.debian.org/dpkg-team/dpkgIgor Pashev2-17/+29
2019-11-27Dpkg::Source::Package: Honor require_valid_signature optionGuillem Jover1-4/+12
We need to pass this option forward to the verify_signature() calls, otherwise we use the default. Fixes: commit 139dfc4c78593d995610c0aa180300a9a7dd94ac Fixes: commit 3821f024d92aabf24a333025c1c1956d8a45e718
2019-11-26Update number of tests (?)Igor Pashev1-1/+1
2019-11-26Update German scripts translationHelge Kreutzmann1-13/+17
Update to 609t.
2019-11-26Merge https://salsa.debian.org/dpkg-team/dpkgIgor Pashev132-3824/+6493
2019-11-26Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formatsGuillem Jover1-1/+1
2019-11-26Dpkg::Changelog: Clarify inheritance and implementation referencesGuillem Jover2-6/+14
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 Jover26-47/+48
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 Jover2-17/+6
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-3/+20
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-7/+0
2019-11-26Dpkg::Vendor: Remove obsolete 'keyrings' hookGuillem Jover2-6/+0
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-19/+7
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-5/+5
2019-11-26Dpkg::Version: Remove deprecation warning from semantic change in bool overloadGuillem Jover2-13/+6
2019-11-26Dpkg::Index: Change default value for unique_tuple_key to 1Guillem Jover1-20/+15
Bump module version to 2.00.
2019-11-26Dpkg::Substvars: Remove obsolete no_warn() methodGuillem Jover1-16/+5
Bump module version to 2.00.
2019-11-26Dpkg::Source::Package: Remove and hide internal lowercase variablesGuillem Jover1-9/+7
Bump module version to 2.00.
2019-11-26Dpkg::Gettext: Remove obsolete _g() functionGuillem Jover1-12/+4
Bump module version to 2.00.
2019-11-26Dpkg::Exit: Hide internal lowercase @handlers variableGuillem Jover1-5/+6
Bump module version to 2.00.
2019-11-26Dpkg::Deps::KnownFacts: Remove obsolete check_package() methodGuillem Jover1-32/+5
Bump module version to 2.00.
2019-11-26Dpkg::Compression: Hide internal lowercase variablesGuillem Jover1-8/+9
Bump module version to 2.00.
2019-11-26Dpkg::Changelog::Parse: Remove warnings for obsolete options and functionsGuillem Jover1-53/+7
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-1/+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-40/+9
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-31/+5
Bump module version to 2.00.
2019-11-26Dpkg: Remove internal lowercase variablesGuillem Jover1-16/+5
Bump module version to 2.00.
2019-11-26Dpkg::Deps: Check for valid virtual package version relationsGuillem Jover3-3/+20
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-2/+15
Closes: #939969
2019-11-26Dpkg::Vendor::Debian: Only scan /usr/local/ directories that existGuillem Jover1-1/+1
Closes: #932967
2019-11-26dpkg-gencontrol: Take hardlinks into account when computing Installed-SizeSven Joachim1-1/+8
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-01Update German scripts translationHelge Kreutzmann1-16/+40
Update to 608t.
2019-10-30test: Fix typosGuillem Jover1-1/+1
Warned-by: codespell
2019-10-30scripts: Match ~deb also as a backport marker in versionsGuillem Jover2-4/+4
Closes: #934980
2019-10-30scripts: Remove support for ~vola versioningGuillem Jover2-6/+6
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::Changelog: Document methods provided by subclassesGuillem Jover1-0/+16
Reported-by: Felix Lechner <felix.lechner@lease-up.com>
2019-10-30Dpkg::Source::Package::V2: Emit a special patch header on single-debian-patchGuillem Jover1-0/+12
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 Jover1-1/+19
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 Jover1-2/+0
2019-10-30dpkg-shlibdeps: Document split_soname() functionGuillem Jover1-0/+4
Explain what each different pattern means, and what it maps to. Prompted-by: Christopher Crim <christopher.crim@quoininc.com>
2019-10-30Dpkg::Source::Package: Verify original tarball signatures at build timeGuillem Jover3-2/+40
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 Jover1-0/+36
This is needed, for example, to verify original tarball signatures.
2019-10-30Dpkg::OpenPGP: Make it possible to verify detached signaturesGuillem Jover1-0/+1
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 Jover2-38/+49
2019-10-12perl: Use File::Copy instead of spawning mv/cp commandsGuillem Jover2-4/+5
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 Jover2-21/+19
2019-10-12scripts: Remove support for versioned GnuPG 2 program and packagesGuillem Jover2-9/+3
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.