summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2024-05-23 17:39:11 +0200
committerEray Aslan <eras@gentoo.org>2024-05-23 17:39:11 +0200
commit1d57335ad790aef973b41e2f2c3edced1b77e041 (patch)
tree989a0b3dc7a80ea8d67abf115d3f8444b37ccff0 /net-misc/ena-driver
parentdev-debug/apitrace: Depend on libglvnd, not mesa (diff)
downloadgentoo-1d57335ad790aef973b41e2f2c3edced1b77e041.tar.gz
gentoo-1d57335ad790aef973b41e2f2c3edced1b77e041.tar.bz2
gentoo-1d57335ad790aef973b41e2f2c3edced1b77e041.zip
net-misc/ena-driver: add 2.12.1
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.12.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest
index 3d1ca19deac3..14ed10641ef4 100644
--- a/net-misc/ena-driver/Manifest
+++ b/net-misc/ena-driver/Manifest
@@ -1,2 +1,3 @@
DIST ena-driver-2.11.1-linux.tar.gz 1441591 BLAKE2B 39db9d21efd0d7f810304a1be0be13dd0c944419a9e5aee5a60c3dee310f990af9787cb297e36e718aa3f62ff3a7e9ce4e8302a19efcc3b151438869827b540d SHA512 f27c556a902ee276022ddafec7cda70790280587f470968f233e3de09a7dac3b49f43a2b7dba1018489c9ff5f0f554201fe63b82533c6a627b7f533c2b4910c5
DIST ena-driver-2.12.0-linux.tar.gz 1443210 BLAKE2B f8e13e6c8cbaa6946221c9ca09fdda1a1233b5c7b728bac92a26b8afcb19e5187f9fafd00cad795d3815b399fc7421c50efde08b0684ea31e4a9cea363766263 SHA512 34871c46a907c868dbe511761c43104fc00965850011ac8d9efe4103460858dd79ae57576cd5dea038f84901cf23c4dad00c49a167333d60743b84cf2169125c
+DIST ena-driver-2.12.1-linux.tar.gz 1443454 BLAKE2B 4a1e96e7160db3f27a81f23aa027df8f7e8c1dbe3dc59a09b18e70a12458d8a0f67f923fdcd7d79f55d67fe03147eaa9d92dc0a76826c0c77669dc669359d92b SHA512 11312fcef724566a1204eb88ce9aefc6d3387cad4dc8667b8feb6bd4dc61dbc110fdb620ccb1268a6170db45e6e31b7f514d5823c9cdf48a4bf8dd849d862012
diff --git a/net-misc/ena-driver/ena-driver-2.12.1.ebuild b/net-misc/ena-driver/ena-driver-2.12.1.ebuild
new file mode 100644
index 000000000000..3d3ab17ac267
--- /dev/null
+++ b/net-misc/ena-driver/ena-driver-2.12.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 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"
+S="${WORKDIR}/amzn-drivers-ena_linux_${PV}/kernel/linux/ena"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="app-arch/unzip"
+
+CONFIG_CHECK="PCI_MSI !CPU_BIG_ENDIAN DIMLIB"
+DOCS=(
+ README.rst
+ RELEASENOTES.md
+ ENA_Linux_Best_Practices.rst
+)
+
+src_compile() {
+ local modlist=( ena=net )
+ local modargs=( CONFIG_MODULE_SIG=n BUILD_KERNEL="${KV_FULL}" )
+ linux-mod-r1_src_compile
+}