From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4064138334 for ; Sun, 2 Dec 2018 22:10:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94FADE0B1C; Sun, 2 Dec 2018 22:10:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D2C6E0B1C for ; Sun, 2 Dec 2018 22:10:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B782335C06 for ; Sun, 2 Dec 2018 22:10:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FE2E2A7 for ; Sun, 2 Dec 2018 22:10:43 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1543788625.708eab25649f173c4fe6b5bd0be3e9da93c95226.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ena-driver/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ena-driver/Manifest net-misc/ena-driver/ena-driver-2.0.2.ebuild net-misc/ena-driver/metadata.xml X-VCS-Directories: net-misc/ena-driver/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 708eab25649f173c4fe6b5bd0be3e9da93c95226 X-VCS-Branch: master Date: Sun, 2 Dec 2018 22:10:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 12e2c517-c807-4126-a7a9-9cd7c8198597 X-Archives-Hash: b98096c254aca795329e587e6e374929 commit: 708eab25649f173c4fe6b5bd0be3e9da93c95226 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Dec 2 22:09:39 2018 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Dec 2 22:10:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=708eab25 net-misc/ena-driver: New package, ebuild by Artem Butusov Source: https://github.com/sormy/gentoo Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel gentoo.org> net-misc/ena-driver/Manifest | 1 + net-misc/ena-driver/ena-driver-2.0.2.ebuild | 35 +++++++++++++++++++++++++++++ net-misc/ena-driver/metadata.xml | 8 +++++++ 3 files changed, 44 insertions(+) diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest new file mode 100644 index 00000000000..0e26d3c5148 --- /dev/null +++ b/net-misc/ena-driver/Manifest @@ -0,0 +1 @@ +DIST ena-driver-2.0.2-linux.zip 271852 BLAKE2B e2bf85a70abc0914fafb786bde2a24020ddf0e88e0a051f59938b0091e92fb8f11407567b384610f7838e85903eb734338f5af7f1045a05055566af83ddc1908 SHA512 8c1328ae6907f7e56d3398a6502db51dfb15772fbbb0eb075062ffa3f49b4b3697ec357c77f44701e33bd794e0b5858c619cad97581bbfb27ab010f7dd97da6b 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 00000000000..04db47eb4f2 --- /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 00000000000..31521abd4e5 --- /dev/null +++ b/net-misc/ena-driver/metadata.xml @@ -0,0 +1,8 @@ + + + + + dilfridge@gentoo.org + Andreas K. Huettel + +