diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-misc/ena-driver | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-misc/ena-driver')
-rw-r--r-- | net-misc/ena-driver/Manifest | 3 | ||||
-rw-r--r-- | net-misc/ena-driver/ena-driver-2.0.2.ebuild | 35 | ||||
-rw-r--r-- | net-misc/ena-driver/metadata.xml | 8 |
3 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest new file mode 100644 index 000000000000..33b25f8a20b1 --- /dev/null +++ b/net-misc/ena-driver/Manifest @@ -0,0 +1,3 @@ +DIST ena-driver-2.0.2-linux.zip 271852 BLAKE2B e2bf85a70abc0914fafb786bde2a24020ddf0e88e0a051f59938b0091e92fb8f11407567b384610f7838e85903eb734338f5af7f1045a05055566af83ddc1908 SHA512 8c1328ae6907f7e56d3398a6502db51dfb15772fbbb0eb075062ffa3f49b4b3697ec357c77f44701e33bd794e0b5858c619cad97581bbfb27ab010f7dd97da6b +EBUILD ena-driver-2.0.2.ebuild 871 BLAKE2B 0e73e54e2b3ce04eaf4077bc8405812ff2748efc20d9f583e7355181716d6790e0dd60e8747377a21a5c113ad5f7a3ca44aa3bd5919fbab39501e6c6eb480c93 SHA512 c5c743f8b5dc8829e76cd608759e85723a3eaeb67d5e776ddbfc6eb33312ec7a5a9e6a25f9bc53399d7975d53887b62153a4a1b6ef201f4d8249ee2d79a72b3b +MISC metadata.xml 260 BLAKE2B 93b4bac4246e017b0dc21599f85ff5d0d22ac2691acdeca76c67b1ea14c46d8764b5d52c370af28e44bdec84de9dfc5185136b143fde3d36859ba8f4900ed71c SHA512 5f4bd0763a9f614ca74f08969dc67a7e4221c5491922dc844942bfb5c01815ea30bda1cc352a4be4ef977200cd90e6f3d06555c9d151205ec245527920b83f70 diff --git a/net-misc/ena-driver/ena-driver-2.0.2.ebuild b/net-misc/ena-driver/ena-driver-2.0.2.ebuild new file mode 100644 index 000000000000..04db47eb4f2c --- /dev/null +++ b/net-misc/ena-driver/ena-driver-2.0.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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}.zip -> ${P}-linux.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/amzn-drivers-ena_linux_${PV}/kernel/linux/ena" + +MODULE_NAMES="ena(net:${S}:${S})" +BUILD_TARGETS="all" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="CONFIG_MODULE_SIG=n KERNEL_DIR=${KV_DIR}" +} + +src_prepare() { + eapply_user + + 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 +} diff --git a/net-misc/ena-driver/metadata.xml b/net-misc/ena-driver/metadata.xml new file mode 100644 index 000000000000..31521abd4e5e --- /dev/null +++ b/net-misc/ena-driver/metadata.xml @@ -0,0 +1,8 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dilfridge@gentoo.org</email> + <name>Andreas K. Huettel</name> + </maintainer> +</pkgmetadata> |