From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bcc/
Date: Wed, 13 Mar 2019 21:12:43 +0000 (UTC) [thread overview]
Message-ID: <1552511545.bf4fceea4680d3e25627149c1b0ffba102e2ab33.chutzpah@gentoo> (raw)
commit: bf4fceea4680d3e25627149c1b0ffba102e2ab33
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Mar 13 21:12:07 2019 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 21:12:25 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4fceea
dev-util/bcc: Make 0.9.0 work with <5.0 kernels, add maintainer
The 0.9.0 release requires bpf.h from 5.0 kernels to compile, but will
otherwise work on 4.18+ kernels. This adds a patch that just patches in
the 5.0 version of bpf.h when linux-headers is less than 5.0.
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-util/bcc/Manifest | 1 +
dev-util/bcc/bcc-0.9.0-r1.ebuild | 11 ++++++++++-
dev-util/bcc/metadata.xml | 3 +++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest
index a4b0f0db8d9..136c3b7aa67 100644
--- a/dev-util/bcc/Manifest
+++ b/dev-util/bcc/Manifest
@@ -1,3 +1,4 @@
DIST bcc-0.6.0.tar.gz 1986593 BLAKE2B 514c2c781eb94d99560232d8050b5664ce3565622b236e78cd111be27b3482849965600a1d574f59243917672f00bb3cef65cab63103f6c4a5cf62024c683d9b SHA512 1a8edf6da22f3119a74cf43f03ec83b97ed2f6fc18828d750d8a695ac1451b6b3209e5d2cf48bc87f53fa9447e8813a018a58d31588d477e4aa364a2d0217e80
DIST bcc-0.7.0.tar.gz 2009289 BLAKE2B 370b553521289d983d1165633e76a5e405250b9b09dbf3e78c127d232908e73facce06097ce4dbf0bbccda929b6715a9b7460affe123556087c8ca00b8d62c0b SHA512 ebe6c4cbecba2d587c69af71ddc8cb451b2b8e1d49ef887f291c813320c2c60d49357500fc2751d5b418df2be1d02763c385d89de6efa6e10f049c25acf01b4e
+DIST bcc-0.9.0-linux-5-bpf.patch.xz 28524 BLAKE2B f0369e50eabd7b1eb9a492b9652cd7647c7c7fda3b01db1e7f2bf716e76357d07d67193b31189b98309e26895ac3dd5c755d4cef6bc592e4674f40710c33539c SHA512 fc5b828a5826da2cf1e1a76758c635f5443d202aecbe3f269d78abcaa0117ad7658bea6c43e7b60e1ecc6bcc65bd19b100217758a1203d278ddb03c5837c43f1
DIST bcc-0.9.0.tar.gz 2036984 BLAKE2B cebbeb57f06af90442d28be1633a54c198bf796786c4fcca3a83dea03bc76949f958dd24f7d85feb2e3402576410f965754f3d031076486b7d378493c56035e8 SHA512 373080181380ec3bcb13469e29ff1f792e924a2df00a614da4647ed54060ad216525dd0f49c5d0afba7946a6d2f4e3475af97250a33db825945af3d165294091
diff --git a/dev-util/bcc/bcc-0.9.0-r1.ebuild b/dev-util/bcc/bcc-0.9.0-r1.ebuild
index 421f8729ea5..f23a490a902 100644
--- a/dev-util/bcc/bcc-0.9.0-r1.ebuild
+++ b/dev-util/bcc/bcc-0.9.0-r1.ebuild
@@ -10,7 +10,8 @@ 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="v${PV}"
-SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/bcc-0.9.0-linux-5-bpf.patch.xz"
RESTRICT="test"
LICENSE="Apache-2.0"
@@ -49,6 +50,14 @@ pkg_setup() {
python-single-r1_pkg_setup
}
+src_prepare() {
+ # needs bpf.h from linux-5.0 to build
+ has_version '>=sys-kernel/linux-headers-5.0' || \
+ eapply "${WORKDIR}/bcc-0.9.0-linux-5-bpf.patch"
+
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DREVISION=${PV%%_*}
diff --git a/dev-util/bcc/metadata.xml b/dev-util/bcc/metadata.xml
index 43eb746c3b0..4611e015755 100644
--- a/dev-util/bcc/metadata.xml
+++ b/dev-util/bcc/metadata.xml
@@ -4,6 +4,9 @@
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ </maintainer>
<upstream>
<remote-id type="github">iovisor/bcc</remote-id>
</upstream>
next reply other threads:[~2019-03-13 21:12 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-13 21:12 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-25 22:21 [gentoo-commits] repo/gentoo:master commit in: dev-util/bcc/ Sam James
2024-09-11 15:30 Mike Gilbert
2024-09-10 19:00 Patrick McLean
2024-04-02 16:32 Patrick McLean
2024-03-25 21:29 Patrick McLean
2024-03-17 6:27 Ionen Wolkens
2024-03-15 16:17 Zac Medico
2024-02-04 13:37 Jakov Smolić
2023-12-23 18:45 Jakov Smolić
2023-12-08 18:25 Patrick McLean
2023-12-08 18:25 Patrick McLean
2023-12-07 18:16 Patrick McLean
2023-06-28 21:00 Patrick McLean
2023-04-05 21:31 Patrick McLean
2023-04-03 23:33 Patrick McLean
2023-03-19 17:34 Michał Górny
2023-01-05 0:33 Sam James
2023-01-03 22:08 Patrick McLean
2023-01-03 14:15 David Seifert
2022-08-12 1:53 Yixun Lan
2022-06-27 17:32 Jakov Smolić
2022-04-18 17:34 Patrick McLean
2022-02-11 19:53 Jakov Smolić
2022-01-15 2:36 Patrick McLean
2022-01-14 18:54 Patrick McLean
2022-01-14 18:54 Patrick McLean
2022-01-14 10:26 Jakov Smolić
2022-01-06 18:50 Patrick McLean
2021-12-05 3:26 Sam James
2021-12-02 22:04 Patrick McLean
2021-12-02 7:20 Patrick McLean
2021-12-02 7:03 Patrick McLean
2021-12-02 2:09 Patrick McLean
2021-11-07 20:59 Jakov Smolić
2021-11-07 20:59 Jakov Smolić
2021-11-07 20:59 Jakov Smolić
2021-11-07 20:59 Jakov Smolić
2021-11-07 20:59 Jakov Smolić
2021-10-21 4:16 Sam James
2021-09-21 0:37 Patrick McLean
2021-06-08 17:14 Patrick McLean
2021-06-08 17:14 Patrick McLean
2021-06-03 0:59 Patrick McLean
2021-05-09 18:03 Patrick McLean
2021-03-20 7:00 Patrick McLean
2021-01-06 2:29 Patrick McLean
2021-01-05 18:15 Patrick McLean
2020-11-17 4:49 Patrick McLean
2020-11-17 4:49 Patrick McLean
2020-10-30 21:13 Patrick McLean
2020-08-25 14:25 Patrick McLean
2020-08-25 3:01 Patrick McLean
2020-08-25 0:11 Patrick McLean
2020-06-25 17:14 Zac Medico
2020-06-19 23:22 Patrick McLean
2020-03-12 3:06 Zac Medico
2020-02-20 19:01 Patrick McLean
2020-02-10 11:54 Michał Górny
2019-12-29 9:56 David Seifert
2019-12-11 23:42 Patrick McLean
2019-12-11 3:05 Patrick McLean
2019-10-03 21:29 Patrick McLean
2019-10-03 18:56 Patrick McLean
2019-05-21 16:45 Stephen Klimaszewski
2019-03-12 6:38 Patrick McLean
2018-12-30 7:23 Zac Medico
2018-11-21 5:05 Zac Medico
2018-07-08 8:39 Zac Medico
2018-05-29 0:30 Zac Medico
2018-05-28 20:39 Richard Yao
2018-05-28 18:01 Richard Yao
2018-05-27 22:50 Richard Yao
2018-05-27 21:38 Richard Yao
2018-01-02 1:51 Zac Medico
2018-01-02 1:04 Zac Medico
2017-12-14 19:08 Zac Medico
2017-10-27 18:00 Zac Medico
2017-10-27 17:58 Zac Medico
2017-09-15 7:38 Zac Medico
2017-09-13 21:33 Zac Medico
2017-03-19 21:53 Zac Medico
2017-03-19 21:53 Zac Medico
2016-11-02 20:01 Zac Medico
2016-11-01 16:13 Zac Medico
2016-11-01 16:01 Zac Medico
2016-11-01 16:01 Zac Medico
2016-10-01 13:06 Michał Górny
2016-09-16 18:58 Zac Medico
2016-08-24 16:11 Zac Medico
2016-08-24 16:07 Zac Medico
2016-05-23 17:46 Zac Medico
2016-05-23 17:46 Zac Medico
2016-04-11 7:28 Zac Medico
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=1552511545.bf4fceea4680d3e25627149c1b0ffba102e2ab33.chutzpah@gentoo \
--to=chutzpah@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