diff options
author | Eray Aslan <eras@gentoo.org> | 2023-03-28 09:56:29 +0200 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2023-03-28 09:56:29 +0200 |
commit | ad5707fba9c252fc42b25b19487199ba38920e3e (patch) | |
tree | 3d34b69e5f7badf553302f9683a7f9c5fc3da434 /net-misc/ena-driver | |
parent | app-text/mdbook: drop 0.4.27 (diff) | |
download | gentoo-ad5707fba9c252fc42b25b19487199ba38920e3e.tar.gz gentoo-ad5707fba9c252fc42b25b19487199ba38920e3e.tar.bz2 gentoo-ad5707fba9c252fc42b25b19487199ba38920e3e.zip |
net-misc/ena-driver: add 2.8.4
Signed-off-by: Eray Aslan <eras@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.4.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest index 7b892213e049..7eaef5f3b975 100644 --- a/net-misc/ena-driver/Manifest +++ b/net-misc/ena-driver/Manifest @@ -1,3 +1,4 @@ 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 DIST ena-driver-2.8.2-linux.tar.gz 1199506 BLAKE2B b9c6ed91341f2475481556dcb7615f97e9701ad0fdd3452d193c334ae169e59a74f66d32d2a8d04c43024dee34282070b65201d635bc01e326a59e8d3aa698dc SHA512 3921dff857b1bbbd9d97401a8740c50d9849fcda71683ca8ba656affcc6df472836b109cb182703b85e2521bc59183a1204eac46f430522f1ba48c8d66e1db7e +DIST ena-driver-2.8.4-linux.tar.gz 1201335 BLAKE2B 5b1d054d3e131923dc367647bed7b7fa12df124649a280361e0e32ffaabe6d57c6e59993f1ee885406d97cb7109323fca8c3e9b09757cb4d8ede91cd27843f86 SHA512 5c9503447626b630f2cb904fcd13a843424e5ff1e8c8c2d289669dfa5f06053ba7d133d02be8ea73701ddd408ffc6abc722c07b4ce11043102c502851c7ca8a7 diff --git a/net-misc/ena-driver/ena-driver-2.8.4.ebuild b/net-misc/ena-driver/ena-driver-2.8.4.ebuild new file mode 100644 index 000000000000..7c93be223a28 --- /dev/null +++ b/net-misc/ena-driver/ena-driver-2.8.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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 ~arm64" + +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.rst RELEASENOTES.md +} |