You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 years ago
..
001-ship-pkg-m4.patch packages: clean up the package folder 11 years ago
002-no-shave.patch packages: clean up the package folder 11 years ago
004-host_cpu.patch packages: clean up the package folder 11 years ago
007-force_static.patch opkg: set PKG_UPGRADE also when running scripts for the old package 8 years ago
009-remove-upgrade-all.patch packages: clean up the package folder 11 years ago
011-old-config-location.patch packages: clean up the package folder 11 years ago
012-strip-trailing-conffiles-whitespace.patch packages: clean up the package folder 11 years ago
014-errors-to-stderr.patch packages: clean up the package folder 11 years ago
020-avoid_getline.patch packages: clean up the package folder 11 years ago
030-fix-double-free.patch packages: clean up the package folder 11 years ago
040-wrap-descriptions-only-on-ttys.patch packages: clean up the package folder 11 years ago
050-add-case-insensitive-flag.patch packages: clean up the package folder 11 years ago
060-add-find-command.patch packages: clean up the package folder 11 years ago
070-use_external_gzip.patch opkg: vfork external gzip command to uncompress data 8 years ago
071-use_gzipped_pkg_list.patch opkg: vfork external gzip command to uncompress data 8 years ago
080-suppress-blank-package-fields.patch opkg: ignore empty fields in package lists 11 years ago
090-suppress-blank-provides-field.patch opkg: do not add blank "Provides:" fields to package metadata 11 years ago
100-add-force-checksum.patch opkg: introduce a --force-checksum cmdline flag to be ale to ignore mismatching md5sums 10 years ago
110-upgrade.patch opkg: set PKG_UPGRADE also when running scripts for the old package 8 years ago
200-usign_support.patch opkg: set PKG_UPGRADE also when running scripts for the old package 8 years ago
210-add-force-signature.patch opkg: add patch to circumvent signature checks on the command line 9 years ago
220-drop-release-support.patch opkg: vfork external gzip command to uncompress data 8 years ago
230-drop_md5_support.patch opkg: Fix handling of sha256sums for conffiles 8 years ago
240-fix-force-checksum-for-sha256.patch opkg: Fix --force-checksum when using SHA256 9 years ago
250-add-lists-dir-switch.patch opkg: expose lists_dir option as command line argument 9 years ago
260-add-print-package-size.patch opkg: Extend 'opkg list' command to optionally display package size 9 years ago
270-fix-use-after-free.patch opkg: fix use-after-free with duplicate packages on the command line 8 years ago
280-call-prerm-and-postrm-scripts-on-upgrade.patch opkg: run prerm scripts for the old version also on upgrade 8 years ago