diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /app-misc/binwalk | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'app-misc/binwalk')
-rw-r--r-- | app-misc/binwalk/Manifest | 7 | ||||
-rw-r--r-- | app-misc/binwalk/binwalk-2.2.0.ebuild | 44 | ||||
-rw-r--r-- | app-misc/binwalk/binwalk-9999.ebuild | 19 | ||||
-rw-r--r-- | app-misc/binwalk/files/binwalk-2.2.0-disable-test-coverage.patch | 14 | ||||
-rw-r--r-- | app-misc/binwalk/metadata.xml | 7 |
5 files changed, 78 insertions, 13 deletions
diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest index 23f967849765..0cfc188e6ae7 100644 --- a/app-misc/binwalk/Manifest +++ b/app-misc/binwalk/Manifest @@ -1,5 +1,8 @@ AUX 0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch 2295 BLAKE2B 42ceab5a3b276d9bb0206fc71a4d95e93a1ea8b93e623c7bdac3f846d957586b7522bc6b4a36d24ef182a8fc8623665b17abe0a8ebd529f12d55dd34b200786f SHA512 ad0a89521948ea381fef71c53f2a85e692ac46666fd93a18955f568fca583f5b5685a024152cd774a33df30e9b965513a57139d43db8357836e145d22710c006 +AUX binwalk-2.2.0-disable-test-coverage.patch 378 BLAKE2B e1da360562eaa99fba1e5d3971fb9c7b2024b46319ec196a1408e8fc2d893e880749619595a884efab293842779b3745d071d5de9a30c0c411278595cefc56cd SHA512 0cac9b0714365196769a4e42e5cfcead7dad318b9bd60a737b6f25e3476d4127070d5ecab1ace155af4f3ba3f6c9a41be811c05c5ddf46390e7d49ca6bada94d DIST binwalk-2.1.1.tar.gz 263977 BLAKE2B 8fd5f20dcdb22a6528131fbebc1454cc496079bfeafa63ddb0679c7c7b5d5c29d81dccd4f52e8f6f7d8881d9e672d691c2b2ef367f2bf3180ffbb4ad22dca021 SHA512 373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168 +DIST binwalk-2.2.0.tar.gz 39594514 BLAKE2B 899a919647258759f16c2e59766b0db68d1a78edf0f5c3755c2a987695199a1851deed2820e6323d82d8af85d294a6f1fcafb655e5d2257d49b673ddae49da67 SHA512 5f3ed31c0b5f9ca3057f86e82787a73b06f9f73747b51dd72130a78e4d69cf43a0207bffc495d177e97811de5bf835b3d0507f314b7a0c960eddf6d1efe0f0f9 EBUILD binwalk-2.1.1.ebuild 1109 BLAKE2B d3cbcd0b70ed93e89beb8903cf4e1823f4a24d3fba9b6f97dda7edd14ba115e8dd0c06c3737964773b101948d7cde3341194f0a0493b873fbcd690c44bdb60ae SHA512 482c783b196f424dac46c9da8ddacbafe5bcc6823a4845d74b66a59fee6ca376a3f010e7caf71e58a097e904c86e0a366da2fe178c012fa12d52be72a5c1f519 -EBUILD binwalk-9999.ebuild 1020 BLAKE2B 490c90cce06ed6cfb9fef23852c22b0811687ee67c541a09b7ad5afa90bdac26d1525b5e14459306cd10ff8ce94ab1485915c84ce8177740f503338c349bd2b3 SHA512 3d5180c94d95971b15f9ecc5e5805b4d0f78891f4768ec05fdba32cacac7bd332ebfe8ad2b8a1634312d2c9aa70ef25219b6c8892dde618931ad9b511306dc24 -MISC metadata.xml 1043 BLAKE2B 3c31b5153464d9c439fdcab70b47aeccce5d0a8ec4acb57bf519830b80915bfe3e38dc0d995fc875f5b217bb354bc250043684188a2fc7988948039761204c2e SHA512 4f8c75bff33aee8f04748e52a6c13a866c08b1e0a9e4ff47fa5ccbf2a4e203e1324c6571edc57ce7713a1fc18af3f6d68645a725df84530aab03cf6f87dda5bc +EBUILD binwalk-2.2.0.ebuild 1149 BLAKE2B 8d3b192341c37ab923e3cc5068e3ac98ffdde2dbed5c406eba2c1d05e20b239a4ef9f866b30b64fae37415ba279e7ed8c511367f3e76f8f1851c201a9c9c0103 SHA512 3b8088e56752a6f9481026a3fa376ef301ba91e9c8a4d4bb99e930401d45ccd84c58f467c7d148f191d0064a3d22cec2cf21bc86303f59143492248ce1893505 +EBUILD binwalk-9999.ebuild 1149 BLAKE2B 8d3b192341c37ab923e3cc5068e3ac98ffdde2dbed5c406eba2c1d05e20b239a4ef9f866b30b64fae37415ba279e7ed8c511367f3e76f8f1851c201a9c9c0103 SHA512 3b8088e56752a6f9481026a3fa376ef301ba91e9c8a4d4bb99e930401d45ccd84c58f467c7d148f191d0064a3d22cec2cf21bc86303f59143492248ce1893505 +MISC metadata.xml 998 BLAKE2B 619184d84a2afb44abb2d51f7504e0d6b5c6907930469078a4eccabae4219b2e99bdbcec2347e55732691fcd8c84cc455f6de594f70cb3364c07d988b95d7a9c SHA512 0afb8270a8f36361743b74008e7add19efcf793742595dfab580adb9cbbaa39ba15c427ab91e8e6179df7ebb60a6261bde9e4d8f1f1448e50025b18dd2e361f8 diff --git a/app-misc/binwalk/binwalk-2.2.0.ebuild b/app-misc/binwalk/binwalk-2.2.0.ebuild new file mode 100644 index 000000000000..cd3986d63469 --- /dev/null +++ b/app-misc/binwalk/binwalk-2.2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/ReFirmLabs/binwalk.git" + inherit git-r3 +else + SRC_URI="https://github.com/ReFirmLabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~x64-macos" +fi + +DESCRIPTION="A tool for identifying files embedded inside firmware images" +HOMEPAGE="https://github.com/ReFirmLabs/binwalk" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="$(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7)" +BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch ) + +python_test() { + esetup.py test +} + +python_install_all() { + local DOCS=( API.md INSTALL.md README.md ) + distutils-r1_python_install_all +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "binwalk has many optional dependencies to automatically" + elog "extract/decompress data, see INSTALL.md for more details." + fi +} diff --git a/app-misc/binwalk/binwalk-9999.ebuild b/app-misc/binwalk/binwalk-9999.ebuild index 650ee2faadf9..cd3986d63469 100644 --- a/app-misc/binwalk/binwalk-9999.ebuild +++ b/app-misc/binwalk/binwalk-9999.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} ) inherit distutils-r1 @@ -19,12 +19,17 @@ HOMEPAGE="https://github.com/ReFirmLabs/binwalk" LICENSE="MIT" SLOT="0" -IUSE="graph" +IUSE="test" +RESTRICT="!test? ( test )" -RDEPEND=" - $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7) - graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] ) -" +RDEPEND="$(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7)" +BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch ) + +python_test() { + esetup.py test +} python_install_all() { local DOCS=( API.md INSTALL.md README.md ) diff --git a/app-misc/binwalk/files/binwalk-2.2.0-disable-test-coverage.patch b/app-misc/binwalk/files/binwalk-2.2.0-disable-test-coverage.patch new file mode 100644 index 000000000000..5dd322ba6036 --- /dev/null +++ b/app-misc/binwalk/files/binwalk-2.2.0-disable-test-coverage.patch @@ -0,0 +1,14 @@ +Avoid having to pull in dev-python/coverage test dep since we don't care about +coverage. + +--- binwalk-2.2.0/setup.py ++++ binwalk-2.2.0/setup.py +@@ -303,7 +303,7 @@ + os.chdir(testing_directory) + + # Run the tests +- retval = nose.core.run(argv=['--exe','--with-coverage']) ++ retval = nose.core.run(argv=['--exe']) + + sys.stdout.write("\n") + diff --git a/app-misc/binwalk/metadata.xml b/app-misc/binwalk/metadata.xml index 9cd3f7b9f5c1..12e5ca8a3e8a 100644 --- a/app-misc/binwalk/metadata.xml +++ b/app-misc/binwalk/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>radhermit@gentoo.org</email> - <name>Tim Harder</name> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> </maintainer> <longdescription lang="en"> Binwalk is a tool for searching a given binary image for embedded files. @@ -16,8 +16,7 @@ filesystems, etc. </longdescription> <upstream> - <remote-id type="google-code">binwalk</remote-id> - <remote-id type="github">devttys0/binwalk</remote-id> + <remote-id type="github">ReFirmLabs/binwalk</remote-id> </upstream> <use> <flag name="graph">Enable support for generating entropy graphs</flag> |