summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* app-emulation/libvirt: fix patch nameMatthias Maier2023-06-212-1/+1
| | | | Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9.4.0-r2: fix apparmor pathKai-Chun Ning2023-06-212-4/+13
| | | | | | | Closes: https://bugs.gentoo.org/908805 Closes: https://github.com/gentoo/gentoo/pull/31557 Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: revbump due to init.d/service file updateJoonas Niilola2023-06-181-0/+0
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* app-emulation/libvirt: Fix EnvironmentFile= in systemd unitsMichal Privoznik2023-06-182-2/+2
| | | | | | | | | | | | | | | | | | | Libvirt installs systemd unit files with EnvironmentFile= derived from initconfdir option passed in the configure phase, e.g.: src/ch/virtchd.service.in:21:EnvironmentFile=-@initconfdir@/virtchd And since we explicitly pass: -Dinitconfdir="${EPREFIX}/etc/conf.d" this results in systemd unit files using /etc/conf.d/ which is discouraged. Closes: https://bugs.gentoo.org/908750 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31526 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* app-emulation/libvirt: drop 8.7.0-r1, 8.8.0-r1, 8.9.0, 8.9.0-r2, 9.2.0Matthias Maier2023-06-178-1897/+0
| | | | | | Bug: https://bugs.gentoo.org/908042 Bug: https://bugs.gentoo.org/836128 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: add 9.4.0Matthias Maier2023-06-172-0/+365
| | | | | Closes: https://bugs.gentoo.org/776751 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Rebase libvirt-8.2.0-fix-paths-for-apparmor.patchMichal Privoznik2023-06-102-1/+82
| | | | | | | | | | Because of upstream commit v9.4.0-49-g9b743ee190 our libvirt-8.2.0-fix-paths-for-apparmor.patch does not apply cleanly anymore. Rebase it. Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31375 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 9.3.0 arm64, #907566Arthur Zamarin2023-06-071-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* app-emulation/libvirt: Fix IP_NF_TARGET_MASQUERADE checkMichal Privoznik2023-06-047-7/+84
| | | | | | | | | | | | | | | | | | | | | As of kernel commit v5.2-rc1~133^2~174^2~6 the IP_NF_TARGET_MASQUERADE is just an alias for NETFILTER_XT_TARGET_MASQUERADE: config IP_NF_TARGET_MASQUERADE tristate "MASQUERADE target support" select NETFILTER_XT_TARGET_MASQUERADE help This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects NETFILTER_XT_TARGET_MASQUERADE. Fine tune our kernel config checks, though this can be changed once kernels older than 5.2.0 leave the tree. Closes: https://bugs.gentoo.org/907728 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31292 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 9.3.0 amd64, #907566Joonas Niilola2023-06-011-1/+1
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* app-emulation/libvirt: Stabilize 9.3.0 x86, #907566Joonas Niilola2023-06-011-1/+1
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* app-emulation/libvirt: Update live ebuildMichal Privoznik2023-05-103-2/+244
| | | | | | | | | | | | | | | | | | | The libvirt's upstream has moved and now in fact consider Gentoo's base layout. Firstly, new -Dinitconfdir option was invented (v9.3.0-33-g9850b37e39) and while it defaults to '/etc/conf.d' on Gentoo (v9.3.0-37-gd18572b4b7), let's just set it explicitly in src_configure() to accommodate the ${EPREFIX} variable. These upstream changes also mean, that some of our patches we apply on top of libvirt's git need rebasing, namely: - libvirt-6.0.0-fix_paths_in_libvirt-guests_sh.patch, and - libvirt-8.2.0-do-not-use-sysconfig.patch Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30964 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: build tests conditionallySam James2023-05-052-2/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add 9.2.0Michal Privoznik2023-05-052-0/+350
| | | | | | Bug: https://bugs.gentoo.org/905691 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Add 9.2.0Michal Privoznik2023-04-132-0/+350
| | | | | Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Explicitly disable openwsman in configureMichal Privoznik2023-04-115-0/+5
| | | | | | | | | | | | | | | | | | | | Libvirt's configure script (well, meson.build file) is written so that it automatically enables features found on the build host, unless explicitly disabled on the cmd line. And one of such features is 'openwsman' [1], which isn't packaged in the portage, but if installed from an overlay, then `quickpkg` won't work. Explicitly disable openwsman, until there's an official package (possibly not soon [2]). 1: https://openwsman.github.io/ 2: https://bugs.gentoo.org/430312 Bug: https://bugs.gentoo.org/430312 Closes: https://bugs.gentoo.org/904082 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30558 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libirt: fix apparmor path for merge-usr layoutKai-Chun Ning2023-03-212-17/+15
| | | | | | Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30286 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Fix a build failure with LLD 16Michal Privoznik2023-03-216-0/+112
| | | | | | | | | | | | | | | | | | | | With the newest LLD, the libvirt's detection of --version-script= linker argument works no more. Backport the upstream patch that fixes the issue. Since the patch is merged and is going to be contained in the upcoming release, there's no point in adding it to the list of patched in the live ebuild. Append it only into the older versions then. Also, I had to rebase the patch for older version of libvirt, because the patched file (meson.build) looked a bit different and the upstream patch did not apply cleanly. Closes: https://bugs.gentoo.org/902211 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30284 Signed-off-by: Sam James <sam@gentoo.org>
* app-emulation/libvirt: Stabilize 8.9.0-r1 arm64, #888920Arthur Zamarin2023-02-261-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>