Commit ee50caf0 authored by Nico Schottelius's avatar Nico Schottelius

[wireguard] bump version, move init script into separate package

parent 5bba0735
Pipeline #26249 failed with stages
in 1 minute and 16 seconds
......@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=wireguard-tools
pkgver=1.0.20200513
pkgrel=0
pkgrel=1
pkgdesc="Next generation secure network tunnel: userspace tools"
arch="all"
url="https://www.wireguard.com"
......@@ -17,6 +17,7 @@ subpackages="
$pkgname-bash-completion:bashcomp:noarch
$pkgname-wg:_split
$pkgname-wg-quick:_split:noarch
$pkgname-openrc:_openrc:noarch
"
options="!check"
source="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-$pkgver.tar.xz"
......@@ -38,7 +39,6 @@ package() {
find "$builddir"/contrib -name '.gitignore' -delete
cp -rf "$builddir"/contrib "$pkgdir/usr/share/doc/$pkgname/"
install -D -m755 "$srcdir"/wireguard.initd "$pkgdir"/etc/init.d/wireguard
}
......@@ -61,4 +61,9 @@ bashcomp() {
mv "$pkgdir"/usr/share "$subpkgdir"/usr
}
_openrc() {
install -D -m755 "$srcdir"/wireguard.initd "$pkgdir"/etc/init.d/wireguard
}
sha512sums="4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c wireguard-tools-1.0.20200513.tar.xz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment