summaryrefslogtreecommitdiff
path: root/dev-util/dwarves
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/dwarves
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/dwarves')
-rw-r--r--dev-util/dwarves/Manifest9
-rw-r--r--dev-util/dwarves/dwarves-1.10_p20140618.ebuild44
-rw-r--r--dev-util/dwarves/dwarves-1.10_p20160519.ebuild44
-rw-r--r--dev-util/dwarves/dwarves-1.10_p20160630.ebuild44
-rw-r--r--dev-util/dwarves/dwarves-9999.ebuild39
-rw-r--r--dev-util/dwarves/files/dwarves-1.10-python-import.patch15
-rw-r--r--dev-util/dwarves/metadata.xml16
7 files changed, 211 insertions, 0 deletions
diff --git a/dev-util/dwarves/Manifest b/dev-util/dwarves/Manifest
new file mode 100644
index 000000000000..9ff1d5bfa767
--- /dev/null
+++ b/dev-util/dwarves/Manifest
@@ -0,0 +1,9 @@
+AUX dwarves-1.10-python-import.patch 399 BLAKE2B 7abd98ec5711ec4ce9230a2d0bb06328174a4a67b62ba14b2413b83b6d44676d372930d4796b9ece230c4de9185d35cb31a086ca340871e50e29d584ab9a7487 SHA512 c2f5c1e99ef2ffeaf0e7962cbdf28817f6896b27ff6894571823c81ba08b9e9440af1a5b6ad82770b8e8d6ec99ec2ef8f46a98b67fea7cd4ed7e8c22e716e314
+DIST dwarves-1.10_p20140618.tar.xz 105912 BLAKE2B f1dd0a2206c09a259f1efde86bbaf946dcee92c680f59102059fbe770b1d4fb3776effabd096a7b94e068fa9ef1ea0947f489add2e5171db1ee3e325a507ef95 SHA512 522a6d674da5cc2316c180bcb4e90419d5811ff34e6aeeef875950dbcc4c12ea5a133d159360629d687f93ae2db622bb87d9b94a747aade90a61b239b9137a2c
+DIST dwarves-1.10_p20160519.tar.xz 106532 BLAKE2B f8bcd60fb65a9905fe8027431e38f594bba0d944c8a2ef0b25d078980773a6ffc6882b045783c63f089f605b9dc7b17c44758b24accacad563e4fe0cc235b39e SHA512 74797e934db900e78235705f70de45667e4ba7f56c0b7454d148365b8c87b617dcbf07fa12bdfdcaa2c129cd2111b029b458e71f77261b237de46fc2759a37da
+DIST dwarves-1.10_p20160630.tar.xz 106700 BLAKE2B 002c3c7e3d94dbfa199d78ae8be5a2cd4d95dab69e542c9fda6660aeae4e183bd0eee8926a5d1c54d58eb75538e35ae16ddf78e071714d0ab08444abebb8252e SHA512 f33ffbca0ef0dd89add5275c01a35e7c6298c4dae73be9c197887c54608ffb0edb95b8792f8a51ab29d80051682752d6f1c2596a486f61bc18e6cd47e2b7e4b0
+EBUILD dwarves-1.10_p20140618.ebuild 1038 BLAKE2B 4b7554e6e3430285a0ee841ae2468a30b66f69f391c3246bae594b91fe920627cee83499441eaad5d882d42613a900bf1ea9131fa0f6de19194426056c8119c8 SHA512 6cc3333ecaf75f0cf910f2c364d56eace6c7ea89b52377a4d79275e485e01398745d5ac45cf0201a4cf3215b6a57d53b3e8a96dc0a65b2cc5b4e864824b11637
+EBUILD dwarves-1.10_p20160519.ebuild 1038 BLAKE2B 810faad7bd8ef2a477a44afd3fdce7f28b4ee152ccd2b254ce16ed4a3aea048d319c00e4dc49efe5d1c9633dac6521a024c6b59af5bdab5816f53ed721038b62 SHA512 b639ba81e22f559b1547e78ca1ec945471b946050f6a61892321403c4e283388067a4870835bf8a8fccc0b0367f2e14c192642ff210530604945662c91840f26
+EBUILD dwarves-1.10_p20160630.ebuild 1038 BLAKE2B 810faad7bd8ef2a477a44afd3fdce7f28b4ee152ccd2b254ce16ed4a3aea048d319c00e4dc49efe5d1c9633dac6521a024c6b59af5bdab5816f53ed721038b62 SHA512 b639ba81e22f559b1547e78ca1ec945471b946050f6a61892321403c4e283388067a4870835bf8a8fccc0b0367f2e14c192642ff210530604945662c91840f26
+EBUILD dwarves-9999.ebuild 926 BLAKE2B 6f6bff98a7f3e0463f5a89a27cec543122f9857468ab263e5027a8a4fafa5f4a9c46eedd53da7b9c0bfabfc788538ff738acdb748c1045a33ba6a024be6d24ef SHA512 dbed04e6cf4e2c5f0aed91ba35c299ad88f1a3bbf95f278ce48c4ee1b34751f6246f73d6fabc207fc83d6d4b28918c549634bffd1e621da2cb7e8a26d9f58ab9
+MISC metadata.xml 671 BLAKE2B 78a2fa86c0acc136403b1477db4e2deb3bde1ceed636ced96705cdaccb7e42f76e8fbd202c3fa258c1f33b14827f95b5ce343f8f4df981be66e0ad3a8dd226b8 SHA512 0cdd2c3e4e76a9017120a409aec1f70327363ee146e5fb74684d0e08e2836f0079cb97be1c4874445b271b98c13daf04f75ee481ef21607aac8976a78437af11
diff --git a/dev-util/dwarves/dwarves-1.10_p20140618.ebuild b/dev-util/dwarves/dwarves-1.10_p20140618.ebuild
new file mode 100644
index 000000000000..eb68a1845533
--- /dev/null
+++ b/dev-util/dwarves/dwarves-1.10_p20140618.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit multilib cmake-utils python-single-r1
+
+DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities"
+HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
+
+LICENSE="GPL-2" # only
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/elfutils-0.131
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+if [[ ${PV//_p} == ${PV} ]]; then
+ SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.bz2"
+ S=${WORKDIR}
+else
+ SRC_URI="https://dev.gentoo.org/~flameeyes/${PN}/${P}.tar.xz"
+fi
+
+DOCS=( README README.ctracer NEWS )
+PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch )
+
+src_configure() {
+ local mycmakeargs=( "-D__LIB=$(get_libdir)" )
+ cmake-utils_src_configure
+}
+
+src_test() { :; }
+
+src_install() {
+ cmake-utils_src_install
+ python_fix_shebang "${D}"/usr/bin/ostra-cg \
+ "${D}"/usr/share/dwarves/runtime/python/ostra.py
+}
diff --git a/dev-util/dwarves/dwarves-1.10_p20160519.ebuild b/dev-util/dwarves/dwarves-1.10_p20160519.ebuild
new file mode 100644
index 000000000000..b9cd76e48e45
--- /dev/null
+++ b/dev-util/dwarves/dwarves-1.10_p20160519.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit multilib cmake-utils python-single-r1
+
+DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities"
+HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
+
+LICENSE="GPL-2" # only
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/elfutils-0.131
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+if [[ ${PV//_p} == ${PV} ]]; then
+ SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.bz2"
+ S=${WORKDIR}
+else
+ SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz"
+fi
+
+DOCS=( README README.ctracer NEWS )
+PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch )
+
+src_configure() {
+ local mycmakeargs=( "-D__LIB=$(get_libdir)" )
+ cmake-utils_src_configure
+}
+
+src_test() { :; }
+
+src_install() {
+ cmake-utils_src_install
+ python_fix_shebang "${D}"/usr/bin/ostra-cg \
+ "${D}"/usr/share/dwarves/runtime/python/ostra.py
+}
diff --git a/dev-util/dwarves/dwarves-1.10_p20160630.ebuild b/dev-util/dwarves/dwarves-1.10_p20160630.ebuild
new file mode 100644
index 000000000000..b9cd76e48e45
--- /dev/null
+++ b/dev-util/dwarves/dwarves-1.10_p20160630.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit multilib cmake-utils python-single-r1
+
+DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities"
+HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
+
+LICENSE="GPL-2" # only
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/elfutils-0.131
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+if [[ ${PV//_p} == ${PV} ]]; then
+ SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.bz2"
+ S=${WORKDIR}
+else
+ SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz"
+fi
+
+DOCS=( README README.ctracer NEWS )
+PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch )
+
+src_configure() {
+ local mycmakeargs=( "-D__LIB=$(get_libdir)" )
+ cmake-utils_src_configure
+}
+
+src_test() { :; }
+
+src_install() {
+ cmake-utils_src_install
+ python_fix_shebang "${D}"/usr/bin/ostra-cg \
+ "${D}"/usr/share/dwarves/runtime/python/ostra.py
+}
diff --git a/dev-util/dwarves/dwarves-9999.ebuild b/dev-util/dwarves/dwarves-9999.ebuild
new file mode 100644
index 000000000000..a82314e5ae50
--- /dev/null
+++ b/dev-util/dwarves/dwarves-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/devel/pahole/pahole.git"
+
+PYTHON_COMPAT=( python2_7 )
+inherit multilib cmake-utils git-2 python-single-r1
+
+DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities"
+HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
+
+LICENSE="GPL-2" # only
+SLOT="0"
+KEYWORDS=""
+IUSE="debug"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/elfutils-0.131
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+DOCS=( README README.ctracer NEWS )
+PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch )
+
+src_configure() {
+ local mycmakeargs=( "-D__LIB=$(get_libdir)" )
+ cmake-utils_src_configure
+}
+
+src_test() { :; }
+
+src_install() {
+ cmake-utils_src_install
+ python_fix_shebang "${D}"/usr/bin/ostra-cg \
+ "${D}"/usr/share/dwarves/runtime/python/ostra.py
+}
diff --git a/dev-util/dwarves/files/dwarves-1.10-python-import.patch b/dev-util/dwarves/files/dwarves-1.10-python-import.patch
new file mode 100644
index 000000000000..e308ac6e2788
--- /dev/null
+++ b/dev-util/dwarves/files/dwarves-1.10-python-import.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/show_bug.cgi?id=423817
+
+--- dwarves-1.10/ostra/ostra-cg
++++ dwarves-1.10/ostra/ostra-cg
+@@ -10,7 +10,9 @@
+ # under the terms of version 2 of the GNU General Public License as
+ # published by the Free Software Foundation.
+
+-import sys, datetime, os, ostra
++import sys
++sys.path.insert(0, "/usr/share/dwarves/runtime/python")
++import datetime, os, ostra
+
+ class_def = None
+
diff --git a/dev-util/dwarves/metadata.xml b/dev-util/dwarves/metadata.xml
new file mode 100644
index 000000000000..28be736073c3
--- /dev/null
+++ b/dev-util/dwarves/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zzam@gentoo.org</email>
+ <name>Matthias Schwarzott</name>
+ </maintainer>
+ <longdescription lang="en">
+ The more-than-seven dwarves is a collection of tools that allows
+ to inspect and query the DWARF2 information present in ELF files
+ built with full debug information. These tools include pahole
+ (Poke-a-hole) and codiff, and were originally designed to inspect
+ the Linux kernel and its modules, but can be used in for
+ user-space software too.
+ </longdescription>
+</pkgmetadata>