lxd: update to 4.3.

This commit is contained in:
Cameron Nemo 2020-07-17 20:38:14 -07:00 committed by Andrew J. Hesford
parent 7e823c1277
commit d2cefe29a9
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'lxd' # Template file for 'lxd'
pkgname=lxd pkgname=lxd
version=4.2 version=4.3
revision=1 revision=1
build_style=go build_style=go
go_import_path=github.com/lxc/lxd go_import_path=github.com/lxc/lxd
@ -15,7 +15,7 @@ maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://linuxcontainers.org/lxd" homepage="https://linuxcontainers.org/lxd"
distfiles="https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz" distfiles="https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"
checksum=a4269555bf9ea7d7d0bc7dda0c6900db97101332df9102274937bf68b927685f checksum=b6891ee6086a2d26409385fcd50d627e6a72e0af17f88c5693c1e100ed9dca1f
system_groups="lxd" system_groups="lxd"
_libdir="/usr/lib/sqlite-replication" _libdir="/usr/lib/sqlite-replication"
@ -23,6 +23,11 @@ LDFLAGS="-L${XBPS_CROSS_BASE}${_libdir} -Wl,-R${_libdir}"
# whitelist libcap LDFLAGS (see: https://github.com/lxc/lxd/issues/6727) # whitelist libcap LDFLAGS (see: https://github.com/lxc/lxd/issues/6727)
export CGO_LDFLAGS_ALLOW='-Wl,-wrap,pthread_create' export CGO_LDFLAGS_ALLOW='-Wl,-wrap,pthread_create'
do_configure() {
# the LXD tarball packages up the required dependencies
ln -s "$wrksrc/_dist" "$GOPATH"
}
post_install() { post_install() {
vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd
vsv lxd vsv lxd