From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/
Date: Sat, 29 Jul 2017 20:47:31 +0000 (UTC) [thread overview]
Message-ID: <1501361227.8b23a01ee9c711bd6faec409c95c0b46f76abef2.slyfox@gentoo> (raw)
commit: 8b23a01ee9c711bd6faec409c95c0b46f76abef2
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 29 20:45:20 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul 29 20:47:07 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b23a01e
dev-util/radare2: use system-installed capstone, bug #592220
Reported-by: Anton Bolshakov
Bug: https://bugs.gentoo.org/592220
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-util/radare2/metadata.xml | 3 +++
dev-util/radare2/radare2-1.4.0-r1.ebuild | 45 ++++++++++++++++++++++++++++++++
dev-util/radare2/radare2-9999.ebuild | 6 +++--
3 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml
index 248be000563..43119efc781 100644
--- a/dev-util/radare2/metadata.xml
+++ b/dev-util/radare2/metadata.xml
@@ -6,4 +6,7 @@
<name>Sergei Trofimovich</name>
<description>Primary Maintainer</description>
</maintainer>
+ <use>
+ <flag name='system-capstone'>Use <pkg>dev-libs/capstone</pkg> instead of bundled copy.</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-util/radare2/radare2-1.4.0-r1.ebuild b/dev-util/radare2/radare2-1.4.0-r1.ebuild
new file mode 100644
index 00000000000..397bcc5a11f
--- /dev/null
+++ b/dev-util/radare2/radare2-1.4.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Advanced command line hexadecimal editor and more"
+HOMEPAGE="http://www.radare.org"
+SRC_URI="http://cloud.radare.org/get/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl +system-capstone"
+
+RDEPEND="
+ ssl? ( dev-libs/openssl:0= )
+ system-capstone? ( dev-libs/capstone:0= )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.9-nogit.patch
+)
+
+src_configure() {
+ econf \
+ $(use_with ssl openssl) \
+ $(use_with system-capstone syscapstone)
+}
+
+src_install() {
+ # 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
+
+ default
+}
diff --git a/dev-util/radare2/radare2-9999.ebuild b/dev-util/radare2/radare2-9999.ebuild
index cda7b0773b9..4c5adb60d12 100644
--- a/dev-util/radare2/radare2-9999.ebuild
+++ b/dev-util/radare2/radare2-9999.ebuild
@@ -14,10 +14,11 @@ EGIT_REPO_URI="https://github.com/radare/radare2"
LICENSE="GPL-2"
SLOT="0"
-IUSE="ssl"
+IUSE="ssl +system-capstone"
RDEPEND="
ssl? ( dev-libs/openssl:0= )
+ system-capstone? ( dev-libs/capstone:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -25,5 +26,6 @@ DEPEND="${RDEPEND}
src_configure() {
econf \
- $(use_with ssl openssl)
+ $(use_with ssl openssl) \
+ $(use_with system-capstone syscapstone)
}
next reply other threads:[~2017-07-29 20:47 UTC|newest]
Thread overview: 116+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-29 20:47 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-01 12:44 [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/ Sam James
2024-12-01 12:44 Sam James
2024-09-14 7:14 Joonas Niilola
2024-07-27 7:06 Joonas Niilola
2024-06-19 18:19 John Helmert III
2024-04-14 16:09 Matthew Smith
2024-04-14 16:09 Matthew Smith
2023-06-18 19:02 John Helmert III
2023-06-17 20:12 John Helmert III
2023-06-09 4:43 John Helmert III
2023-05-27 7:49 Joonas Niilola
2023-01-23 3:37 John Helmert III
2022-10-02 14:53 Florian Schmaus
2022-09-07 18:55 John Helmert III
2022-09-07 18:55 John Helmert III
2022-08-11 10:55 Sam James
2022-07-16 16:51 John Helmert III
2022-05-11 2:11 Sam James
2022-04-26 5:51 Joonas Niilola
2022-04-26 5:51 Joonas Niilola
2022-04-25 6:57 Joonas Niilola
2021-07-23 8:05 Sergei Trofimovich
2021-07-23 7:33 Sergei Trofimovich
2021-06-19 9:01 Sergei Trofimovich
2021-06-11 21:01 Sergei Trofimovich
2021-06-11 21:01 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-01 20:44 Sergei Trofimovich
2021-04-24 23:11 Sergei Trofimovich
2021-04-24 12:37 Sergei Trofimovich
2021-04-12 22:50 Sam James
2021-02-12 8:22 Sergei Trofimovich
2021-02-11 22:57 Sergei Trofimovich
2021-01-28 8:09 Sergei Trofimovich
2021-01-27 7:31 Sergei Trofimovich
2021-01-23 11:28 Sergei Trofimovich
2020-12-26 19:26 Sergei Trofimovich
2020-12-24 18:00 Sergei Trofimovich
2020-12-24 18:00 Sergei Trofimovich
2020-10-18 12:31 Sergei Trofimovich
2020-09-03 22:28 Sergei Trofimovich
2020-07-18 22:23 Sergei Trofimovich
2020-05-29 22:13 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-14 8:19 Sergei Trofimovich
2020-03-06 9:06 Sergei Trofimovich
2020-03-05 17:52 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2020-02-02 14:47 Sergei Trofimovich
2020-02-02 14:47 Sergei Trofimovich
2020-01-22 22:14 Sergei Trofimovich
2019-10-29 22:29 Sergei Trofimovich
2019-09-17 21:48 Sergei Trofimovich
2019-09-17 21:48 Sergei Trofimovich
2019-09-03 18:38 Sergei Trofimovich
2019-08-14 21:35 Sergei Trofimovich
2019-06-24 22:10 Sergei Trofimovich
2019-06-22 8:21 Sergei Trofimovich
2019-05-16 19:56 Sergei Trofimovich
2019-05-14 7:15 Sergei Trofimovich
2019-05-14 7:00 Sergei Trofimovich
2019-04-09 21:44 Sergei Trofimovich
2019-04-03 22:17 Sergei Trofimovich
2019-04-03 22:17 Sergei Trofimovich
2019-02-20 21:42 Sergei Trofimovich
2019-01-15 21:38 Sergei Trofimovich
2019-01-15 21:38 Sergei Trofimovich
2019-01-12 15:18 Sergei Trofimovich
2018-12-04 23:43 Sergei Trofimovich
2018-12-04 8:36 Sergei Trofimovich
2018-12-03 21:51 Sergei Trofimovich
2018-12-03 21:51 Sergei Trofimovich
2018-12-03 8:24 Sergei Trofimovich
2018-11-26 22:20 Sergei Trofimovich
2018-11-26 22:20 Sergei Trofimovich
2018-10-21 9:26 Sergei Trofimovich
2018-10-16 22:23 Sergei Trofimovich
2018-10-16 22:23 Sergei Trofimovich
2018-08-08 6:26 Sergei Trofimovich
2018-07-09 21:14 Sergei Trofimovich
2018-06-21 7:01 Sergei Trofimovich
2018-04-28 10:03 Sergei Trofimovich
2018-04-10 6:38 Sergei Trofimovich
2018-04-10 6:38 Sergei Trofimovich
2018-03-06 8:07 Sergei Trofimovich
2018-02-15 18:07 Sergei Trofimovich
2017-12-25 11:01 Sergei Trofimovich
2017-12-24 10:28 Anthony G. Basile
2017-12-10 15:00 Sergei Trofimovich
2017-11-28 21:09 Sergei Trofimovich
2017-11-27 22:55 Sergei Trofimovich
2017-10-28 22:15 Sergei Trofimovich
2017-10-12 17:34 Sergei Trofimovich
2017-10-12 11:14 Sergei Trofimovich
2017-10-12 11:14 Sergei Trofimovich
2017-09-10 17:18 Sergei Trofimovich
2017-09-10 17:18 Sergei Trofimovich
2017-09-10 16:45 Sergei Trofimovich
2017-04-18 20:17 Sergei Trofimovich
2017-03-13 21:15 Sergei Trofimovich
2017-01-30 21:07 Sergei Trofimovich
2016-12-21 9:32 Sergei Trofimovich
2016-11-10 22:06 Sergei Trofimovich
2016-11-10 22:06 Sergei Trofimovich
2016-09-27 8:21 Sergei Trofimovich
2016-08-22 8:55 Sergei Trofimovich
2016-07-07 22:06 Sergei Trofimovich
2016-07-07 22:06 Sergei Trofimovich
2016-05-25 19:51 Sergei Trofimovich
2016-04-12 22:07 Sergei Trofimovich
2016-04-12 22:07 Sergei Trofimovich
2016-03-12 15:49 Sergei Trofimovich
2016-02-18 23:21 Sergei Trofimovich
2016-02-06 10:36 Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501361227.8b23a01ee9c711bd6faec409c95c0b46f76abef2.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox