diff options
author | Eray Aslan <eras@gentoo.org> | 2023-04-20 21:21:06 +0200 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2023-04-20 21:23:13 +0200 |
commit | 57ef65f733e05dc5a57073e2f47b645bb551044f (patch) | |
tree | 1b3653c8796b66c317372b4626b677e460215cbe | |
parent | app-admin/salt: add 3006.0 (diff) | |
download | gentoo-57ef65f733e05dc5a57073e2f47b645bb551044f.tar.gz gentoo-57ef65f733e05dc5a57073e2f47b645bb551044f.tar.bz2 gentoo-57ef65f733e05dc5a57073e2f47b645bb551044f.zip |
net-misc/ena-driver: add 2.8.5
Signed-off-by: Eray Aslan <eras@gentoo.org>
-rw-r--r-- | net-misc/ena-driver/Manifest | 1 | ||||
-rw-r--r-- | net-misc/ena-driver/ena-driver-2.8.5.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest index 7eaef5f3b975..200ad20e9578 100644 --- a/net-misc/ena-driver/Manifest +++ b/net-misc/ena-driver/Manifest @@ -2,3 +2,4 @@ DIST ena-driver-2.6.1-linux.tar.gz 542085 BLAKE2B 1509d3a22478d648426c788e8343ca 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 +DIST ena-driver-2.8.5-linux.tar.gz 1202024 BLAKE2B 9719df56b16db4c1276b74a3ee04a89cc8a9768d0db78c71ab5598e107bba1ec56411653c78c08e640c05e8f2b9f69edfc8371b0c6982fdb44d8b04f1f139a99 SHA512 80a6a4c72f8d4ca6d1f68740251b4ce5fd5dc90fe0009bdf75b89d36e8f36810b1984daf090f441bbf98b0472b005f159d6af6d88e1a89d046f8574d994cf0b9 diff --git a/net-misc/ena-driver/ena-driver-2.8.5.ebuild b/net-misc/ena-driver/ena-driver-2.8.5.ebuild new file mode 100644 index 000000000000..7c93be223a28 --- /dev/null +++ b/net-misc/ena-driver/ena-driver-2.8.5.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 +} |