Skip to contentSkip to conversation

python3-binwalk: upgrading to 27 FAILED

AUH [email protected] 1 participant 1 message Jul 12, 2023

lore
Share & tools
lore
#0 lore raw

Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe *python3-binwalk* to *27* has Failed(do_compile).

Detailed error information:

do_compile failed

Next steps:
- apply the patch: git am 0001-python3-binwalk-upgrade-2.3.3-27.patch
- check the changes to upstream patches and summarize them in the commit message,
- compile an image that contains the package
- perform some basic sanity tests
- amend the patch and sign it off: git commit -s --reset-author --amend
- send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 65a2fce66da78b84e47dc761a56aee8c304c4ad2 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <[email protected]>
Date: Tue, 11 Jul 2023 17:16:02 -0500
Subject: [PATCH] python3-binwalk: upgrade 2.3.3 -> 27

---
 ...-on-newer-ubuntu-distros-and-drop-py.patch |  215 ++
 ...02-Remove-python-2.7-from-CI-testing.patch |   21 +
 ...ix-to-distros-under-LTS-and-python-v.patch |   50 +
 ...apply-test-matrix-to-dist-keyword-ex.patch |   60 +
 ...plement-exponent-and-shift-operators.patch |   38 +
 ...d-based-on-modern-realities-with-pyt.patch |  107 +
 ...le-along-with-changes-required-for-s.patch |  137 +
 ...stage-build-and-test-stage-include-D.patch |  158 +
 .../0009-fix-travis-script.patch              |   50 +
 .../0010-still-no-love-for-travis.patch       |   25 +
 ...e-of-cryptodome-since-pycrypto-is-EO.patch |   22 +
 ...empty-password-to-avoid-unzip-stuck-.patch |   23 +
 ...-Ubuntu-Focal-is-Python-3-by-default.patch |   24 +
 ...deps.sh-if-any-install-command-fails.patch |   51 +
 ...d-to-bifurcate-python3-and-python2-d.patch |   63 +
 ...using-issues-use-whatever-pip-the-us.patch |   44 +
 ...ot-preserve-the-specified-python-whe.patch |   23 +
 ...here-is-no-rhyme-or-reason-to-travis.patch |   31 +
 ...ve-the-python-being-used-across-sudo.patch |   56 +
 .../python/python3-binwalk/0020-nop.patch     |   31 +
 .../0021-sasquatch-patch-was-merged.patch     |   56 +
 ...0022-add-third-party-NOTICE-markdown.patch |   27 +
 .../0023-Removed-sensitive-keys.patch         |  220 ++
 ...ecryption-plugin-contains-priprietar.patch |  124 +
 ...5-Updated-version-number-for-release.patch |   22 +
 ...al-low-priv-execution-implementation.patch |   97 +
 ...ption-to-turn-off-privilege-dropping.patch |  152 +
 ...-specifying-a-user-to-run-external-e.patch |  139 +
 ...0029-Initial-symlink-repair-solution.patch |   82 +
 ...nts-and-better-error-output-for-end-.patch |   61 +
 .../0031-Bug-fixes-code-testing.patch         |   70 +
 .../python3-binwalk/0032-Code-cleanup.patch   |   71 +
 ...ectory-traversal-test-fixed-zip-test.patch | 2579 +++++++++++++++++
 ...d-to-include-extraction-security-not.patch |   45 +
 ...al-test-updated-extractor-to-not-for.patch |  152 +
 .../0036-Fixed-code-comment.patch             |   22 +
 ...disable-symlink-sanitization-if-desi.patch |   43 +
 ...binwalk_2.3.3.bb => python3-binwalk_27.bb} |   42 +-
 38 files changed, 5231 insertions(+), 2 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0001-deps-Fix-install-on-newer-ubuntu-distros-and-drop-py.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0002-Remove-python-2.7-from-CI-testing.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0003-reduce-test-matrix-to-distros-under-LTS-and-python-v.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0004-Travis-will-not-apply-test-matrix-to-dist-keyword-ex.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0005-Actually-implement-exponent-and-shift-operators.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0006-Update-INSTALL.md-based-on-modern-realities-with-pyt.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0007-initial-Dockerfile-along-with-changes-required-for-s.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0008-implement-multi-stage-build-and-test-stage-include-D.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0009-fix-travis-script.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0010-still-no-love-for-travis.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0011-transition-to-use-of-cryptodome-since-pycrypto-is-EO.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0012-Call-unzip-with-empty-password-to-avoid-unzip-stuck-.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0013-Ubuntu-Focal-is-Python-3-by-default.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0014-fail-deps.sh-if-any-install-command-fails.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0015-we-no-longer-need-to-bifurcate-python3-and-python2-d.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0016-using-pip3-is-causing-issues-use-whatever-pip-the-us.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0017-Travis-CI-does-not-preserve-the-specified-python-whe.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0018-there-is-no-rhyme-or-reason-to-travis.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0019-try-to-preserve-the-python-being-used-across-sudo.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0020-nop.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0021-sasquatch-patch-was-merged.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0022-add-third-party-NOTICE-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0023-Removed-sensitive-keys.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0024-Removed-hilink-decryption-plugin-contains-priprietar.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0025-Updated-version-number-for-release.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0026-Initial-low-priv-execution-implementation.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0027-Added-option-to-turn-off-privilege-dropping.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0028-Added-option-for-specifying-a-user-to-run-external-e.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0029-Initial-symlink-repair-solution.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0030-Added-code-comments-and-better-error-output-for-end-.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0031-Bug-fixes-code-testing.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0032-Code-cleanup.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0033-Added-directory-traversal-test-fixed-zip-test.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0034-Updated-README.md-to-include-extraction-security-not.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0035-Fixed-dirtraversal-test-updated-extractor-to-not-for.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0036-Fixed-code-comment.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0037-Added-option-to-disable-symlink-sanitization-if-desi.patch
 rename meta-python/recipes-devtools/python/{python3-binwalk_2.3.3.bb => python3-binwalk_27.bb} (17%)
meta-python/recipes-devtools/python/python3-binwalk/0001-deps-Fix-install-on-newer-ubuntu-distros-and-drop-py.patch new file +215 -0
new file mode 100644
index 000000000..4607ef6c4
@@ -0,0 +1,215 @@
+From c1ab4d76969c6e246940266c840f726c872f7237 Mon Sep 17 00:00:00 2001
+From: James Hilliard <[email protected]>
+Date: Sun, 2 Feb 2020 19:07:02 -0700
+Subject: [PATCH] deps: Fix install on newer ubuntu distros and drop python2
+ support.
+
+Dependencies such as jefferson are now python3 only and python2 is no
+longer supported, as it appears all our dependencies have python3
+versions it should be safe to drop python2 support.
+---
+ .travis.yml                | 16 ++++++++++++++--
+ deps.sh                    | 30 +++++++++++++++---------------
+ setup.py                   | 17 ++++++++++++++---
+ src/binwalk/core/compat.py |  5 +----
+ src/binwalk/core/magic.py  |  2 +-
+ src/binwalk/plugins/tar.py |  2 +-
+ 6 files changed, 46 insertions(+), 26 deletions(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 3cdebed..34b10c8 100644
+--- a/.travis.yml
++++ b/.travis.yml
+@@ -1,3 +1,7 @@
++dist: xenial
++addons:
++  apt:
++    update: true
+ language: python
+ arch: 
+  - ppc64le
+@@ -9,13 +13,21 @@ python:
+  - "3.6"
+  - "3.7"
+  - "3.8"
++ - "3.9"
+  - "nightly"
+ install:
++ - ./deps.sh --yes
+  - pip install coverage
+- - pip install backports.lzma
+  - ./setup.py install
+ script: ./setup.py test
+ cache: pip
+-matrix:
++jobs:
++  include:
++   - python: "3.6"
++     dist: bionic
++   - python: "3.8"
++     dist: focal
++   - python: "3.9"
++     dist: focal
+   allow_failures:
+    - python: nightly
+diff --git a/deps.sh b/deps.sh
+index 19892de..5321b37 100755
+--- a/deps.sh
++++ b/deps.sh
+@@ -41,24 +41,26 @@ APTGETCMD="apt-get"
+ YUMCMD="yum"
+ if [ $distro = "Kali" ]
+ then
+-    APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract util-linux firmware-mod-kit cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop cpio"
+-elif [ $distro_version = "17" ]
++    APT_CANDIDATES="git build-essential qt5base-dev mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract util-linux firmware-mod-kit cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop cpio"
++elif [ $distro_version = "14" ]
+ then
+-    APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
++    APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
++elif [ $distro_version = "15" ]
++then
++    APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
++elif [ $distro_version = "16" ]
++then
++    APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
+ elif [ $distro_version = "18" ]
+ then
+     APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
+ else
+-    APT_CANDIDATES="git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
++    APT_CANDIDATES="git build-essential qtbase5-dev mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio"
+ fi
+-PYTHON2_APT_CANDIDATES="python-crypto python-lzo python-lzma python-pip python-tk"
+-PYTHON3_APT_CANDIDATES="python3-crypto python3-pip python3-tk"
++PYTHON3_APT_CANDIDATES="python3-crypto python3-gnupg python3-pip python3-tk"
+ PYTHON3_YUM_CANDIDATES=""
+ YUM_CANDIDATES="git gcc gcc-c++ make openssl-devel qtwebkit-devel qt-devel gzip bzip2 tar arj p7zip p7zip-plugins cabextract squashfs-tools zlib zlib-devel lzo lzo-devel xz xz-compat-libs xz-libs xz-devel xz-lzma-compat python-backports-lzma lzip pyliblzma perl-Compress-Raw-Lzma lzop srecord"
+-PYTHON2_YUM_CANDIDATES="python-pip python-Bottleneck cpio"
+-APT_CANDIDATES="$APT_CANDIDATES $PYTHON2_APT_CANDIDATES"
+-YUM_CANDIDATES="$YUM_CANDIDATES $PYTHON2_YUM_CANDIDATES"
+-PIP_COMMANDS="pip"
++PIP_COMMANDS="pip3"
+ 
+ # Check for root privileges
+ if [ $UID -eq 0 ]
+@@ -72,7 +74,7 @@ fi
+ function install_yaffshiv
+ {
+     git clone https://github.com/devttys0/yaffshiv
+-    (cd yaffshiv && $SUDO python2 setup.py install)
++    (cd yaffshiv && $SUDO python3 setup.py install)
+     $SUDO rm -rf yaffshiv
+ }
+ 
+@@ -122,10 +124,7 @@ function install_cramfstools
+ function install_ubireader
+ {
+     git clone https://github.com/jrspruitt/ubi_reader
+-    # Some UBIFS extraction breaks after this commit, due to "Added fatal error check if UBI block extends beyond file size"
+-    # (see this commit: https://github.com/jrspruitt/ubi_reader/commit/af678a5234dc891e8721ec985b1a6e74c77620b6)
+-    # Reset to a known working commit.
+-    (cd ubi_reader && git reset --hard 0955e6b95f07d849a182125919a1f2b6790d5b51 && $SUDO python setup.py install)
++    (cd ubi_reader && $SUDO python3 setup.py install)
+     $SUDO rm -rf ubi_reader
+ }
+ 
+@@ -257,6 +256,7 @@ if [ $? -ne 0 ]
+     echo "Package installation failed: $PKG_CANDIDATES"
+     exit 1
+ fi
++install_pip_package setuptools
+ install_pip_package matplotlib
+ install_pip_package capstone
+ install_sasquatch
+diff --git a/setup.py b/setup.py
+index e4fca3f..b747b4d 100755
+--- a/setup.py
++++ b/setup.py
+@@ -1,10 +1,14 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
++import io
+ import os
+ import sys
+ import glob
+ import shutil
+ import subprocess
+-from distutils.core import setup, Command
++try:
++    from setuptools import setup, Command
++except ImportError:
++    from distutils.core import setup, Command
+ from distutils.dir_util import remove_tree
+ 
+ MODULE_NAME = "binwalk"
+@@ -24,7 +28,7 @@ except ImportError:
+ # by binwalk.
+ try:
+     label = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"], stderr=DEVNULL).decode('utf-8')
+-    MODULE_VERSION = "%s-%s" % (MODULE_VERSION, label.strip())
++    MODULE_VERSION = "%s+%s" % (MODULE_VERSION, label.strip())
+ except KeyboardInterrupt as e:
+     raise e
+ except Exception:
+@@ -318,14 +322,21 @@ install_data_files = []
+ for data_dir in ["magic", "config", "plugins", "modules", "core"]:
+     install_data_files.append("%s%s*" % (data_dir, os.path.sep))
+ 
++this_directory = os.path.abspath(os.path.dirname(__file__))
++with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
++    long_description = f.read()
++
+ # Install the module, script, and support files
+ setup(
+     name=MODULE_NAME,
+     version=MODULE_VERSION,
+     description="Firmware analysis tool",
++    long_description=long_description,
++    long_description_content_type='text/markdown',
+     author="Craig Heffner",
+     url="https://github.com/ReFirmLabs/%s" % MODULE_NAME,
+     requires=[],
++    python_requires=">=3",
+     package_dir={"": "src"},
+     packages=[MODULE_NAME],
+     package_data={MODULE_NAME: install_data_files},
+diff --git a/src/binwalk/core/compat.py b/src/binwalk/core/compat.py
+index b5453c5..b610c99 100644
+--- a/src/binwalk/core/compat.py
++++ b/src/binwalk/core/compat.py
+@@ -81,7 +81,4 @@ def user_input(prompt=''):
+     '''
+     For getting raw user input in Python 2 and 3.
+     '''
+-    if PY_MAJOR_VERSION > 2:
+-        return input(prompt)
+-    else:
+-        return raw_input(prompt)
++    return input(prompt)
+diff --git a/src/binwalk/core/magic.py b/src/binwalk/core/magic.py
+index 750bd12..8f7a316 100644
+--- a/src/binwalk/core/magic.py
++++ b/src/binwalk/core/magic.py
+@@ -625,7 +625,7 @@ class Magic(object):
+                     try:
+                         # If the operator value of this signature line is just
+                         # an integer value, use it
+-                        if isinstance(line.opvalue, int) or isinstance(line.opvalue, long):
++                        if isinstance(line.opvalue, int):
+                             opval = line.opvalue
+                         # Else, evaluate the complex expression
+                         else:
+diff --git a/src/binwalk/plugins/tar.py b/src/binwalk/plugins/tar.py
+index be54d8a..da3121a 100644
+--- a/src/binwalk/plugins/tar.py
++++ b/src/binwalk/plugins/tar.py
+@@ -33,7 +33,7 @@ class TarPlugin(binwalk.core.plugin.Plugin):
+                 raise ValueError("invalid tar header")
+         else:
+             n = 0
+-            for i in xrange(len(s) - 1):
++            for i in range(len(s) - 1):
+                 n <<= 8
+                 n += ord(s[i + 1])
+         return n
meta-python/recipes-devtools/python/python3-binwalk/0002-Remove-python-2.7-from-CI-testing.patch new file +21 -0
new file mode 100644
index 000000000..690c7c09b
@@ -0,0 +1,21 @@
+From 581f3e3c3b59330605e143440dd9e750f2dca1df Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Sun, 14 Mar 2021 17:05:08 -0400
+Subject: [PATCH] Remove python 2.7 from CI testing
+
+---
+ .travis.yml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 34b10c8..d20236e 100644
+--- a/.travis.yml
++++ b/.travis.yml
+@@ -7,7 +7,6 @@ arch:
+  - ppc64le
+  - amd64
+ python:
+- - "2.7"
+  - "3.4"
+  - "3.5"
+  - "3.6"
meta-python/recipes-devtools/python/python3-binwalk/0003-reduce-test-matrix-to-distros-under-LTS-and-python-v.patch new file +50 -0

50 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0004-Travis-will-not-apply-test-matrix-to-dist-keyword-ex.patch new file +60 -0

60 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0005-Actually-implement-exponent-and-shift-operators.patch new file +38 -0
new file mode 100644
index 000000000..ec3cedd39
@@ -0,0 +1,38 @@
+From 5ca500407edd177dc6e88afbc42dff7490ce90c3 Mon Sep 17 00:00:00 2001
+From: Marcus T <[email protected]>
+Date: Fri, 26 Feb 2021 16:15:36 -0800
+Subject: [PATCH] Actually implement exponent and shift operators
+
+These operators are listed in the "Signature File Format" wiki page but don't actually exist.
+---
+ src/binwalk/core/magic.py | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/binwalk/core/magic.py b/src/binwalk/core/magic.py
+index 8f7a316..bcc6dc7 100644
+--- a/src/binwalk/core/magic.py
++++ b/src/binwalk/core/magic.py
+@@ -97,7 +97,7 @@ class SignatureLine(object):
+         # AND the data with 0xFF before the comparison is performed).
+         #
+         # We support the following operators:
+-        for operator in ['&', '|', '*', '+', '-', '/', '~', '^']:
++        for operator in ['**', '<<', '>>', '&', '|', '*', '+', '-', '/', '~', '^']:
+             # Look for each operator in self.type
+             if operator in self.type:
+                 # If found, split self.type into the type and operator value
+@@ -632,7 +632,13 @@ class Magic(object):
+                             opval = self._do_math(offset, line.opvalue)
+ 
+                         # Perform the specified operation
+-                        if line.operator == '&':
++                        if line.operator == '**':
++                            dvalue **= opval
++                        elif line.operator == '<<':
++                            dvalue <<= opval
++                        elif line.operator == '>>':
++                            dvalue >>= opval
++                        elif line.operator == '&':
+                             dvalue &= opval
+                         elif line.operator == '|':
+                             dvalue |= opval
meta-python/recipes-devtools/python/python3-binwalk/0006-Update-INSTALL.md-based-on-modern-realities-with-pyt.patch new file +107 -0

107 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0007-initial-Dockerfile-along-with-changes-required-for-s.patch new file +137 -0

137 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0008-implement-multi-stage-build-and-test-stage-include-D.patch new file +158 -0

158 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0009-fix-travis-script.patch new file +50 -0

50 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0010-still-no-love-for-travis.patch new file +25 -0
new file mode 100644
index 000000000..ee539ff6b
@@ -0,0 +1,25 @@
+From 6e185f1809b09db81b967a85a87a7aaae2bdc8d5 Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Mon, 15 Mar 2021 23:54:40 -0400
+Subject: [PATCH] still no love for travis
+
+---
+ .travis.yml | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 7c74cc7..90f3cfa 100644
+--- a/.travis.yml
++++ b/.travis.yml
+@@ -15,9 +15,8 @@ jobs:
+   include:
+    - stage: test
+      services: docker
+-     install: 
+-       - docker build .
+-     script: no
++     install: echo "No install for this job"
++     script: docker build .
+    - stage: test
+      dist: bionic
+      python: 3.6
meta-python/recipes-devtools/python/python3-binwalk/0011-transition-to-use-of-cryptodome-since-pycrypto-is-EO.patch new file +22 -0
new file mode 100644
index 000000000..0a2061a27
@@ -0,0 +1,22 @@
+From 9f0cba6790292c3c863b30cedad81a059d7b7737 Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Tue, 16 Mar 2021 00:14:00 -0400
+Subject: [PATCH] transition to use of cryptodome since pycrypto is EOL
+
+---
+ deps.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/deps.sh b/deps.sh
+index 7c0b391..9595660 100755
+--- a/deps.sh
++++ b/deps.sh
+@@ -256,7 +256,7 @@ if [ $? -ne 0 ]
+     echo "Package installation failed: $PKG_CANDIDATES"
+     exit 1
+ fi
+-install_pip_package "setuptools matplotlib capstone crypto gnupg tk"
++install_pip_package "setuptools matplotlib capstone pycryptodome gnupg tk"
+ install_sasquatch
+ install_yaffshiv
+ install_jefferson
meta-python/recipes-devtools/python/python3-binwalk/0012-Call-unzip-with-empty-password-to-avoid-unzip-stuck-.patch new file +23 -0
new file mode 100644
index 000000000..c063ac5e3
@@ -0,0 +1,23 @@
+From 94f5934b445d6571defdd622ef93c40a1976b26f Mon Sep 17 00:00:00 2001
+From: owl <[email protected]>
+Date: Tue, 16 Mar 2021 17:41:09 +0800
+Subject: [PATCH] Call 'unzip' with empty password, to avoid 'unzip' stuck in
+ interactive mode when process encrypt files
+
+---
+ src/binwalk/config/extract.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/binwalk/config/extract.conf b/src/binwalk/config/extract.conf
+index 1b24f06..5b54f72 100644
+--- a/src/binwalk/config/extract.conf
++++ b/src/binwalk/config/extract.conf
+@@ -52,7 +52,7 @@
+ # 7z handles most zip files, but fails on some zip archives, inexplicably seeing
+ # only the *last* entry in the zip archive (though 7z thinks it succeeded). See
+ # StarCam firmware CH-sys-48.53.64.67.zip.
+-^zip archive data:zip:unzip -o '%e':0
++^zip archive data:zip:unzip -P '' -o '%e':0
+ ^zip archive data:zip:jar xvf '%e':0
+ ^zip archive data:zip:7z x -y '%e' -p '':0,1
+ 
meta-python/recipes-devtools/python/python3-binwalk/0013-Ubuntu-Focal-is-Python-3-by-default.patch new file +24 -0
new file mode 100644
index 000000000..521f6b4a2
@@ -0,0 +1,24 @@
+From e3142e37564f14f98823b56fa40ea35314099756 Mon Sep 17 00:00:00 2001
+From: Christian Clauss <[email protected]>
+Date: Tue, 16 Mar 2021 19:19:33 +0100
+Subject: [PATCH] Ubuntu Focal is Python 3 by default
+
+https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Python3_by_default
+Several other distros as well.
+---
+ README.md | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/README.md b/README.md
+index c2074cb..55190b7 100644
+--- a/README.md
++++ b/README.md
+@@ -9,7 +9,7 @@ Binwalk is a fast, easy to use tool for analyzing, reverse engineering, and extr
+ 
+ ### *** Python 2.7 Deprecation Notice ***
+ 
+-Even though every major Linux distro is still shipping python 2.7 as the default interpreter in their currently stable release, we are making the difficult decision to move binwalk support exclusively into python3. This is likely to make many upset and others rejoice. If you need to install binwalk into a Python 2.7 environment we will be creating a tag `python27` that will be a snapshot of `master` before all of these major changes are made. Thank you for being patient with us through this transition process.
++Even though many major Linux distros are still shipping Python 2.7 as the default interpreter in their currently stable release, we are making the difficult decision to move binwalk support exclusively to Python 3. This is likely to make many upset and others rejoice. If you need to install binwalk into a Python 2.7 environment we will be creating a tag `python27` that will be a snapshot of `master` before all of these major changes are made. Thank you for being patient with us through this transition process.
+ 
+ ### Installation and Usage
+ 
meta-python/recipes-devtools/python/python3-binwalk/0014-fail-deps.sh-if-any-install-command-fails.patch new file +51 -0

51 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0015-we-no-longer-need-to-bifurcate-python3-and-python2-d.patch new file +63 -0

63 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0016-using-pip3-is-causing-issues-use-whatever-pip-the-us.patch new file +44 -0

44 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0017-Travis-CI-does-not-preserve-the-specified-python-whe.patch new file +23 -0
new file mode 100644
index 000000000..160c93325
@@ -0,0 +1,23 @@
+From 68ed04375509d3d1194f770636cacbb26597f747 Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Wed, 24 Mar 2021 18:51:57 -0400
+Subject: [PATCH] Travis-CI does not preserve the specified python when
+ invoking sudo
+
+---
+ deps.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/deps.sh b/deps.sh
+index 230b8cc..8a267b1 100755
+--- a/deps.sh
++++ b/deps.sh
+@@ -69,7 +69,7 @@ then
+     echo "UID is 0, sudo not required"
+     SUDO=""
+ else
+-    SUDO="sudo"
++    SUDO="sudo -E"
+     REQUIRED_UTILS="sudo $REQUIRED_UTILS"
+ fi
+ 
meta-python/recipes-devtools/python/python3-binwalk/0018-there-is-no-rhyme-or-reason-to-travis.patch new file +31 -0
new file mode 100644
index 000000000..3dce74cf3
@@ -0,0 +1,31 @@
+From cea511762d429af0678d8a72d5b2bd7f88a8b112 Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Wed, 24 Mar 2021 18:55:26 -0400
+Subject: [PATCH] there is no rhyme or reason to travis
+
+---
+ deps.sh | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/deps.sh b/deps.sh
+index 8a267b1..339d66a 100755
+--- a/deps.sh
++++ b/deps.sh
+@@ -90,7 +90,7 @@ function install_sasquatch
+ function install_jefferson
+ {
+     git clone https://github.com/sviehb/jefferson
+-    (cd jefferson && $SUDO pip install -r requirements.txt && $SUDO python3 setup.py install)
++    (cd jefferson && $SUDO pip3 install -r requirements.txt && $SUDO python3 setup.py install)
+     $SUDO rm -rf jefferson
+ }
+ 
+@@ -133,7 +133,7 @@ function install_ubireader
+ function install_pip_package
+ {
+     PACKAGE="$1"
+-    $SUDO pip install $PACKAGE
++    $SUDO pip3 install $PACKAGE
+ }
+ 
+ function find_path
meta-python/recipes-devtools/python/python3-binwalk/0019-try-to-preserve-the-python-being-used-across-sudo.patch new file +56 -0

56 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0020-nop.patch new file +31 -0
new file mode 100644
index 000000000..240a4a27b
@@ -0,0 +1,31 @@
+From fefa77456c6152af4ea6a218471ba2abc006fc44 Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Wed, 24 Mar 2021 19:10:41 -0400
+Subject: [PATCH] nop
+
+---
+ .travis.yml | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 90f3cfa..8b7410a 100644
+--- a/.travis.yml
++++ b/.travis.yml
+@@ -6,11 +6,13 @@ addons:
+   apt:
+     update: true
+ install:
++  - export PYTHON=$(which python3)
+   - ./deps.sh --yes
+-  - pip install coverage
+-  - ./setup.py install
+-script: ./setup.py test
+-cache: pip
++  - sudo -E $PYTHON -mpip install coverage
++  - sudo -E $PYTHON ./setup.py install
++script:
++  - export PYTHON=$(which python3)
++  - sudo -E $PYTHON ./setup.py test
+ jobs:
+   include:
+    - stage: test
meta-python/recipes-devtools/python/python3-binwalk/0021-sasquatch-patch-was-merged.patch new file +56 -0

56 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0022-add-third-party-NOTICE-markdown.patch new file +27 -0
new file mode 100644
index 000000000..778ed04c8
@@ -0,0 +1,27 @@
+From 0b75c20c9e34d478538a8903f827be6932de6e71 Mon Sep 17 00:00:00 2001
+From: Peter Eacmen <[email protected]>
+Date: Sun, 28 Mar 2021 22:22:31 -0400
+Subject: [PATCH] add third party NOTICE markdown
+
+---
+ NOTICE.md | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+ create mode 100644 NOTICE.md
+
+diff --git a/NOTICE.md b/NOTICE.md
+new file mode 100644
+index 0000000..4602d9e
+--- /dev/null
++++ b/NOTICE.md
+@@ -0,0 +1,11 @@
++# File with code "borrowed from" the Python programming language
++
++
++Copyright (c) 2002 Lars Gustaebel <[email protected]>
++All rights reserved.
++
++Permission  is  hereby granted,  free  of charge,  to  any person obtaining a  copy of  this software  and associated documentation files  (the  "Software"),  to   deal  in  the  Software   without restriction,  including  without limitation  the  rights to  use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies  of  the  Software,  and to  permit  persons  to  whom the Software  is  furnished  to  do  so,  subject  to  the  following conditions:
++
++The above copyright  notice and this  permission notice shall  be included in all copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS  IS", WITHOUT WARRANTY OF ANY  KIND, EXPRESS OR IMPLIED, INCLUDING  BUT NOT LIMITED TO  THE WARRANTIES OF  MERCHANTABILITY,  FITNESS   FOR  A  PARTICULAR   PURPOSE  AND NONINFRINGEMENT.  IN  NO  EVENT SHALL  THE  AUTHORS  OR COPYRIGHT HOLDERS  BE LIABLE  FOR ANY  CLAIM, DAMAGES  OR OTHER  LIABILITY, WHETHER  IN AN  ACTION OF  CONTRACT, TORT  OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
meta-python/recipes-devtools/python/python3-binwalk/0023-Removed-sensitive-keys.patch new file +220 -0

220 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0024-Removed-hilink-decryption-plugin-contains-priprietar.patch new file +124 -0

124 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0025-Updated-version-number-for-release.patch new file +22 -0
new file mode 100644
index 000000000..62ac19412
@@ -0,0 +1,22 @@
+From 5d6124fc533f82b7b1e35b898e6891334421983e Mon Sep 17 00:00:00 2001
+From: devttys0 <[email protected]>
+Date: Mon, 16 Aug 2021 06:56:07 -0700
+Subject: [PATCH] Updated version number for release
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index b747b4d..9b9f6cd 100755
+--- a/setup.py
++++ b/setup.py
+@@ -12,7 +12,7 @@ except ImportError:
+ from distutils.dir_util import remove_tree
+ 
+ MODULE_NAME = "binwalk"
+-MODULE_VERSION = "2.2.1"
++MODULE_VERSION = "2.3.2"
+ SCRIPT_NAME = MODULE_NAME
+ MODULE_DIRECTORY = os.path.dirname(os.path.realpath(__file__))
+ 
meta-python/recipes-devtools/python/python3-binwalk/0026-Initial-low-priv-execution-implementation.patch new file +97 -0

97 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0027-Added-option-to-turn-off-privilege-dropping.patch new file +152 -0

152 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0028-Added-option-for-specifying-a-user-to-run-external-e.patch new file +139 -0

139 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0029-Initial-symlink-repair-solution.patch new file +82 -0

82 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0030-Added-code-comments-and-better-error-output-for-end-.patch new file +61 -0

61 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0031-Bug-fixes-code-testing.patch new file +70 -0

70 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0032-Code-cleanup.patch new file +71 -0

71 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0033-Added-directory-traversal-test-fixed-zip-test.patch new file +2579 -0

650 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0034-Updated-README.md-to-include-extraction-security-not.patch new file +45 -0

45 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0035-Fixed-dirtraversal-test-updated-extractor-to-not-for.patch new file +152 -0

152 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0036-Fixed-code-comment.patch new file +22 -0
new file mode 100644
index 000000000..c850b4e8a

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0037-Added-option-to-disable-symlink-sanitization-if-desi.patch new file +43 -0

43 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk_27.bb renamed from meta-python/recipes-devtools/python/python3-binwalk_2.3.3.bb +40 -2

42 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

From 65a2fce66da78b84e47dc761a56aee8c304c4ad2 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <[email protected]>
Date: Tue, 11 Jul 2023 17:16:02 -0500
Subject: [PATCH] python3-binwalk: upgrade 2.3.3 -> 27

---
 ...-on-newer-ubuntu-distros-and-drop-py.patch |  215 ++
 ...02-Remove-python-2.7-from-CI-testing.patch |   21 +
 ...ix-to-distros-under-LTS-and-python-v.patch |   50 +
 ...apply-test-matrix-to-dist-keyword-ex.patch |   60 +
 ...plement-exponent-and-shift-operators.patch |   38 +
 ...d-based-on-modern-realities-with-pyt.patch |  107 +
 ...le-along-with-changes-required-for-s.patch |  137 +
 ...stage-build-and-test-stage-include-D.patch |  158 +
 .../0009-fix-travis-script.patch              |   50 +
 .../0010-still-no-love-for-travis.patch       |   25 +
 ...e-of-cryptodome-since-pycrypto-is-EO.patch |   22 +
 ...empty-password-to-avoid-unzip-stuck-.patch |   23 +
 ...-Ubuntu-Focal-is-Python-3-by-default.patch |   24 +
 ...deps.sh-if-any-install-command-fails.patch |   51 +
 ...d-to-bifurcate-python3-and-python2-d.patch |   63 +
 ...using-issues-use-whatever-pip-the-us.patch |   44 +
 ...ot-preserve-the-specified-python-whe.patch |   23 +
 ...here-is-no-rhyme-or-reason-to-travis.patch |   31 +
 ...ve-the-python-being-used-across-sudo.patch |   56 +
 .../python/python3-binwalk/0020-nop.patch     |   31 +
 .../0021-sasquatch-patch-was-merged.patch     |   56 +
 ...0022-add-third-party-NOTICE-markdown.patch |   27 +
 .../0023-Removed-sensitive-keys.patch         |  220 ++
 ...ecryption-plugin-contains-priprietar.patch |  124 +
 ...5-Updated-version-number-for-release.patch |   22 +
 ...al-low-priv-execution-implementation.patch |   97 +
 ...ption-to-turn-off-privilege-dropping.patch |  152 +
 ...-specifying-a-user-to-run-external-e.patch |  139 +
 ...0029-Initial-symlink-repair-solution.patch |   82 +
 ...nts-and-better-error-output-for-end-.patch |   61 +
 .../0031-Bug-fixes-code-testing.patch         |   70 +
 .../python3-binwalk/0032-Code-cleanup.patch   |   71 +
 ...ectory-traversal-test-fixed-zip-test.patch | 2579 +++++++++++++++++
 ...d-to-include-extraction-security-not.patch |   45 +
 ...al-test-updated-extractor-to-not-for.patch |  152 +
 .../0036-Fixed-code-comment.patch             |   22 +
 ...disable-symlink-sanitization-if-desi.patch |   43 +
 ...binwalk_2.3.3.bb => python3-binwalk_27.bb} |   42 +-
 38 files changed, 5231 insertions(+), 2 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0001-deps-Fix-install-on-newer-ubuntu-distros-and-drop-py.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0002-Remove-python-2.7-from-CI-testing.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0003-reduce-test-matrix-to-distros-under-LTS-and-python-v.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0004-Travis-will-not-apply-test-matrix-to-dist-keyword-ex.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0005-Actually-implement-exponent-and-shift-operators.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0006-Update-INSTALL.md-based-on-modern-realities-with-pyt.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0007-initial-Dockerfile-along-with-changes-required-for-s.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0008-implement-multi-stage-build-and-test-stage-include-D.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0009-fix-travis-script.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0010-still-no-love-for-travis.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0011-transition-to-use-of-cryptodome-since-pycrypto-is-EO.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0012-Call-unzip-with-empty-password-to-avoid-unzip-stuck-.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0013-Ubuntu-Focal-is-Python-3-by-default.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0014-fail-deps.sh-if-any-install-command-fails.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0015-we-no-longer-need-to-bifurcate-python3-and-python2-d.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0016-using-pip3-is-causing-issues-use-whatever-pip-the-us.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0017-Travis-CI-does-not-preserve-the-specified-python-whe.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0018-there-is-no-rhyme-or-reason-to-travis.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0019-try-to-preserve-the-python-being-used-across-sudo.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0020-nop.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0021-sasquatch-patch-was-merged.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0022-add-third-party-NOTICE-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0023-Removed-sensitive-keys.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0024-Removed-hilink-decryption-plugin-contains-priprietar.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0025-Updated-version-number-for-release.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0026-Initial-low-priv-execution-implementation.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0027-Added-option-to-turn-off-privilege-dropping.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0028-Added-option-for-specifying-a-user-to-run-external-e.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0029-Initial-symlink-repair-solution.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0030-Added-code-comments-and-better-error-output-for-end-.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0031-Bug-fixes-code-testing.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0032-Code-cleanup.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0033-Added-directory-traversal-test-fixed-zip-test.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0034-Updated-README.md-to-include-extraction-security-not.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0035-Fixed-dirtraversal-test-updated-extractor-to-not-for.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0036-Fixed-code-comment.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-binwalk/0037-Added-option-to-disable-symlink-sanitization-if-desi.patch
 rename meta-python/recipes-devtools/python/{python3-binwalk_2.3.3.bb => python3-binwalk_27.bb} (17%)
meta-python/recipes-devtools/python/python3-binwalk/0001-deps-Fix-install-on-newer-ubuntu-distros-and-drop-py.patch new file +215 -0

215 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0002-Remove-python-2.7-from-CI-testing.patch new file +21 -0
new file mode 100644
index 000000000..690c7c09b

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0003-reduce-test-matrix-to-distros-under-LTS-and-python-v.patch new file +50 -0

50 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0004-Travis-will-not-apply-test-matrix-to-dist-keyword-ex.patch new file +60 -0

60 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0005-Actually-implement-exponent-and-shift-operators.patch new file +38 -0
new file mode 100644
index 000000000..ec3cedd39

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0006-Update-INSTALL.md-based-on-modern-realities-with-pyt.patch new file +107 -0

107 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0007-initial-Dockerfile-along-with-changes-required-for-s.patch new file +137 -0

137 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0008-implement-multi-stage-build-and-test-stage-include-D.patch new file +158 -0

158 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0009-fix-travis-script.patch new file +50 -0

50 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0010-still-no-love-for-travis.patch new file +25 -0
new file mode 100644
index 000000000..ee539ff6b

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0011-transition-to-use-of-cryptodome-since-pycrypto-is-EO.patch new file +22 -0
new file mode 100644
index 000000000..0a2061a27

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0012-Call-unzip-with-empty-password-to-avoid-unzip-stuck-.patch new file +23 -0
new file mode 100644
index 000000000..c063ac5e3

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0013-Ubuntu-Focal-is-Python-3-by-default.patch new file +24 -0
new file mode 100644
index 000000000..521f6b4a2

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0014-fail-deps.sh-if-any-install-command-fails.patch new file +51 -0

51 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0015-we-no-longer-need-to-bifurcate-python3-and-python2-d.patch new file +63 -0

63 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0016-using-pip3-is-causing-issues-use-whatever-pip-the-us.patch new file +44 -0

44 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0017-Travis-CI-does-not-preserve-the-specified-python-whe.patch new file +23 -0
new file mode 100644
index 000000000..160c93325

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0018-there-is-no-rhyme-or-reason-to-travis.patch new file +31 -0
new file mode 100644
index 000000000..3dce74cf3

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0019-try-to-preserve-the-python-being-used-across-sudo.patch new file +56 -0

56 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0020-nop.patch new file +31 -0
new file mode 100644
index 000000000..240a4a27b

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0021-sasquatch-patch-was-merged.patch new file +56 -0

56 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0022-add-third-party-NOTICE-markdown.patch new file +27 -0
new file mode 100644
index 000000000..778ed04c8

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0023-Removed-sensitive-keys.patch new file +220 -0

220 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0024-Removed-hilink-decryption-plugin-contains-priprietar.patch new file +124 -0

124 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0025-Updated-version-number-for-release.patch new file +22 -0
new file mode 100644
index 000000000..62ac19412

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0026-Initial-low-priv-execution-implementation.patch new file +97 -0

97 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0027-Added-option-to-turn-off-privilege-dropping.patch new file +152 -0

152 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0028-Added-option-for-specifying-a-user-to-run-external-e.patch new file +139 -0

139 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0029-Initial-symlink-repair-solution.patch new file +82 -0

82 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0030-Added-code-comments-and-better-error-output-for-end-.patch new file +61 -0

61 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0031-Bug-fixes-code-testing.patch new file +70 -0

70 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0032-Code-cleanup.patch new file +71 -0

71 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0033-Added-directory-traversal-test-fixed-zip-test.patch new file +2579 -0

2,579 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0034-Updated-README.md-to-include-extraction-security-not.patch new file +45 -0

45 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0035-Fixed-dirtraversal-test-updated-extractor-to-not-for.patch new file +152 -0

152 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk/0036-Fixed-code-comment.patch new file +22 -0
new file mode 100644
index 000000000..c850b4e8a

Lines of this file are not shown. View the raw message.

meta-python/recipes-devtools/python/python3-binwalk/0037-Added-option-to-disable-symlink-sanitization-if-desi.patch new file +43 -0

43 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-binwalk_27.bb renamed from meta-python/recipes-devtools/python/python3-binwalk_2.3.3.bb +40 -2

42 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Loading cache...done.
Loaded 12618 entries from dependency cache.
Parsing recipes...done.
Parsing of 7305 .bb files complete (7302 cached, 3 parsed). 12567 targets, 310 skipped, 0 masked, 0 errors. Removing 1 recipes from the core2-64 sysroot...done.
Removing 1 recipes from the qemux86_64 sysroot...done.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration (mc:default):

BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.2"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""

meta
meta-poky
meta-yocto-bsp = "master:a43fa36614977745fcbd6441d1c3c20321a8201d"
meta-oe
meta-python
meta-perl = "tmp-auh-upgrades:096e8b900f38cdbcb8e4fc7d933c9d7747826e62"
workspace = "<unknown>:<unknown>"

Build Configuration (mc:qemux86-musl):

BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux-musl"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.2"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""

meta
meta-poky
meta-yocto-bsp = "master:a43fa36614977745fcbd6441d1c3c20321a8201d"
meta-oe
meta-python
meta-perl = "tmp-auh-upgrades:096e8b900f38cdbcb8e4fc7d933c9d7747826e62"
workspace = "<unknown>:<unknown>"

Build Configuration (mc:qemuarm64):

BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.2"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""

meta
meta-poky
meta-yocto-bsp = "master:a43fa36614977745fcbd6441d1c3c20321a8201d"
meta-oe
meta-python
meta-perl = "tmp-auh-upgrades:096e8b900f38cdbcb8e4fc7d933c9d7747826e62"
workspace = "<unknown>:<unknown>"

Initialising tasks...done.
Checking sstate mirror object availability...done.
Sstate summary: Wanted 252 Local 23 Mirrors 219 Missed 10 Current 139 (96% match, 97% complete)
NOTE: Executing Tasks
NOTE: Running task 1053 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_fetch)
NOTE: recipe python3-binwalk-27-r0: task do_fetch: Started
NOTE: recipe python3-binwalk-27-r0: task do_fetch: Succeeded
NOTE: Running task 1330 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_unpack)
NOTE: Running task 1331 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_prepare_recipe_sysroot)
NOTE: recipe python3-binwalk-27-r0: task do_unpack: Started
NOTE: recipe python3-binwalk-27-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe python3-binwalk-27-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: recipe python3-binwalk-27-r0: task do_unpack: Succeeded
NOTE: Running task 1332 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_patch)
NOTE: Running task 1333 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_collect_spdx_deps)
NOTE: recipe python3-binwalk-27-r0: task do_patch: Started
NOTE: recipe python3-binwalk-27-r0: task do_collect_spdx_deps: Started
NOTE: recipe python3-binwalk-27-r0: task do_collect_spdx_deps: Succeeded
NOTE: recipe python3-binwalk-27-r0: task do_patch: Failed
NOTE: Tasks Summary: Attempted 1333 tasks of which 1328 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 6 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds

Summary: 1 task failed:
/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_patch
Summary: There was 1 ERROR message, returning a non-zero exit code.
ERROR: python3-binwalk-27-r0 do_patch: Applying patch '0033-Added-directory-traversal-test-fixed-zip-test.patch' on target directory '/scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-binwalk/27-r0/git' CmdError('quilt --quiltrc /scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-binwalk/27-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0033-Added-directory-traversal-test-fixed-zip-test.patch File testing/tests/input-vectors/dirtraversal.tar: git binary diffs are not supported.
patching file testing/tests/test_dirtraversal.py
patching file testing/tests/test_firmware_zip.py
Patch 0033-Added-directory-traversal-test-fixed-zip-test.patch does not apply (enforce with -f)

stderr: ')
ERROR: Logfile of failure stored in: /scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-binwalk/27-r0/temp/log.do_patch.454752
ERROR: Task (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-binwalk_27.bb:do_patch) failed with exit code '1'

Part of the diff is not shown here. View the raw message.