SHA256
1
0
forked from pool/lxd

Accepting request 909502 from home:cyphar:lxc

- Update to LXD 4.16. The full upstream changelog is available from:
  https://discuss.linuxcontainers.org/t/lxd-4-16-has-been-released/11547
  boo#1188946

  + Cluster certificate update
  + Copy/move of custom volumes between projects
  + lxc monitor --pretty now works with all event types
  + Easier revocation of cluster join tokens
  + IP filtering on unmanaged bridges
  + New warnings
  + New lifecycle events

- Remove upstreamed patches:
  + boo1186786-0001-forkexec-handle-broken-close_range-backport-in-openS.patch

OBS-URL: https://build.opensuse.org/request/show/909502
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=99
This commit is contained in:
2021-07-31 06:19:20 +00:00
committed by Git OBS Bridge
parent 1dec257017
commit 6b3769a6ad
7 changed files with 41 additions and 57 deletions

View File

@@ -34,7 +34,7 @@
%endif
Name: lxd
Version: 4.15
Version: 4.16
Release: 0
Summary: Container hypervisor based on LXC
License: Apache-2.0
@@ -51,8 +51,6 @@ Source101: %{name}-config.yml
# Additional runtime configuration.
Source200: %{name}.sysctl
Source201: %{name}.dnsmasq
# UPSTREAM-FIX: Backport of <https://github.com/lxc/lxd/pull/8908>. boo#1186786
Patch1: boo1186786-0001-forkexec-handle-broken-close_range-backport-in-openS.patch
BuildRequires: fdupes
BuildRequires: golang-packaging
BuildRequires: libacl-devel
@@ -124,8 +122,6 @@ Bash command line completion support for %{name}.
%prep
%setup -q
# boo#1186786
%patch1 -p1
# Create fake "go mod"-like import paths. This is going to be really fun to
# maintain but it's unfortunately necessary because openSUSE doesn't have nice
@@ -190,6 +186,9 @@ readarray -t mainpkgs \
# _dist/src is effectively an old-school "vendor/" tree, so add it to GOPATH.
export GOPATH="$GOPATH:$PKGDIR/_dist"
# Needed because lxd and deps use funky #cgo LDFLAGS that Go blocks by default.
export CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)"
# And now we can finally build LXD and all of the related binaries.
mkdir bin
for mainpkg in "${mainpkgs[@]}"