lxd-lts: update to 5.0.2

This commit is contained in:
dkwo 2024-01-06 17:57:47 +01:00 committed by Andrew J. Hesford
parent 0346635958
commit 9f6d5a2e47

View File

@ -1,7 +1,7 @@
# Template file for 'lxd-lts'
pkgname=lxd-lts
version=5.0.1
revision=2
version=5.0.2
revision=1
build_style=go
go_import_path=github.com/lxc/lxd
go_build_tags=libsqlite3
@ -18,9 +18,9 @@ short_desc="Next generation system container manager (long term support channel)
maintainer="Cameron Nemo <cam@nohom.org>"
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=63be0ec206da6914251271d2778124242029e3d3c0bf4aa2381d921ee0133382
changelog="https://github.com/canonical/lxd/releases"
distfiles="https://github.com/canonical/lxd/archive/refs/tags/lxd-${version}.tar.gz"
checksum=6ea9272b39f078422c9520c05d0fa01a043028ad8ce61c2957380727a6fab914
conflicts="lxd"
provides="lxd-${version}_${revision}"
system_groups="lxd"
@ -30,8 +30,8 @@ export CGO_LDFLAGS_ALLOW='-Wl,-z,now'
post_build() {
# these need special tags and/or LDFLAGS
CGO_LDFLAGS="$CGO_LDFLAGS -static" go install -p "$XBPS_MAKEJOBS" -mod=vendor -x -tags "agent" -ldflags "${go_ldflags}" "${go_import_path}/lxd-agent"
go install -p "$XBPS_MAKEJOBS" -mod=vendor -x -tags "netgo" -ldflags "${go_ldflags}" "${go_import_path}/lxd-migrate"
CGO_LDFLAGS="$CGO_LDFLAGS -static" go install -p "$XBPS_MAKEJOBS" -mod=readonly -x -tags "agent" -ldflags "${go_ldflags}" "${go_import_path}/lxd-agent"
go install -p "$XBPS_MAKEJOBS" -mod=readonly -x -tags "netgo" -ldflags "${go_ldflags}" "${go_import_path}/lxd-migrate"
}
post_install() {