diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-09-15 00:37:24 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-09-15 00:38:21 -0700 |
commit | e3ae62830a65b53e372ade3d464c99d810911708 (patch) | |
tree | d375e4a302e0586e28bc7a2c277d4318e1315efa /dev-util/bcc | |
parent | dev-lang/ruby: add 2.2.8, 2.3.5, 2.4.2; security bug 631034 (diff) | |
download | gentoo-e3ae62830a65b53e372ade3d464c99d810911708.tar.gz gentoo-e3ae62830a65b53e372ade3d464c99d810911708.tar.bz2 gentoo-e3ae62830a65b53e372ade3d464c99d810911708.zip |
dev-util/bcc: version bump to 0.3.0_p20170913
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-util/bcc')
-rw-r--r-- | dev-util/bcc/Manifest | 1 | ||||
-rw-r--r-- | dev-util/bcc/bcc-0.3.0_p20170913.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest index 6ba6ace6d73c..cb03ccd7aa47 100644 --- a/dev-util/bcc/Manifest +++ b/dev-util/bcc/Manifest @@ -1,3 +1,4 @@ DIST bcc-0.2.0.tar.gz 1195653 SHA256 8bdea41286dda0605e3e52fc76d345356dc637434935a112e6378e2dcb439a70 SHA512 edb696a5382e2f56d06e6b8b65c37b50e719da944fbce43cbad116c773e759fb51837d57ae3d159d83a489dfd0254b9f50b97dab7116465d57f787cf50d58808 WHIRLPOOL ffa4b47dbb16a73699176bd2926763588c6f5ed73052d58ce8f9c51af1eba82c73ac541458b34d6fbd8cd9b698b37bfedc9c9f312967ce639f45daf4789138b2 DIST bcc-0.3.0-llvm5-76887992d786064213af87694d2a21745e579338.patch 2600 SHA256 e7bf9b9b46a339431bf272a2f8d19c5977db69a36f1f374c73ef2f95a5d1a3a3 SHA512 1b5330a5a8bb8d7152130e5f2acbd5b3f7cad42cc519ff51312792d529a37eae76881eb1fae74c637de4fab35b5a0d33df7ca2bb55e65daac6b54b08c7037286 WHIRLPOOL 841628d3525429f00dc0a767e9a953702bbaf20fd6a8164d9bf3ee909272ca25a700c965fdb0fcb8de99a43b8d8de9eb8414caaf84239e31f55809d120bf7e6e DIST bcc-0.3.0.tar.gz 1645152 SHA256 88f54dff96c30c6e7b45f475938eef790b1c9485f794b1ac6791c4e56007f7cc SHA512 e5a0f9ad1b0ba865b5644a5a4a0ad130708aac882239ed545bcfd74a5d80328361bc92287bad5569710849682501841e89279089efc71a97da4e02bfc709b916 WHIRLPOOL fb06e4bd7e5ffbee104b5ad4d6e6a9004fc77dccf9f9cdebfa16741c899ce16c0154d6700f9eb6f8754c90da69eeb17ac9a3e878b5f75965dbccd13f6ad35abb +DIST bcc-0.3.0_p20170913.tar.gz 1736513 SHA256 9d6357b50f64d2b0ef2ab4d2ae50397b9cd42eaaff766066e42c50b4b9588b29 SHA512 8298d98fcadc95a2f5f27e1f656f392634c0940cf6ea03f432135477790e770f58dc3e3e0b434391eff8d4e3df6671c250252a29a7344c6adf7606251daef4dd WHIRLPOOL e9a6b9a1aac158ea8fa012a88acd2c5027f8cc44305dc1c135326a8f40d21e81db1382a34fb7f8cab6922845bc7d7867a8fa094e21d03bbb5d7985592f8112e2 diff --git a/dev-util/bcc/bcc-0.3.0_p20170913.ebuild b/dev-util/bcc/bcc-0.3.0_p20170913.ebuild new file mode 100644 index 000000000000..1aaafa79153e --- /dev/null +++ b/dev-util/bcc/bcc-0.3.0_p20170913.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit cmake-utils linux-info python-single-r1 python-utils-r1 + +DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" +HOMEPAGE="https://iovisor.github.io/bcc/" +EGIT_COMMIT="488c119ee7aa7598c11be876acd6761342874e68" +SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +RESTRICT="test" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=dev-libs/elfutils-0.166:= + sys-devel/clang:= + >=sys-devel/llvm-3.7:=[llvm_targets_BPF(+)] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${PN}-${EGIT_COMMIT#v} + +pkg_pretend() { + local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF + ~BPF_JIT ~BPF_EVENTS" + + check_extra_config +} + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DREVISION=${PV%%_*} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + python_fix_shebang "${ED}" +} |