From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CE06A138359 for ; Tue, 10 Nov 2020 00:34:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1033AE078A; Tue, 10 Nov 2020 00:34:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 233B7E078A for ; Tue, 10 Nov 2020 00:34:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56C5E33BEA5 for ; Tue, 10 Nov 2020 00:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96405443 for ; Tue, 10 Nov 2020 00:34:14 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1604968444.739218492b233d56918dc5c8e70170da9471f355.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/libvirt/files/libvirt-6.8.0-fix-libvirt-lxc-dbus.patch app-emulation/libvirt/libvirt-6.8.0-r1.ebuild app-emulation/libvirt/libvirt-6.8.0.ebuild app-emulation/libvirt/libvirt-6.9.0-r1.ebuild app-emulation/libvirt/libvirt-6.9.0.ebuild X-VCS-Directories: app-emulation/libvirt/ app-emulation/libvirt/files/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 739218492b233d56918dc5c8e70170da9471f355 X-VCS-Branch: master Date: Tue, 10 Nov 2020 00:34:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6cfc7237-d1b0-4cef-b924-886b52bc40b0 X-Archives-Hash: 78daca7bb4563024696566fb1ed8d4a8 commit: 739218492b233d56918dc5c8e70170da9471f355 Author: Matthias Maier gentoo org> AuthorDate: Tue Nov 10 00:30:20 2020 +0000 Commit: Matthias Maier gentoo org> CommitDate: Tue Nov 10 00:34:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73921849 app-emulation/libvirt: 6.8.0/6.9.0 fix libvirt-lxc dbus connection Closes: https://bugs.gentoo.org/753761 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Matthias Maier gentoo.org> .../files/libvirt-6.8.0-fix-libvirt-lxc-dbus.patch | 24 ++++++++++++++++++++++ ...ibvirt-6.8.0.ebuild => libvirt-6.8.0-r1.ebuild} | 1 + ...ibvirt-6.9.0.ebuild => libvirt-6.9.0-r1.ebuild} | 1 + 3 files changed, 26 insertions(+) diff --git a/app-emulation/libvirt/files/libvirt-6.8.0-fix-libvirt-lxc-dbus.patch b/app-emulation/libvirt/files/libvirt-6.8.0-fix-libvirt-lxc-dbus.patch new file mode 100644 index 00000000000..ea1a2379533 --- /dev/null +++ b/app-emulation/libvirt/files/libvirt-6.8.0-fix-libvirt-lxc-dbus.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/753761 + +diff --git a/src/util/virgdbus.c b/src/util/virgdbus.c +index 4360a6a..4ad1a5c 100644 +--- a/src/util/virgdbus.c ++++ b/src/util/virgdbus.c +@@ -54,11 +54,15 @@ virGDBusBusInit(GBusType type, GError **error) + if (sharedBus) { + return g_bus_get_sync(type, NULL, error); + } else { ++ GDBusConnectionFlags dbusFlags = ++ G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT | ++ G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION; ++ + address = g_dbus_address_get_for_bus_sync(type, NULL, error); +- if (error) ++ if (*error) + return NULL; + return g_dbus_connection_new_for_address_sync(address, +- G_DBUS_CONNECTION_FLAGS_NONE, ++ dbusFlags, + NULL, + NULL, + error); diff --git a/app-emulation/libvirt/libvirt-6.8.0.ebuild b/app-emulation/libvirt/libvirt-6.8.0-r1.ebuild similarity index 99% rename from app-emulation/libvirt/libvirt-6.8.0.ebuild rename to app-emulation/libvirt/libvirt-6.8.0-r1.ebuild index 96ccd9a1949..32c72d4990b 100644 --- a/app-emulation/libvirt/libvirt-6.8.0.ebuild +++ b/app-emulation/libvirt/libvirt-6.8.0-r1.ebuild @@ -128,6 +128,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch "${FILESDIR}"/${PN}-6.7.0-doc-path.patch "${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch + "${FILESDIR}"/${PN}-6.8.0-fix-libvirt-lxc-dbus.patch ) pkg_setup() { diff --git a/app-emulation/libvirt/libvirt-6.9.0.ebuild b/app-emulation/libvirt/libvirt-6.9.0-r1.ebuild similarity index 99% rename from app-emulation/libvirt/libvirt-6.9.0.ebuild rename to app-emulation/libvirt/libvirt-6.9.0-r1.ebuild index 96ccd9a1949..32c72d4990b 100644 --- a/app-emulation/libvirt/libvirt-6.9.0.ebuild +++ b/app-emulation/libvirt/libvirt-6.9.0-r1.ebuild @@ -128,6 +128,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch "${FILESDIR}"/${PN}-6.7.0-doc-path.patch "${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch + "${FILESDIR}"/${PN}-6.8.0-fix-libvirt-lxc-dbus.patch ) pkg_setup() {