summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2023-06-26 19:45:45 +0200
committerEray Aslan <eras@gentoo.org>2023-06-26 19:47:06 +0200
commit6b297c5c5dc06f3c20a961f26c92a2e760c5944b (patch)
tree1fc746b4f379e3f756ecd2057856d61676ebc592 /net-misc/ena-driver
parentdev-util/lttng-modules: add bump note (diff)
downloadgentoo-6b297c5c5dc06f3c20a961f26c92a2e760c5944b.tar.gz
gentoo-6b297c5c5dc06f3c20a961f26c92a2e760c5944b.tar.bz2
gentoo-6b297c5c5dc06f3c20a961f26c92a2e760c5944b.zip
net-misc/ena-driver: add 2.8.8
and migrate to linux-mod-r1 Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'net-misc/ena-driver')
-rw-r--r--net-misc/ena-driver/Manifest1
-rw-r--r--net-misc/ena-driver/ena-driver-2.8.8.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest
index 814a17d562df..4420c5d54f18 100644
--- a/net-misc/ena-driver/Manifest
+++ b/net-misc/ena-driver/Manifest
@@ -1,2 +1,3 @@
DIST ena-driver-2.6.1-linux.tar.gz 542085 BLAKE2B 1509d3a22478d648426c788e8343ca121883a2d5fc241a8dbd95836ae48160795ae953a2327ea31190caaf8eaa69d72331a1cf250b56fe8af2fcfd98e3ecd313 SHA512 a24c2c062cd66cbfa8fb9b1fa7093650eda1061bd502a3e57bfdbf3b5b36064f457860e4d5cb045f11de6437e03ad2cfb3390be8876a0ee7a474be1d5cdd8f40
DIST ena-driver-2.8.7-linux.tar.gz 1205104 BLAKE2B 4014f36aebfe5a42b4a3c3689d9ea52145189dffc9c258b1dfd1245a31a966219e0b91ab97c5acee5b7a10c8e905dc2f80a8e87e5fa2da17c05c178e61d550e8 SHA512 d3b6e284ab923a1492f0ee4073cb538b6ac19d63596cb31b80418791af81a71fe454d092eb8b39e46081129b8105c551694e73a89f8128e9f6291dbaab047010
+DIST ena-driver-2.8.8-linux.tar.gz 1205450 BLAKE2B e7e318c4509bb3aa7ae2c18ef07ea9e01b872f0c0ba7f617484cae8d422b3e8f96f55f9595c1ce614e98a9513869b355667b6555d639b43981bac82d45f78d97 SHA512 c76f01b04df2390f5a7d248d4d5b43497788c7c9bd0429bd6b3a601ab56aae43381d72075da85048516ae5ca43f7c7e1155e4c498bd47e358e8db63680b80321
diff --git a/net-misc/ena-driver/ena-driver-2.8.8.ebuild b/net-misc/ena-driver/ena-driver-2.8.8.ebuild
new file mode 100644
index 000000000000..32810ec269da
--- /dev/null
+++ b/net-misc/ena-driver/ena-driver-2.8.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1
+
+DESCRIPTION="Amazon EC2 Elastic Network Adapter (ENA) kernel driver"
+HOMEPAGE="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html"
+SRC_URI="https://github.com/amzn/amzn-drivers/archive/ena_linux_${PV}.tar.gz -> ${P}-linux.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}/amzn-drivers-ena_linux_${PV}/kernel/linux/ena"
+
+CONFIG_CHECK="PCI_MSI !CPU_BIG_ENDIAN DIMLIB"
+DOCS=(
+ README.rst
+ RELEASENOTES.md
+)
+
+src_compile() {
+ local modlist=( ena=net )
+ local modargs=( BUILD_PARAMS="CONFIG_MODULE_SIG=n KERNEL_DIR=${KV_DIR}" )
+ linux-mod-r1_src_compile
+}