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 BF63A1382C5 for ; Fri, 2 Mar 2018 13:14:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E66A5E0884; Fri, 2 Mar 2018 13:14:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C1BC3E0884 for ; Fri, 2 Mar 2018 13:14:35 +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 4A643335C34 for ; Fri, 2 Mar 2018 13:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 971A81E7 for ; Fri, 2 Mar 2018 13:14:32 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1519995533.749940b097dfd73aa6e7a06aed16336ed443fd7a.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/etcd/etcd-3.3.1.ebuild X-VCS-Directories: dev-db/etcd/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 749940b097dfd73aa6e7a06aed16336ed443fd7a X-VCS-Branch: master Date: Fri, 2 Mar 2018 13:14:32 +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: f39f5b92-03a0-4f94-9569-3ac99eae0f21 X-Archives-Hash: 69c4842f79ad9b5b284b147dd53a0973 commit: 749940b097dfd73aa6e7a06aed16336ed443fd7a Author: Manuel Rüger gentoo org> AuthorDate: Fri Mar 2 12:58:53 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Fri Mar 2 12:58:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749940b0 dev-db/etcd: Create user only if USE="server" is enabled Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-db/etcd/etcd-3.3.1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-db/etcd/etcd-3.3.1.ebuild b/dev-db/etcd/etcd-3.3.1.ebuild index 7ec5b9eda5c..88b1e478fe0 100644 --- a/dev-db/etcd/etcd-3.3.1.ebuild +++ b/dev-db/etcd/etcd-3.3.1.ebuild @@ -24,8 +24,10 @@ src_prepare() { } pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} + if use server; then + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} + fi } src_compile() {