tools: tar: backport patches fixing broken --delete
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 23 May 2024 17:02:41 +0000 (19:02 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 11 Jun 2024 21:58:14 +0000 (23:58 +0200)
commit2951e0a80e9f9a8d11e5bc04a89d9c7aa0623919
tree1d94bfc73e4243d3c938eee62e0863dd85c60f06
parent617431685eb080eac469019361bb894989c4f191
tools: tar: backport patches fixing broken --delete

In experimenting with --delete for APK handling, it was discovered that
--delete is broken and corrupts the TAR in some case.

This is fixed in version 1.35 but 1.35 introduce some problem with MacOS
making it difficult to bump. Backport the 2 required patches to fix this
problem so --delete is usable again.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
tools/tar/patches/001-Avoid-excess-lseek-etc.patch [new file with mode: 0644]
tools/tar/patches/002-Fix-delete-bug-with-short-reads.patch [new file with mode: 0644]