From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbpf/
Date: Tue, 4 Oct 2022 15:42:33 +0000 (UTC) [thread overview]
Message-ID: <1664898146.2629b257e09b1ae0f125245a5c420a9581192062.jsmolic@gentoo> (raw)
commit: 2629b257e09b1ae0f125245a5c420a9581192062
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 15:42:00 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 15:42:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2629b257
dev-libs/libbpf: add 1.0.1
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-libs/libbpf/Manifest | 1 +
dev-libs/libbpf/libbpf-1.0.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-libs/libbpf/Manifest b/dev-libs/libbpf/Manifest
index 5b6a9968ec19..b85f89ec35a3 100644
--- a/dev-libs/libbpf/Manifest
+++ b/dev-libs/libbpf/Manifest
@@ -1,2 +1,3 @@
DIST libbpf-0.8.1.tar.gz 942702 BLAKE2B 084be7d4258500fa894560ed2e52821addcc5d150dcd77fd646271b614d788b7931271be9c3e46fdbc4ed93d053ea3e09023158a8e4a31f9452d10dcb0677b58 SHA512 e3bb602f55215a4f030e564af7321ba6338937c426fcaee478b607f88b0c773c40a0c3f59a2b345bda951a19e79061733f8a3fdc10a6292e92782e65754b584a
DIST libbpf-1.0.0.tar.gz 917108 BLAKE2B 5bde5a9147330f11dcf1e37aace971624293aae3914459a6b8be327530fa2c2774edaf1b798225ade2771edd88bddc2a74d7f523791f83558417b759eb417f7a SHA512 e99aea1ff477114549b41c272a975169a79ffc1daf4bcaba586cd13d0fc0b23c336cb406fd8e64b73350fe16e2d423fa68a29601d15e2477955c7a92358fb7f8
+DIST libbpf-1.0.1.tar.gz 917269 BLAKE2B 24e43f9a2b20e6f708b74ff50c8ce243546681201b1d72d6b35a95dd85b59032069814792739d3b2a6adaa007958a142a687e901e36a193fd02cdca69926d08f SHA512 2ee6d85c0a33f723e5b93ddddf97118e67754c9e44ca0449ceb49126820f89fea9ddc282a5add764dc4da090af6164cc6641b497489253d192ed01bc397df9be
diff --git a/dev-libs/libbpf/libbpf-1.0.1.ebuild b/dev-libs/libbpf/libbpf-1.0.1.ebuild
new file mode 100644
index 000000000000..d106d0c7a863
--- /dev/null
+++ b/dev-libs/libbpf/libbpf-1.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+if [[ ${PV} =~ [9]{4,} ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/libbpf/libbpf.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+S="${WORKDIR}/${P}/src"
+
+DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
+HOMEPAGE="https://github.com/libbpf/libbpf"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="static-libs"
+
+DEPEND="
+ sys-kernel/linux-headers
+ virtual/libelf"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/libbpf-9999-paths.patch
+)
+
+src_configure() {
+ append-cflags -fPIC
+ tc-export CC AR
+ export LIBSUBDIR="$(get_libdir)"
+ export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ export V=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ install install_uapi_headers
+
+ if ! use static-libs; then
+ find "${ED}" -name '*.a' -delete || die
+ fi
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc
+}
next reply other threads:[~2022-10-04 15:42 UTC|newest]
Thread overview: 149+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 15:42 Jakov Smolić [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-17 13:14 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbpf/ Arthur Zamarin
2025-01-06 9:27 Sam James
2024-12-09 12:36 Arthur Zamarin
2024-12-09 12:36 Arthur Zamarin
2024-12-09 12:36 Arthur Zamarin
2024-11-11 22:25 Sam James
2024-11-02 10:01 Arthur Zamarin
2024-11-02 10:00 Arthur Zamarin
2024-11-02 10:00 Arthur Zamarin
2024-07-11 22:05 Patrick McLean
2024-07-11 22:05 Patrick McLean
2024-06-25 16:53 Jakov Smolić
2024-06-18 18:55 Jakov Smolić
2024-05-24 18:26 Patrick McLean
2024-04-05 23:17 Patrick McLean
2024-04-05 23:17 Patrick McLean
2024-01-10 15:03 Sam James
2024-01-08 21:10 Arthur Zamarin
2024-01-08 21:10 Arthur Zamarin
2024-01-08 7:53 Sam James
2024-01-08 7:53 Sam James
2024-01-08 7:53 Sam James
2023-12-23 18:45 Jakov Smolić
2023-11-27 23:29 Patrick McLean
2023-11-27 23:22 Patrick McLean
2023-10-04 18:32 Arthur Zamarin
2023-10-03 23:04 Sam James
2023-10-03 22:45 Sam James
2023-10-03 22:41 Sam James
2023-10-03 22:40 Sam James
2023-10-03 22:39 Sam James
2023-10-03 22:39 Sam James
2023-08-27 10:44 Jakov Smolić
2023-08-27 10:42 Jakov Smolić
2023-08-02 22:08 Sam James
2023-07-11 23:55 Patrick McLean
2023-07-10 22:27 Patrick McLean
2023-06-09 17:05 Arthur Zamarin
2023-06-09 16:35 Arthur Zamarin
2023-06-09 16:13 Arthur Zamarin
2023-06-09 15:27 Arthur Zamarin
2023-06-09 14:29 Sam James
2023-05-02 17:10 Patrick McLean
2023-04-03 7:33 Jakov Smolić
2023-03-29 14:36 Sam James
2023-03-29 14:33 Sam James
2023-03-29 14:33 Sam James
2023-03-29 14:33 Sam James
2023-03-29 14:33 Sam James
2023-03-29 13:41 Sam James
2023-03-29 13:41 Sam James
2023-01-25 6:44 Jakov Smolić
2023-01-05 5:21 Sam James
2022-12-24 8:17 Sam James
2022-12-24 7:18 Sam James
2022-12-24 7:11 Sam James
2022-09-25 1:27 Sam James
2022-08-22 20:38 Patrick McLean
2022-08-22 20:38 Patrick McLean
2022-08-21 14:57 Jakov Smolić
2022-08-16 16:41 Arthur Zamarin
2022-08-16 16:41 Arthur Zamarin
2022-08-16 16:41 Arthur Zamarin
2022-08-16 16:41 Arthur Zamarin
2022-08-16 16:41 Arthur Zamarin
2022-08-16 15:07 Sam James
2022-08-16 15:07 Sam James
2022-07-14 23:02 Patrick McLean
2022-06-27 17:32 Jakov Smolić
2022-06-22 13:25 Agostino Sarubbo
2022-06-22 13:23 Agostino Sarubbo
2022-06-22 10:13 Agostino Sarubbo
2022-06-21 18:30 Arthur Zamarin
2022-06-21 16:18 Jakov Smolić
2022-06-21 16:07 Jakov Smolić
2022-06-21 15:25 Agostino Sarubbo
2022-05-16 22:58 Patrick McLean
2022-05-04 8:16 WANG Xuerui
2022-05-04 8:16 WANG Xuerui
2022-03-15 18:01 Jakov Smolić
2022-03-15 11:27 Jakov Smolić
2022-03-07 14:33 Jakov Smolić
2022-03-07 7:28 Agostino Sarubbo
2022-03-07 7:26 Agostino Sarubbo
2022-03-07 3:56 Sam James
2022-03-07 3:56 Sam James
2022-03-06 23:52 Sam James
2022-02-11 19:42 Jakov Smolić
2022-01-14 9:55 Jakov Smolić
2022-01-13 18:29 Arthur Zamarin
2022-01-13 18:29 Arthur Zamarin
2022-01-13 0:34 Sam James
2022-01-13 0:33 Sam James
2022-01-13 0:32 Sam James
2022-01-13 0:32 Sam James
2022-01-12 11:41 Jakov Smolić
2022-01-05 19:19 Jakov Smolić
2022-01-05 11:20 Sam James
2022-01-04 20:48 Sam James
2022-01-04 20:48 Sam James
2022-01-04 20:48 Sam James
2022-01-04 20:47 Sam James
2022-01-04 18:09 Jakov Smolić
2021-12-12 17:57 Jakov Smolić
2021-12-02 2:01 Patrick McLean
2021-11-29 11:46 Jakov Smolić
2021-11-17 10:52 Sam James
2021-11-16 2:53 Sam James
2021-11-10 16:47 Sam James
2021-11-10 6:03 Arthur Zamarin
2021-11-10 4:15 Sam James
2021-11-09 22:05 Jakov Smolić
2021-11-09 15:04 Jakov Smolić
2021-11-07 20:59 Jakov Smolić
2021-11-07 20:59 Jakov Smolić
2021-09-21 0:37 Patrick McLean
2021-09-21 0:37 Patrick McLean
2021-09-21 0:37 Patrick McLean
2021-08-11 23:13 Sam James
2021-08-11 0:24 Sam James
2021-08-11 0:12 Sam James
2021-08-11 0:02 Sam James
2021-08-10 15:36 Agostino Sarubbo
2021-07-25 3:36 Matt Turner
2021-05-25 18:36 Patrick McLean
2021-05-23 0:35 Joshua Kinard
2021-04-01 9:11 Yixun Lan
2021-02-25 22:20 Sergei Trofimovich
2021-02-25 8:41 Sergei Trofimovich
2021-02-25 8:27 Sergei Trofimovich
2021-02-25 8:03 Sergei Trofimovich
2021-02-25 8:00 Sergei Trofimovich
2021-02-24 23:30 Sam James
2021-02-24 16:24 Sam James
2021-01-04 21:36 Patrick McLean
2020-10-30 21:13 Patrick McLean
2020-10-02 18:49 Patrick McLean
2020-08-25 0:11 Patrick McLean
2020-08-25 0:11 Patrick McLean
2020-08-25 0:11 Patrick McLean
2020-06-25 17:09 Patrick McLean
2020-06-19 23:22 Patrick McLean
2020-04-21 17:55 Patrick McLean
2020-04-01 17:37 Patrick McLean
2019-12-11 3:05 Patrick McLean
2019-07-24 17:23 Patrick McLean
2019-05-21 14:06 Stephen Klimaszewski
2019-03-12 6:18 Patrick McLean
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=1664898146.2629b257e09b1ae0f125245a5c420a9581192062.jsmolic@gentoo \
--to=jsmolic@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