lxd: update to 4.19

This commit is contained in:
Cameron Nemo 2021-10-05 09:08:42 -07:00 committed by Érico Nogueira Rolim
parent 14ecbc3049
commit daa588720e

View file

@ -1,6 +1,6 @@
# Template file for 'lxd'
pkgname=lxd
version=4.15
version=4.19
revision=1
build_style=go
go_import_path=github.com/lxc/lxd
@ -9,23 +9,18 @@ go_package="${go_import_path}/lxd ${go_import_path}/lxc
${go_import_path}/lxd-p2c ${go_import_path}/fuidshift"
hostmakedepends="pkg-config git"
makedepends="lxc-devel acl-devel dqlite-devel eudev-libudev-devel"
depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables"
depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables attr-progs"
short_desc="Next generation system container manager"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="Apache-2.0"
homepage="https://linuxcontainers.org/lxd"
changelog="https://github.com/lxc/lxd/releases"
distfiles="https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"
checksum=5178a918d59c9412a0af4af4c1abfce469e1a76497913bc316bf602895a2b265
checksum=6e4cf6cb1549e1b56802d64ad24d812914e0c0102bfcf146bb18a8dcd1fbab57
system_groups="lxd"
# whitelist libcap LDFLAGS (see: https://github.com/lxc/lxd/issues/6727)
export CGO_LDFLAGS_ALLOW='-Wl,-wrap,pthread_create'
do_configure() {
# the LXD tarball packages up the required dependencies
ln -s "$wrksrc/_dist" "$GOPATH"
}
# whitelist dqlite LDFLAGS
export CGO_LDFLAGS_ALLOW='-Wl,-z,now'
post_install() {
vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd