diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/radare2/Manifest | 1 | ||||
-rw-r--r-- | dev-util/radare2/files/radare2-2.0.1-635618-p1.patch | 29 | ||||
-rw-r--r-- | dev-util/radare2/files/radare2-2.0.1-635618-p2.patch | 30 | ||||
-rw-r--r-- | dev-util/radare2/radare2-2.0.1-r1.ebuild | 58 |
4 files changed, 0 insertions, 118 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest index 4e5bb9640a68..223673c2fb49 100644 --- a/dev-util/radare2/Manifest +++ b/dev-util/radare2/Manifest @@ -1,2 +1 @@ -DIST radare2-2.0.1.tar.gz 6001927 BLAKE2B cc74eb5f71cee88e78df7e73175ca84eadf2a16f313d4c1ecd54fb3c3c5aba44eb72c0eed5f739d888fb6a95b65dcdf2d7ae6b0269225a2fa7346bd506496a25 SHA512 1a8db3c71895fd9ccf284e7d0747770a5490872c5ee7f8e6d1c3a2590d2b344873bfc11b5f686bd08caa441bb787b2ec86aae9e83bf61e296f6a233d3ba35207 DIST radare2-2.1.0.tar.gz 5954222 BLAKE2B 9128a01d40ef1401d457f1fa5610ad7bbda92021e6e16fd70e9488bdb11be923c3d0f453e49a7bf78203c320ec2f1b2276925db2ae6eeaad90100ae0c2724b56 SHA512 38a907834e21967a83943e62cb29d8097e0522ff71ea61a2e3ab9e5263c3884ce28c17fb3ca9201c2b9f341e1b066ed0899e5152e146e61fc4f650f319299cd0 diff --git a/dev-util/radare2/files/radare2-2.0.1-635618-p1.patch b/dev-util/radare2/files/radare2-2.0.1-635618-p1.patch deleted file mode 100644 index 5644e50cc115..000000000000 --- a/dev-util/radare2/files/radare2-2.0.1-635618-p1.patch +++ /dev/null @@ -1,29 +0,0 @@ -From c6d0076c924891ad9948a62d89d0bcdaf965f0cd Mon Sep 17 00:00:00 2001 -From: pancake <pancake@nopcode.org> -Date: Wed, 25 Oct 2017 18:00:11 +0200 -Subject: [PATCH] Fix #8731 - Crash in ELF parser with negative 32bit number - ---- - libr/bin/format/elf/elf.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/libr/bin/format/elf/elf.c b/libr/bin/format/elf/elf.c -index 90f6acd30..e3c852fd3 100644 ---- a/libr/bin/format/elf/elf.c -+++ b/libr/bin/format/elf/elf.c -@@ -900,7 +900,11 @@ static Sdb *store_versioninfo_gnu_verneed(ELFOBJ *bin, Elf_(Shdr) *shdr, int sz) - free (s); - } - sdb_num_set (sdb_version, "cnt", entry->vn_cnt, 0); -- vstart += entry->vn_aux; -+ st32 vnaux = entry->vn_aux; -+ if (vnaux < 1) { -+ goto beach; -+ } -+ vstart += vnaux; - for (j = 0, isum = i + entry->vn_aux; j < entry->vn_cnt && vstart + sizeof (Elf_(Vernaux)) <= end; ++j) { - int k; - Elf_(Vernaux) * aux = NULL; --- -2.14.3 - diff --git a/dev-util/radare2/files/radare2-2.0.1-635618-p2.patch b/dev-util/radare2/files/radare2-2.0.1-635618-p2.patch deleted file mode 100644 index 242f4cc6220c..000000000000 --- a/dev-util/radare2/files/radare2-2.0.1-635618-p2.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 44ded3ff35b8264f54b5a900cab32ec489d9e5b9 Mon Sep 17 00:00:00 2001 -From: pancake <pancake@nopcode.org> -Date: Wed, 25 Oct 2017 18:09:24 +0200 -Subject: [PATCH] Fix #8743 - Crash in ELF version parser on 32bit systems - ---- - libr/bin/format/elf/elf.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/libr/bin/format/elf/elf.c b/libr/bin/format/elf/elf.c -index e3c852fd3..2248731b3 100644 ---- a/libr/bin/format/elf/elf.c -+++ b/libr/bin/format/elf/elf.c -@@ -748,7 +748,12 @@ static Sdb *store_versioninfo_gnu_verdef(ELFOBJ *bin, Elf_(Shdr) *shdr, int sz) - verdef->vd_hash = READ32 (dfs, j) - verdef->vd_aux = READ32 (dfs, j) - verdef->vd_next = READ32 (dfs, j) -- vstart += verdef->vd_aux; -+ int vdaux = verdef->vd_aux; -+ if (vdaux < 1) { -+ sdb_free (sdb_verdef); -+ goto out_error; -+ } -+ vstart += vdaux; - if (vstart > end || vstart + sizeof (Elf_(Verdaux)) > end) { - sdb_free (sdb_verdef); - goto out_error; --- -2.14.3 - diff --git a/dev-util/radare2/radare2-2.0.1-r1.ebuild b/dev-util/radare2/radare2-2.0.1-r1.ebuild deleted file mode 100644 index 78ee0f1268ef..000000000000 --- a/dev-util/radare2/radare2-2.0.1-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -DESCRIPTION="unix-like reverse engineering framework and commandline tools" -HOMEPAGE="http://www.radare.org" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/radare/radare2" -else - SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~arm ~arm64" -fi - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.9-nogit.patch - "${FILESDIR}"/${P}-635618-p1.patch - "${FILESDIR}"/${P}-635618-p2.patch -) - -LICENSE="GPL-2" -SLOT="0" -IUSE="ssl +system-capstone zsh-completion" - -RDEPEND=" - ssl? ( dev-libs/openssl:0= ) - system-capstone? ( dev-libs/capstone:0= ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_configure() { - econf \ - $(use_with ssl openssl) \ - $(use_with system-capstone syscapstone) -} - -src_install() { - default - - if use zsh-completion; then - insinto /usr/share/zsh/site-functions - doins doc/zsh/_* - fi - - # a workaround for unstable $(INSTALL) call, bug #574866 - local d - for d in doc/*; do - if [[ -d $d ]]; then - rm -rfv "$d" || die "failed to delete '$d'" - fi - done -} |