diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-02-17 15:35:09 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-02-17 15:35:09 +0100 |
commit | 8abca04cd66a413d8426ebc2ba94525f675d0413 (patch) | |
tree | 2ebb35b14b8bedac020c0ccd2f9ce0e5eabc5bad /app-arch/patool | |
parent | dev-libs/boost: drop 1.83.0-r1, 1.83.0-r2, 1.83.0-r3 (diff) | |
download | gentoo-8abca04cd66a413d8426ebc2ba94525f675d0413.tar.gz gentoo-8abca04cd66a413d8426ebc2ba94525f675d0413.tar.bz2 gentoo-8abca04cd66a413d8426ebc2ba94525f675d0413.zip |
app-arch/patool: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-arch/patool')
-rw-r--r-- | app-arch/patool/files/patool-1.12_p20230424-disable-file-sandbox.patch | 28 | ||||
-rw-r--r-- | app-arch/patool/files/patool-1.12_p20230424-map-vnd.android.package-archive.patch | 30 |
2 files changed, 0 insertions, 58 deletions
diff --git a/app-arch/patool/files/patool-1.12_p20230424-disable-file-sandbox.patch b/app-arch/patool/files/patool-1.12_p20230424-disable-file-sandbox.patch deleted file mode 100644 index daf48adef41a..000000000000 --- a/app-arch/patool/files/patool-1.12_p20230424-disable-file-sandbox.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/wummel/patool/pull/131 -https://github.com/wummel/patool/issues/75 - -From abe06b7d8fbcd177d44f8eb8e3ac195badc70d25 Mon Sep 17 00:00:00 2001 -From: Alfred Wingate <parona@protonmail.com> -Date: Thu, 7 Sep 2023 01:12:26 +0300 -Subject: [PATCH] Disable sandbox for file(1) to allow correct output for - compressed tar's - -* Otherwise file(1) will refuse with - "Fork-is-required-to-uncompress--but-disabled" - -Closes: https://github.com/wummel/patool/issues/75 -Signed-off-by: Alfred Wingate <parona@protonmail.com> ---- a/patoolib/util.py -+++ b/patoolib/util.py -@@ -240,7 +240,7 @@ def guess_mime_file (filename): - encoding = None - if mime in Mime2Encoding: - # try to look inside compressed archives -- cmd = [file_prog, "--brief", "--mime", "--uncompress", filename] -+ cmd = [file_prog, "--brief", "--mime", "--uncompress", "--no-sandbox", filename] - try: - outparts = backtick(cmd).strip().split(";") - mime2 = outparts[0].split(" ", 1)[0] --- -2.42.0 - diff --git a/app-arch/patool/files/patool-1.12_p20230424-map-vnd.android.package-archive.patch b/app-arch/patool/files/patool-1.12_p20230424-map-vnd.android.package-archive.patch deleted file mode 100644 index a525ff2d0e46..000000000000 --- a/app-arch/patool/files/patool-1.12_p20230424-map-vnd.android.package-archive.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://github.com/wummel/patool/pull/130 - -From e8a1eea1d273b278a1b6f5029d2e21cb18bc9ffd Mon Sep 17 00:00:00 2001 -From: Theodore Ni <3806110+tjni@users.noreply.github.com> -Date: Sat, 26 Aug 2023 23:42:15 -0700 -Subject: [PATCH] Map application/vnd.android.package-archive to zip - -This was added to file 5.45 in https://github.com/file/file/commit/b29519e7dc572d85f757314d3bfc7461ceb7709c -and the test .apk file is sometimes detected with that mime type. ---- a/patoolib/__init__.py -+++ b/patoolib/__init__.py -@@ -84,6 +84,7 @@ - 'application/x-xz': 'xz', - 'application/x-zip-compressed': 'zip', - 'application/x-zoo': 'zoo', -+ 'application/vnd.android.package-archive': 'zip', - 'application/zip': 'zip', - 'application/zpaq': 'zpaq', - "application/zstd": "zstd", ---- a/tests/test_mime.py -+++ b/tests/test_mime.py -@@ -137,7 +137,7 @@ def test_mime_file (self): - self.mime_test_file("t.chm.foo", "application/x-chm") - self.mime_test_file("t.iso", "application/x-iso9660-image") - self.mime_test_file("t.epub", "application/zip") -- self.mime_test_file("t.apk", ("application/zip", "application/java-archive", "application/jar")) -+ self.mime_test_file("t.apk", ("application/zip", "application/java-archive", "application/jar", "application/vnd.android.package-archive")) - self.mime_test_file("t.zpaq", "application/zpaq") - self.mime_test_file("t.zpaq.foo", "application/zpaq") - |