From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-766110-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id D618B138A1A
	for <garchives@archives.gentoo.org>; Fri, 23 Jan 2015 06:10:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A4F5CE0877;
	Fri, 23 Jan 2015 06:10:44 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 313E5E0876
	for <gentoo-commits@lists.gentoo.org>; Fri, 23 Jan 2015 06:10:44 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6AC58340726
	for <gentoo-commits@lists.gentoo.org>; Fri, 23 Jan 2015 06:10:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CC0E6102D2
	for <gentoo-commits@lists.gentoo.org>; Fri, 23 Jan 2015 06:10:40 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1421993651.7c3cde54f826bd48f8ed6c8ed83c651bf713ef0c.ulm@gentoo>
Subject: [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/
X-VCS-Repository: proj/emacs
X-VCS-Files: app-emacs/emacs-common-gentoo/ChangeLog app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
X-VCS-Directories: app-emacs/emacs-common-gentoo/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 7c3cde54f826bd48f8ed6c8ed83c651bf713ef0c
X-VCS-Branch: master
Date: Fri, 23 Jan 2015 06:10:40 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d3ae44f6-2bb3-489d-8556-9142fc8d7e66
X-Archives-Hash: b4334400a47d1130f9cf690dfca7f06b

commit:     7c3cde54f826bd48f8ed6c8ed83c651bf713ef0c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 23 06:14:11 2015 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 23 06:14:11 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=7c3cde54

Respect GAMES_GROUP variable.

Package-Manager: portage-2.2.15

---
 app-emacs/emacs-common-gentoo/ChangeLog                          | 4 ++++
 app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog
index 3d21394..01bddd6 100644
--- a/app-emacs/emacs-common-gentoo/ChangeLog
+++ b/app-emacs/emacs-common-gentoo/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  23 Jan 2015; Ulrich Müller <ulm@gentoo.org>
+  emacs-common-gentoo-9999-r1.ebuild:
+  Respect GAMES_GROUP variable.
+
 *emacs-common-gentoo-9999-r1 (21 Jan 2015)
 
   21 Jan 2015; Ulrich Müller <ulm@gentoo.org>

diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
index 04fb9b7..0710b8c 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
@@ -22,7 +22,7 @@ PDEPEND="virtual/emacs"
 S="${WORKDIR}/${PN}"
 
 pkg_setup() {
-	use games && enewgroup games 35
+	use games && enewgroup "${GAMES_GROUP:-games}" 35
 }
 
 src_install() {
@@ -36,7 +36,7 @@ src_install() {
 
 	if use games; then
 		keepdir /var/games/emacs
-		fowners root:games /var/games/emacs
+		fowners "root:${GAMES_GROUP:-games}" /var/games/emacs
 		fperms g+w /var/games/emacs
 	fi
 
@@ -107,7 +107,7 @@ pkg_preinst() {
 				cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die
 			fi
 			touch "${ED}${f}" || die
-			chown root:games "${ED}${f}" || die
+			chown "root:${GAMES_GROUP:-games}" "${ED}${f}" || die
 			chmod g+w "${ED}${f}" || die
 		done
 	fi