diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-12-23 15:28:36 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-01-10 14:15:02 +0100 |
| commit | c80dc591e4803f5f2feacde4a79d339c0cc2e3b5 (patch) | |
| tree | 936ece64a9bd40c654d08028bc1352e15f3fbe11 /dev-python/bpython | |
| parent | b235c6e38867a08a32f0175c7105d9a92b1949c1 (diff) | |
| download | gentoo-c80dc591e4803f5f2feacde4a79d339c0cc2e3b5.tar.gz gentoo-c80dc591e4803f5f2feacde4a79d339c0cc2e3b5.tar.bz2 gentoo-c80dc591e4803f5f2feacde4a79d339c0cc2e3b5.zip | |
verify-sig.eclass: Add verify-sig_uncompress_verify_unpack
Add a function that carries out the surprisingly common pattern of
uncompress-verify-unpack found in kernel.org distfiles, where
the signature is created against the uncompressed archive rather than
the actual distfile. Just like the code currently copied across
ebuilds, the function uses a pipeline to simultaneously decompress,
unpack and verify the signature, except with correct error handling
this time.
Note that the code technically implies that the archive will be unpacked
even if the signature does not match -- the ebuild will abort
afterwards.
Thanks to Ulrich Müller for the suggestion!
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/bpython')
0 files changed, 0 insertions, 0 deletions
