From 01f993757d30450d511caee7a6897d9cb374d0c7 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Tue, 5 Oct 2021 08:52:35 -0700 Subject: [PATCH 1/3] raft: update to 0.11.2 --- srcpkgs/raft/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/raft/template b/srcpkgs/raft/template index 2d27d54bc127..9fd7b5730fe4 100644 --- a/srcpkgs/raft/template +++ b/srcpkgs/raft/template @@ -1,17 +1,17 @@ # Template file for 'raft' pkgname=raft -version=0.9.25 +version=0.11.2 revision=1 build_style=gnu-configure configure_args="--enable-example=no" hostmakedepends="pkg-config autoconf automake libtool" -makedepends="libuv-devel" +makedepends="libuv-devel liblz4-devel" short_desc="C implementation of the Raft consensus protocol" maintainer="Julio Galvan " license="custom:LGPL-3.0-only-linking-exception" homepage="https://github.com/canonical/raft" distfiles="https://github.com/canonical/raft/archive/v${version}.tar.gz" -checksum=fac55dc1cea66c7e2e6525d3be0aebedff8c31ec568efb6a911c6bb0ea99268d +checksum=c89fd6a6fa3c9e6d670b74e389b2d028dfd39d1eec2b18661fae73a9bfd6b89d pre_configure() { autoreconf -i From 677ef529cda8bef6385e7c37eaa3e4306f651d2e Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Tue, 5 Oct 2021 08:47:11 -0700 Subject: [PATCH 2/3] dqlite: update to 1.9.0 --- srcpkgs/dqlite/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dqlite/template b/srcpkgs/dqlite/template index ed948d343560..41af8cde377d 100644 --- a/srcpkgs/dqlite/template +++ b/srcpkgs/dqlite/template @@ -1,6 +1,6 @@ # Template file for 'dqlite' pkgname=dqlite -version=1.6.0 +version=1.9.0 revision=1 build_style=gnu-configure hostmakedepends="pkg-config automake libtool" @@ -10,7 +10,7 @@ maintainer="Cameron Nemo " license="custom:LGPL-3.0-only-linking-exception" homepage="https://github.com/canonical/dqlite" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=8671396a9510c7c125e706973a8ffb2e4540ac605f1f3e9720a63876448f5d93 +checksum=b3f23019bcdc030b8f1d97ef585a34b24128414d6c2e79fcf729e053578d80a7 pre_configure() { autoreconf -i From bb79a3e7be6fd1cfd6164fe4139d67774d6c5af9 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Tue, 5 Oct 2021 09:08:42 -0700 Subject: [PATCH 3/3] lxd: update to 4.19 --- srcpkgs/lxd/template | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/srcpkgs/lxd/template b/srcpkgs/lxd/template index 9d5e6d8a713a..d216d7bb7f7c 100644 --- a/srcpkgs/lxd/template +++ b/srcpkgs/lxd/template @@ -1,6 +1,6 @@ # Template file for 'lxd' pkgname=lxd -version=4.15 +version=4.19 revision=1 build_style=go go_import_path=github.com/lxc/lxd @@ -9,23 +9,18 @@ go_package="${go_import_path}/lxd ${go_import_path}/lxc ${go_import_path}/lxd-p2c ${go_import_path}/fuidshift" hostmakedepends="pkg-config git" makedepends="lxc-devel acl-devel dqlite-devel eudev-libudev-devel" -depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables" +depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables attr-progs" short_desc="Next generation system container manager" maintainer="Cameron Nemo " 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=5178a918d59c9412a0af4af4c1abfce469e1a76497913bc316bf602895a2b265 +checksum=6e4cf6cb1549e1b56802d64ad24d812914e0c0102bfcf146bb18a8dcd1fbab57 system_groups="lxd" -# whitelist libcap LDFLAGS (see: https://github.com/lxc/lxd/issues/6727) -export CGO_LDFLAGS_ALLOW='-Wl,-wrap,pthread_create' - -do_configure() { - # the LXD tarball packages up the required dependencies - ln -s "$wrksrc/_dist" "$GOPATH" -} +# whitelist dqlite LDFLAGS +export CGO_LDFLAGS_ALLOW='-Wl,-z,now' post_install() { vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd