aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-04 08:06:33 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-06-05 06:56:05 +0000
commit3e0b5d4538cb0e4f1372b77e10c6d4bb58660601 (patch)
tree736491643a6330ca34c7f7faf4fcfca7ddfc6e91
parent3c9a7e55bce8ddfb8adaac53b8cfa5f91bdbe021 (diff)
downloadaports-3e0b5d4538cb0e4f1372b77e10c6d4bb58660601.tar.gz
aports-3e0b5d4538cb0e4f1372b77e10c6d4bb58660601.tar.bz2
aports-3e0b5d4538cb0e4f1372b77e10c6d4bb58660601.tar.xz
community/wireguard-tools: fix license, remove apparently obsolete comment
-rw-r--r--community/wireguard-tools/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/wireguard-tools/APKBUILD b/community/wireguard-tools/APKBUILD
index d70554ce4d..06129d0367 100644
--- a/community/wireguard-tools/APKBUILD
+++ b/community/wireguard-tools/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
-
-# NOTE: pkgrel must match _toolsrel in wireguard-vanilla
pkgname=wireguard-tools
pkgver=0.0.20190601
-pkgrel=0
+pkgrel=1
pkgdesc="Next generation secure network tunnel: userspace tools"
-arch='all'
-url='https://www.wireguard.com'
-license="GPL-2.0"
+arch="all"
+url="https://www.wireguard.com"
+# SPDX identifier headers tells us 'GPL-2.0' but considering it
+# is a kernel project i think it is safe to assume it is GPL-2.0-only just
+# like the kernel.
+license="GPL-2.0-only"
makedepends="libmnl-dev"
depends="$pkgname-wg $pkgname-wg-quick"
subpackages="
@@ -24,12 +25,10 @@ source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz
builddir="$srcdir"/WireGuard-$pkgver
build() {
- cd "$builddir"
make -C src/tools
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
make -C src/tools \