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 F05A3139085 for ; Sun, 22 Jan 2017 16:28:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 632FEE0CEF; Sun, 22 Jan 2017 16:28:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 280C2E0CEA for ; Sun, 22 Jan 2017 16:28:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F0A13416C2 for ; Sun, 22 Jan 2017 16:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9F632CA5 for ; Sun, 22 Jan 2017 16:28:33 +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: <1485102505.875198b0bffbe4060ddb3c3bedb52632c80a6ba7.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/libvirt/libvirt-1.3.5-r2.ebuild app-emulation/libvirt/libvirt-2.1.0-r2.ebuild app-emulation/libvirt/libvirt-2.3.0.ebuild app-emulation/libvirt/libvirt-2.5.0-r2.ebuild app-emulation/libvirt/libvirt-9999.ebuild X-VCS-Directories: app-emulation/libvirt/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 875198b0bffbe4060ddb3c3bedb52632c80a6ba7 X-VCS-Branch: master Date: Sun, 22 Jan 2017 16:28:33 +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-Archives-Salt: dc12e00e-76a4-4a57-9c6e-4797e1f6f594 X-Archives-Hash: 8f4d81aece9dfc15b9e141a146f55b54 commit: 875198b0bffbe4060ddb3c3bedb52632c80a6ba7 Author: Matthias Maier gentoo org> AuthorDate: Sun Jan 22 15:55:05 2017 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sun Jan 22 16:28:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=875198b0 app-emulation/libvirt: Do not create qemu user if USE=-qemu, bug #601678 Package-Manager: Portage-2.3.0, Repoman-2.3.1 app-emulation/libvirt/libvirt-1.3.5-r2.ebuild | 14 ++++---------- app-emulation/libvirt/libvirt-2.1.0-r2.ebuild | 14 ++++---------- app-emulation/libvirt/libvirt-2.3.0.ebuild | 14 ++++---------- app-emulation/libvirt/libvirt-2.5.0-r2.ebuild | 12 +++--------- app-emulation/libvirt/libvirt-9999.ebuild | 12 +++--------- 5 files changed, 18 insertions(+), 48 deletions(-) diff --git a/app-emulation/libvirt/libvirt-1.3.5-r2.ebuild b/app-emulation/libvirt/libvirt-1.3.5-r2.ebuild index 7803227..5f11f0c 100644 --- a/app-emulation/libvirt/libvirt-1.3.5-r2.ebuild +++ b/app-emulation/libvirt/libvirt-1.3.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -125,15 +125,9 @@ DEPEND="${RDEPEND} virtual/pkgconfig" pkg_setup() { - enewgroup qemu 77 - enewuser qemu 77 -1 -1 "qemu,kvm" - - # Some people used the masked ebuild which was not adding the qemu - # user to the kvm group originally. This results in VMs failing to - # start for some users. bug #430808 - egetent group kvm | grep -q qemu - if [[ $? -ne 0 ]]; then - gpasswd -a qemu kvm + if use qemu; then + enewgroup qemu 77 + enewuser qemu 77 -1 -1 "qemu,kvm" fi # Check kernel configuration: diff --git a/app-emulation/libvirt/libvirt-2.1.0-r2.ebuild b/app-emulation/libvirt/libvirt-2.1.0-r2.ebuild index 24c8f32..f9d91d7 100644 --- a/app-emulation/libvirt/libvirt-2.1.0-r2.ebuild +++ b/app-emulation/libvirt/libvirt-2.1.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -124,15 +124,9 @@ DEPEND="${RDEPEND} virtual/pkgconfig" pkg_setup() { - enewgroup qemu 77 - enewuser qemu 77 -1 -1 "qemu,kvm" - - # Some people used the masked ebuild which was not adding the qemu - # user to the kvm group originally. This results in VMs failing to - # start for some users. bug #430808 - egetent group kvm | grep -q qemu - if [[ $? -ne 0 ]]; then - gpasswd -a qemu kvm + if use qemu; then + enewgroup qemu 77 + enewuser qemu 77 -1 -1 "qemu,kvm" fi # Check kernel configuration: diff --git a/app-emulation/libvirt/libvirt-2.3.0.ebuild b/app-emulation/libvirt/libvirt-2.3.0.ebuild index 7d3cd01..96b318e 100644 --- a/app-emulation/libvirt/libvirt-2.3.0.ebuild +++ b/app-emulation/libvirt/libvirt-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -124,15 +124,9 @@ DEPEND="${RDEPEND} virtual/pkgconfig" pkg_setup() { - enewgroup qemu 77 - enewuser qemu 77 -1 -1 "qemu,kvm" - - # Some people used the masked ebuild which was not adding the qemu - # user to the kvm group originally. This results in VMs failing to - # start for some users. bug #430808 - egetent group kvm | grep -q qemu - if [[ $? -ne 0 ]]; then - gpasswd -a qemu kvm + if use qemu; then + enewgroup qemu 77 + enewuser qemu 77 -1 -1 "qemu,kvm" fi # Check kernel configuration: diff --git a/app-emulation/libvirt/libvirt-2.5.0-r2.ebuild b/app-emulation/libvirt/libvirt-2.5.0-r2.ebuild index edc6c59..9f91346 100644 --- a/app-emulation/libvirt/libvirt-2.5.0-r2.ebuild +++ b/app-emulation/libvirt/libvirt-2.5.0-r2.ebuild @@ -130,15 +130,9 @@ PATCHES=( ) pkg_setup() { - enewgroup qemu 77 - enewuser qemu 77 -1 -1 "qemu,kvm" - - # Some people used the masked ebuild which was not adding the qemu - # user to the kvm group originally. This results in VMs failing to - # start for some users. bug #430808 - egetent group kvm | grep -q qemu - if [[ $? -ne 0 ]]; then - gpasswd -a qemu kvm + if use qemu; then + enewgroup qemu 77 + enewuser qemu 77 -1 -1 "qemu,kvm" fi # Check kernel configuration: diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild index 609bf97..81795e4 100644 --- a/app-emulation/libvirt/libvirt-9999.ebuild +++ b/app-emulation/libvirt/libvirt-9999.ebuild @@ -130,15 +130,9 @@ PATCHES=( ) pkg_setup() { - enewgroup qemu 77 - enewuser qemu 77 -1 -1 "qemu,kvm" - - # Some people used the masked ebuild which was not adding the qemu - # user to the kvm group originally. This results in VMs failing to - # start for some users. bug #430808 - egetent group kvm | grep -q qemu - if [[ $? -ne 0 ]]; then - gpasswd -a qemu kvm + if use qemu; then + enewgroup qemu 77 + enewuser qemu 77 -1 -1 "qemu,kvm" fi # Check kernel configuration: