summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* app-emulation/libvirt: Add 10.6.0Michal Privoznik2024-08-252-0/+384
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Depend on sys-libs/libnbd tooMichal Privoznik2024-08-258-10/+38
| | | | | | | | | | | | | | | | | In its upstream commit of v9.8.0-rc1~27 [1] libvirt introduced an optional dependency on libnbd. Reflect this in corresponding ebuilds. Now, pre-10.0.0 ebuilds do not have nbd USE flag. Thus, it needs to be introduced to record the dependency properly. NB, initially, the configure option was named 'libnbd' and only after v9.9.0-rc1~108 [2] it was changed to 'nbdkit'. Hence the discrepancy in libvirt-9.8.0-r3 and libvirt-9.9.0-r3 ebuilds. 1: https://gitlab.com/libvirt/libvirt/-/commit/40935b395c91a95a71cd66b9e2872346ac3a2145 2: https://gitlab.com/libvirt/libvirt/-/commit/7cbd8c42305735375b60abf8abc47838a7a050d4 Closes: https://bugs.gentoo.org/938346 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38274 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: implement a correct python_check_depsEli Schwartz2024-07-116-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to portage design whereby commands which fail aren't considered failures unless you explicitly use `|| die`, a common footgun in bash scripting propagates throughout the portage ecosystem: the use of `cmd1 && cmd2` for conditional logic. This python_check_deps function did such, and then handled the case where `use test` was false by unconditionally ignoring the result of the previous line by returning 0. Hence, python_check_deps could never decide that an impl was unable to be used. As a result, if python 3.13 and 3.12 were both installed, but $(python_gen_any_dep ...) discovered pytest installed solely for 3.12, portage would not reinstall pytest for 3.13 support whereas the eclass would select 3.13 as the preferred (latest) python impl. Fix this by correctly using bash, shunning `cmd1 && cmd2`, and instead using `if cmd1; then cmd2; fi`, which returns correct return values based on the return value of both cmd1 and cmd2, without requiring hardcoded `return 0`s of any variety, unconditional or otherwise. Fixes: bba723505f488b52bd593869b5b9a0df096ffbb4 Bug: https://bugs.gentoo.org/932652 Closes: https://bugs.gentoo.org/935849 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
* app-emulation/libvirt: Add Python 3.13 to PYTHON_COMPATMichal Privoznik2024-07-108-8/+8
| | | | | | | | | | | Libvirt's use of Python doesn't really use new python features since it still aims to build on stable distros like RHEL-8 where only Python-3.6 is available. Thus, Python-3.13 is trivially supported. Add it onto PYTHON_COMPAT list for all ebuilds. Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37497 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
* app-emulation/libvirt: Add 10.5.0Michal Privoznik2024-07-072-0/+380
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Allow nftables instead of iptablesMichal Privoznik2024-07-071-1/+4
| | | | | | | | | | | Upstream libvirt learned how to use nftables directly [1]. While it did so as early as in 10.4.0 release, there were some critical fixes merged in 10.5.0 release. Therefore, allow just the live ebuild to pick up nftables as backend. 1: https://gitlab.com/libvirt/libvirt/-/commit/b89c4991daa0ee9371f10937fab3b03c5ffdabc6 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Backport AppArmor fixMichal Privoznik2024-07-077-0/+39
| | | | | | | | | | | When AppArmor is enabled and sys-firmware/edk2-ovmf-bin is installed then starting a guest under libvirt fails, because libvirt assumed different paths for UEFI. A fix was merged upstream so backport it. Resolves: https://bugs.gentoo.org/911786 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: drop myself as a maintainerMatthias Maier2024-07-031-7/+3
| | | | Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Stabilize 10.3.0-r1 amd64, #933928Arthur Zamarin2024-06-101-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* app-emulation/libvirt: Stabilize 10.3.0-r1 x86, #933928Sam James2024-06-101-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 10.3.0-r1 ppc64, #933928Sam James2024-06-101-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 10.3.0-r1 arm64, #933928Sam James2024-06-091-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 10.1.0-r1 ppc64, #930933Matoro Mahri2024-06-081-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* app-emulation/libvirt: Stabilize 10.1.0-r1 x86, #930933Matoro Mahri2024-06-081-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* app-emulation/libvirt: Stabilize 10.1.0-r1 amd64, #930933Matoro Mahri2024-06-081-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* app-emulation/libvirt: Stabilize 10.1.0-r1 arm64, #930933Arthur Zamarin2024-06-081-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* app-emulation/libvirt: Drag in dev-python/pytestMichal Privoznik2024-05-285-0/+50
| | | | | | | | | | | | As of its upstream commit v9.10.0-rc1~114 libvirt introduced its own RPC generator written in python and also some tests for it. But these require pytest. Therefore, generate corresponding dependency if running tests. Closes: https://bugs.gentoo.org/932652 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36814 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: 10.3.0: Fix virshtest failureMichal Privoznik2024-05-102-0/+85
| | | | | | | | | | | In libvirt-10.3.0 the virshtest was rewritten and unfortunately, it caused a bug in which it tried to access user's $HOME. Backport the upstream fix to make the test pass again. Closes: https://bugs.gentoo.org/931109 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36584 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* app-emulation/libvirt: Add 10.3.0Michal Privoznik2024-05-032-0/+367
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Backport fix for CVE-2024-2494Michal Privoznik2024-04-145-0/+226
| | | | | | | | | | | | The fix made it into app-emulation/libvirt-10.2.0 release. Backport the fix into anything older. https://nvd.nist.gov/vuln/detail/CVE-2024-2494 Bug: https://bugs.gentoo.org/929966 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36242 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Backport fix for CVE-2024-1441Michal Privoznik2024-04-144-0/+45
| | | | | | | | | | | The fix made it into app-emulation/libvirt-10.1.0 release. Backport the fix into anything older. https://nvd.nist.gov/vuln/detail/CVE-2024-1441 Bug: https://bugs.gentoo.org/929965 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add 10.2.0Michal Privoznik2024-04-132-0/+367
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add Python 3.12 to PYTHON_COMPATMichal Privoznik2024-04-135-5/+5
| | | | | | | | | | | Libvirt's use of Python doesn't really use new python features since it still aims to build on stable distros like RHEL-8 where only Python-3.6 is available. Thus, Python-3.12 is trivially supported. Add it onto PYTHON_COMPAT list for all ebuilds. Closes: https://bugs.gentoo.org/show_bug.cgi?id=929309 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: remove unused patchesMichael Mair-Keimberger2024-03-162-148/+0
| | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* app-emulation/libvirt: Add 10.1.0Michal Privoznik2024-03-142-0/+367
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: drop 9.3.0-r2, 9.4.0-r5, 9.5.0-r2, 9.6.0-r1Sam James2024-03-048-1779/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: update init.d for nfsmount removalSam James2024-02-2910-3/+3
| | | | | Bug: https://bugs.gentoo.org/925459 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 9.8.0 x86, #916585Matoro Mahri2024-01-291-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* app-emulation/libvirt: Stabilize 9.8.0 amd64, #916585Matoro Mahri2024-01-291-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* app-emulation/libvirt: Add virtiofsd USE flagMichal Privoznik2024-01-264-3/+9
| | | | | | | | | | | | While technically app-emulation/virtiofsd is not a libvirt dependency (app-emulation/qemu and app-emulation/virtiofsd can function on their own, happily), it's handy (in some scenarios) to drag it automatically in as a dependency. Invent "virtiofsd" USE flag that controls this. Bug: https://bugs.gentoo.org/913212 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* Move {dev-util → dev-debug}/systemtapMichał Górny2024-01-199-21/+21
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* app-emulation/libvirt: Add 10.0.0Michal Privoznik2024-01-182-0/+366
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Update live ebuildMichal Privoznik2024-01-182-3/+8
| | | | | | | | | | | | | | | Starting from its upstream commit of v9.9.0-rc1~108 libvirt can now use nbdkit to access network disks. The commit introduced new meson option (-Dnbdkit), which is basically just a rename of an old one (-Dlibnbd). We didn't expose the old one, but it makes sense to export the new one for proper deps tracking. But because nbdkit is available only on a small subset of arches, the useflag has to be masked on other arches that doesn't have sys-block/nbdkit. Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 9.8.0 ppc64, #921204Arthur Zamarin2024-01-031-2/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* app-emulation/libvirt: Fix build with dev-libs/libxml2-2.12.0Michal Privoznik2023-11-227-0/+42
| | | | | | | | | | | | | | | As of its 2.12.0 release, libxml2 cleaned up header files which rendered libvirt unable to compile. Backport the fix from upstream repo. After this, there are still some warnings about use of a deprecated function, but those are harmless and we'll get fix with new release. Bug: https://bugs.gentoo.org/917516 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33929 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Drop net-libs/rpcsvc-proto dependency for live ebuildMichal Privoznik2023-11-121-1/+0
| | | | | | | | | | | | The upstream has ditched rpcgen provided by rpcsvc-proto in favor of its own set of python scripts [1]. Reflect this change in the live ebuild (there's no release with this change just yet). 1: https://gitlab.com/libvirt/libvirt/-/commit/a62486b95feed2cf17ce4adbe794a1ecff9ef22a Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33674 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add 9.9.0Michal Privoznik2023-11-122-0/+365
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* Remove BROOT from VERIFY_SIG_OPENPGP_KEY_PATHMike Gilbert2023-10-316-6/+6
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* app-emulation/libvirt: Stabilize 9.8.0 arm64, #916585Sam James2023-10-311-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Backport fix for CVE-2023-3750Michal Privoznik2023-10-314-0/+60
| | | | | | | | | | | A security flaw was identified in <app-emulation/libvirt-9.6.0 which can result int DoS. The upstream is fixed from 9.6.0. Backport the fix to older versions found in portage. Bug: https://bugs.gentoo.org/916497 Closes: https://github.com/gentoo/gentoo/pull/33604 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Update live ebuildMichal Privoznik2023-10-042-1/+80
| | | | | | | | | | The libvirt-9.4.0-do-not-use-sysconfig.patch does not apply cleanly anymore (because of libvirt's upstream commit of 0f09223fc5a09f438b3e19567a8630672f108cb3). Rebase it and update the live ebuild. Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Add 9.8.0Michal Privoznik2023-10-042-0/+365
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Stabilize 9.4.0-r3 arm64, #910641Sam James2023-10-031-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add 9.6.0Michal Privoznik2023-08-022-0/+365
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 9.4.0-r3 x86, #910641Arthur Zamarin2023-07-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* app-emulation/libvirt: Stabilize 9.4.0-r3 amd64, #910641Arthur Zamarin2023-07-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* app-emulation/libvirt: Bump to 9.5.0 versionMichal Privoznik2023-07-122-0/+365
| | | | | | | | Libvirt 9.5.0 was released earlier this month. Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31836 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Provide missing patchMichal Privoznik2023-07-122-1/+98
| | | | | | | | | | | | | In 45065ac9faa6 the libvirt-9.5.0-fix-paths-for-apparmor.patch was renamed to libvirt-9.4.0-... but the live ebuild still refers to the 9.5.0. Ideally, the live ebuild would be just made to apply the renamed patch, but there was some more movement in the upstream since and thus the patch doesn't apply cleanly anyways. Therefore, rebase it and name it libvirt-9.6.0-... since the upstream development was made after 9.5.0 release. Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add app-crypt/swtpm dependency to the live ebuildMichal Privoznik2023-07-121-0/+1
| | | | | | | | | The swtpm dependency was added earlier (in 4fa9735e3f44) but only for app-emulation/libvirt-9.4.0. The live ebuild was missed. Bug: https://bugs.gentoo.org/776751 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: fix apparmor path in 9.4.0-r3Kai-Chun Ning2023-06-242-8/+9
| | | | | | | Bug: https://bugs.gentoo.org/908805 Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31575 Signed-off-by: Sam James <sam@gentoo.org>