summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* app-emulation/libvirt: Require fuse with a proper slotMartin Kletzander2020-04-151-1/+1
| | | | | | | | | | | | The only supported versions are pre-fuse3 (just like in other packages), building with only fuse:3 installed would not work without this change. It was fixed for 6.0.0 in commit f94f3f25cefc, not dissimilar to this one. The version is removed because older versions are not part of the repository any more. Closes: https://github.com/gentoo/gentoo/pull/15332 Signed-off-by: Martin Kletzander <nert.pinx@gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: update openrc init scriptsMatthias Maier2020-04-101-3/+3
| | | | | | | | | | | Upstream changes between 6.1.0 and 6.2.0 on pidfile handling break our openrc init script due to a race condition. Work around this issue by not using the "-d" option (keeping the daemon in foreground) and let start-stop-daemon do double-forking ("-b" option). Closes: https://bugs.gentoo.org/716800 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: remove --listen parameter for systemd unit filesMatthias Maier2020-04-061-4/+1
| | | | | | | | Upstream-Changes: https://www.redhat.com/archives/libvir-list/2019-August/msg01070.html Closes: https://bugs.gentoo.org/716452 Package-Manager: Portage-2.3.96, Repoman-2.3.22 RepoMan-Options: --force Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Rebase do-not-use-sysconfig.patchMichal Privoznik2020-04-051-1/+1
| | | | | | | | | There was an upstream patch of v6.2.0-17-gef0fa8395f which made us unable to apply our patch. Rebase our patch. Closes: https://github.com/gentoo/gentoo/pull/15234 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Provide modern runtime directoryMichal Privoznik2020-02-101-0/+2
| | | | | | | | | | | | Because of autoconf-2.69 and its defaults, the configure script will default to /var/run instead of /run. This may trigger warnings in some packages which expect libvirt to provide modern paths (e.g. systemd and location of .socket files). Bug: https://bugs.gentoo.org/708782 Closes: https://github.com/gentoo/gentoo/pull/14613 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Drop gnulib danceMichal Privoznik2020-02-101-20/+0
| | | | | | | | Libvirt just dropped gnulib submodule and therefore all steps the live ebuild took to make gnulib happy are no longer necessary. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: QA: quote unquoted variableMatthias Maier2020-02-061-1/+1
| | | | | Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Depend on dev-python/docutilsMichal Privoznik2020-02-061-0/+1
| | | | | | | | | | | | | The upstream commit of v6.0.0-rc1~363 started to require rst2html5 and rst2man scripts for generating docs/manpages at compile time. These scripts are part of dev-python/docuitls package. Record this build time dependency in both live and 6.0.0 ebuilds. Closes: https://bugs.gentoo.org/708002 Closes: https://github.com/gentoo/gentoo/pull/14550 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Rebase fix_paths_in_libvirt-guests_sh.patchMichal Privoznik2020-02-061-1/+1
| | | | | | | | | | Strictly speaking, this is not needed. But the upstream version of the libvirt-guests.sh file has changed a bit so patch needs to do some offsetting when applying the patch. Avoid that by rebasing the patch onto current upstream. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Apply rebased do-not-use-sysconf.patchMichal Privoznik2020-02-061-1/+1
| | | | | | | | | | In a20edcb72406f0e07390c52ca17ac94665cafda0 the do-not-use-sysconf patch was rebased onto current upstream. However, the live ebuild was not updated and so it still tries to apply the old patch, which fails. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Don't apply apparmor patchMichal Privoznik2020-02-061-1/+0
| | | | | | | | | | | | | The live ebuild of libvirt applies fix-paths-for-apparmor patch which fixes paths in profiles so that the libexec path is honoured. However, in upstream I've made necessary changes so that the correct paths are generated into the profiles (upstream patches v6.0.0-270-gbb4ab7ac91 v6.0.0-269-g5c8bd31c88 v6.0.0-218-g8f204fb4da). Therefore, it is no longer necessary for the ebuild to apply the patch. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Drop phyp USE flagMichal Privoznik2020-02-061-2/+1
| | | | | | | The upstream has removed PHYP driver support in v6.0.0-rc1~127. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* */*: Clean PYTHON_COMPAT of obsolete implsMichał Górny2020-01-051-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* app-emulation/libvirt: sync live ebuild keywordsGeorgy Yakovlev2019-12-281-1/+1
| | | | | | Closes: https://bugs.gentoo.org/679888 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* */*: [QA] Remove redundant `|| die` guardsDavid Seifert2019-12-111-7/+7
| | | | | | | | | | | | * Since all ebuilds in the tree are EAPI>=4, `|| die` on builtin commands is redundant and dead code. Closes: https://github.com/gentoo/gentoo/pull/13940 Reviewed-by: Ulrich Müller <ulm@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* app-emulation/libvirt: Only require USE=cgroup-hybrid for USE=lxcMatthias Maier2019-12-031-1/+1
| | | | | | | | | | | | | | | Reportedly version 5.8.0 should be fine with a cgroup v2 only hierarchy (verified that on my own system for qemu). Unfortunately, we still need the hybrid layout as a mitigation for a bug in the libvirt-lxc driver. So restrict the dependency on sys-apps/systemd[cgroup-hybrid] to the case of USE=lxc only. This should accomodate everyone who does not need libvirt-lxc support and wants to have a v2 only hierarchy. Upstream Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1770763 Bug: https://bugs.gentoo.org/699758 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Perform out-of-tree buildMichal Privoznik2019-12-021-7/+6
| | | | | | | | | | | | | | In preparation to move to meson, we've forbidden in tree builds. Fortunately, there is a gentoo eclass that handles out-of-tree builds and very little is needed to use it. However, due to some automake magic, we have to enable dependency-tracking (which is disabled as of EAPI 4) because if we don't, then generated Makefile doesn't precreate all directories under build dir and the build fails. Closes: https://github.com/gentoo/gentoo/pull/13752 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/libvirt: Install bash completion even if USE="-libvirtd"Michal Privoznik2019-12-021-3/+3
| | | | | | | | | | | The bash completion scripts help client utilities like virsh or virt-admin and are independent of daemon, i.e. of libvirtd use flag. However, due to the placement of 'newbashcomp' and 'bashcomp_alias' calls in ebuilds, the scripts were not installed unless libvirtd use flag was enabled. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/libvirt-9999: Require dev-libs/glibMichal Privoznik2019-10-151-0/+1
| | | | | | | | | Upstream is moving away from gnulib to glib. This means, as of v5.8.0-111-g58e7c9bc05 libvirt requires >=dev-libs/glib-2.48.0 to build successfully. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Rebase libvirt-5.6.0-do-not-use-sysconf.patchMichal Privoznik2019-08-301-1/+1
| | | | | | | | The original patch does not apply cleanly, because of upstream commit 5b816e1696. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Always require cgroupv1 hierarchyMatthias Maier2019-08-131-1/+1
| | | | | | | | | It turns out that we need the cgroupv1 hierarchy also for non lxc related stuff. Fix dependency accordingly Bug: https://bugs.gentoo.org/691310 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: block sys-apps/systemd[-cgroup-hypbrid(+)]Matthias Maier2019-08-021-0/+1
| | | | | | | | | For the time being we have to ensure that systemd is configured with hybrid cgroup layout. Otherwise libvirt-lxc ceases to work. Bug: https://bugs.gentoo.org/691310 Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Rebase libvirt-5.2.0-do-not-use-sysconf.patchMichal Privoznik2019-08-011-1/+1
| | | | | | | | The original patch does not apply cleanly, because of upstream commits 4304222f50d9ff364 and 9d7fcdbf83a1. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: depend on acct-user/qemu and acct-group/libvirtMike Gilbert2019-07-301-8/+3
| | | | | Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* app-emulation/libvirt: update live ebuildMatthias Maier2019-07-091-4/+3
| | | | | Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: update live ebuildMatthias Maier2019-07-091-7/+7
| | | | | Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Remove avahi supportHan Han2019-07-091-4/+1
| | | | | | | | Libvirt has removed avahi support since 5.5. Remove avahi related flags, too. Signed-off-by: Han Han <hanhanzhiyeqianke@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: remove stable version SRC_URIMatthias Maier2019-05-201-6/+1
| | | | | Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* */*: Drop python3_4 from PYTHON_COMPATMichał Górny2019-04-161-1/+1
| | | | | Closes: https://github.com/gentoo/gentoo/pull/11706 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* app-emulation/libvirt: depend on newer firewalld packageMatthias Maier2019-04-071-1/+1
| | | | | | | | | | | In order to support --with-firewalld-zone, we need a recent enough firewalld version installed. Thanks to Denis Schridde for triaging and contacting upstream! Closes: https://bugs.gentoo.org/681714 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: fix bash completion file namesMatthias Maier2019-04-071-2/+2
| | | | | | | | | | Instead of installing a dummy "vsh" file and alias virsh and virt-manager, let's install the file as "virsh" and alias virt-manager to it. Closes: https://bugs.gentoo.org/682834 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Check for more kernel configs for virtual netMichal Privoznik2019-04-071-1/+8
| | | | | | | | | | | | | | | | After 7431b3eb9a05068e4b Libvirt starts to create chains to insert rules into instead of placing them right at the top level chains. These private chains are created on daemon startup and the referenced commit made all 6 tables required (combination of default 3 tables: nat, filter and mangle for both IPv4 and IPv6). This was later refined in 686803a1a2e1e06, but it still makes sense for ebuild to check for all tables being enabled in the kernel because both IPv4 and IPv6 are used widely. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Closes: https://bugs.gentoo.org/681010 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: fixes dependency on incompatible ↵Anselm Busse2019-04-041-5/+1
| | | | | | | | | net-analyzer/gnu-netcat and net-analyzer/netcat Closes: https://bugs.gentoo.org/682494 Closes: https://github.com/gentoo/gentoo/pull/11583 Signed-off-by: Anselm Busse <anselm.busse@outlook.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: synchronize 5.0.0-r1 and 9999 ebuildsMatthias Maier2019-03-171-3/+7
| | | | | Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Update hash generation algorithmMichal Privoznik2019-03-171-2/+3
| | | | | | | | | | | | | I've noticed that bootstrap is run twice. This is because the first time it is run in src_prepare() and there some hash is computed so later when src_configre() gets its word it'll find everything prepared. Well, in the upstream commit of 6d53255377b50b7e412350d079 the hash was changed therefore src_configure() did not find the expected hash and thus re-ran the bootstrap script. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt-9999: Rebase libvirt-5.1.0-do-not-use-sysconf.patchMichal Privoznik2019-03-171-1/+1
| | | | | | | | In the upstream, the Makefile.am file that the patch is fixing was changed leaving the patch failing to apply. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Add use flag iscsi-directHan Han2019-03-021-3/+5
| | | | | | | | | | Since libvirt-4.7, a new storage pool backend iscsi-direct that uses libiscsi instead of iscsiadm was added. The use flag iscsi-direct will enable it. Closes: https://github.com/gentoo/gentoo/pull/10750 Signed-off-by: Han Han <hanhanzhiyeqianke@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Rebase libvirt-5.0.0-do-not-use-sysconf.patchMichal Privoznik2019-01-251-1/+1
| | | | | | | | | | In the upstream, the Makefile.am file that the patch is fixing was changed leaving the patch failing to apply. Closes: https://bugs.gentoo.org/676026 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: Rebase patches for 5.0.0 releaseMichal Privoznik2019-01-121-2/+2
| | | | | | | | In the upstream repo a few changes were made that rendered our patches inapplicable (mostly a520981740015 and 6ee53e54dcfa3285ed7). Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: init submodules for live ebuildMichal Privoznik2019-01-101-0/+2
| | | | | | | | Libvirt updated gnulib which now requires git submodules to be initialized prior running bootstrap. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/libvirt: update live ebuildMichal Privoznik2018-12-181-4/+2
| | | | | | | | Libvirt has dropped UML support in 29682196d8f1def4f0. Update the live ebuild to reflect this change. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: add python3_7Jonathan Callen2018-12-021-1/+1
| | | | | Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jonathan Callen <jcallen@gentoo.org>
* app-emulation/libvirt: update live ebuildMatthias Maier2018-11-041-5/+5
| | | | | Signed-off-by: Matthias Maier <tamiko@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
* app-emulation/libvirt-9999: Don't require extra flags for xen-toolsMichal Privoznik2018-09-241-1/+1
| | | | | | | | | | Libvirt uses xenlight.pc to check for xen at configure time (since dc3d2c9f8c7 libvirt upstream commit). Then, at source code level it requires libxl.h. Both of these files are installed even without [api, hvm] use flags enabled for app-emulation/xen-tools. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* Revert "app-emulation/libvirt: update live ebuild"Michal Privoznik2018-09-241-2/+2
| | | | | | | | | | | | | This reverts commit 2ad130bab3b38de59ff996dad8f3a1c68407e731. So after some painful bugs and v.4.6.0 release where we tried to make libvirt work with jansson we came to realize that it is not going to fly. QEMU relies on sending 64 bit integers and jansson supports only 53 bits long integers. Therefore we reverted back to using yajl. See d99a89592d65ab8 in libvirt repo (and friends). Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: update libvirt-guests.init openrc scriptMatthias Maier2018-08-191-1/+1
| | | | | | | | | | | | | | | | | | | From the bug report: """ When libvirt-guests tries to shutdown or suspend xen guests, it is unable to tell when all of the guests have terminated and ends up waiting the entire timeout before going on. This is because in xen, dom0 is always running. Simply grepping out the dom0 uuid (all 0s) should take care of this issue. """ Thanks to Karl Hakimian for bug report and patch. This is fixed in versions 4.6.0-r1 and 9999. Closes: https://bugs.gentoo.org/651598 Package-Manager: Portage-2.3.47, Repoman-2.3.10
* app-emulation/libvirt: add proper python dependenciesMatthias Maier2018-08-191-1/+4
| | | | | Closes: https://bugs.gentoo.org/660710 Package-Manager: Portage-2.3.47, Repoman-2.3.10
* app-emulation/libvirt: update live ebuildMichal Privoznik2018-07-231-2/+2
| | | | | | | | Libvirt dropped yajl support in favour of jansson in 12b34f094e2f1c7f. Update live ebuild to reflect this change. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* app-emulation/libvirt: use https://Matthias Maier2018-07-031-2/+2
| | | | Package-Manager: Portage-2.3.41, Repoman-2.3.9
* app-emulation/libvirt: update live ebuildMatthias Maier2018-07-031-4/+2
| | | | Package-Manager: Portage-2.3.41, Repoman-2.3.9