From e437f9cea1e0423003a028c64aefb38f8e996a1b Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Mon, 17 Apr 2023 20:27:57 +0200 Subject: [PATCH] upgpkg: lxd 5.13-1 --- lxd/.SRCINFO | 8 ++++---- lxd/PKGBUILD | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lxd/.SRCINFO b/lxd/.SRCINFO index cbf698d8..cf33f59d 100644 --- a/lxd/.SRCINFO +++ b/lxd/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = lxd pkgdesc = Daemon based on liblxc offering a REST API to manage containers - pkgver = 5.12 + pkgver = 5.13 pkgrel = 1 url = https://linuxcontainers.org/lxd arch = x86_64 @@ -32,13 +32,13 @@ pkgbase = lxd optdepends = systemd-libs: unix device hotplug support optdepends = apparmor: apparmor support options = !debug - source = https://linuxcontainers.org/downloads/lxd/lxd-5.12.tar.gz - source = https://linuxcontainers.org/downloads/lxd/lxd-5.12.tar.gz.asc + source = https://linuxcontainers.org/downloads/lxd/lxd-5.13.tar.gz + source = https://linuxcontainers.org/downloads/lxd/lxd-5.13.tar.gz.asc source = lxd.socket source = lxd.service source = lxd.sysusers validpgpkeys = 602F567663E593BCBD14F338C638974D64792D67 - sha256sums = 6061ff3346b0e7ab2736ddecf1dadc2581d93d89155bdf77622945db6f27321c + sha256sums = 932b3ccdfaa192926aab820283a74eb28244a31276d3d1b0763191adfad9ee3d sha256sums = SKIP sha256sums = b89a725223ef72b25eab25184084d069af312f8c23612c57fdb75427a510232e sha256sums = 102d1d54186e0fc606a58f030231d76df6bd662b16dfd8f946e1f48e2b473b54 diff --git a/lxd/PKGBUILD b/lxd/PKGBUILD index c5af2994..c94e9efe 100644 --- a/lxd/PKGBUILD +++ b/lxd/PKGBUILD @@ -6,7 +6,7 @@ # Contributer: nightuser pkgname=lxd -pkgver=5.12 +pkgver=5.13 pkgrel=1 pkgdesc="Daemon based on liblxc offering a REST API to manage containers" arch=('x86_64') @@ -31,7 +31,7 @@ source=("https://linuxcontainers.org/downloads/${pkgname}/${pkgname}-${pkgver}.t "lxd.service" "lxd.sysusers") validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67') -sha256sums=('6061ff3346b0e7ab2736ddecf1dadc2581d93d89155bdf77622945db6f27321c' +sha256sums=('932b3ccdfaa192926aab820283a74eb28244a31276d3d1b0763191adfad9ee3d' 'SKIP' 'b89a725223ef72b25eab25184084d069af312f8c23612c57fdb75427a510232e' '102d1d54186e0fc606a58f030231d76df6bd662b16dfd8f946e1f48e2b473b54' @@ -50,8 +50,9 @@ build() { export GOFLAGS="-buildmode=pie -trimpath" export CGO_LDFLAGS_ALLOW="-Wl,-z,now" + CGO_LDFLAGS="-static" go build -v -tags "agent" -o bin/ ./lxd-agent/... + go build -v -tags "netgo" -o bin/ ./lxd-migrate/... - CGO_LDFLAGS="$CGO_LDFLAGS -static" go build -v -tags "agent" -o bin/ ./lxd-agent/... for tool in fuidshift lxc lxc-to-lxd lxd lxd-benchmark lxd-user; do go build -v -tags "libsqlite3" -o bin/ ./$tool/... done