Diff lxd-5.0.2-r3 with a lxd-5.17

/usr/portage/app-containers/lxd/lxd-5.17.ebuild 2023-10-09 14:52:28.224368318 +0300
7 7

  
8 8
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
9 9
HOMEPAGE="https://ubuntu.com/lxd https://github.com/canonical/lxd"
10
SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz
11
	verify-sig? ( https://linuxcontainers.org/downloads/lxd/${P}.tar.gz.asc )"
10
SRC_URI="https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz
11
	verify-sig? ( https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz.asc
12
)"
12 13

  
13 14
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
14
SLOT="0/lts"
15
KEYWORDS="amd64 ~arm64 ~x86"
15
SLOT="0/stable"
16
KEYWORDS="~amd64 ~arm64 ~x86"
16 17
IUSE="apparmor nls"
17 18

  
18 19
DEPEND="acct-group/lxd
......
30 31
	net-firewall/ebtables
31 32
	net-firewall/iptables
32 33
	sys-apps/iproute2
33
	sys-fs/fuse:*
34
	sys-fs/fuse:3
34 35
	>=sys-fs/lxcfs-5.0.0
35 36
	sys-fs/squashfs-tools[lzma]
36 37
	virtual/acl"
37 38
BDEPEND="dev-lang/go
38 39
	nls? ( sys-devel/gettext )
39
	verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
40
	verify-sig? ( sec-keys/openpgp-keys-canonical )"
40 41

  
41 42
CONFIG_CHECK="
42 43
	~CGROUPS
......
72 73
	/usr/bin/lxd-migrate
73 74
	/usr/sbin/lxd"
74 75

  
75
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
76
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/canonical.asc
76 77

  
77 78
# The testsuite must be run as root.
78 79
# make: *** [Makefile:156: check] Error 1
......
80 81

  
81 82
GOPATH="${S}/_dist"
82 83

  
83
PATCHES=( "${FILESDIR}"/lxd-5.0.2-remove-shellcheck-buildsystem-checks.patch
84
	"${FILESDIR}"/lxd-5.0.3-btrfs-quota-group-fix.patch )
84
PATCHES=(
85
	"${FILESDIR}"/lxd-5.17-remove-shellcheck-buildsystem-checks.patch
86
)
85 87

  
86 88
src_prepare() {
87 89
	export GOPATH="${S}/_dist"
......
182 184
	optfeature "zfs storage backend" sys-fs/zfs
183 185
	elog
184 186
	elog "Be sure to add your local user to the lxd group."
185

  
186
	if [[ ${REPLACING_VERSIONS} ]] &&
187
	ver_test ${REPLACING_VERSIONS} -lt 5.0.1 &&
188
	has_version app-emulation/qemu[spice,usbredir,virtfs]; then
189
		ewarn ""
190
		ewarn "You're updating from <5.0.1. Due to incompatible API updates in the lxd-agent"
191
		ewarn "product, you'll have to restart any running virtual machines before they work"
192
		ewarn "properly."
193
		ewarn ""
194
		ewarn "Run: 'lxc restart your-vm' after the update for your vm's managed by lxd."
195
		ewarn ""
196
	fi
197

  
198
	if [[ ${REPLACING_VERSIONS} ]] &&
199
	has_version "sys-apps/openrc"; then
200
		elog ""
201
		elog "The new init.d script will attempt to mount "
202
		elog "  /sys/fs/cgroup/systemd"
203
		elog "by default, which is needed to run systemd containers with openrc host."
204
		elog "See the /etc/init.d/lxd file for requirements."
205
		elog ""
206
	fi
207 187
}
Thank you!