lxd: update to 4.0.0.

This commit is contained in:
Cameron Nemo 2020-04-01 11:08:44 -07:00 committed by Juan RP
parent 160d6de31e
commit 5ddd30f01b

View file

@ -1,6 +1,6 @@
# Template file for 'lxd'
pkgname=lxd
version=3.23
version=4.0.0
revision=1
build_style=go
go_import_path=github.com/lxc/lxd
@ -15,7 +15,7 @@ maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="Apache-2.0"
homepage="https://linuxcontainers.org/lxd"
distfiles="https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"
checksum=e4e1e878753dd30d90d222a54cb5f62bf197fb78d9e85232208cbc54cd3875fd
checksum=cbe2ba49bb40c4497ac76b45f6a4993ea432e41f18d4a3d2b3ef69afcc6d7e02
system_groups="lxd"
_libdir="/usr/lib/sqlite-replication"
@ -23,8 +23,6 @@ LDFLAGS="-L${XBPS_CROSS_BASE}${_libdir} -Wl,-R${_libdir}"
# whitelist libcap LDFLAGS (see: https://github.com/lxc/lxd/issues/6727)
export CGO_LDFLAGS_ALLOW='-Wl,-wrap,pthread_create'
broken="ffs again"
post_install() {
vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd
vsv lxd