From 6e0dec7ba4f6c5793a3d0b85952efa7ec57afa65 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 Oct 2017 17:23:15 +0100 Subject: gentoo resync : 12.10.2017 --- dev-util/radare2/Manifest | 8 ++---- dev-util/radare2/radare2-2.0.0.ebuild | 53 +++++++++++++++++++++++++++++++++++ dev-util/radare2/radare2-9999.ebuild | 36 +++++++++++++++++++----- 3 files changed, 85 insertions(+), 12 deletions(-) create mode 100644 dev-util/radare2/radare2-2.0.0.ebuild (limited to 'dev-util/radare2') diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest index 58734945eb22..3f4e7b13373f 100644 --- a/dev-util/radare2/Manifest +++ b/dev-util/radare2/Manifest @@ -1,21 +1,19 @@ AUX radare2-0.9.9-nogit.patch 352 SHA256 cb87e4093d4ace137f48e79d899576e89c91805934b0ad0f0b1c5f4a965332f9 SHA512 5a84c2f768b60dc6ffb35130f409714e0ffc4cbc6fb9e08bc4bf86d28651060398d809fed8abafcd56cabde86aa9e8672df77212f0d8c0b6dfc056b243e1c270 WHIRLPOOL fcbc1358c844e486366f766061b82c2ae72f7d513b2e504e7b488057e88f1af732667a5f02b05a8c8f91642799f3fdd47ad8f17e82f9659377c651d3e8d9c7d7 AUX radare2-1.1.0-openssl-1.1.0c.patch 917 SHA256 250cd5d020c26627cde4462d98cae74b02e7b3baae2273bcbc0c482a868f1058 SHA512 c3829ce72751dca4d2e24e88d6bf4a03852f23699e5a8f6e64ede4c1304a5f00ba244995950f564531deb6552d9b0f7766cd991ef8205c579fd60db19a722714 WHIRLPOOL 3e2abd56c149bd7c2c68d82b18f2dc83728dbf0786ed4edae28cc1b3c54a03be7d76263911d0603bebbb73f2c018fc87cdda0f2116c607a2a718a8e8120badf1 -DIST radare2-0.10.6.tar.xz 5082028 SHA256 8e887526b22bdf7839fe10779c8da11d6156a5999382c2fa7bf6791a3f6a9d45 SHA512 1e33a831244c8bfc6ab317ed74ec108730f361550f504d48d8783e6c3bfc2ce98e4feac08b37b4b8997f0a83a456fe26685c6f4847798dea841a97b259dcef8b WHIRLPOOL 360d5ec9fd5fa02a7dca12a8bb5f388e1684419d757bd0767f33ec56e60354d3dafbca440e3d0b584d37a42a9aba12e6465f42acab71af2c584c30ccf3bb4f6b -DIST radare2-1.0.2.tar.xz 5014612 SHA256 91fde12126e29bf8bbd6c4aad9e5b226b96afd289e55a52db3df872dc580a294 SHA512 cd60246aaf612818f8bc9fc77ce746a33b92b28ba7ee80988d56f7060dfa26072ada17a01b56c32d6d1f2bc2d98781c806a86f9e1e38aaf5c400ed54aaaff9b1 WHIRLPOOL 5c3f23fd938235d526345f3df2c3dafb5fa29a290bb96cdda79682057e37bca585fb5542cd2eb3d600e7b9a4901fb45b2bb8148c7f328053f99a08f7da43335e DIST radare2-1.1.0.tar.gz 8438634 SHA256 7bc1e206a2b4def6bdb8684c2af0281b007986a0b5b5da652bd03be264ca0fa5 SHA512 a99ac488f78c52fa9d6fbfe095b0aae10864f4a591721ee3679310ada3ef5e2a069ad919d1f7472d0dcd2c78569aac584086a7e975f1946194b346c94e4873b7 WHIRLPOOL 0d00f06eac3c6a7f3db1b4dc6b728714c73ea35eb5bbdd8281fe01052bd8519e19f8737c794c51f098d1fde9feaa8f1f7959815afad7a87ea8aaab36e862f834 DIST radare2-1.2.0.tar.gz 8461187 SHA256 3660f4f8c1490194f5b5b80d7e21e1cc507e6aff2551008074e632c22549b941 SHA512 8419d92c9db2f1312bb188317af53497a75e0c78504d6b9c3fee7cb90f9219d6801543a2bc68f2dd3fc846d75ba60ce3f8d4cde61c99ec1e3c5f63c8c2b8dd88 WHIRLPOOL 1cc31557e4a6882251a517b24f5df59fb2fb9ad083e6670c42d392ab79a8ffd0d56f11f82512ee59f1c233edef3b3c5b08cbbb936ffe5e22753889987e313c2f 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 -EBUILD radare2-0.10.6.ebuild 735 SHA256 f79177878d006c8f99296f6a807ea9347b7d7e662e3d8c3bbb96433873297a70 SHA512 9d49a23c3cccab934b84a121c6621ac1660dfb3815dadabb773bfb76ba60560d6f58d5d0b3a193f2c69f3522fd5935d2f1dab7ce37a1b5bf61eb26eb28229777 WHIRLPOOL 6fd83e33c8bba1de1d42fffd2fc9916b363fba09b552efe6eaac75ebce94330114c87a45d79817a54295fbde5afe9d97e72fd2db3f38c77a5856e804be350696 -EBUILD radare2-1.0.2.ebuild 735 SHA256 f79177878d006c8f99296f6a807ea9347b7d7e662e3d8c3bbb96433873297a70 SHA512 9d49a23c3cccab934b84a121c6621ac1660dfb3815dadabb773bfb76ba60560d6f58d5d0b3a193f2c69f3522fd5935d2f1dab7ce37a1b5bf61eb26eb28229777 WHIRLPOOL 6fd83e33c8bba1de1d42fffd2fc9916b363fba09b552efe6eaac75ebce94330114c87a45d79817a54295fbde5afe9d97e72fd2db3f38c77a5856e804be350696 +DIST radare2-2.0.0.tar.gz 6003014 SHA256 7d734cb3c047774600928110c8f8b970eb6117630b66d2c7284bc4ed68242c83 SHA512 387e08d06d017aac7ea7c1d6c6d1f761808ac689c85a5de22b796356fb5580d4cd6218a994ec86fbf9e9864def6d7d589bef290cacc2b10b241fe9681b80a985 WHIRLPOOL df8ca26f4f03ced670c6d911d1291a233aa1bf6e0236ee2ab34394f43afd49f7bf1ff9e7bbfd9b3c8853d126b2feeeaa64fe3553d2cc41504a3335b18c099164 EBUILD radare2-1.1.0.ebuild 791 SHA256 bb682c299a3e9d5418de0f45fd7513d3b8f476f81241ee18e5e99924ea9a49cb SHA512 05f625d98263a245b72f097b3d3823c2291638fe577c9d97aefa0a1db3aba177214b73b214522b7adca1a2332f802dff77c377f00c0220699066d2ac7ceb1f8f WHIRLPOOL 3fc6021d118d162c70be8ff1aa0afe0ec8183bc61b6fd51e1d896bb16d32e87a90c605075c4d19b4be51f77b2669ae68de69d96112e56d2ac832d4a141c4ecbc EBUILD radare2-1.2.0.ebuild 733 SHA256 262aa204d848d6b123b3d57998ddf92c461d3ac85dba09af95f0197dac19c6f1 SHA512 09ecdc22c51553047632a38db89185ca32d1cf3597a09d12c532db56f37f4b62e6a2523222e4f78219fa761048005a8d2d27a2e5b383f5cd75b0c23b97c1e77e WHIRLPOOL a32d29b35591d22266558ea21694a72c9b11bdc5cfb7a341cbbe5504da925b5fc00207547da0ae4da689509505b93f5c11a0d4f5ca2dca224987348359a80999 EBUILD radare2-1.3.0.ebuild 733 SHA256 262aa204d848d6b123b3d57998ddf92c461d3ac85dba09af95f0197dac19c6f1 SHA512 09ecdc22c51553047632a38db89185ca32d1cf3597a09d12c532db56f37f4b62e6a2523222e4f78219fa761048005a8d2d27a2e5b383f5cd75b0c23b97c1e77e WHIRLPOOL a32d29b35591d22266558ea21694a72c9b11bdc5cfb7a341cbbe5504da925b5fc00207547da0ae4da689509505b93f5c11a0d4f5ca2dca224987348359a80999 EBUILD radare2-1.4.0-r1.ebuild 837 SHA256 17d601d343d2c6f1217fe81ddd96cef3240d84391557ea21d620eb6801a8a18b SHA512 e0148f02ceabc72b08617f338e64a35397081cc880974c7b5d43def77b66c46663ac5b6e5ff4825f2c64dd9e770a358f87dd70f0da849cf31730069e6da10606 WHIRLPOOL 679e214742a245a94b6eef1f41f1a76967b65e410737668d7dc2a4970e8e860d0b834fbe82363d7c5561b50191aafc720834a5d993964606ca33236f820bcb8c EBUILD radare2-1.4.0.ebuild 837 SHA256 17d601d343d2c6f1217fe81ddd96cef3240d84391557ea21d620eb6801a8a18b SHA512 e0148f02ceabc72b08617f338e64a35397081cc880974c7b5d43def77b66c46663ac5b6e5ff4825f2c64dd9e770a358f87dd70f0da849cf31730069e6da10606 WHIRLPOOL 679e214742a245a94b6eef1f41f1a76967b65e410737668d7dc2a4970e8e860d0b834fbe82363d7c5561b50191aafc720834a5d993964606ca33236f820bcb8c EBUILD radare2-1.6.0.ebuild 861 SHA256 399475512ae8f5e572c2f6e329a34192a6560926f33a76dbfa7358a8ae018be2 SHA512 b1f9c7dc798d5e47dc0ef34de6d574aceecdfd24b495ce93268ef6938ca43ea229dd2071687acab5c4e883591516300fb18157b7c24cb761a48eefc441020a45 WHIRLPOOL ad58c41e71e005272ad393388b85ba929503ad91b393e3dab765e155c0871d4a7822d054a1a53cf0b1e9d44faa642d5a99899d89f850c8ae01b566f8cc8fc6cf -EBUILD radare2-9999.ebuild 666 SHA256 e8ab43a4f5887381d3d9d70442297185ff6785b5fe227bb87521b5d566d78bba SHA512 cafa5ff6e8d1c25371228260accf564ff3aaae72e0571a67070537aaa18add189eec8d257c238e39c4466b5b4324c34b6b846f157e96a0252c52fd062262179e WHIRLPOOL 8728c126d84b36b3f50b205c9b534dc3492f2450989937f09bd9c63f46cc92c237fd54e7c10737e36ce345efeee47ad4978be9f246f9af6f7d712c0ae3cfabc4 +EBUILD radare2-2.0.0.ebuild 1100 SHA256 509a02f4bbfe3b6a8947abe6cf0d5e97f3c828a991ed35ffe8e54a530f5abc6c SHA512 960f6846a24780b390e10f090c0678cd6c2295d9dcc4597d55972d158b580b05206b291e5608ee5452d5b269d0eed679b60ddf5d4a123fae7fab382c02fad9c3 WHIRLPOOL 79744466fa01042b680683ae643f195a2459e0c55b842eb681ab61f5518824da80aca11bc180fd329ff18cf751352aa37359efb3e9f7a59ab30e7c0953ba936d +EBUILD radare2-9999.ebuild 1100 SHA256 509a02f4bbfe3b6a8947abe6cf0d5e97f3c828a991ed35ffe8e54a530f5abc6c SHA512 960f6846a24780b390e10f090c0678cd6c2295d9dcc4597d55972d158b580b05206b291e5608ee5452d5b269d0eed679b60ddf5d4a123fae7fab382c02fad9c3 WHIRLPOOL 79744466fa01042b680683ae643f195a2459e0c55b842eb681ab61f5518824da80aca11bc180fd329ff18cf751352aa37359efb3e9f7a59ab30e7c0953ba936d MISC ChangeLog 4607 SHA256 0849da5ab6d072ad7593d03e9b9b22d917dd2595cfbf2c13f24428ad36d2dca0 SHA512 eed5b7c00d816f0704b108ab36b69cb017ee2db9765c1faec063d4cf1d7b51d707c6d3cd94e29b754327cf9a786aa8e2337e327e1fb2b2dcce2c295307bac9d2 WHIRLPOOL 164b4dc5cd791295f748fed843fc23bb2108da6bc7d844cf83e862536ede59edcabca277462a964ae14bb373328c77ccb3f01125dd3205d0843e589d45d094e2 MISC ChangeLog-2015 791 SHA256 4dd712e34e1b2e2ab9be03f8f9ad678dfd8e6a26da95bb9ae76c9a4f2d618430 SHA512 b618b8c70903664d4f78ce1318761460114c52a6b83320f22bef114988919a3c5a9961e01c16b40a1e0b063f4a4f7e367af93c9977dfb0c2d675e3c325541198 WHIRLPOOL 694b555dd75664961bee62ad4fe60394ad7a38e757c5d67218a174c46811557b10271575ee62c2be1617f3019b3e703dbcda281d159cb6d2c8af093ab1f60e9e MISC metadata.xml 472 SHA256 ca3ab277752c9a2b90825a7cdfbeb2860c69f67baa3eec158028d0c74c9e22b8 SHA512 110f9ec2d6dddd20703b9cf6ec8cd77e2459f67aca74065211dc30888cea9c9154128da8a2f15810063de9c4867e3e1a31658d3c5cb27be44824342784b67365 WHIRLPOOL 3c1f8372953016360880cf500de78526a1ece9b5386616e740fb91ca1790db56abac41da6665b4390ae024457af4e443cc95b1f259845975b8a2981dc3afbfd0 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 000000000000..cf3939d92997 --- /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 4c5adb60d123..cf3939d92997 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 +} -- cgit v1.2.3