openwrtv3/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 opkg: set PKG_UPGRADE also when running scripts for the old package 2016-11-21 18:40:15 +01:00
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 opkg: set PKG_UPGRADE also when running scripts for the old package 2016-11-21 18:40:15 +01:00
200-usign_support.patch opkg: set PKG_UPGRADE also when running scripts for the old package 2016-11-21 18:40:15 +01:00
210-add-force-signature.patch opkg: add patch to circumvent signature checks on the command line 2015-04-06 19:39:22 +00:00
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 opkg: Fix handling of sha256sums for conffiles 2016-03-04 08:33:41 +00:00
240-fix-force-checksum-for-sha256.patch opkg: Fix --force-checksum when using SHA256 2015-06-05 14:12:45 +00:00
250-add-lists-dir-switch.patch opkg: expose lists_dir option as command line argument 2015-09-14 16:56:40 +00:00
260-add-print-package-size.patch opkg: Extend 'opkg list' command to optionally display package size 2015-09-16 09:37:39 +00:00
270-fix-use-after-free.patch opkg: fix use-after-free with duplicate packages on the command line 2016-04-23 14:03:50 +02:00
280-call-prerm-and-postrm-scripts-on-upgrade.patch opkg: run prerm scripts for the old version also on upgrade 2016-11-21 18:40:15 +01:00