| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/925459
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/908042
Bug: https://bugs.gentoo.org/836128
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/776751
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/905691
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|