diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-10-09 00:10:30 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-10-09 00:11:17 +0200 |
commit | 9e453d2d2fb05a9477c056fa2ba9cf3e4c65baae (patch) | |
tree | fe6b8232b5d11228bebfabf02f58a20f7650dbdf /net-misc/ena-driver | |
parent | app-shells/bash: reorganise 5.2_p2-r2 patches (diff) | |
download | gentoo-9e453d2d2fb05a9477c056fa2ba9cf3e4c65baae.tar.gz gentoo-9e453d2d2fb05a9477c056fa2ba9cf3e4c65baae.tar.bz2 gentoo-9e453d2d2fb05a9477c056fa2ba9cf3e4c65baae.zip |
net-misc/ena-driver: add 2.8.0
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'net-misc/ena-driver')
-rw-r--r-- | net-misc/ena-driver/Manifest | 1 | ||||
-rw-r--r-- | net-misc/ena-driver/ena-driver-2.8.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest index 67cba7d60dc0..6a7dcaba0569 100644 --- a/net-misc/ena-driver/Manifest +++ b/net-misc/ena-driver/Manifest @@ -1,2 +1,3 @@ DIST ena-driver-2.2.3-linux.tar.gz 406557 BLAKE2B 3e77bcb8e5bd00e0a643c17ad780e3abb5ff71859cdcb1257f9c73c7d5a14b0922cf97132ed40195a69e233b2850cb62f1854b49c8ab5c92b6b83dadb32bd7bd SHA512 257c959a6727213df6600cfb09741f5036d4efb950c1460be85bab3026d7f0fa5af252550bf395665dcf0de5dbee75f751516ac80ecf3d470aee996d12796770 DIST ena-driver-2.6.1-linux.tar.gz 542085 BLAKE2B 1509d3a22478d648426c788e8343ca121883a2d5fc241a8dbd95836ae48160795ae953a2327ea31190caaf8eaa69d72331a1cf250b56fe8af2fcfd98e3ecd313 SHA512 a24c2c062cd66cbfa8fb9b1fa7093650eda1061bd502a3e57bfdbf3b5b36064f457860e4d5cb045f11de6437e03ad2cfb3390be8876a0ee7a474be1d5cdd8f40 +DIST ena-driver-2.8.0-linux.tar.gz 1196967 BLAKE2B 2f4c5ebba357fbea42aee5f921f60d9b7f18558df6e955e39c81c4e4693b5fe39ae7de2123c6e74e0ea9c99888fcf143b68ce67de55efbd4b30a37cf805cde40 SHA512 549b33f913bc4fa48f27d24e66d77032e32992f7f9c6afb1ce82e89d343516201442c70f3146d919b81632b97baee699f1c60001cb2a1730720681fa28452e3e diff --git a/net-misc/ena-driver/ena-driver-2.8.0.ebuild b/net-misc/ena-driver/ena-driver-2.8.0.ebuild new file mode 100644 index 000000000000..ec4ec56c1689 --- /dev/null +++ b/net-misc/ena-driver/ena-driver-2.8.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info linux-mod + +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" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/amzn-drivers-ena_linux_${PV}/kernel/linux/ena" + +MODULE_NAMES="ena(net:${S}:${S})" +BUILD_TARGETS="all" + +CONFIG_CHECK="PCI_MSI !CPU_BIG_ENDIAN DIMLIB" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="CONFIG_MODULE_SIG=n KERNEL_DIR=${KV_DIR}" +} + +src_prepare() { + default + + sed -i -e 's!/lib/modules/\$(BUILD_KERNEL)/build!$(KERNEL_DIR)!g' \ + "Makefile" || die "Unable to fix Makefile" +} + +src_install() { + linux-mod_src_install + dodoc README RELEASENOTES.md +} |