diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-22 23:59:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-22 23:59:31 +0100 |
commit | 1f00990debeffd0052c194989d0a02baac23eb96 (patch) | |
tree | ecc3dfafe935354404f7a0689a6ad809ebaba580 /app-containers | |
parent | 02eb6576978c38afed5787f6f2dbab8353379d66 (diff) |
gentoo auto-resync : 22:04:2024 - 23:59:31
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/Manifest.gz | bin | 8734 -> 8728 bytes | |||
-rw-r--r-- | app-containers/incus/Manifest | 2 | ||||
-rw-r--r-- | app-containers/incus/incus-6.0.0-r1.ebuild (renamed from app-containers/incus/incus-6.0.0.ebuild) | 28 |
3 files changed, 22 insertions, 8 deletions
diff --git a/app-containers/Manifest.gz b/app-containers/Manifest.gz Binary files differindex 9e0a8b43def2..4da031523636 100644 --- a/app-containers/Manifest.gz +++ b/app-containers/Manifest.gz diff --git a/app-containers/incus/Manifest b/app-containers/incus/Manifest index 366138e6ef67..6949d6036ed2 100644 --- a/app-containers/incus/Manifest +++ b/app-containers/incus/Manifest @@ -16,5 +16,5 @@ DIST incus-6.0.0.tar.xz 11839792 BLAKE2B 135574e6f19262992bb068a3c0a0045c1926995 DIST incus-6.0.0.tar.xz.asc 833 BLAKE2B f35c38f886290ff08e017cd54e8019c43bfbf1f9c84b26ede2cfa78acbe4047af4314465e77d6e900f296552d5ac8f8c07d26a11920bff937fbb8a0a910efb0d SHA512 0360520752fad3e95807d09e4fd6d60c96a202d0dbb61621925abd75aa801b6d573abbece3179a8906bdc47e96ddec4a746607ce2d10dcc1a76d0afd459cbf81 EBUILD incus-0.6-r1.ebuild 5646 BLAKE2B d02935bfac358387ffff2ed30581dd93e4aad56a8f06b8726fab913450bbdf4cbe29115c1285ea36b6aff558278ddf538ba46ae959e5bd22f10a3ed9174c88d5 SHA512 7e3927505996a7ceb6d04740c5460d43355dd928bb4482e175041a4a6116ce9a473a39c59a5c61d02177155c749c70469a579ca9f356a6e91729ff72f762349f EBUILD incus-0.7.ebuild 5908 BLAKE2B e5c0f73452fb6f79771384bc5aff13fad1ae5bc5596b61f569d272e36d94af6d6944475072a50289bed803de0dabe100955f3690a861fb66b7ede6a05fcef341 SHA512 e2deecf9ba3120174e05ec32c889723757baac170dc155738fb91fe66bd6c5008d5117e2da16a2dd724d7d13d71d1bacc73d7a8ce6babe0fc04079ff2bda1185 -EBUILD incus-6.0.0.ebuild 5917 BLAKE2B 1117223ffffbea0f9b0caf2c95dc5150eb5235e1b6175e9c8b5415d060b3db779c392256638c090796c3197ca0e4257c3edac8aa9ce9ffba025b3ebb9a82c91b SHA512 734de5154851752cc67730474092a0bf2e130129e6bcf629dd8ec2f1f62838207127555b4a369bda0b14640f526c8a038bff1432c8e77fe121a85713af80df57 +EBUILD incus-6.0.0-r1.ebuild 6237 BLAKE2B 9ed8ac1b682d85d4c01f13b868454ea960cee276cb558ac82363f4e38c71ecce314b0d4ace59d5d5cd73f1c7aa20f5262f65cc6e067d93a7bf20131a9a987d97 SHA512 f1f62edd2b2743abc0057d07724fd8c8041a840820d903147dadb805758f87153259f7276d8b28263ab04ed0537e7ce83d8494fb7d8579864901d4ab83214f62 MISC metadata.xml 1597 BLAKE2B 6e8ceafa8dca7d49fa754470c9645e11946d3419135ec3a12581e227945b64a13612a7eb3e833027bbf6d3c795acbaced979ba80f00a9e36f6831fb6111dd2d2 SHA512 d3c0ec128f715627addc5be758c87bea808626f9d9ada75aeac9be9a84039b68385ae65edfb5d57951ff4e7352565fbba040035da82ce8eaffcca585811d3577 diff --git a/app-containers/incus/incus-6.0.0.ebuild b/app-containers/incus/incus-6.0.0-r1.ebuild index 1c2b2fa462e1..d9f185f12736 100644 --- a/app-containers/incus/incus-6.0.0.ebuild +++ b/app-containers/incus/incus-6.0.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module linux-info optfeature systemd verify-sig +inherit go-module linux-info optfeature systemd toolchain-funcs verify-sig DESCRIPTION="Modern, secure and powerful system container and virtual machine manager" HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus" @@ -83,6 +83,11 @@ RESTRICT="test" GOPATH="${S}/_dist" +src_unpack() { + verify-sig_src_unpack + go-module_src_unpack +} + src_prepare() { export GOPATH="${S}/_dist" @@ -147,7 +152,12 @@ src_test() { src_install() { export GOPATH="${S}/_dist" - local bindir="_dist/bin" + + if [[ "${GOARCH}" != "amd64" ]]; then + local bindir="_dist/bin/linux_${GOARCH}" + else + local bindir="_dist/bin" + fi newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup @@ -176,11 +186,15 @@ src_install() { systemd_newunit "${FILESDIR}"/incus-user-0.4.service incus-user.service systemd_newunit "${FILESDIR}"/incus-user-0.4.socket incus-user.socket - # Generate and install shell completion files. - mkdir -p "${D}"/usr/share/{bash-completion/completions/,fish/vendor_completions.d/,zsh/site-functions/} || die - "${bindir}"/incus completion bash > "${D}"/usr/share/bash-completion/completions/incus || die - "${bindir}"/incus completion fish > "${D}"/usr/share/fish/vendor_completions.d/incus.fish || die - "${bindir}"/incus completion zsh > "${D}"/usr/share/zsh/site-functions/_incus || die + if ! tc-is-cross-compiler; then + # Generate and install shell completion files. + mkdir -p "${D}"/usr/share/{bash-completion/completions/,fish/vendor_completions.d/,zsh/site-functions/} || die + "${bindir}"/incus completion bash > "${D}"/usr/share/bash-completion/completions/incus || die + "${bindir}"/incus completion fish > "${D}"/usr/share/fish/vendor_completions.d/incus.fish || die + "${bindir}"/incus completion zsh > "${D}"/usr/share/zsh/site-functions/_incus || die + else + ewarn "Shell completion files not installed! Install them manually with incus completion --help" + fi dodoc AUTHORS dodoc -r doc/* |