[PATCH] dpkg-scanpackages: Add sha512 support
From: 李成刚 <lichenggang@uniontech.com>
---
man/dpkg-scanpackages.pod | 2 +-
man/po/de.po | 2 +-
man/po/dpkg-man.pot | 2 +-
man/po/es.po | 2 +-
man/po/fr.po | 2 +-
man/po/hu.po | 2 +-
man/po/it.po | 2 +-
man/po/ja.po | 2 +-
man/po/nl.po | 2 +-
man/po/pl.po | 2 +-
man/po/pt.po | 2 +-
man/po/pt_BR.po | 2 +-
man/po/ru.po | 2 +-
man/po/sv.po | 2 +-
man/po/zh_CN.po | 2 +-
scripts/Dpkg/Checksums.pm | 6 ++++++
scripts/Dpkg/Control/FieldsCore.pm | 12 ++++++++++++
scripts/t/Dpkg_Checksums.t | 7 +++++--
scripts/t/Dpkg_Control_Fields.t | 4 +++-
scripts/t/dpkg_buildpackage/test-source_0.dsc | 2 ++
.../t/dpkg_buildpackage/test-source_0_all.changes | 3 +++
.../t/dpkg_buildpackage/test-source_0_any.changes | 3 +++
.../t/dpkg_buildpackage/test-source_0_binary.changes | 4 ++++
.../t/dpkg_buildpackage/test-source_0_full.changes | 6 ++++++
.../t/dpkg_buildpackage/test-source_0_source.changes | 4 ++++
scripts/t/dpkg_source/testsuite_0.dsc | 2 ++
scripts/t/dpkg_source/testsuite_1.dsc | 2 ++
scripts/t/dpkg_source/testsuite_2.dsc | 2 ++
scripts/t/dpkg_source/testsuite_3.dsc | 2 ++
29 files changed, 71 insertions(+), 18 deletions(-)
diff --git a/man/dpkg-scanpackages.pod b/man/dpkg-scanpackages.pod
index 963fec15c..a4203c114 100644
--- a/man/dpkg-scanpackages.pod
+++ b/man/dpkg-scanpackages.pod
@@ -108,7 +108,7 @@ scanning for all debs.
Only generate file hashes for the comma-specified list specified
(since dpkg 1.17.14).
The default is to generate all currently supported hashes.
-Supported values: B<md5>, B<sha1>, B<sha256>.
+Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>.
=item B<-m>, B<--multiversion>
diff --git a/man/po/de.po b/man/po/de.po
index 4e58a2347..7054cfeab 100644
--- a/man/po/de.po
+++ b/man/po/de.po
@@ -18150,7 +18150,7 @@ msgstr "B<-h>, B<--hash> I<Hash-Liste>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
"Datei-Hashes werden nur für die angegebene, durch Kommata getrennte Liste "
"erzeugt (seit Dpkg 1.17.14). Standardmäßig werden alle derzeit unterstützten "
diff --git a/man/po/dpkg-man.pot b/man/po/dpkg-man.pot
index ddebe40b1..089389361 100644
--- a/man/po/dpkg-man.pot
+++ b/man/po/dpkg-man.pot
@@ -13969,7 +13969,7 @@ msgstr ""
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/es.po b/man/po/es.po
index 79e4d6765..4d00806ef 100644
--- a/man/po/es.po
+++ b/man/po/es.po
@@ -19249,7 +19249,7 @@ msgstr "B<-a>, B<--arch> I<arquitectura>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/fr.po b/man/po/fr.po
index e454fc473..9326a02e3 100644
--- a/man/po/fr.po
+++ b/man/po/fr.po
@@ -17938,7 +17938,7 @@ msgstr "B<-h>, B<--hash> I<liste-de-hachage>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
"Générer uniquement le hachage de fichiers spécifiés (liste séparée par des "
"virgules - depuis dpkg 1.17.14). Par défaut, cela génère tous les hachages "
diff --git a/man/po/hu.po b/man/po/hu.po
index 983ff3f0a..8ed32ad6a 100644
--- a/man/po/hu.po
+++ b/man/po/hu.po
@@ -15074,7 +15074,7 @@ msgstr "B<--show>, B<-W>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/it.po b/man/po/it.po
index 9fe3b0116..774fae62d 100644
--- a/man/po/it.po
+++ b/man/po/it.po
@@ -17989,7 +17989,7 @@ msgstr "B<-h>, B<--hash> I<hash-list>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
"Genera solamente gli hash dei file per l'elenco separato da virgole "
"specificato. Il valore predefinito è di generare tutti gli hash attualmente "
diff --git a/man/po/ja.po b/man/po/ja.po
index 98207b688..42108bc52 100644
--- a/man/po/ja.po
+++ b/man/po/ja.po
@@ -18864,7 +18864,7 @@ msgstr "B<-a>, B<--arch> I<arch>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/nl.po b/man/po/nl.po
index 8ae78a13d..e4f1f65ae 100644
--- a/man/po/nl.po
+++ b/man/po/nl.po
@@ -18032,7 +18032,7 @@ msgstr "B<-h>, B<--hash> I<hash-lijst>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
"Enkel bestandshashes genereren voor de opgegeven lijst van algoritmen, "
"onderling gescheiden door komma's (sinds dpkg 1.17.14). Standaard worden ze "
diff --git a/man/po/pl.po b/man/po/pl.po
index 11eb3031e..ecefec72b 100644
--- a/man/po/pl.po
+++ b/man/po/pl.po
@@ -19139,7 +19139,7 @@ msgstr "B<-a>, B<--arch> I<architektura>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/pt.po b/man/po/pt.po
index 8ad72e558..06363f0f8 100644
--- a/man/po/pt.po
+++ b/man/po/pt.po
@@ -17639,7 +17639,7 @@ msgstr "B<-h>, B<--hash> I<hash-list>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
"Apenas gera cinzas de ficheiros para a lista especificada, especificada-por-"
"vírgulas, (desde dpkg 1.17.14). A predefinição é gerar todos os hashes "
diff --git a/man/po/pt_BR.po b/man/po/pt_BR.po
index e19bcf458..fe7b2392d 100644
--- a/man/po/pt_BR.po
+++ b/man/po/pt_BR.po
@@ -14675,7 +14675,7 @@ msgstr "B<--auto> I<ligação>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/ru.po b/man/po/ru.po
index d6edb65b3..7eb8d1a9f 100644
--- a/man/po/ru.po
+++ b/man/po/ru.po
@@ -15045,7 +15045,7 @@ msgstr "B<-d>|B<--chdir> I<путь>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/man/po/sv.po b/man/po/sv.po
index 66f7ac795..d62b84268 100644
--- a/man/po/sv.po
+++ b/man/po/sv.po
@@ -17378,7 +17378,7 @@ msgstr "B<-h>, B<--hash> I<hashlista>"
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
"Skapar bara filhashar för den angivna kommaavdelade listan (sedan dpkg "
"1.17.14). Förval är att generera alla hashar som stöds. Värden som stöds är: "
diff --git a/man/po/zh_CN.po b/man/po/zh_CN.po
index 6d2ad5b92..6858d3b13 100644
--- a/man/po/zh_CN.po
+++ b/man/po/zh_CN.po
@@ -14411,7 +14411,7 @@ msgstr ""
msgid ""
"Only generate file hashes for the comma-specified list specified (since dpkg "
"1.17.14). The default is to generate all currently supported hashes. "
-"Supported values: B<md5>, B<sha1>, B<sha256>."
+"Supported values: B<md5>, B<sha1>, B<sha256>, B<sha512>."
msgstr ""
#. type: =item
diff --git a/scripts/Dpkg/Checksums.pm b/scripts/Dpkg/Checksums.pm
index a6b1494e9..e41129192 100644
--- a/scripts/Dpkg/Checksums.pm
+++ b/scripts/Dpkg/Checksums.pm
@@ -68,6 +68,12 @@ my $CHECKSUMS = {
regex => qr/[0-9a-f]{64}/,
strong => 1,
},
+ sha512 => {
+ name => 'SHA-512',
+ regex => qr/[0-9a-f]{128}/,
+ strong => 1,
+ },
+
};
=item @list = checksums_get_list()
diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm
index 32f2c1041..c28c57ea5 100644
--- a/scripts/Dpkg/Control/FieldsCore.pm
+++ b/scripts/Dpkg/Control/FieldsCore.pm
@@ -240,6 +240,10 @@ our %FIELDS = (
name => 'Checksums-Sha256',
allowed => CTRL_PKG_SRC | CTRL_INDEX_SRC | ALL_FILE_MANIFEST,
},
+ 'checksums-sha512' => {
+ name => 'Checksums-Sha512',
+ allowed => CTRL_PKG_SRC | CTRL_INDEX_SRC | ALL_FILE_MANIFEST,
+ },
'classes' => {
name => 'Classes',
allowed => CTRL_TESTS,
@@ -481,6 +485,12 @@ our %FIELDS = (
allowed => CTRL_INDEX_PKG | CTRL_REPO_RELEASE,
separator => FIELD_SEP_LINE | FIELD_SEP_SPACE,
},
+ 'sha512' => {
+ # XXX: Wrong capitalization due to historical reasons.
+ name => 'SHA512',
+ allowed => CTRL_INDEX_PKG | CTRL_REPO_RELEASE,
+ separator => FIELD_SEP_LINE | FIELD_SEP_SPACE,
+ },
'size' => {
name => 'Size',
allowed => CTRL_INDEX_PKG,
@@ -683,11 +693,13 @@ my @src_checksums_fields = qw(
checksums-md5
checksums-sha1
checksums-sha256
+ checksums-sha512
);
my @bin_checksums_fields = qw(
md5sum
sha1
sha256
+ sha512
);
our %FIELD_ORDER = (
diff --git a/scripts/t/Dpkg_Checksums.t b/scripts/t/Dpkg_Checksums.t
index c1fc5daad..1e2baf21f 100644
--- a/scripts/t/Dpkg_Checksums.t
+++ b/scripts/t/Dpkg_Checksums.t
@@ -16,7 +16,7 @@
use strict;
use warnings;
-use Test::More tests => 59;
+use Test::More tests => 67;
use Test::Dpkg qw(:paths);
BEGIN {
@@ -33,6 +33,7 @@ my @data = (
md5 => 'd41d8cd98f00b204e9800998ecf8427e',
sha1 => 'da39a3ee5e6b4b0d3255bfef95601890afd80709',
sha256 => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
+ sha512 => 'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e',
}
}, {
file => 'data-1',
@@ -41,6 +42,7 @@ my @data = (
md5 => '1b662eff496fde1a63cc5ff97beec10a',
sha1 => 'ff66a3dc152f273a19392d3099b2915c311c707e',
sha256 => 'f53cb4ee5128363210053c89627757c3dd864ab87e3ac9bff20dd6fe4175a140',
+ sha512 => '045b1b0989dcc228f740ce4de883f9960462d37a0f1c75af86655c24ba5f5f80102769fcc8c9066e2fd6bc70e38c01a9a64688b5a0c5a18b4be42200b96e9b7b',
}
}, {
file => 'data-2',
@@ -49,6 +51,7 @@ my @data = (
md5 => '785400cfc51d16a06e2c34aa511b99ef',
sha1 => '329ba56c0c9c63b6e138f3970ac3628e476a6854',
sha256 => '217147cd3126a076ba3fd816566a80aaaffff5facc572394dbd6af61a49760d1',
+ sha512 => '523277b702a7bd2182221a1c66cb924a239d15a072ed07117b748931508bceea651f51f182ba98b1ac56de747565acfbad70544d2b173b3fa08a61a61ec1333e',
}
}
);
@@ -76,7 +79,7 @@ sub test_checksums {
}
-my @expected_checksums = qw(md5 sha1 sha256);
+my @expected_checksums = qw(md5 sha1 sha256 sha512);
my @known_checksums = checksums_get_list();
is_deeply(\@known_checksums, \@expected_checksums, 'List of known checksums');
diff --git a/scripts/t/Dpkg_Control_Fields.t b/scripts/t/Dpkg_Control_Fields.t
index 1c699e373..349e94756 100644
--- a/scripts/t/Dpkg_Control_Fields.t
+++ b/scripts/t/Dpkg_Control_Fields.t
@@ -20,7 +20,7 @@ use Test::More;
use Test::Dpkg qw(:paths);
BEGIN {
- plan tests => 2603;
+ plan tests => 2647;
use_ok('Dpkg::Control::Types');
use_ok('Dpkg::Control::FieldsCore');
@@ -60,11 +60,13 @@ my @src_checksums = qw(
Checksums-Md5
Checksums-Sha1
Checksums-Sha256
+ Checksums-Sha512
);
my @bin_checksums = qw(
MD5sum
SHA1
SHA256
+ SHA512
);
my @src_files = (
@src_checksums,
diff --git a/scripts/t/dpkg_buildpackage/test-source_0.dsc b/scripts/t/dpkg_buildpackage/test-source_0.dsc
index fe5b4f8a4..f0545a95b 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0.dsc
+++ b/scripts/t/dpkg_buildpackage/test-source_0.dsc
@@ -11,5 +11,7 @@ Checksums-Sha1:
0000000000000000000000000000000000000000 0 test-source_0.tar.xz
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.tar.xz
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.tar.xz
Files:
00000000000000000000000000000000 0 test-source_0.tar.xz
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_all.changes b/scripts/t/dpkg_buildpackage/test-source_0_all.changes
index c6c444f45..7f13870ff 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_all.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_all.changes
@@ -21,6 +21,9 @@ Checksums-Sha1:
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 test-binary-all_0_all.deb
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_all.buildinfo
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-binary-all_0_all.deb
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_all.buildinfo
Files:
00000000000000000000000000000000 0 test optional test-binary-all_0_all.deb
00000000000000000000000000000000 0 test optional test-source_0_all.buildinfo
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_any.changes b/scripts/t/dpkg_buildpackage/test-source_0_any.changes
index d67460cba..16814579a 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_any.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_any.changes
@@ -21,6 +21,9 @@ Checksums-Sha1:
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 test-binary-any_0_amd64.deb
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_amd64.buildinfo
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-binary-any_0_amd64.deb
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_amd64.buildinfo
Files:
00000000000000000000000000000000 0 test optional test-binary-any_0_amd64.deb
00000000000000000000000000000000 0 test optional test-source_0_amd64.buildinfo
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_binary.changes b/scripts/t/dpkg_buildpackage/test-source_0_binary.changes
index 7470ce50c..65af83bd9 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_binary.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_binary.changes
@@ -24,6 +24,10 @@ Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 test-binary-all_0_all.deb
0000000000000000000000000000000000000000000000000000000000000000 0 test-binary-any_0_amd64.deb
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_amd64.buildinfo
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-binary-all_0_all.deb
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-binary-any_0_amd64.deb
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_amd64.buildinfo
Files:
00000000000000000000000000000000 0 test optional test-binary-all_0_all.deb
00000000000000000000000000000000 0 test optional test-binary-any_0_amd64.deb
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_full.changes b/scripts/t/dpkg_buildpackage/test-source_0_full.changes
index fef013c65..f86b48a1d 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_full.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_full.changes
@@ -28,6 +28,12 @@ Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 test-binary-all_0_all.deb
0000000000000000000000000000000000000000000000000000000000000000 0 test-binary-any_0_amd64.deb
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_amd64.buildinfo
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.dsc
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.tar.xz
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-binary-all_0_all.deb
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-binary-any_0_amd64.deb
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_amd64.buildinfo
Files:
00000000000000000000000000000000 0 test optional test-source_0.dsc
00000000000000000000000000000000 0 test optional test-source_0.tar.xz
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_source.changes b/scripts/t/dpkg_buildpackage/test-source_0_source.changes
index 8c2f3d1e3..7f1d78140 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_source.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_source.changes
@@ -20,6 +20,10 @@ Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.dsc
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.tar.xz
0000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_source.buildinfo
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.dsc
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0.tar.xz
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 test-source_0_source.buildinfo
Files:
00000000000000000000000000000000 0 test optional test-source_0.dsc
00000000000000000000000000000000 0 test optional test-source_0.tar.xz
diff --git a/scripts/t/dpkg_source/testsuite_0.dsc b/scripts/t/dpkg_source/testsuite_0.dsc
index 4ec33a43a..843589a59 100644
--- a/scripts/t/dpkg_source/testsuite_0.dsc
+++ b/scripts/t/dpkg_source/testsuite_0.dsc
@@ -12,5 +12,7 @@ Checksums-Sha1:
0000000000000000000000000000000000000000 0 testsuite_0.tar.xz
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 testsuite_0.tar.xz
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 testsuite_0.tar.xz
Files:
00000000000000000000000000000000 0 testsuite_0.tar.xz
diff --git a/scripts/t/dpkg_source/testsuite_1.dsc b/scripts/t/dpkg_source/testsuite_1.dsc
index c40862579..eb09922d6 100644
--- a/scripts/t/dpkg_source/testsuite_1.dsc
+++ b/scripts/t/dpkg_source/testsuite_1.dsc
@@ -12,5 +12,7 @@ Checksums-Sha1:
0000000000000000000000000000000000000000 0 testsuite_1.tar.xz
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 testsuite_1.tar.xz
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 testsuite_1.tar.xz
Files:
00000000000000000000000000000000 0 testsuite_1.tar.xz
diff --git a/scripts/t/dpkg_source/testsuite_2.dsc b/scripts/t/dpkg_source/testsuite_2.dsc
index 184c47ebc..b2249b98d 100644
--- a/scripts/t/dpkg_source/testsuite_2.dsc
+++ b/scripts/t/dpkg_source/testsuite_2.dsc
@@ -13,5 +13,7 @@ Checksums-Sha1:
0000000000000000000000000000000000000000 0 testsuite_2.tar.xz
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 testsuite_2.tar.xz
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 testsuite_2.tar.xz
Files:
00000000000000000000000000000000 0 testsuite_2.tar.xz
diff --git a/scripts/t/dpkg_source/testsuite_3.dsc b/scripts/t/dpkg_source/testsuite_3.dsc
index 88be23144..dfa3991e6 100644
--- a/scripts/t/dpkg_source/testsuite_3.dsc
+++ b/scripts/t/dpkg_source/testsuite_3.dsc
@@ -11,5 +11,7 @@ Checksums-Sha1:
0000000000000000000000000000000000000000 0 testsuite_3.tar.xz
Checksums-Sha256:
0000000000000000000000000000000000000000000000000000000000000000 0 testsuite_3.tar.xz
+Checksums-Sha512:
+ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 testsuite_3.tar.xz
Files:
00000000000000000000000000000000 0 testsuite_3.tar.xz
--
2.40.1
Reply to: