Openwrt/package/system/opkg/patches
Jo-Philipp Wich e1d1c31890 opkg: vfork external gzip command to uncompress data
Opkg's builtin decompression code is unsuitable to process nested archives as
it uses a single shared state and relies on undefined seek behaviour for pipes.

Rework the extraction logic to use the external gzip command as I/O filter for
decompressing data and remove the builtin inflate code entirely.

This shrinks the final opkg binary by about 4KB and results in less runtime
memory consumption due to efficient use of vfork() and less copy-on-write
operations in the forked child.

Rework by Felix: create a thread that relays data to the gzip process
instead of using a fragile poll loop

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-27 09:50:00 +01:00
..
001-ship-pkg-m4.patch
002-no-shave.patch
004-host_cpu.patch
007-force_static.patch
009-remove-upgrade-all.patch
011-old-config-location.patch
012-strip-trailing-conffiles-whitespace.patch
014-errors-to-stderr.patch
020-avoid_getline.patch
030-fix-double-free.patch
040-wrap-descriptions-only-on-ttys.patch
050-add-case-insensitive-flag.patch
060-add-find-command.patch
070-use_external_gzip.patch opkg: vfork external gzip command to uncompress data 2016-12-27 09:50:00 +01:00
071-use_gzipped_pkg_list.patch opkg: vfork external gzip command to uncompress data 2016-12-27 09:50:00 +01:00
080-suppress-blank-package-fields.patch
090-suppress-blank-provides-field.patch
100-add-force-checksum.patch
110-upgrade.patch
200-usign_support.patch
210-add-force-signature.patch
220-drop-release-support.patch opkg: vfork external gzip command to uncompress data 2016-12-27 09:50:00 +01:00
230-drop_md5_support.patch
240-fix-force-checksum-for-sha256.patch
250-add-lists-dir-switch.patch
260-add-print-package-size.patch
270-fix-use-after-free.patch
280-call-prerm-and-postrm-scripts-on-upgrade.patch