lxd: update to 3.0.0
This commit is contained in:
parent
d9f13e3b1e
commit
161d525967
2 changed files with 14 additions and 4 deletions
10
srcpkgs/lxd/patches/musl-limits.patch
Normal file
10
srcpkgs/lxd/patches/musl-limits.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- dist/src/github.com/lxc/lxd/lxd/main_forkfile.go
|
||||||
|
+++ dist/src/github.com/lxc/lxd/lxd/main_forkfile.go
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
|
||||||
|
extern char* advance_arg(bool required);
|
||||||
|
extern void error(char *msg);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lxd'
|
# Template file for 'lxd'
|
||||||
pkgname=lxd
|
pkgname=lxd
|
||||||
version=2.21
|
version=3.0.0
|
||||||
revision=5
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/lxc/lxd"
|
go_import_path="github.com/lxc/lxd"
|
||||||
go_package="${go_import_path}/lxd ${go_import_path}/lxc"
|
go_package="${go_import_path}/lxd ${go_import_path}/lxc"
|
||||||
|
@ -13,11 +13,11 @@ maintainer="iaroki <iaroki@protonmail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://linuxcontainers.org/lxd"
|
homepage="https://linuxcontainers.org/lxd"
|
||||||
distfiles="https://github.com/lxc/lxd/releases/download/lxd-${version}/lxd-${version}.tar.gz"
|
distfiles="https://github.com/lxc/lxd/releases/download/lxd-${version}/lxd-${version}.tar.gz"
|
||||||
checksum=649540bc9581ac07ebe88aa999284a33a7d9444dbf679f880c0eac4c087c1fad
|
checksum=9c13f1bfbec68021c8e2264bcbcdf1f53de693256affa0f92a134d9d5ccbb754
|
||||||
system_groups="lxd"
|
system_groups="lxd"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall config/bash/lxd-client 644 /usr/share/bash-completion/completions lxd
|
vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd
|
||||||
vlicense COPYING LICENSE
|
vlicense COPYING LICENSE
|
||||||
vsv lxd
|
vsv lxd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue