mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/tcpbench: new aport
https://github.com/bluhm/tcpbench-portable OpenBSD's tcpbench for linux
This commit is contained in:
parent
ca8eba00ca
commit
0b0d342d7a
31
testing/tcpbench/APKBUILD
Normal file
31
testing/tcpbench/APKBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# Contributor: Christiano Haesbaert <haesbaert@haesbaert.org>
|
||||
# Maintainer: Christiano Haesbaert <haesbaert@haesbaert.org>
|
||||
pkgname=tcpbench
|
||||
pkgver=3.00
|
||||
pkgrel=0
|
||||
pkgdesc="OpenBSD's tcpbench for linux"
|
||||
url="https://github.com/bluhm/tcpbench-portable"
|
||||
arch="all"
|
||||
license="ISC"
|
||||
makedepends="libbsd-dev libevent-dev libmd-dev libretls-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://github.com/bluhm/tcpbench-portable/releases/download/v$pkgver/tcpbench-$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
# Tests spawns servers and clients that use the same port, make sure
|
||||
# they don't run in parallel.
|
||||
make -j1 test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" BINDIR=/usr/bin MANDIR=/usr/share/man/man install
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
596f177dfa0f8092012a6cdc3a27489db8a6852275e5dcb515c8d8177dd7caac7fa2cfc1162081579785bb637fbbbb63abc7ee97c31dcb63aceb45f909856d73 tcpbench-3.00.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user