From 161d52596799c14ed8b992e3ccef813c8bc7c61c Mon Sep 17 00:00:00 2001 From: iaroki Date: Mon, 7 May 2018 16:18:39 +0300 Subject: [PATCH] lxd: update to 3.0.0 --- srcpkgs/lxd/patches/musl-limits.patch | 10 ++++++++++ srcpkgs/lxd/template | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/lxd/patches/musl-limits.patch diff --git a/srcpkgs/lxd/patches/musl-limits.patch b/srcpkgs/lxd/patches/musl-limits.patch new file mode 100644 index 00000000000..247b22ef81e --- /dev/null +++ b/srcpkgs/lxd/patches/musl-limits.patch @@ -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 + #include + #include ++#include + + extern char* advance_arg(bool required); + extern void error(char *msg); diff --git a/srcpkgs/lxd/template b/srcpkgs/lxd/template index 684f7778861..2f6949d4147 100644 --- a/srcpkgs/lxd/template +++ b/srcpkgs/lxd/template @@ -1,7 +1,7 @@ # Template file for 'lxd' pkgname=lxd -version=2.21 -revision=5 +version=3.0.0 +revision=1 build_style=go go_import_path="github.com/lxc/lxd" go_package="${go_import_path}/lxd ${go_import_path}/lxc" @@ -13,11 +13,11 @@ maintainer="iaroki " license="Apache-2.0" homepage="https://linuxcontainers.org/lxd" distfiles="https://github.com/lxc/lxd/releases/download/lxd-${version}/lxd-${version}.tar.gz" -checksum=649540bc9581ac07ebe88aa999284a33a7d9444dbf679f880c0eac4c087c1fad +checksum=9c13f1bfbec68021c8e2264bcbcdf1f53de693256affa0f92a134d9d5ccbb754 system_groups="lxd" 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 vsv lxd }