aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-03-03 19:20:27 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-03-04 19:21:40 +0000
commit7fb310318c330eccfc09c8278e92cbd162ff04f6 (patch)
tree2390063bfd0b827bf7a6b9322a210aa57bd7dacc
parent9511bca6f2c36e94aae97c65e58f1a54cf1fc29b (diff)
downloadaports-7fb310318c330eccfc09c8278e92cbd162ff04f6.tar.bz2
aports-7fb310318c330eccfc09c8278e92cbd162ff04f6.tar.xz
testing/wireguard-tools: fix $install_if / remove tests & check
tests subpkg removed at the request of the author make check removed at the request of the author
-rw-r--r--testing/wireguard-tools/APKBUILD28
1 files changed, 4 insertions, 24 deletions
diff --git a/testing/wireguard-tools/APKBUILD b/testing/wireguard-tools/APKBUILD
index 6cdb23777c..0d98a6d8ba 100644
--- a/testing/wireguard-tools/APKBUILD
+++ b/testing/wireguard-tools/APKBUILD
@@ -3,14 +3,14 @@
pkgname=wireguard-tools
pkgver=0.0.20170223
-pkgrel=0
+pkgrel=1
pkgdesc="Next generation secure network tunnel: userspace tools"
arch='all'
url='https://www.wireguard.io'
license="GPLv2"
-makedepends="libmnl-dev sparse"
-subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch \
- $pkgname-tests:tests:noarch"
+makedepends="libmnl-dev"
+subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
+options="!check"
source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz"
builddir="$srcdir"/WireGuard-$pkgver
@@ -21,8 +21,6 @@ build() {
package() {
cd "$builddir"
-
- install_if="linux-${_flavor}=${_kver} $pkgname"
mkdir -p "$pkgdir"/usr/share/doc/$_name
make -C src/tools \
@@ -44,22 +42,4 @@ bashcomp() {
mv "$pkgdir"/usr/share "$subpkgdir"/usr
}
-tests() {
- pkgdesc="Wireguard test suites"
-
- mkdir -p "$subpkgdir"/usr/share/wireguard
- mv "$builddir"/src/tests "$subpkgdir"/usr/share/wireguard
- cp -rf "$builddir"/contrib/external-tests "$subpkgdir"/usr/share/wireguard
-}
-
-check() {
- return 0
- # currently failing: attribute 'nocapture': unknown attribute
- # not part of musl libc ?
- make -C src/ \
- KERNELDIR=/lib/modules/${_abi_release}/build \
- check \
- || return 1
-}
-
sha512sums="273ef6463d447cb04b608a0379cce5c0ed4065f988b3f449995593592b42f2fc269fc249a8e3c22c28bfa682430ee20b5b7a46a96803c9c67d1b6fed7b800455 WireGuard-0.0.20170223.tar.xz"