-zchunk (1.2.1+ds1-2) UNRELEASED; urgency=medium
+zchunk (1.2.2+ds1-1) UNRELEASED; urgency=medium
* Declare compliance with Policy 4.6.1 with no changes.
* Add the cppcheck patch to fix some minor issues.
- move some checkers' options to pyproject.toml and setup.cfg
- push the source down into a debian/tests/python/ subdirectory
* Add an EditorConfig definitions file for debian/*.
+ * New upstream version:
+ - drop the test-checksums patch, integrated upstream
+ - refresh the line numbers in the cppcheck patch
-- Peter Pentchev <roam@debian.org> Fri, 12 Aug 2022 13:14:48 +0300
}
--- a/src/lib/hash/hash.c
+++ b/src/lib/hash/hash.c
-@@ -313,7 +313,7 @@
+@@ -316,7 +316,7 @@
unsigned char *digest = zmalloc(SHA1_DIGEST_LENGTH);
if (!digest) {
zck_log(ZCK_LOG_ERROR, "OOM in %s", __func__);
}
SHA1_Final((sha1_byte*)digest, (SHA_CTX *)hash->ctx);
hash_close(hash);
-@@ -322,7 +322,7 @@
+@@ -325,7 +325,7 @@
unsigned char *digest = zmalloc(SHA256_DIGEST_SIZE);
if (!digest) {
zck_log(ZCK_LOG_ERROR, "OOM in %s", __func__);
}
SHA256_Final(digest, (SHA256_CTX *)hash->ctx);
hash_close(hash);
-@@ -332,7 +332,7 @@
+@@ -335,7 +335,7 @@
unsigned char *digest = zmalloc(SHA512_DIGEST_SIZE);
if (!digest) {
zck_log(ZCK_LOG_ERROR, "OOM in %s", __func__);
typos.patch
-test-checksums.patch
cppcheck.patch
+++ /dev/null
-Description: Fix the test suite checksums for libzstd 1.4.10.
-Bug-Debian: https://bugs.debian.org/1009427
-Forwarded: https://github.com/zchunk/zchunk/pull/73
-Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2022-04-13
-
---- a/test/meson.build
-+++ b/test/meson.build
-@@ -250,6 +250,9 @@
- if zstd_dep.found() and zstd_dep.version().version_compare('<=1.5.0')
- check_sha = '4f07f865bb15624cf854aa369e14a3538ad9e9bf98e233036d37d2568e60b7cc'
- endif
-+ if zstd_dep.found() and zstd_dep.version().version_compare('<=1.4.10')
-+ check_sha = 'c8c14ae369c341753e634b94fe1d071d3551f2b69469c2196e6dc657d613b975'
-+ endif
- if zstd_dep.found() and zstd_dep.version().version_compare('<=1.4.9')
- check_sha = 'eff3098803ba80f0c446d49f48188f89167d7f29cdc8a98c19f0ecfb4e2ee3c9'
- endif