mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
lxd: update to 5.20
This commit is contained in:
parent
ccf43b535a
commit
0346635958
1 changed files with 8 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'lxd'
|
# Template file for 'lxd'
|
||||||
pkgname=lxd
|
pkgname=lxd
|
||||||
version=5.9
|
version=5.20
|
||||||
revision=3
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/lxc/lxd
|
go_import_path=github.com/canonical/lxd
|
||||||
go_build_tags=libsqlite3
|
go_build_tags=libsqlite3
|
||||||
go_package="${go_import_path}/lxd
|
go_package="${go_import_path}/lxd
|
||||||
${go_import_path}/lxc
|
${go_import_path}/lxc
|
||||||
|
@ -18,9 +18,9 @@ short_desc="Next generation system container manager"
|
||||||
maintainer="Cameron Nemo <cam@nohom.org>"
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://linuxcontainers.org/lxd"
|
homepage="https://linuxcontainers.org/lxd"
|
||||||
changelog="https://github.com/lxc/lxd/releases"
|
changelog="https://github.com/canonical/lxd/releases"
|
||||||
distfiles="https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"
|
distfiles="https://github.com/canonical/lxd/archive/refs/tags/lxd-${version}.tar.gz"
|
||||||
checksum=a24cf7fbe3e5527a34deda7e8e92f17c05a51498723821f69b146d1e8e58117f
|
checksum=bddfa7b8091ab6bdb5cdaf13b6c09f5a548976cd3118e8c73c3b7881adf94307
|
||||||
system_groups="lxd"
|
system_groups="lxd"
|
||||||
|
|
||||||
# whitelist dqlite LDFLAGS
|
# whitelist dqlite LDFLAGS
|
||||||
|
@ -28,8 +28,8 @@ export CGO_LDFLAGS_ALLOW='-Wl,-z,now'
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
# these need special tags and/or LDFLAGS
|
# 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"
|
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=vendor -x -tags "netgo" -ldflags "${go_ldflags}" "${go_import_path}/lxd-migrate"
|
go install -p "$XBPS_MAKEJOBS" -mod=readonly -x -tags "netgo" -ldflags "${go_ldflags}" "${go_import_path}/lxd-migrate"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue