summaryrefslogtreecommitdiff
path: root/testing/aws-ena-driver-vanilla
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-12-28 21:39:11 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-12-28 21:39:11 +0000
commit9e7f9462b65ca3119c091f1e7f9e2665ddbb4627 (patch)
treeae4c8e8a72658284dc15d37558758cd248007cbe /testing/aws-ena-driver-vanilla
parent296181a7c6ac780548b9cc7f56b701d4b3466f8c (diff)
downloadaports-9e7f9462b65ca3119c091f1e7f9e2665ddbb4627.zip
Revert "testing/aws-ena-driver-vanilla: new aport"
I did not mean to commit this yet. This reverts commit ca160f891f0f5a2cd2ff60b3a663a48f7d38dd4f.
Diffstat (limited to 'testing/aws-ena-driver-vanilla')
-rw-r--r--testing/aws-ena-driver-vanilla/APKBUILD41
-rw-r--r--testing/aws-ena-driver-vanilla/ena.conf1
2 files changed, 0 insertions, 42 deletions
diff --git a/testing/aws-ena-driver-vanilla/APKBUILD b/testing/aws-ena-driver-vanilla/APKBUILD
deleted file mode 100644
index 208941cfaed..00000000000
--- a/testing/aws-ena-driver-vanilla/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer: Mike Crute <mike@crute.us>
-_flavor="vanilla"
-pkgname=aws-ena-driver-$_flavor
-pkgver=1.5.0
-pkgrel=0
-pkgdesc="Linux kernel driver for Elastic Network Adapter (ENA) family"
-url="https://github.com/amzn/amzn-drivers"
-arch="x86 x86_64"
-license="GPL-2.0"
-# Upstream has no tests
-options="!strip !check"
-depends=
-makedepends="linux-$_flavor-dev"
-install=
-source="https://github.com/amzn/amzn-drivers/archive/ena_linux_$pkgver.tar.gz ena.conf"
-builddir="$srcdir/amzn-drivers-ena_linux_$pkgver"
-
-_get_kernel_version() {
- local pattern=""
- if [ "$_flavor" = "vanilla" ]; then
- pattern="[^-]*"
- else
- pattern=".*-$_flavor"
- fi
- basename $(find /lib/modules/* -maxdepth 1 -type d -regex "$pattern")
-}
-
-build() {
- cd "$builddir/kernel/linux/ena"
- make BUILD_KERNEL="$(_get_kernel_version)"
-}
-
-package() {
- cd "$builddir/kernel/linux/ena"
- install -Dm644 "$srcdir"/ena.conf "$pkgdir"/etc/modules-load.d/ena.conf
- install -Dm644 ena.ko \
- "$pkgdir"/lib/modules/$(_get_kernel_version)/kernel/drivers/net/ethernet/amazon/ena/ena.ko
-}
-
-sha512sums="32c3aee0aa806ffd1c6f78e3ce95c73699fd5fb0871a749d4ba54aba03390793ef92b4f76017d660bdf0907c91337d82b9570fffa93232f42becc240970310fa ena_linux_1.5.0.tar.gz
-479a96de0284c815cb4bc60ee129be831f97424f121ede3c14c3dfead162ebb5a3f16c535cc412caf0bdcf2de70c6c3f6cc1c83ff2d4aae1f5e3848279f927d2 ena.conf"
diff --git a/testing/aws-ena-driver-vanilla/ena.conf b/testing/aws-ena-driver-vanilla/ena.conf
deleted file mode 100644
index eee51542dce..00000000000
--- a/testing/aws-ena-driver-vanilla/ena.conf
+++ /dev/null
@@ -1 +0,0 @@
-ena