1 |
commit: 665ed4ce5c2a6c749bf794860ccd4d62e8f278e0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 13:44:29 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 20:27:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665ed4ce |
7 |
|
8 |
unpacker.eclass: Remove `-f` from zstd arguments |
9 |
|
10 |
Remove `-f` from zstd arguments. This option causes zstd to ignore |
11 |
input errors, notably causing it to pass invalid files through rather |
12 |
than returning an error. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/872662 |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
|
17 |
eclass/unpacker.eclass | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
21 |
index f6e83c53bf23..c26523a419df 100644 |
22 |
--- a/eclass/unpacker.eclass |
23 |
+++ b/eclass/unpacker.eclass |
24 |
@@ -406,7 +406,7 @@ _unpacker() { |
25 |
: ${UNPACKER_LZIP:=$(type -P plzip || type -P pdlzip || type -P lzip)} |
26 |
comp="${UNPACKER_LZIP} -dc" ;; |
27 |
*.zst) |
28 |
- comp="zstd -dfc" ;; |
29 |
+ comp="zstd -dc" ;; |
30 |
esac |
31 |
|
32 |
# then figure out if there are any archiving aspects |