From 32dde92435940081d5375681b5e844972dd4ab89 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Fri, 7 Aug 2020 14:10:36 +0300 Subject: net-misc/ena-driver: migrate to sys-apps/kmod Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada --- net-misc/ena-driver/ena-driver-2.0.3-r1.ebuild | 38 ++++++++++++++++++++++++ net-misc/ena-driver/ena-driver-2.0.3.ebuild | 38 ------------------------ net-misc/ena-driver/ena-driver-2.2.3-r1.ebuild | 40 ++++++++++++++++++++++++++ net-misc/ena-driver/ena-driver-2.2.3.ebuild | 40 -------------------------- 4 files changed, 78 insertions(+), 78 deletions(-) create mode 100644 net-misc/ena-driver/ena-driver-2.0.3-r1.ebuild delete mode 100644 net-misc/ena-driver/ena-driver-2.0.3.ebuild create mode 100644 net-misc/ena-driver/ena-driver-2.2.3-r1.ebuild delete mode 100644 net-misc/ena-driver/ena-driver-2.2.3.ebuild (limited to 'net-misc') diff --git a/net-misc/ena-driver/ena-driver-2.0.3-r1.ebuild b/net-misc/ena-driver/ena-driver-2.0.3-r1.ebuild new file mode 100644 index 000000000000..303afdb0d7e5 --- /dev/null +++ b/net-misc/ena-driver/ena-driver-2.0.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +DEPEND="app-arch/unzip" + +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() { + 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 RELEASENOTES.md +} diff --git a/net-misc/ena-driver/ena-driver-2.0.3.ebuild b/net-misc/ena-driver/ena-driver-2.0.3.ebuild deleted file mode 100644 index 02e0ca271853..000000000000 --- a/net-misc/ena-driver/ena-driver-2.0.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -DEPEND="app-arch/unzip" - -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() { - 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 RELEASENOTES.md -} diff --git a/net-misc/ena-driver/ena-driver-2.2.3-r1.ebuild b/net-misc/ena-driver/ena-driver-2.2.3-r1.ebuild new file mode 100644 index 000000000000..2a4bc1e592ab --- /dev/null +++ b/net-misc/ena-driver/ena-driver-2.2.3-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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}.tar.gz -> ${P}-linux.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="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 RELEASENOTES.md +} diff --git a/net-misc/ena-driver/ena-driver-2.2.3.ebuild b/net-misc/ena-driver/ena-driver-2.2.3.ebuild deleted file mode 100644 index 2a4bc1e592ab..000000000000 --- a/net-misc/ena-driver/ena-driver-2.2.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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}.tar.gz -> ${P}-linux.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="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 RELEASENOTES.md -} -- cgit v1.2.3-65-gdbad