aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/iperf/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/main/iperf/APKBUILD b/main/iperf/APKBUILD
index 77b54c78ad..f6b230d888 100644
--- a/main/iperf/APKBUILD
+++ b/main/iperf/APKBUILD
@@ -1,28 +1,22 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iperf
-pkgver=2.0.9
-pkgrel=1
+pkgver=2.0.10
+pkgrel=0
pkgdesc="A tool to measure IP bandwidth using UDP or TCP"
-url="http://iperf.sourceforge.net/"
+url="http://iperf2.sourceforge.net/"
arch="all"
license="BSD"
+options="!check" # No test suite
depends="!iperf3"
makedepends=""
-install=""
subpackages="$pkgname-doc"
-source="https://iperf.fr/download/source/iperf-$pkgver-source.tar.gz
+source="https://sourceforge.net/projects/iperf2/files/iperf-$pkgver.tar.gz
iperf.initd
iperf.confd
"
-
builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- cd "$builddir"
- update_config_sub || return 1
-}
-
build() {
cd "$builddir"
./configure \
@@ -31,9 +25,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
}
package() {
@@ -43,12 +36,6 @@ package() {
install -D -m0644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
-md5sums="1bb3a1d98b1973aee6e8f171933c0f61 iperf-2.0.9-source.tar.gz
-291084a99bc42217bf20a3f9f479e4d0 iperf.initd
-baf349898c6d08eaa3883d7e6802745c iperf.confd"
-sha256sums="a5350777b191e910334d3a107b5e5219b72ffa393da4186da1e0a4552aeeded6 iperf-2.0.9-source.tar.gz
-b109c524d71a9da0db18c271b74238ef5f85b270d2f60dc6ae8f097a3342d00d iperf.initd
-2063bd3defe0e58d43741ed6067f3f5552e579385620d0e0f5aa2b8e96b21151 iperf.confd"
-sha512sums="ff75e51af9d368eedb1e1dc4621f7575219525f0e438f1c8fa896aa7e990a6812a9a351db9004952057d81127f52b67350820e85c9ae1d8db2e6a60c1f2534d2 iperf-2.0.9-source.tar.gz
+sha512sums="74bf49133cd123243c179e174cbaa7d2f74ca9fb47c80ca2c88b2e68ce8bca0a73709e51b3aac6bd85b8c70483b70f33e8a2424e7e0e5922397967330f7e2ecc iperf-2.0.10.tar.gz
339fb04b41cce11e8ea8694d95c13af9c88e0d1143356d913ec810c9b11efa27212d585b5dcc49cc2eb860a6d8bc557092c8659d7d5cfe532c5afdb36f8eedf8 iperf.initd
fb5e155fff568a72488cc1511d30358835a48bcce309f8f46d040160932b4a4ccb85040c27c60dee477900a25bd34c50eac21d1d0bea984b40faa401be2ba7e8 iperf.confd"