From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-977936-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4C0821396DA for <garchives@archives.gentoo.org>; Thu, 12 Oct 2017 11:15:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D154E0CBD; Thu, 12 Oct 2017 11:14:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48CAE2BC012 for <gentoo-commits@lists.gentoo.org>; Thu, 12 Oct 2017 11:14:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13B8833BF43 for <gentoo-commits@lists.gentoo.org>; Thu, 12 Oct 2017 11:14:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79F0690A4 for <gentoo-commits@lists.gentoo.org>; Thu, 12 Oct 2017 11:14:56 +0000 (UTC) From: "Sergei Trofimovich" <slyfox@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" <slyfox@gentoo.org> Message-ID: <1507806884.ee8b518b56ddd8670f660cb673fdca14f22678e0.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/radare2/Manifest dev-util/radare2/radare2-2.0.0.ebuild dev-util/radare2/radare2-9999.ebuild X-VCS-Directories: dev-util/radare2/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: ee8b518b56ddd8670f660cb673fdca14f22678e0 X-VCS-Branch: master Date: Thu, 12 Oct 2017 11:14:56 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b2d4c21a-a14d-4ce6-921f-904bc36b1ea2 X-Archives-Hash: b0b2ce6a5b254180ac4bb4ca600c54ca commit: ee8b518b56ddd8670f660cb673fdca14f22678e0 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Tue Oct 10 20:15:21 2017 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Oct 12 11:14:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8b518b dev-util/radare2: bump to 2.0.0 Closes: https://github.com/gentoo/gentoo/pull/5908 Closes: https://bugs.gentoo.org/633892 dev-util/radare2/Manifest | 1 + dev-util/radare2/radare2-2.0.0.ebuild | 53 +++++++++++++++++++++++++++++++++++ dev-util/radare2/radare2-9999.ebuild | 36 +++++++++++++++++++----- 3 files changed, 83 insertions(+), 7 deletions(-) diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest index 2fed1fa4edf..fb3cbbfa995 100644 --- a/dev-util/radare2/Manifest +++ b/dev-util/radare2/Manifest @@ -5,3 +5,4 @@ DIST radare2-1.2.0.tar.gz 8461187 SHA256 3660f4f8c1490194f5b5b80d7e21e1cc507e6af DIST radare2-1.3.0.tar.gz 8517265 SHA256 adf9bbfb36b5cff986e8218455d75d7410e41e2fb4a380b99d1bcf6d36dce222 SHA512 ef410f8c5c0b931dab452c50b694313f26898a5f36c8286d18f56889e056658331cee87097a0e3028b8f53f25ec9c4354f6c78a41365a74d5bc67a38a6510174 WHIRLPOOL d3d5877814893308c0aa344740ef857d5814ec465d1f7deee73e226f4e1609ed9a75b3395c92fc382815464d1ceac3409bf09aade9f0f2f74cda93d3b2937ed8 DIST radare2-1.4.0.tar.gz 8719644 SHA256 bf6e9ad94fd5828d3936563b8b13218433fbf44231cacfdf37a7312ae2b3e93e SHA512 5d022759e53f762094e237a29780d63dc4f39601ceacb22f58206bbb83a38a8938ea2321e49426b03421dcb0f6493a96f18905f8bf81025293f9c1a8087a4a0a WHIRLPOOL a86f5389d4905b970b22cd79b217d71a37a980b780b53078e5bcaf623d66e24999fb77a9d9b527986f5e9193b72f6b158e8dbefbed4d2557bdd9f0abffc88199 DIST radare2-1.6.0.tar.gz 5752191 SHA256 759d1c65dcd69d1189fc73e427c568ec234a7ca1958c19f5001c255dd31a3787 SHA512 6e1485c4edaa007790c07a8cfe190c4ea3e4df843620e2575587478e60f1be3dacaa0c545c84e135a51d9f7aff61c27f712c0ffa6038b556d347151f2a3cd2bb WHIRLPOOL 6a35b3b58bc5ec248de53ca3970c4791a8d837b330109f832ccd12d0660537ca0fa62101b806dc29f1123bd48d4139bd7ef1856f5fdbd31afe67daea384f1872 +DIST radare2-2.0.0.tar.gz 6003014 SHA256 7d734cb3c047774600928110c8f8b970eb6117630b66d2c7284bc4ed68242c83 SHA512 387e08d06d017aac7ea7c1d6c6d1f761808ac689c85a5de22b796356fb5580d4cd6218a994ec86fbf9e9864def6d7d589bef290cacc2b10b241fe9681b80a985 WHIRLPOOL df8ca26f4f03ced670c6d911d1291a233aa1bf6e0236ee2ab34394f43afd49f7bf1ff9e7bbfd9b3c8853d126b2feeeaa64fe3553d2cc41504a3335b18c099164 diff --git a/dev-util/radare2/radare2-2.0.0.ebuild b/dev-util/radare2/radare2-2.0.0.ebuild new file mode 100644 index 00000000000..cf3939d9299 --- /dev/null +++ b/dev-util/radare2/radare2-2.0.0.ebuild @@ -0,0 +1,53 @@ +# 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" + PATCHES=( "${FILESDIR}"/${PN}-0.9.9-nogit.patch ) +fi + +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 +} diff --git a/dev-util/radare2/radare2-9999.ebuild b/dev-util/radare2/radare2-9999.ebuild index 4c5adb60d12..cf3939d9299 100644 --- a/dev-util/radare2/radare2-9999.ebuild +++ b/dev-util/radare2/radare2-9999.ebuild @@ -3,18 +3,23 @@ EAPI=6 -is_live() { [[ ${PV} == 9999* ]]; } +inherit eutils -is_live && inherit git-r3 - -DESCRIPTION="Advanced command line hexadecimal editor and more" +DESCRIPTION="unix-like reverse engineering framework and commandline tools" HOMEPAGE="http://www.radare.org" -is_live || SRC_URI="http://www.radare.org/get/${P}.tar.xz" -EGIT_REPO_URI="https://github.com/radare/radare2" + +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" + PATCHES=( "${FILESDIR}"/${PN}-0.9.9-nogit.patch ) +fi LICENSE="GPL-2" SLOT="0" -IUSE="ssl +system-capstone" +IUSE="ssl +system-capstone zsh-completion" RDEPEND=" ssl? ( dev-libs/openssl:0= ) @@ -29,3 +34,20 @@ src_configure() { $(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 +}