* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2020-03-24 16:37 Michał Górny
0 siblings, 0 replies; 7+ messages in thread
From: Michał Górny @ 2020-03-24 16:37 UTC (permalink / raw
To: gentoo-commits
commit: b84635ee1ae024aa2a69e7c11b84a62f73e4ed12
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Fri Mar 20 13:10:06 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 13:11:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b84635ee
dev-util/xdp-tools: Utilities and example programs for use with XDP (new package)
This package contains a collection of utilities and example code to be used with
the eXpress Data Path facility of the Linux kernel.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
dev-util/xdp-tools/Manifest | 1 +
dev-util/xdp-tools/metadata.xml | 12 ++++++++
dev-util/xdp-tools/xdp-tools-0.0.2.ebuild | 48 +++++++++++++++++++++++++++++++
3 files changed, 61 insertions(+)
diff --git a/dev-util/xdp-tools/Manifest b/dev-util/xdp-tools/Manifest
new file mode 100644
index 0000000..b3dd09c
--- /dev/null
+++ b/dev-util/xdp-tools/Manifest
@@ -0,0 +1 @@
+DIST xdp-tools-0.0.2.tar.gz 288960 BLAKE2B 0ff03200b288819b5180f55129494534f5ca09be5bb9bd167a022501dd63104251047d514a42dca905cb6879c55a20ec40b6f8d6828ac7559066fc3867f6ade9 SHA512 00455d77e2354b48f342d795d2141ae38b39137981e4a232971b6755e9b1c397db65c498817bbdf76946cc0d825c01e9b866ed504395f76be02f65625adc1bb9
diff --git a/dev-util/xdp-tools/metadata.xml b/dev-util/xdp-tools/metadata.xml
new file mode 100644
index 0000000..f793e24
--- /dev/null
+++ b/dev-util/xdp-tools/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kurt@kmk-computers.de</email>
+ <name>Kurt Kanzenbach</name>
+ </maintainer>
+ <longdescription>
+ This package contains a collection of utilities and example code to be used
+ with the eXpress Data Path facility of the Linux kernel.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-util/xdp-tools/xdp-tools-0.0.2.ebuild b/dev-util/xdp-tools/xdp-tools-0.0.2.ebuild
new file mode 100644
index 0000000..4e71ce2
--- /dev/null
+++ b/dev-util/xdp-tools/xdp-tools-0.0.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info
+
+DESCRIPTION="Utilities and example programs for use with XDP"
+HOMEPAGE="https://github.com/xdp-project/xdp-tools"
+SRC_URI="https://github.com/xdp-project/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+# skip strip for eBPF object files
+RESTRICT="strip"
+
+# skip QA check(s) for eBPF samples
+QA_EXECSTACK="usr/lib/bpf/*.o"
+
+# XDP should be enabled
+CONFIG_CHECK="~XDP_SOCKETS"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ >=dev-libs/libbpf-0.0.7
+ virtual/libelf
+"
+DEPEND="${RDEPEND}
+ >=sys-devel/clang-9.0.0
+ >=sys-devel/llvm-9.0.0
+"
+
+src_configure() {
+ ./configure
+}
+
+src_compile() {
+ emake PRODUCTION=1 PREFIX=/usr all
+}
+
+src_install() {
+ emake PRODUCTION=1 PREFIX=/usr DESTDIR="${D}" install
+ doman xdp-filter/xdp-filter.8
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2020-04-11 8:05 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2020-04-11 8:05 UTC (permalink / raw
To: gentoo-commits
commit: ffc12d80175442a90f1aed89f3d7ac4a9455aeb2
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Fri Apr 10 14:46:11 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 10 14:46:52 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffc12d80
dev-util/xdp-tools: Drop old
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
dev-util/xdp-tools/Manifest | 1 -
dev-util/xdp-tools/xdp-tools-0.0.2.ebuild | 48 -------------------------------
2 files changed, 49 deletions(-)
diff --git a/dev-util/xdp-tools/Manifest b/dev-util/xdp-tools/Manifest
index a3a4b83..1ce4a87 100644
--- a/dev-util/xdp-tools/Manifest
+++ b/dev-util/xdp-tools/Manifest
@@ -1,2 +1 @@
-DIST xdp-tools-0.0.2.tar.gz 288960 BLAKE2B 0ff03200b288819b5180f55129494534f5ca09be5bb9bd167a022501dd63104251047d514a42dca905cb6879c55a20ec40b6f8d6828ac7559066fc3867f6ade9 SHA512 00455d77e2354b48f342d795d2141ae38b39137981e4a232971b6755e9b1c397db65c498817bbdf76946cc0d825c01e9b866ed504395f76be02f65625adc1bb9
DIST xdp-tools-0.0.3.tar.gz 381386 BLAKE2B 1160d9a7cc2b6cf7b49e7223acdbeba72046c00ec710c21140da0607cac1e8a1231992a8967b2f8f2a964da593dfe0af08b28abbc3b13818ddafebbc2c3961a7 SHA512 c2a4278db41af020cf42b1139c93786a49ad2a071b2002177ac39e8d6b74203d251bd7823399d9e156c969d2ae741b0ecd4178edf446fe5c7270e53295458fce
diff --git a/dev-util/xdp-tools/xdp-tools-0.0.2.ebuild b/dev-util/xdp-tools/xdp-tools-0.0.2.ebuild
deleted file mode 100644
index 4e71ce2..0000000
--- a/dev-util/xdp-tools/xdp-tools-0.0.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info
-
-DESCRIPTION="Utilities and example programs for use with XDP"
-HOMEPAGE="https://github.com/xdp-project/xdp-tools"
-SRC_URI="https://github.com/xdp-project/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-# skip strip for eBPF object files
-RESTRICT="strip"
-
-# skip QA check(s) for eBPF samples
-QA_EXECSTACK="usr/lib/bpf/*.o"
-
-# XDP should be enabled
-CONFIG_CHECK="~XDP_SOCKETS"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=dev-libs/libbpf-0.0.7
- virtual/libelf
-"
-DEPEND="${RDEPEND}
- >=sys-devel/clang-9.0.0
- >=sys-devel/llvm-9.0.0
-"
-
-src_configure() {
- ./configure
-}
-
-src_compile() {
- emake PRODUCTION=1 PREFIX=/usr all
-}
-
-src_install() {
- emake PRODUCTION=1 PREFIX=/usr DESTDIR="${D}" install
- doman xdp-filter/xdp-filter.8
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2020-04-27 7:02 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2020-04-27 7:02 UTC (permalink / raw
To: gentoo-commits
commit: 714140b47a384ad331a7cd8bd85aaa7c7da74e6b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 22:34:37 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 26 22:39:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=714140b4
dev-util/xdp-tools: longdescription lang="en"
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-util/xdp-tools/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/xdp-tools/metadata.xml b/dev-util/xdp-tools/metadata.xml
index f793e24..50b2343 100644
--- a/dev-util/xdp-tools/metadata.xml
+++ b/dev-util/xdp-tools/metadata.xml
@@ -5,7 +5,7 @@
<email>kurt@kmk-computers.de</email>
<name>Kurt Kanzenbach</name>
</maintainer>
- <longdescription>
+ <longdescription lang="en">
This package contains a collection of utilities and example code to be used
with the eXpress Data Path facility of the Linux kernel.
</longdescription>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2020-05-01 9:59 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2020-05-01 9:59 UTC (permalink / raw
To: gentoo-commits
commit: 05f6ac89bca1e72e5b020dfa63e91e856c73440a
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Fri May 1 09:30:52 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri May 1 09:31:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05f6ac89
dev-util/xdp-tools: Add upstream reference
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
dev-util/xdp-tools/metadata.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-util/xdp-tools/metadata.xml b/dev-util/xdp-tools/metadata.xml
index 50b2343..3cb68e8 100644
--- a/dev-util/xdp-tools/metadata.xml
+++ b/dev-util/xdp-tools/metadata.xml
@@ -9,4 +9,7 @@
This package contains a collection of utilities and example code to be used
with the eXpress Data Path facility of the Linux kernel.
</longdescription>
+ <upstream>
+ <remote-id type="github">xdp-project/xdp-tools</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2021-01-28 11:45 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-01-28 11:45 UTC (permalink / raw
To: gentoo-commits
commit: 9921be15bb0793cdc425050dcaf119ab44eb1481
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Thu Jan 28 09:05:18 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Jan 28 09:50:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9921be15
dev-util/xdp-tools: don't try to install missing files
these files haven't been present since v0.0.3
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
dev-util/xdp-tools/xdp-tools-1.1.0.ebuild | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild b/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
index 0f16f708..9ddbce20 100644
--- a/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
+++ b/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
@@ -46,7 +46,7 @@ pkg_setup() {
}
src_configure() {
- ./configure
+ ./configure || die
}
src_compile() {
@@ -60,7 +60,4 @@ src_compile() {
src_install() {
emake PREFIX=/usr LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install
- doman xdp-filter/xdp-filter.8
- doman xdp-dump/xdpdump.8
- doman xdp-loader/xdp-loader.8
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2021-04-23 8:47 Haelwenn Monnier
0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2021-04-23 8:47 UTC (permalink / raw
To: gentoo-commits
commit: dc6f9381e1a06340653d1bb05f0b1a40e2e7dfe2
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Thu Apr 22 14:25:29 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Apr 22 14:25:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc6f9381
dev-util/xdp-tools: Allow to use different compilers
Currently CC and AR are hardcoded to gcc/ar. Allow compilation e.g. with clang.
Closes: https://bugs.gentoo.org/785016
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
dev-util/xdp-tools/xdp-tools-1.1.0.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild b/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
index 9ddbce207..8b63e82ac 100644
--- a/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
+++ b/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit linux-info llvm multilib
+inherit linux-info llvm multilib toolchain-funcs
DESCRIPTION="Utilities and example programs for use with XDP"
HOMEPAGE="https://github.com/xdp-project/xdp-tools"
@@ -51,6 +51,8 @@ src_configure() {
src_compile() {
emake \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR)" \
PRODUCTION=1 \
DYNAMIC_LIBXDP=1 \
FORCE_SYSTEM_LIBBPF=1 \
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/
@ 2021-04-23 8:47 Haelwenn Monnier
0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2021-04-23 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 1ef10b16415af11ed44fe72d040694655d2ba4f0
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Thu Apr 22 14:28:36 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Apr 22 14:28:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ef10b16
dev-util/xdp-tools: Restrict tests
The tests have to be executed as root. So, disable them.
Closes: https://bugs.gentoo.org/784254
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
dev-util/xdp-tools/xdp-tools-1.1.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild b/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
index 8b63e82ac..1f4477a5d 100644
--- a/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
+++ b/dev-util/xdp-tools/xdp-tools-1.1.0.ebuild
@@ -14,7 +14,8 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
# skip strip for eBPF object files
-RESTRICT="strip"
+# tests have to be run as root
+RESTRICT="strip test"
# skip QA check(s) for eBPF samples
QA_EXECSTACK="usr/lib*/bpf/*.o usr/share/xdp-tools/*.o"
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-04-23 8:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-28 11:45 [gentoo-commits] repo/proj/guru:master commit in: dev-util/xdp-tools/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-04-23 8:47 Haelwenn Monnier
2021-04-23 8:47 Haelwenn Monnier
2020-05-01 9:59 Andrew Ammerlaan
2020-04-27 7:02 Andrew Ammerlaan
2020-04-11 8:05 Andrew Ammerlaan
2020-03-24 16:37 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox