aboutsummaryrefslogtreecommitdiffstats
path: root/main/ethtool
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-04-14 04:51:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:48:06 +0000
commit37c609a5e2e2fa5af1d8e68f375340514bbee66b (patch)
treef40a2dc2818dd33bb55502aa3c316bfea49c4764 /main/ethtool
parent27d1e194717b1696b3169ad43df027876247b91a (diff)
downloadaports-37c609a5e2e2fa5af1d8e68f375340514bbee66b.tar.bz2
aports-37c609a5e2e2fa5af1d8e68f375340514bbee66b.tar.xz
main/ethtool: upgrade to 4.16, apkbuild update
Diffstat (limited to 'main/ethtool')
-rw-r--r--main/ethtool/APKBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/main/ethtool/APKBUILD b/main/ethtool/APKBUILD
index 51625f6b86..150be35d32 100644
--- a/main/ethtool/APKBUILD
+++ b/main/ethtool/APKBUILD
@@ -1,21 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ethtool
-pkgver=4.15
+pkgver=4.16
pkgrel=0
-pkgdesc="gkernel ethtool"
-url="https://sourceforge.net/projects/gkernel/"
+pkgdesc="ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices."
+url="https://mirrors.edge.kernel.org/pub/software/network/ethtool/"
arch="all"
license="GPL-2.0"
makedepends="linux-headers"
-source="http://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz"
subpackages="$pkgname-doc"
-
-builddir="$srcdir"/$pkgname-$pkgver
-
-check() {
- cd "$builddir"
- make check
-}
+source="https://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz"
build() {
cd "$builddir"
@@ -27,9 +20,14 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="7ffd76b17b56de4182a14c2a77bf3026715f4af4c60809aed192f5631cb72173ed3c5d451e54711a73b65fee8339d58c857e83ddf60b85057bfed20863476527 ethtool-4.15.tar.xz"
+sha512sums="c0cd28ca34e7fdc9af3335fd0b666b4b879ecbaf0c0bccf032aa36fdd66cbb01b6ddf16c6b60823d46a81f9b5f377047422ac88cc7cd0a869e239a3171966c66 ethtool-4.16.tar.xz"