From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1706606-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id BA5B015812D
	for <garchives@archives.gentoo.org>; Mon, 06 Jan 2025 14:34:25 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C06ABE07A5;
	Mon, 06 Jan 2025 14:34:24 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A4642E07A5
	for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 14:34:24 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A837D33BED4
	for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 14:34:23 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0AE2C190F
	for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 14:34:22 +0000 (UTC)
From: "Eray Aslan" <eras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Eray Aslan" <eras@gentoo.org>
Message-ID: <1736174050.380ad55cda5b0713d1d8797a76ba5063c445504e.eras@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.13.2.ebuild
X-VCS-Directories: net-misc/ena-driver/
X-VCS-Committer: eras
X-VCS-Committer-Name: Eray Aslan
X-VCS-Revision: 380ad55cda5b0713d1d8797a76ba5063c445504e
X-VCS-Branch: master
Date: Mon, 06 Jan 2025 14:34:22 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 81f64788-d3f9-420b-9d0d-6a26b8859b97
X-Archives-Hash: 57e5c4b598ee0d63498a6cba43b8f534

commit:     380ad55cda5b0713d1d8797a76ba5063c445504e
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 14:33:50 2025 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 14:34:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=380ad55c

net-misc/ena-driver: add 2.13.2

Signed-off-by: Eray Aslan <eras <AT> gentoo.org>

 net-misc/ena-driver/Manifest                 |  1 +
 net-misc/ena-driver/ena-driver-2.13.2.ebuild | 30 ++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/net-misc/ena-driver/Manifest b/net-misc/ena-driver/Manifest
index c93f616f6ee2..c9ad76157e2f 100644
--- a/net-misc/ena-driver/Manifest
+++ b/net-misc/ena-driver/Manifest
@@ -1 +1,2 @@
 DIST ena-driver-2.13.0-linux.tar.gz 1450959 BLAKE2B 3536d976505de48f64ad33bb30269dbc090631e862c68c250f9452e5537018f86ecb93fa2272a812172c9145d33ecef7e82a1cee3cf86db53f520f6e2b3d3545 SHA512 2be761afae1374ab5d8043d01d8521c21c944d8e6830b0cf24dea6e51a4b2e1751d5521ad261af9eebca819c9c15ebcec5a84b51af505df7bc9cd99ef0350939
+DIST ena-driver-2.13.2-linux.tar.gz 1468215 BLAKE2B e5f4cba68b77b2c9b971771f548ad62d555838d6f8c88dc33282fc2498df3e7e9503f8aa346999652e4b3102c4dc1981d2e8e21587c9f1201aef7b6c3c03c761 SHA512 c4c20fe3ad79496ef99c2137855b5842a8dab18e936eca890509a70c66832892f4a13c7cb7cf15546525226eaddbc632ce45a296656fbf36414bb67929a928aa

diff --git a/net-misc/ena-driver/ena-driver-2.13.2.ebuild b/net-misc/ena-driver/ena-driver-2.13.2.ebuild
new file mode 100644
index 000000000000..9c3884dfcf29
--- /dev/null
+++ b/net-misc/ena-driver/ena-driver-2.13.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1
+
+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"
+S="${WORKDIR}/amzn-drivers-ena_linux_${PV}/kernel/linux/ena"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="app-arch/unzip"
+
+CONFIG_CHECK="PCI_MSI !CPU_BIG_ENDIAN DIMLIB"
+DOCS=(
+	README.rst
+	RELEASENOTES.md
+	ENA_Linux_Best_Practices.rst
+)
+
+src_compile() {
+	local modlist=( ena=net )
+	local modargs=( CONFIG_MODULE_SIG=n BUILD_KERNEL="${KV_FULL}" )
+	linux-mod-r1_src_compile
+}