mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
incus: update to 6.6, restructure subpackages
The incus-user service belongs in the server package, and the client subpackage should not require the server for installation. Closes: #52384 [via git-merge-pr]
This commit is contained in:
parent
e83b6e2b58
commit
2e911eec3f
2 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
Users wishing to interact with incus system daemons should belong to
|
Users wishing to interact with incus system daemons should belong to
|
||||||
the `_incus-admin` and `_incus` groups. The root user should also be
|
either the `_incus-admin` or `_incus` group. The root user should also
|
||||||
assigned a range of subordinate user and group IDs to be mapped in
|
be assigned a range of subordinate user and group IDs to be mapped in
|
||||||
containers. For example, the command
|
containers. For example, the command
|
||||||
|
|
||||||
usermod --add-subuids 1000000-1065535 \
|
usermod --add-subuids 1000000-1065535 \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'incus'
|
# Template file for 'incus'
|
||||||
pkgname=incus
|
pkgname=incus
|
||||||
version=6.5.0
|
version=6.6.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
|
@ -11,13 +11,14 @@ make_check_args="-skip TestConvertNetworkConfig"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="lxc-devel acl-devel cowsql-devel raft-devel
|
makedepends="lxc-devel acl-devel cowsql-devel raft-devel
|
||||||
libcap-devel libuv-devel sqlite-devel eudev-libudev-devel"
|
libcap-devel libuv-devel sqlite-devel eudev-libudev-devel"
|
||||||
depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables attr-progs"
|
depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables attr-progs
|
||||||
|
${pkgname}-client-${version}_${revision}"
|
||||||
short_desc="Powerful system container and virtual machine manager"
|
short_desc="Powerful system container and virtual machine manager"
|
||||||
maintainer="dkwo <npiazza@disroot.org>"
|
maintainer="dkwo <npiazza@disroot.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://linuxcontainers.org/incus"
|
homepage="https://linuxcontainers.org/incus"
|
||||||
distfiles="https://github.com/lxc/incus/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/lxc/incus/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=aabc762bdcfe210b777e6b78e40150c9ffbc798aa39c8b4ba55812dac3ada0ec
|
checksum=0274f6258591a3189737812228722d5c7b0cc57deb5edd0f65750d3323210394
|
||||||
system_groups="_incus-admin _incus"
|
system_groups="_incus-admin _incus"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/lib/incus 0755 root root
|
/var/lib/incus 0755 root root
|
||||||
|
@ -38,6 +39,7 @@ post_install() {
|
||||||
vinstall "${f}" 700 usr/libexec/incus && rm "${f}"
|
vinstall "${f}" 700 usr/libexec/incus && rm "${f}"
|
||||||
done
|
done
|
||||||
vsv incus
|
vsv incus
|
||||||
|
vsv incus-user
|
||||||
|
|
||||||
# avoid conflict with lxd, lxd-lts
|
# avoid conflict with lxd, lxd-lts
|
||||||
mv ${DESTDIR}/usr/bin/{fuidshift,fuidshift-incus}
|
mv ${DESTDIR}/usr/bin/{fuidshift,fuidshift-incus}
|
||||||
|
@ -57,10 +59,8 @@ post_install() {
|
||||||
|
|
||||||
incus-client_package() {
|
incus-client_package() {
|
||||||
short_desc+=" - client"
|
short_desc+=" - client"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/incus
|
vmove usr/bin/incus
|
||||||
vsv incus-user
|
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
vcompletion scripts/${shell}-completion ${shell} incus
|
vcompletion scripts/${shell}-completion ${shell} incus
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue