wireguard-go: update to 0.0.20180524.
This commit is contained in:
parent
7f89803b39
commit
d4f36e0949
1 changed files with 6 additions and 7 deletions
|
@ -1,21 +1,20 @@
|
||||||
# Template file for 'wireguard-go'
|
# Template file for 'wireguard-go'
|
||||||
pkgname=wireguard-go
|
pkgname=wireguard-go
|
||||||
version=0.0.20180519
|
version=0.0.20180524
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="git.zx2c4.com/wireguard-go"
|
go_import_path="git.zx2c4.com/wireguard-go"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git dep"
|
||||||
depends="wireguard-tools"
|
depends="wireguard-tools"
|
||||||
short_desc="Implementation of WireGuard in Go"
|
short_desc="Implementation of WireGuard in Go"
|
||||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://git.zx2c4.com/wireguard-go/about/"
|
homepage="https://git.zx2c4.com/wireguard-go/about/"
|
||||||
distfiles="https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-${version}.tar.xz"
|
distfiles="https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-${version}.tar.xz"
|
||||||
checksum=d2b0f43679b3559952cf8d244d537903d03699ed7c8a2c1e7fc37ee424e30439
|
checksum=1d539f6c51dd33098a536af0285ef03c561db0ff343f23a75405207fcf48ec3e
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# go doesn't like local imports, so we rewrite them
|
rm donotuseon_linux.go
|
||||||
for localimport in ratelimiter rwcancel tai64n xchacha20poly1305; do
|
cd ${GOSRCPATH}
|
||||||
sed -i -e "s#\"./$localimport\"#\"git.zx2c4.com/wireguard-go/$localimport\"#" *.go
|
dep ensure -vendor-only -v
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue