Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/rte_kni-kmod/
Date: Tue, 26 Apr 2022 17:40:12
Message-Id: 1650994794.8f6b73edbb7016736d596ae8290029be0e8a7e92.epsilon-0@gentoo
1 commit: 8f6b73edbb7016736d596ae8290029be0e8a7e92
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Tue Apr 26 17:39:54 2022 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Tue Apr 26 17:39:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f6b73ed
7
8 sys-kernel/rte_kni-kmod: drop 21.11
9
10 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
11
12 sys-kernel/rte_kni-kmod/Manifest | 1 -
13 sys-kernel/rte_kni-kmod/rte_kni-kmod-21.11.ebuild | 78 -----------------------
14 2 files changed, 79 deletions(-)
15
16 diff --git a/sys-kernel/rte_kni-kmod/Manifest b/sys-kernel/rte_kni-kmod/Manifest
17 index bcd3dead8..a3e4c3a2c 100644
18 --- a/sys-kernel/rte_kni-kmod/Manifest
19 +++ b/sys-kernel/rte_kni-kmod/Manifest
20 @@ -1,3 +1,2 @@
21 DIST dpdk-21.11.1.tar.xz 15115156 BLAKE2B 089e98279922b5494b205d957f9ac05001a668f4536d45e5fd89b9f7d04779e0671ec428b2408963641da3ae999d5943a1ff5dc59c23020ccefce824609c8f11 SHA512 d7afc0c918626b1706a18a129086fcd3741b251c28fa00c5711eb85a03137e5ee6e08de7bd5ebe957e442dc9b901314042b382b223e74f0fdd5d560ac657f1b3
22 -DIST dpdk-21.11.tar.xz 15102516 BLAKE2B e82fb03242b74e458810ee5e0d21feaf5d6d781b81b8dc5c2a2ab977bac202290dadc8734ea13993bb1cb1df4b5c4d770df574052a384b590ac798d19c370c59 SHA512 843282023c2f77a9b8af393d50c6dde54f09d490cd6f4a99f03d4df5df13a7d963aa86885fdf64e13f9da71e01c881d1f301dd093574a32cddd84f4b1fb58fd5
23 DIST dpdk-22.03.tar.xz 15055548 BLAKE2B 16fb52618e72deba7097e4d920e160e14f1332eed2b8f2f2957f3dd1b847859e6b8b8cd6adef0513cd7bc528a37d4c481f803e8c5badaa299d2bb2af3615e696 SHA512 b3940642f99767323f39470c1e3e0eab7a07bcaca225e2a714b62ba6c59d2c66e4ea17d38e8266f37ed8b5c5c2ad272930fd28f545324ec0a1cb185685e06a5f
24
25 diff --git a/sys-kernel/rte_kni-kmod/rte_kni-kmod-21.11.ebuild b/sys-kernel/rte_kni-kmod/rte_kni-kmod-21.11.ebuild
26 deleted file mode 100644
27 index 44e368c06..000000000
28 --- a/sys-kernel/rte_kni-kmod/rte_kni-kmod-21.11.ebuild
29 +++ /dev/null
30 @@ -1,78 +0,0 @@
31 -# Copyright 2021-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -inherit linux-mod python-single-r1 meson
38 -
39 -DESCRIPTION="DPDK Kernel Nic Interface module"
40 -HOMEPAGE="https://dpdk.org/"
41 -SRC_URI="https://fast.dpdk.org/rel/dpdk-${PV}.tar.xz"
42 -S="${WORKDIR}/dpdk-${PV}"
43 -
44 -LICENSE="BSD GPL-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 -# tests need root
49 -RESTRICT="test"
50 -
51 -RDEPEND="${PYTHON_DEPS}"
52 -
53 -DEPEND="${RDEPEND}
54 - $(python_gen_cond_dep '
55 - dev-python/pyelftools[${PYTHON_USEDEP}]
56 - ')
57 - app-crypt/intel-ipsec-mb
58 - dev-libs/elfutils
59 - dev-libs/isa-l
60 - dev-libs/jansson
61 - dev-libs/libbpf
62 - dev-libs/libbsd
63 - dev-libs/openssl
64 - net-libs/libmnl
65 - net-libs/libpcap
66 - sys-apps/dtc
67 - sys-cluster/rdma-core
68 - sys-process/numactl
69 -"
70 -BDEPEND="
71 - ${PYTHON_DEPS}
72 -"
73 -
74 -CONFIG_CHECK="~IOMMU_SUPPORT ~AMD_IOMMU ~VFIO ~VFIO_PCI ~UIO ~UIO_PDRV_GENIRQ ~UIO_DMEM_GENIRQ ~HPET_MMAP"
75 -
76 -pkg_setup() {
77 - linux-mod_pkg_setup
78 - python-single-r1_pkg_setup
79 -}
80 -
81 -src_configure() {
82 - linux-mod_pkg_setup
83 - python-single-r1_pkg_setup
84 - # we still have to do meson configuration as it creates
85 - # header files needed for compiling the rte_kni module
86 - local emesonargs=(
87 - -Denable_kmods=false
88 - -Dmachine=default
89 - -Dplatform=generic
90 - )
91 - meson_src_configure
92 -
93 - # export after meson_src_configure as BUILD_DIR is needed for module compilation
94 - export MODULE_NAMES="rte_kni(extra/dpdk:${S}/kernel/linux/kni)"
95 - export BUILD_PARAMS="-C \"${KERNEL_DIR}\" M=\"${S}\"/kernel/linux/kni \
96 - src=\"${S}\"/kernel/linux/kni \
97 - MODULE_CFLAGS=\"${HAVE_ARG_TX_QUEUE} -include ${S}/config/rte_config.h -I${S}/lib/eal/include \
98 - -I${S}/lib/kni -I${S}/kernel/linux/kni -I${BUILD_DIR} -I${S}\""
99 - export BUILD_TARGETS="modules"
100 -}
101 -
102 -src_compile() {
103 - linux-mod_src_compile
104 -}
105 -
106 -src_install() {
107 - linux-mod_src_install
108 -}