]> git.ipfire.org Git - ipfire-2.x.git/commit - config/cfgroot/ids-functions.pl
ids-functions.pl: Use libarchive to extract archives
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 30 Mar 2024 11:35:30 +0000 (12:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2024 12:09:14 +0000 (12:09 +0000)
commitee16b227a55aa2ee61a906342ca322de3c0fcf67
tree315858f730499076701d05a0d7ec038958679873
parent2ef62acc017de41ff59e0dd76b405374a2b55d18
ids-functions.pl: Use libarchive to extract archives

This gives us a lot of benefits:

* Speed up the extraction process
* More supported archive types due the power of libarchive
* Support of passphrase protected archives

It also fixes a problem with non extracted files next to a zero sized
file inside an archive.

Fixes #13632.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/ids-functions.pl