summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Source/Package.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-10 20:25:45 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 04:43:34 +0100
commitec9a74a317feef78d5ca6579e21167767fa8fe40 (patch)
tree5b4a64d1bf02ff9d941058de4ece1faddf65361c /scripts/Dpkg/Source/Package.pm
parent35f247d5ceda3637a477b92897a1e829dc36d25c (diff)
downloaddpkg-ec9a74a317feef78d5ca6579e21167767fa8fe40.tar.gz
Dpkg::Vendor: Rework keyring hooks
Add new archive-keyrings and archive-keyrings-historic for archive related keyrings. Rename keyrings to package-keyrings for the source package keyrings. And add a compatibility keyrings hook that aliases to package-keyrings and emits a deprecation warning. Prompted-by: Johannes Schauer <josch@debian.org>
Diffstat (limited to 'scripts/Dpkg/Source/Package.pm')
-rw-r--r--scripts/Dpkg/Source/Package.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 0961f3f88..d0d1f124c 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -434,7 +434,7 @@ sub check_signature {
if (length $ENV{HOME} and -r "$ENV{HOME}/.gnupg/trustedkeys.gpg") {
push @exec, '--keyring', "$ENV{HOME}/.gnupg/trustedkeys.gpg";
}
- foreach my $vendor_keyring (run_vendor_hook('keyrings')) {
+ foreach my $vendor_keyring (run_vendor_hook('package-keyrings')) {
if (-r $vendor_keyring) {
push @exec, '--keyring', $vendor_keyring;
}